Class GrpcIndexEndpointServiceStub (3.0.0)

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 Exceptions
TypeDescription
IOException

create(ClientContext clientContext, GrpcStubCallableFactory callableFactory)

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

create(IndexEndpointServiceStubSettings settings)

public static final GrpcIndexEndpointServiceStub create(IndexEndpointServiceStubSettings settings)
Parameter
NameDescription
settingsIndexEndpointServiceStubSettings
Returns 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 Overrides

createIndexEndpointOperationCallable()

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

deleteIndexEndpointCallable()

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

deleteIndexEndpointOperationCallable()

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

deployIndexCallable()

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

deployIndexOperationCallable()

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

getIamPolicyCallable()

public UnaryCallable<GetIamPolicyRequest,Policy> getIamPolicyCallable()
Returns
TypeDescription
UnaryCallable<com.google.iam.v1.GetIamPolicyRequest,com.google.iam.v1.Policy>
Overrides

getIndexEndpointCallable()

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

getLocationCallable()

public UnaryCallable<GetLocationRequest,Location> getLocationCallable()
Returns
TypeDescription
UnaryCallable<com.google.cloud.location.GetLocationRequest,com.google.cloud.location.Location>
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 Overrides

listIndexEndpointsPagedCallable()

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

listLocationsCallable()

public UnaryCallable<ListLocationsRequest,ListLocationsResponse> listLocationsCallable()
Returns
TypeDescription
UnaryCallable<com.google.cloud.location.ListLocationsRequest,com.google.cloud.location.ListLocationsResponse>
Overrides

listLocationsPagedCallable()

public UnaryCallable<ListLocationsRequest,IndexEndpointServiceClient.ListLocationsPagedResponse> listLocationsPagedCallable()
Returns
TypeDescription
UnaryCallable<com.google.cloud.location.ListLocationsRequest,ListLocationsPagedResponse>
Overrides

mutateDeployedIndexCallable()

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

mutateDeployedIndexOperationCallable()

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

setIamPolicyCallable()

public UnaryCallable<SetIamPolicyRequest,Policy> setIamPolicyCallable()
Returns
TypeDescription
UnaryCallable<com.google.iam.v1.SetIamPolicyRequest,com.google.iam.v1.Policy>
Overrides

shutdown()

public void shutdown()

shutdownNow()

public void shutdownNow()

testIamPermissionsCallable()

public UnaryCallable<TestIamPermissionsRequest,TestIamPermissionsResponse> testIamPermissionsCallable()
Returns
TypeDescription
UnaryCallable<com.google.iam.v1.TestIamPermissionsRequest,com.google.iam.v1.TestIamPermissionsResponse>
Overrides

undeployIndexCallable()

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

undeployIndexOperationCallable()

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

updateIndexEndpointCallable()

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