Class GrpcIndexEndpointServiceStub (2.9.7)

public class GrpcIndexEndpointServiceStub extends IndexEndpointServiceStub

gRPC stub implementation for the IndexEndpointService service API.

This class is for advanced usage and reflects the underlying API directly.

Inheritance

java.lang.Object > IndexEndpointServiceStub > GrpcIndexEndpointServiceStub

Static Methods

create(ClientContext clientContext)

public static final GrpcIndexEndpointServiceStub create(ClientContext clientContext)
Parameter
NameDescription
clientContextClientContext
Returns
TypeDescription
GrpcIndexEndpointServiceStub
Exceptions
TypeDescription
IOException

create(ClientContext clientContext, GrpcStubCallableFactory callableFactory)

public static final GrpcIndexEndpointServiceStub create(ClientContext clientContext, GrpcStubCallableFactory callableFactory)
Parameters
NameDescription
clientContextClientContext
callableFactoryGrpcStubCallableFactory
Returns
TypeDescription
GrpcIndexEndpointServiceStub
Exceptions
TypeDescription
IOException

create(IndexEndpointServiceStubSettings settings)

public static final GrpcIndexEndpointServiceStub create(IndexEndpointServiceStubSettings settings)
Parameter
NameDescription
settingsIndexEndpointServiceStubSettings
Returns
TypeDescription
GrpcIndexEndpointServiceStub
Exceptions
TypeDescription
IOException

Constructors

GrpcIndexEndpointServiceStub(IndexEndpointServiceStubSettings settings, ClientContext clientContext)

protected GrpcIndexEndpointServiceStub(IndexEndpointServiceStubSettings settings, ClientContext clientContext)

Constructs an instance of GrpcIndexEndpointServiceStub, using the given settings. This is protected so that it is easy to make a subclass, but otherwise, the static factory methods should be preferred.

Parameters
NameDescription
settingsIndexEndpointServiceStubSettings
clientContextClientContext

GrpcIndexEndpointServiceStub(IndexEndpointServiceStubSettings settings, ClientContext clientContext, GrpcStubCallableFactory callableFactory)

protected GrpcIndexEndpointServiceStub(IndexEndpointServiceStubSettings settings, ClientContext clientContext, GrpcStubCallableFactory callableFactory)

Constructs an instance of GrpcIndexEndpointServiceStub, using the given settings. This is protected so that it is easy to make a subclass, but otherwise, the static factory methods should be preferred.

Parameters
NameDescription
settingsIndexEndpointServiceStubSettings
clientContextClientContext
callableFactoryGrpcStubCallableFactory

Methods

awaitTermination(long duration, TimeUnit unit)

public boolean awaitTermination(long duration, TimeUnit unit)
Parameters
NameDescription
durationlong
unitTimeUnit
Returns
TypeDescription
boolean
Exceptions
TypeDescription
InterruptedException

close()

public final void close()
Overrides

createIndexEndpointCallable()

public UnaryCallable<CreateIndexEndpointRequest,Operation> createIndexEndpointCallable()
Returns
TypeDescription
UnaryCallable<CreateIndexEndpointRequest,Operation>
Overrides

createIndexEndpointOperationCallable()

public OperationCallable<CreateIndexEndpointRequest,IndexEndpoint,CreateIndexEndpointOperationMetadata> createIndexEndpointOperationCallable()
Returns
TypeDescription
OperationCallable<CreateIndexEndpointRequest,IndexEndpoint,CreateIndexEndpointOperationMetadata>
Overrides

deleteIndexEndpointCallable()

public UnaryCallable<DeleteIndexEndpointRequest,Operation> deleteIndexEndpointCallable()
Returns
TypeDescription
UnaryCallable<DeleteIndexEndpointRequest,Operation>
Overrides

deleteIndexEndpointOperationCallable()

public OperationCallable<DeleteIndexEndpointRequest,Empty,DeleteOperationMetadata> deleteIndexEndpointOperationCallable()
Returns
TypeDescription
OperationCallable<DeleteIndexEndpointRequest,Empty,DeleteOperationMetadata>
Overrides

deployIndexCallable()

public UnaryCallable<DeployIndexRequest,Operation> deployIndexCallable()
Returns
TypeDescription
UnaryCallable<DeployIndexRequest,Operation>
Overrides

deployIndexOperationCallable()

public OperationCallable<DeployIndexRequest,DeployIndexResponse,DeployIndexOperationMetadata> deployIndexOperationCallable()
Returns
TypeDescription
OperationCallable<DeployIndexRequest,DeployIndexResponse,DeployIndexOperationMetadata>
Overrides

getIndexEndpointCallable()

public UnaryCallable<GetIndexEndpointRequest,IndexEndpoint> getIndexEndpointCallable()
Returns
TypeDescription
UnaryCallable<GetIndexEndpointRequest,IndexEndpoint>
Overrides

getOperationsStub()

public GrpcOperationsStub getOperationsStub()
Returns
TypeDescription
GrpcOperationsStub
Overrides

isShutdown()

public boolean isShutdown()
Returns
TypeDescription
boolean

isTerminated()

public boolean isTerminated()
Returns
TypeDescription
boolean

listIndexEndpointsCallable()

public UnaryCallable<ListIndexEndpointsRequest,ListIndexEndpointsResponse> listIndexEndpointsCallable()
Returns
TypeDescription
UnaryCallable<ListIndexEndpointsRequest,ListIndexEndpointsResponse>
Overrides

listIndexEndpointsPagedCallable()

public UnaryCallable<ListIndexEndpointsRequest,IndexEndpointServiceClient.ListIndexEndpointsPagedResponse> listIndexEndpointsPagedCallable()
Returns
TypeDescription
UnaryCallable<ListIndexEndpointsRequest,ListIndexEndpointsPagedResponse>
Overrides

mutateDeployedIndexCallable()

public UnaryCallable<MutateDeployedIndexRequest,Operation> mutateDeployedIndexCallable()
Returns
TypeDescription
UnaryCallable<MutateDeployedIndexRequest,Operation>
Overrides

mutateDeployedIndexOperationCallable()

public OperationCallable<MutateDeployedIndexRequest,MutateDeployedIndexResponse,MutateDeployedIndexOperationMetadata> mutateDeployedIndexOperationCallable()
Returns
TypeDescription
OperationCallable<MutateDeployedIndexRequest,MutateDeployedIndexResponse,MutateDeployedIndexOperationMetadata>
Overrides

shutdown()

public void shutdown()

shutdownNow()

public void shutdownNow()

undeployIndexCallable()

public UnaryCallable<UndeployIndexRequest,Operation> undeployIndexCallable()
Returns
TypeDescription
UnaryCallable<UndeployIndexRequest,Operation>
Overrides

undeployIndexOperationCallable()

public OperationCallable<UndeployIndexRequest,UndeployIndexResponse,UndeployIndexOperationMetadata> undeployIndexOperationCallable()
Returns
TypeDescription
OperationCallable<UndeployIndexRequest,UndeployIndexResponse,UndeployIndexOperationMetadata>
Overrides

updateIndexEndpointCallable()

public UnaryCallable<UpdateIndexEndpointRequest,IndexEndpoint> updateIndexEndpointCallable()
Returns
TypeDescription
UnaryCallable<UpdateIndexEndpointRequest,IndexEndpoint>
Overrides