@Generated(value="by gapic-generator-java") public class GrpcIndexServiceStub extends IndexServiceStub
This class is for advanced usage and reflects the underlying API directly.
| Modifier | Constructor and Description |
|---|---|
protected |
GrpcIndexServiceStub(IndexServiceStubSettings settings,
com.google.api.gax.rpc.ClientContext clientContext)
Constructs an instance of GrpcIndexServiceStub, using the given settings.
|
protected |
GrpcIndexServiceStub(IndexServiceStubSettings settings,
com.google.api.gax.rpc.ClientContext clientContext,
com.google.api.gax.grpc.GrpcStubCallableFactory callableFactory)
Constructs an instance of GrpcIndexServiceStub, using the given settings.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
awaitTermination(long duration,
TimeUnit unit) |
void |
close() |
static GrpcIndexServiceStub |
create(com.google.api.gax.rpc.ClientContext clientContext) |
static GrpcIndexServiceStub |
create(com.google.api.gax.rpc.ClientContext clientContext,
com.google.api.gax.grpc.GrpcStubCallableFactory callableFactory) |
static GrpcIndexServiceStub |
create(IndexServiceStubSettings settings) |
com.google.api.gax.rpc.UnaryCallable<CreateIndexRequest,com.google.longrunning.Operation> |
createIndexCallable() |
com.google.api.gax.rpc.OperationCallable<CreateIndexRequest,Index,CreateIndexOperationMetadata> |
createIndexOperationCallable() |
com.google.api.gax.rpc.UnaryCallable<DeleteIndexRequest,com.google.longrunning.Operation> |
deleteIndexCallable() |
com.google.api.gax.rpc.OperationCallable<DeleteIndexRequest,com.google.protobuf.Empty,DeleteOperationMetadata> |
deleteIndexOperationCallable() |
com.google.api.gax.rpc.UnaryCallable<com.google.iam.v1.GetIamPolicyRequest,com.google.iam.v1.Policy> |
getIamPolicyCallable() |
com.google.api.gax.rpc.UnaryCallable<GetIndexRequest,Index> |
getIndexCallable() |
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<ListIndexesRequest,ListIndexesResponse> |
listIndexesCallable() |
com.google.api.gax.rpc.UnaryCallable<ListIndexesRequest,IndexServiceClient.ListIndexesPagedResponse> |
listIndexesPagedCallable() |
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,IndexServiceClient.ListLocationsPagedResponse> |
listLocationsPagedCallable() |
com.google.api.gax.rpc.UnaryCallable<RemoveDatapointsRequest,RemoveDatapointsResponse> |
removeDatapointsCallable() |
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<UpdateIndexRequest,com.google.longrunning.Operation> |
updateIndexCallable() |
com.google.api.gax.rpc.OperationCallable<UpdateIndexRequest,Index,UpdateIndexOperationMetadata> |
updateIndexOperationCallable() |
com.google.api.gax.rpc.UnaryCallable<UpsertDatapointsRequest,UpsertDatapointsResponse> |
upsertDatapointsCallable() |
protected GrpcIndexServiceStub(IndexServiceStubSettings settings, com.google.api.gax.rpc.ClientContext clientContext) throws IOException
IOExceptionprotected GrpcIndexServiceStub(IndexServiceStubSettings settings, com.google.api.gax.rpc.ClientContext clientContext, com.google.api.gax.grpc.GrpcStubCallableFactory callableFactory) throws IOException
IOExceptionpublic static final GrpcIndexServiceStub create(IndexServiceStubSettings settings) throws IOException
IOExceptionpublic static final GrpcIndexServiceStub create(com.google.api.gax.rpc.ClientContext clientContext) throws IOException
IOExceptionpublic static final GrpcIndexServiceStub create(com.google.api.gax.rpc.ClientContext clientContext, com.google.api.gax.grpc.GrpcStubCallableFactory callableFactory) throws IOException
IOExceptionpublic com.google.longrunning.stub.GrpcOperationsStub getOperationsStub()
getOperationsStub in class IndexServiceStubpublic com.google.api.gax.rpc.UnaryCallable<CreateIndexRequest,com.google.longrunning.Operation> createIndexCallable()
createIndexCallable in class IndexServiceStubpublic com.google.api.gax.rpc.OperationCallable<CreateIndexRequest,Index,CreateIndexOperationMetadata> createIndexOperationCallable()
createIndexOperationCallable in class IndexServiceStubpublic com.google.api.gax.rpc.UnaryCallable<GetIndexRequest,Index> getIndexCallable()
getIndexCallable in class IndexServiceStubpublic com.google.api.gax.rpc.UnaryCallable<ListIndexesRequest,ListIndexesResponse> listIndexesCallable()
listIndexesCallable in class IndexServiceStubpublic com.google.api.gax.rpc.UnaryCallable<ListIndexesRequest,IndexServiceClient.ListIndexesPagedResponse> listIndexesPagedCallable()
listIndexesPagedCallable in class IndexServiceStubpublic com.google.api.gax.rpc.UnaryCallable<UpdateIndexRequest,com.google.longrunning.Operation> updateIndexCallable()
updateIndexCallable in class IndexServiceStubpublic com.google.api.gax.rpc.OperationCallable<UpdateIndexRequest,Index,UpdateIndexOperationMetadata> updateIndexOperationCallable()
updateIndexOperationCallable in class IndexServiceStubpublic com.google.api.gax.rpc.UnaryCallable<DeleteIndexRequest,com.google.longrunning.Operation> deleteIndexCallable()
deleteIndexCallable in class IndexServiceStubpublic com.google.api.gax.rpc.OperationCallable<DeleteIndexRequest,com.google.protobuf.Empty,DeleteOperationMetadata> deleteIndexOperationCallable()
deleteIndexOperationCallable in class IndexServiceStubpublic com.google.api.gax.rpc.UnaryCallable<UpsertDatapointsRequest,UpsertDatapointsResponse> upsertDatapointsCallable()
upsertDatapointsCallable in class IndexServiceStubpublic com.google.api.gax.rpc.UnaryCallable<RemoveDatapointsRequest,RemoveDatapointsResponse> removeDatapointsCallable()
removeDatapointsCallable in class IndexServiceStubpublic com.google.api.gax.rpc.UnaryCallable<com.google.cloud.location.ListLocationsRequest,com.google.cloud.location.ListLocationsResponse> listLocationsCallable()
listLocationsCallable in class IndexServiceStubpublic com.google.api.gax.rpc.UnaryCallable<com.google.cloud.location.ListLocationsRequest,IndexServiceClient.ListLocationsPagedResponse> listLocationsPagedCallable()
listLocationsPagedCallable in class IndexServiceStubpublic com.google.api.gax.rpc.UnaryCallable<com.google.cloud.location.GetLocationRequest,com.google.cloud.location.Location> getLocationCallable()
getLocationCallable in class IndexServiceStubpublic com.google.api.gax.rpc.UnaryCallable<com.google.iam.v1.SetIamPolicyRequest,com.google.iam.v1.Policy> setIamPolicyCallable()
setIamPolicyCallable in class IndexServiceStubpublic com.google.api.gax.rpc.UnaryCallable<com.google.iam.v1.GetIamPolicyRequest,com.google.iam.v1.Policy> getIamPolicyCallable()
getIamPolicyCallable in class IndexServiceStubpublic com.google.api.gax.rpc.UnaryCallable<com.google.iam.v1.TestIamPermissionsRequest,com.google.iam.v1.TestIamPermissionsResponse> testIamPermissionsCallable()
testIamPermissionsCallable in class IndexServiceStubpublic final void close()
close in interface AutoCloseableclose in class IndexServiceStubpublic void shutdown()
public boolean isShutdown()
public boolean isTerminated()
public void shutdownNow()
public boolean awaitTermination(long duration,
TimeUnit unit)
throws InterruptedException
InterruptedExceptionCopyright © 2024 Google LLC. All rights reserved.