Class GrpcIndexEndpointServiceStub
- java.lang.Object
-
- com.google.cloud.aiplatform.v1beta1.stub.IndexEndpointServiceStub
-
- com.google.cloud.aiplatform.v1beta1.stub.GrpcIndexEndpointServiceStub
-
- All Implemented Interfaces:
com.google.api.gax.core.BackgroundResource,AutoCloseable
@BetaApi @Generated("by gapic-generator-java") 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.
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedGrpcIndexEndpointServiceStub(IndexEndpointServiceStubSettings settings, com.google.api.gax.rpc.ClientContext clientContext)Constructs an instance of GrpcIndexEndpointServiceStub, using the given settings.protectedGrpcIndexEndpointServiceStub(IndexEndpointServiceStubSettings settings, com.google.api.gax.rpc.ClientContext clientContext, com.google.api.gax.grpc.GrpcStubCallableFactory callableFactory)Constructs an instance of GrpcIndexEndpointServiceStub, using the given settings.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanawaitTermination(long duration, TimeUnit unit)voidclose()static GrpcIndexEndpointServiceStubcreate(com.google.api.gax.rpc.ClientContext clientContext)static GrpcIndexEndpointServiceStubcreate(com.google.api.gax.rpc.ClientContext clientContext, com.google.api.gax.grpc.GrpcStubCallableFactory callableFactory)static GrpcIndexEndpointServiceStubcreate(IndexEndpointServiceStubSettings settings)com.google.api.gax.rpc.UnaryCallable<CreateIndexEndpointRequest,com.google.longrunning.Operation>createIndexEndpointCallable()com.google.api.gax.rpc.OperationCallable<CreateIndexEndpointRequest,IndexEndpoint,CreateIndexEndpointOperationMetadata>createIndexEndpointOperationCallable()com.google.api.gax.rpc.UnaryCallable<DeleteIndexEndpointRequest,com.google.longrunning.Operation>deleteIndexEndpointCallable()com.google.api.gax.rpc.OperationCallable<DeleteIndexEndpointRequest,com.google.protobuf.Empty,DeleteOperationMetadata>deleteIndexEndpointOperationCallable()com.google.api.gax.rpc.UnaryCallable<DeployIndexRequest,com.google.longrunning.Operation>deployIndexCallable()com.google.api.gax.rpc.OperationCallable<DeployIndexRequest,DeployIndexResponse,DeployIndexOperationMetadata>deployIndexOperationCallable()com.google.api.gax.rpc.UnaryCallable<com.google.iam.v1.GetIamPolicyRequest,com.google.iam.v1.Policy>getIamPolicyCallable()com.google.api.gax.rpc.UnaryCallable<GetIndexEndpointRequest,IndexEndpoint>getIndexEndpointCallable()com.google.api.gax.rpc.UnaryCallable<com.google.cloud.location.GetLocationRequest,com.google.cloud.location.Location>getLocationCallable()com.google.longrunning.stub.GrpcOperationsStubgetOperationsStub()booleanisShutdown()booleanisTerminated()com.google.api.gax.rpc.UnaryCallable<ListIndexEndpointsRequest,ListIndexEndpointsResponse>listIndexEndpointsCallable()com.google.api.gax.rpc.UnaryCallable<ListIndexEndpointsRequest,IndexEndpointServiceClient.ListIndexEndpointsPagedResponse>listIndexEndpointsPagedCallable()com.google.api.gax.rpc.UnaryCallable<com.google.cloud.location.ListLocationsRequest,com.google.cloud.location.ListLocationsResponse>listLocationsCallable()com.google.api.gax.rpc.UnaryCallable<com.google.cloud.location.ListLocationsRequest,IndexEndpointServiceClient.ListLocationsPagedResponse>listLocationsPagedCallable()com.google.api.gax.rpc.UnaryCallable<MutateDeployedIndexRequest,com.google.longrunning.Operation>mutateDeployedIndexCallable()com.google.api.gax.rpc.OperationCallable<MutateDeployedIndexRequest,MutateDeployedIndexResponse,MutateDeployedIndexOperationMetadata>mutateDeployedIndexOperationCallable()com.google.api.gax.rpc.UnaryCallable<com.google.iam.v1.SetIamPolicyRequest,com.google.iam.v1.Policy>setIamPolicyCallable()voidshutdown()voidshutdownNow()com.google.api.gax.rpc.UnaryCallable<com.google.iam.v1.TestIamPermissionsRequest,com.google.iam.v1.TestIamPermissionsResponse>testIamPermissionsCallable()com.google.api.gax.rpc.UnaryCallable<UndeployIndexRequest,com.google.longrunning.Operation>undeployIndexCallable()com.google.api.gax.rpc.OperationCallable<UndeployIndexRequest,UndeployIndexResponse,UndeployIndexOperationMetadata>undeployIndexOperationCallable()com.google.api.gax.rpc.UnaryCallable<UpdateIndexEndpointRequest,IndexEndpoint>updateIndexEndpointCallable()
-
-
-
Constructor Detail
-
GrpcIndexEndpointServiceStub
protected GrpcIndexEndpointServiceStub(IndexEndpointServiceStubSettings settings, com.google.api.gax.rpc.ClientContext clientContext) throws IOException
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.- Throws:
IOException
-
GrpcIndexEndpointServiceStub
protected GrpcIndexEndpointServiceStub(IndexEndpointServiceStubSettings settings, com.google.api.gax.rpc.ClientContext clientContext, com.google.api.gax.grpc.GrpcStubCallableFactory callableFactory) throws IOException
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.- Throws:
IOException
-
-
Method Detail
-
create
public static final GrpcIndexEndpointServiceStub create(IndexEndpointServiceStubSettings settings) throws IOException
- Throws:
IOException
-
create
public static final GrpcIndexEndpointServiceStub create(com.google.api.gax.rpc.ClientContext clientContext) throws IOException
- Throws:
IOException
-
create
public static final GrpcIndexEndpointServiceStub create(com.google.api.gax.rpc.ClientContext clientContext, com.google.api.gax.grpc.GrpcStubCallableFactory callableFactory) throws IOException
- Throws:
IOException
-
getOperationsStub
public com.google.longrunning.stub.GrpcOperationsStub getOperationsStub()
- Overrides:
getOperationsStubin classIndexEndpointServiceStub
-
createIndexEndpointCallable
public com.google.api.gax.rpc.UnaryCallable<CreateIndexEndpointRequest,com.google.longrunning.Operation> createIndexEndpointCallable()
- Overrides:
createIndexEndpointCallablein classIndexEndpointServiceStub
-
createIndexEndpointOperationCallable
public com.google.api.gax.rpc.OperationCallable<CreateIndexEndpointRequest,IndexEndpoint,CreateIndexEndpointOperationMetadata> createIndexEndpointOperationCallable()
- Overrides:
createIndexEndpointOperationCallablein classIndexEndpointServiceStub
-
getIndexEndpointCallable
public com.google.api.gax.rpc.UnaryCallable<GetIndexEndpointRequest,IndexEndpoint> getIndexEndpointCallable()
- Overrides:
getIndexEndpointCallablein classIndexEndpointServiceStub
-
listIndexEndpointsCallable
public com.google.api.gax.rpc.UnaryCallable<ListIndexEndpointsRequest,ListIndexEndpointsResponse> listIndexEndpointsCallable()
- Overrides:
listIndexEndpointsCallablein classIndexEndpointServiceStub
-
listIndexEndpointsPagedCallable
public com.google.api.gax.rpc.UnaryCallable<ListIndexEndpointsRequest,IndexEndpointServiceClient.ListIndexEndpointsPagedResponse> listIndexEndpointsPagedCallable()
- Overrides:
listIndexEndpointsPagedCallablein classIndexEndpointServiceStub
-
updateIndexEndpointCallable
public com.google.api.gax.rpc.UnaryCallable<UpdateIndexEndpointRequest,IndexEndpoint> updateIndexEndpointCallable()
- Overrides:
updateIndexEndpointCallablein classIndexEndpointServiceStub
-
deleteIndexEndpointCallable
public com.google.api.gax.rpc.UnaryCallable<DeleteIndexEndpointRequest,com.google.longrunning.Operation> deleteIndexEndpointCallable()
- Overrides:
deleteIndexEndpointCallablein classIndexEndpointServiceStub
-
deleteIndexEndpointOperationCallable
public com.google.api.gax.rpc.OperationCallable<DeleteIndexEndpointRequest,com.google.protobuf.Empty,DeleteOperationMetadata> deleteIndexEndpointOperationCallable()
- Overrides:
deleteIndexEndpointOperationCallablein classIndexEndpointServiceStub
-
deployIndexCallable
public com.google.api.gax.rpc.UnaryCallable<DeployIndexRequest,com.google.longrunning.Operation> deployIndexCallable()
- Overrides:
deployIndexCallablein classIndexEndpointServiceStub
-
deployIndexOperationCallable
public com.google.api.gax.rpc.OperationCallable<DeployIndexRequest,DeployIndexResponse,DeployIndexOperationMetadata> deployIndexOperationCallable()
- Overrides:
deployIndexOperationCallablein classIndexEndpointServiceStub
-
undeployIndexCallable
public com.google.api.gax.rpc.UnaryCallable<UndeployIndexRequest,com.google.longrunning.Operation> undeployIndexCallable()
- Overrides:
undeployIndexCallablein classIndexEndpointServiceStub
-
undeployIndexOperationCallable
public com.google.api.gax.rpc.OperationCallable<UndeployIndexRequest,UndeployIndexResponse,UndeployIndexOperationMetadata> undeployIndexOperationCallable()
- Overrides:
undeployIndexOperationCallablein classIndexEndpointServiceStub
-
mutateDeployedIndexCallable
public com.google.api.gax.rpc.UnaryCallable<MutateDeployedIndexRequest,com.google.longrunning.Operation> mutateDeployedIndexCallable()
- Overrides:
mutateDeployedIndexCallablein classIndexEndpointServiceStub
-
mutateDeployedIndexOperationCallable
public com.google.api.gax.rpc.OperationCallable<MutateDeployedIndexRequest,MutateDeployedIndexResponse,MutateDeployedIndexOperationMetadata> mutateDeployedIndexOperationCallable()
- Overrides:
mutateDeployedIndexOperationCallablein classIndexEndpointServiceStub
-
listLocationsCallable
public com.google.api.gax.rpc.UnaryCallable<com.google.cloud.location.ListLocationsRequest,com.google.cloud.location.ListLocationsResponse> listLocationsCallable()
- Overrides:
listLocationsCallablein classIndexEndpointServiceStub
-
listLocationsPagedCallable
public com.google.api.gax.rpc.UnaryCallable<com.google.cloud.location.ListLocationsRequest,IndexEndpointServiceClient.ListLocationsPagedResponse> listLocationsPagedCallable()
- Overrides:
listLocationsPagedCallablein classIndexEndpointServiceStub
-
getLocationCallable
public com.google.api.gax.rpc.UnaryCallable<com.google.cloud.location.GetLocationRequest,com.google.cloud.location.Location> getLocationCallable()
- Overrides:
getLocationCallablein classIndexEndpointServiceStub
-
setIamPolicyCallable
public com.google.api.gax.rpc.UnaryCallable<com.google.iam.v1.SetIamPolicyRequest,com.google.iam.v1.Policy> setIamPolicyCallable()
- Overrides:
setIamPolicyCallablein classIndexEndpointServiceStub
-
getIamPolicyCallable
public com.google.api.gax.rpc.UnaryCallable<com.google.iam.v1.GetIamPolicyRequest,com.google.iam.v1.Policy> getIamPolicyCallable()
- Overrides:
getIamPolicyCallablein classIndexEndpointServiceStub
-
testIamPermissionsCallable
public com.google.api.gax.rpc.UnaryCallable<com.google.iam.v1.TestIamPermissionsRequest,com.google.iam.v1.TestIamPermissionsResponse> testIamPermissionsCallable()
- Overrides:
testIamPermissionsCallablein classIndexEndpointServiceStub
-
close
public final void close()
- Specified by:
closein interfaceAutoCloseable- Specified by:
closein classIndexEndpointServiceStub
-
shutdown
public void shutdown()
-
isShutdown
public boolean isShutdown()
-
isTerminated
public boolean isTerminated()
-
shutdownNow
public void shutdownNow()
-
awaitTermination
public boolean awaitTermination(long duration, TimeUnit unit) throws InterruptedException- Throws:
InterruptedException
-
-