Class CollectionServiceGrpc (0.99.0)

public final class CollectionServiceGrpc

Service for managing Collections.

Inheritance

java.lang.Object > CollectionServiceGrpc

Static Fields

SERVICE_NAME

public static final String SERVICE_NAME
Field Value
Type Description
String

Static Methods

bindService(CollectionServiceGrpc.AsyncService service)

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

getDeleteCollectionMethod()

public static MethodDescriptor<DeleteCollectionRequest,Operation> getDeleteCollectionMethod()
Returns
Type Description
io.grpc.MethodDescriptor<DeleteCollectionRequest,Operation>

getGetIamPolicyMethod()

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

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>

newBlockingStub(Channel channel)

public static CollectionServiceGrpc.CollectionServiceBlockingStub 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
CollectionServiceGrpc.CollectionServiceBlockingStub

newBlockingV2Stub(Channel channel)

public static CollectionServiceGrpc.CollectionServiceBlockingV2Stub newBlockingV2Stub(Channel channel)

Creates a new blocking-style stub that supports all types of calls on the service

Parameter
Name Description
channel io.grpc.Channel
Returns
Type Description
CollectionServiceGrpc.CollectionServiceBlockingV2Stub

newFutureStub(Channel channel)

public static CollectionServiceGrpc.CollectionServiceFutureStub 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
CollectionServiceGrpc.CollectionServiceFutureStub

newStub(Channel channel)

public static CollectionServiceGrpc.CollectionServiceStub 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
CollectionServiceGrpc.CollectionServiceStub