Class GrpcIndexEndpointServiceStub (3.42.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
Name Description
clientContext ClientContext
Returns
Type Description
GrpcIndexEndpointServiceStub
Exceptions
Type Description
IOException

create(ClientContext clientContext, GrpcStubCallableFactory callableFactory)

public static final GrpcIndexEndpointServiceStub create(ClientContext clientContext, GrpcStubCallableFactory callableFactory)
Parameters
Name Description
clientContext ClientContext
callableFactory GrpcStubCallableFactory
Returns
Type Description
GrpcIndexEndpointServiceStub
Exceptions
Type Description
IOException

create(IndexEndpointServiceStubSettings settings)

public static final GrpcIndexEndpointServiceStub create(IndexEndpointServiceStubSettings settings)
Parameter
Name Description
settings IndexEndpointServiceStubSettings
Returns
Type Description
GrpcIndexEndpointServiceStub
Exceptions
Type Description
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
Name Description
settings IndexEndpointServiceStubSettings
clientContext ClientContext

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
Name Description
settings IndexEndpointServiceStubSettings
clientContext ClientContext
callableFactory GrpcStubCallableFactory

Methods

awaitTermination(long duration, TimeUnit unit)

public boolean awaitTermination(long duration, TimeUnit unit)
Parameters
Name Description
duration long
unit TimeUnit
Returns
Type Description
boolean
Exceptions
Type Description
InterruptedException

close()

public final void close()
Overrides

createIndexEndpointCallable()

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

createIndexEndpointOperationCallable()

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

deleteIndexEndpointCallable()

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

deleteIndexEndpointOperationCallable()

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

deployIndexCallable()

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

deployIndexOperationCallable()

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

getIamPolicyCallable()

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

getIndexEndpointCallable()

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

getLocationCallable()

public UnaryCallable<GetLocationRequest,Location> getLocationCallable()
Returns
Type Description
UnaryCallable<com.google.cloud.location.GetLocationRequest,com.google.cloud.location.Location>
Overrides

getOperationsStub()

public GrpcOperationsStub getOperationsStub()
Returns
Type Description
GrpcOperationsStub
Overrides

isShutdown()

public boolean isShutdown()
Returns
Type Description
boolean

isTerminated()

public boolean isTerminated()
Returns
Type Description
boolean

listIndexEndpointsCallable()

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

listIndexEndpointsPagedCallable()

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

listLocationsCallable()

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

listLocationsPagedCallable()

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

mutateDeployedIndexCallable()

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

mutateDeployedIndexOperationCallable()

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

setIamPolicyCallable()

public UnaryCallable<SetIamPolicyRequest,Policy> setIamPolicyCallable()
Returns
Type Description
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
Type Description
UnaryCallable<com.google.iam.v1.TestIamPermissionsRequest,com.google.iam.v1.TestIamPermissionsResponse>
Overrides

undeployIndexCallable()

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

undeployIndexOperationCallable()

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

updateIndexEndpointCallable()

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