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 protected
GrpcIndexEndpointServiceStub(IndexEndpointServiceStubSettings settings, com.google.api.gax.rpc.ClientContext clientContext)
Constructs an instance of GrpcIndexEndpointServiceStub, using the given settings.protected
GrpcIndexEndpointServiceStub(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 boolean
awaitTermination(long duration, TimeUnit unit)
void
close()
static GrpcIndexEndpointServiceStub
create(com.google.api.gax.rpc.ClientContext clientContext)
static GrpcIndexEndpointServiceStub
create(com.google.api.gax.rpc.ClientContext clientContext, com.google.api.gax.grpc.GrpcStubCallableFactory callableFactory)
static GrpcIndexEndpointServiceStub
create(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.GrpcOperationsStub
getOperationsStub()
boolean
isShutdown()
boolean
isTerminated()
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()
void
shutdown()
void
shutdownNow()
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:
getOperationsStub
in classIndexEndpointServiceStub
-
createIndexEndpointCallable
public com.google.api.gax.rpc.UnaryCallable<CreateIndexEndpointRequest,com.google.longrunning.Operation> createIndexEndpointCallable()
- Overrides:
createIndexEndpointCallable
in classIndexEndpointServiceStub
-
createIndexEndpointOperationCallable
public com.google.api.gax.rpc.OperationCallable<CreateIndexEndpointRequest,IndexEndpoint,CreateIndexEndpointOperationMetadata> createIndexEndpointOperationCallable()
- Overrides:
createIndexEndpointOperationCallable
in classIndexEndpointServiceStub
-
getIndexEndpointCallable
public com.google.api.gax.rpc.UnaryCallable<GetIndexEndpointRequest,IndexEndpoint> getIndexEndpointCallable()
- Overrides:
getIndexEndpointCallable
in classIndexEndpointServiceStub
-
listIndexEndpointsCallable
public com.google.api.gax.rpc.UnaryCallable<ListIndexEndpointsRequest,ListIndexEndpointsResponse> listIndexEndpointsCallable()
- Overrides:
listIndexEndpointsCallable
in classIndexEndpointServiceStub
-
listIndexEndpointsPagedCallable
public com.google.api.gax.rpc.UnaryCallable<ListIndexEndpointsRequest,IndexEndpointServiceClient.ListIndexEndpointsPagedResponse> listIndexEndpointsPagedCallable()
- Overrides:
listIndexEndpointsPagedCallable
in classIndexEndpointServiceStub
-
updateIndexEndpointCallable
public com.google.api.gax.rpc.UnaryCallable<UpdateIndexEndpointRequest,IndexEndpoint> updateIndexEndpointCallable()
- Overrides:
updateIndexEndpointCallable
in classIndexEndpointServiceStub
-
deleteIndexEndpointCallable
public com.google.api.gax.rpc.UnaryCallable<DeleteIndexEndpointRequest,com.google.longrunning.Operation> deleteIndexEndpointCallable()
- Overrides:
deleteIndexEndpointCallable
in classIndexEndpointServiceStub
-
deleteIndexEndpointOperationCallable
public com.google.api.gax.rpc.OperationCallable<DeleteIndexEndpointRequest,com.google.protobuf.Empty,DeleteOperationMetadata> deleteIndexEndpointOperationCallable()
- Overrides:
deleteIndexEndpointOperationCallable
in classIndexEndpointServiceStub
-
deployIndexCallable
public com.google.api.gax.rpc.UnaryCallable<DeployIndexRequest,com.google.longrunning.Operation> deployIndexCallable()
- Overrides:
deployIndexCallable
in classIndexEndpointServiceStub
-
deployIndexOperationCallable
public com.google.api.gax.rpc.OperationCallable<DeployIndexRequest,DeployIndexResponse,DeployIndexOperationMetadata> deployIndexOperationCallable()
- Overrides:
deployIndexOperationCallable
in classIndexEndpointServiceStub
-
undeployIndexCallable
public com.google.api.gax.rpc.UnaryCallable<UndeployIndexRequest,com.google.longrunning.Operation> undeployIndexCallable()
- Overrides:
undeployIndexCallable
in classIndexEndpointServiceStub
-
undeployIndexOperationCallable
public com.google.api.gax.rpc.OperationCallable<UndeployIndexRequest,UndeployIndexResponse,UndeployIndexOperationMetadata> undeployIndexOperationCallable()
- Overrides:
undeployIndexOperationCallable
in classIndexEndpointServiceStub
-
mutateDeployedIndexCallable
public com.google.api.gax.rpc.UnaryCallable<MutateDeployedIndexRequest,com.google.longrunning.Operation> mutateDeployedIndexCallable()
- Overrides:
mutateDeployedIndexCallable
in classIndexEndpointServiceStub
-
mutateDeployedIndexOperationCallable
public com.google.api.gax.rpc.OperationCallable<MutateDeployedIndexRequest,MutateDeployedIndexResponse,MutateDeployedIndexOperationMetadata> mutateDeployedIndexOperationCallable()
- Overrides:
mutateDeployedIndexOperationCallable
in classIndexEndpointServiceStub
-
listLocationsCallable
public com.google.api.gax.rpc.UnaryCallable<com.google.cloud.location.ListLocationsRequest,com.google.cloud.location.ListLocationsResponse> listLocationsCallable()
- Overrides:
listLocationsCallable
in classIndexEndpointServiceStub
-
listLocationsPagedCallable
public com.google.api.gax.rpc.UnaryCallable<com.google.cloud.location.ListLocationsRequest,IndexEndpointServiceClient.ListLocationsPagedResponse> listLocationsPagedCallable()
- Overrides:
listLocationsPagedCallable
in classIndexEndpointServiceStub
-
getLocationCallable
public com.google.api.gax.rpc.UnaryCallable<com.google.cloud.location.GetLocationRequest,com.google.cloud.location.Location> getLocationCallable()
- Overrides:
getLocationCallable
in classIndexEndpointServiceStub
-
setIamPolicyCallable
public com.google.api.gax.rpc.UnaryCallable<com.google.iam.v1.SetIamPolicyRequest,com.google.iam.v1.Policy> setIamPolicyCallable()
- Overrides:
setIamPolicyCallable
in classIndexEndpointServiceStub
-
getIamPolicyCallable
public com.google.api.gax.rpc.UnaryCallable<com.google.iam.v1.GetIamPolicyRequest,com.google.iam.v1.Policy> getIamPolicyCallable()
- Overrides:
getIamPolicyCallable
in classIndexEndpointServiceStub
-
testIamPermissionsCallable
public com.google.api.gax.rpc.UnaryCallable<com.google.iam.v1.TestIamPermissionsRequest,com.google.iam.v1.TestIamPermissionsResponse> testIamPermissionsCallable()
- Overrides:
testIamPermissionsCallable
in classIndexEndpointServiceStub
-
close
public final void close()
- Specified by:
close
in interfaceAutoCloseable
- Specified by:
close
in 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
-
-