Class GrpcIndexEndpointServiceStub (3.11.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
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

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
TypeDescription
UnaryCallable<GetIndexEndpointRequest,IndexEndpoint>
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
TypeDescription
UnaryCallable<ListIndexEndpointsRequest,ListIndexEndpointsResponse>
Overrides

listIndexEndpointsPagedCallable()

public UnaryCallable<ListIndexEndpointsRequest,IndexEndpointServiceClient.ListIndexEndpointsPagedResponse> listIndexEndpointsPagedCallable()
Returns
TypeDescription
UnaryCallable<ListIndexEndpointsRequest,ListIndexEndpointsPagedResponse>
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
TypeDescription
UnaryCallable<MutateDeployedIndexRequest,Operation>
Overrides

mutateDeployedIndexOperationCallable()

public OperationCallable<MutateDeployedIndexRequest,MutateDeployedIndexResponse,MutateDeployedIndexOperationMetadata> mutateDeployedIndexOperationCallable()
Returns
TypeDescription
OperationCallable<MutateDeployedIndexRequest,MutateDeployedIndexResponse,MutateDeployedIndexOperationMetadata>
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
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