Class DataPolicyServiceGrpc (0.20.0)

public final class DataPolicyServiceGrpc

Data Policy Service provides APIs for managing the label-policy bindings.

Inheritance

java.lang.Object > DataPolicyServiceGrpc

Static Fields

SERVICE_NAME

public static final String SERVICE_NAME
Field Value
TypeDescription
String

Static Methods

bindService(DataPolicyServiceGrpc.AsyncService service)

public static final ServerServiceDefinition bindService(DataPolicyServiceGrpc.AsyncService service)
Parameter
NameDescription
serviceDataPolicyServiceGrpc.AsyncService
Returns
TypeDescription
io.grpc.ServerServiceDefinition

getCreateDataPolicyMethod()

public static MethodDescriptor<CreateDataPolicyRequest,DataPolicy> getCreateDataPolicyMethod()
Returns
TypeDescription
io.grpc.MethodDescriptor<CreateDataPolicyRequest,DataPolicy>

getDeleteDataPolicyMethod()

public static MethodDescriptor<DeleteDataPolicyRequest,Empty> getDeleteDataPolicyMethod()
Returns
TypeDescription
io.grpc.MethodDescriptor<DeleteDataPolicyRequest,Empty>

getGetDataPolicyMethod()

public static MethodDescriptor<GetDataPolicyRequest,DataPolicy> getGetDataPolicyMethod()
Returns
TypeDescription
io.grpc.MethodDescriptor<GetDataPolicyRequest,DataPolicy>

getGetIamPolicyMethod()

public static MethodDescriptor<GetIamPolicyRequest,Policy> getGetIamPolicyMethod()
Returns
TypeDescription
io.grpc.MethodDescriptor<com.google.iam.v1.GetIamPolicyRequest,com.google.iam.v1.Policy>

getListDataPoliciesMethod()

public static MethodDescriptor<ListDataPoliciesRequest,ListDataPoliciesResponse> getListDataPoliciesMethod()
Returns
TypeDescription
io.grpc.MethodDescriptor<ListDataPoliciesRequest,ListDataPoliciesResponse>

getRenameDataPolicyMethod()

public static MethodDescriptor<RenameDataPolicyRequest,DataPolicy> getRenameDataPolicyMethod()
Returns
TypeDescription
io.grpc.MethodDescriptor<RenameDataPolicyRequest,DataPolicy>

getServiceDescriptor()

public static ServiceDescriptor getServiceDescriptor()
Returns
TypeDescription
io.grpc.ServiceDescriptor

getSetIamPolicyMethod()

public static MethodDescriptor<SetIamPolicyRequest,Policy> getSetIamPolicyMethod()
Returns
TypeDescription
io.grpc.MethodDescriptor<com.google.iam.v1.SetIamPolicyRequest,com.google.iam.v1.Policy>

getTestIamPermissionsMethod()

public static MethodDescriptor<TestIamPermissionsRequest,TestIamPermissionsResponse> getTestIamPermissionsMethod()
Returns
TypeDescription
io.grpc.MethodDescriptor<com.google.iam.v1.TestIamPermissionsRequest,com.google.iam.v1.TestIamPermissionsResponse>

getUpdateDataPolicyMethod()

public static MethodDescriptor<UpdateDataPolicyRequest,DataPolicy> getUpdateDataPolicyMethod()
Returns
TypeDescription
io.grpc.MethodDescriptor<UpdateDataPolicyRequest,DataPolicy>

newBlockingStub(Channel channel)

public static DataPolicyServiceGrpc.DataPolicyServiceBlockingStub newBlockingStub(Channel channel)

Creates a new blocking-style stub that supports unary and streaming output calls on the service

Parameter
NameDescription
channelio.grpc.Channel
Returns
TypeDescription
DataPolicyServiceGrpc.DataPolicyServiceBlockingStub

newFutureStub(Channel channel)

public static DataPolicyServiceGrpc.DataPolicyServiceFutureStub newFutureStub(Channel channel)

Creates a new ListenableFuture-style stub that supports unary calls on the service

Parameter
NameDescription
channelio.grpc.Channel
Returns
TypeDescription
DataPolicyServiceGrpc.DataPolicyServiceFutureStub

newStub(Channel channel)

public static DataPolicyServiceGrpc.DataPolicyServiceStub newStub(Channel channel)

Creates a new async stub that supports all call types for the service

Parameter
NameDescription
channelio.grpc.Channel
Returns
TypeDescription
DataPolicyServiceGrpc.DataPolicyServiceStub