Class DataPolicyServiceGrpc (0.48.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
Type Description
String

Static Methods

bindService(DataPolicyServiceGrpc.AsyncService service)

public static final ServerServiceDefinition bindService(DataPolicyServiceGrpc.AsyncService service)
Parameter
Name Description
service DataPolicyServiceGrpc.AsyncService
Returns
Type Description
io.grpc.ServerServiceDefinition

getCreateDataPolicyMethod()

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

getDeleteDataPolicyMethod()

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

getGetDataPolicyMethod()

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

getGetIamPolicyMethod()

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

getListDataPoliciesMethod()

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

getRenameDataPolicyMethod()

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

getServiceDescriptor()

public static ServiceDescriptor getServiceDescriptor()
Returns
Type Description
io.grpc.ServiceDescriptor

getSetIamPolicyMethod()

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

getTestIamPermissionsMethod()

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

getUpdateDataPolicyMethod()

public static MethodDescriptor<UpdateDataPolicyRequest,DataPolicy> getUpdateDataPolicyMethod()
Returns
Type Description
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
Name Description
channel io.grpc.Channel
Returns
Type Description
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
Name Description
channel io.grpc.Channel
Returns
Type Description
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
Name Description
channel io.grpc.Channel
Returns
Type Description
DataPolicyServiceGrpc.DataPolicyServiceStub