Class GrpcExampleStoreServiceStub
java.lang.Object
com.google.cloud.aiplatform.v1beta1.stub.ExampleStoreServiceStub
com.google.cloud.aiplatform.v1beta1.stub.GrpcExampleStoreServiceStub
- All Implemented Interfaces:
BackgroundResource,AutoCloseable
@BetaApi
@Generated("by gapic-generator-java")
public class GrpcExampleStoreServiceStub
extends ExampleStoreServiceStub
gRPC stub implementation for the ExampleStoreService service API.
This class is for advanced usage and reflects the underlying API directly.
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedGrpcExampleStoreServiceStub(ExampleStoreServiceStubSettings settings, ClientContext clientContext) Constructs an instance of GrpcExampleStoreServiceStub, using the given settings.protectedGrpcExampleStoreServiceStub(ExampleStoreServiceStubSettings settings, ClientContext clientContext, GrpcStubCallableFactory callableFactory) Constructs an instance of GrpcExampleStoreServiceStub, using the given settings. -
Method Summary
Modifier and TypeMethodDescriptionbooleanawaitTermination(long duration, TimeUnit unit) final voidclose()static final GrpcExampleStoreServiceStubcreate(ClientContext clientContext) static final GrpcExampleStoreServiceStubcreate(ClientContext clientContext, GrpcStubCallableFactory callableFactory) static final GrpcExampleStoreServiceStubcreate(ExampleStoreServiceStubSettings settings) OperationCallable<DeleteExampleStoreRequest,com.google.protobuf.Empty, DeleteExampleStoreOperationMetadata> booleanbooleanvoidshutdown()void
-
Constructor Details
-
GrpcExampleStoreServiceStub
protected GrpcExampleStoreServiceStub(ExampleStoreServiceStubSettings settings, ClientContext clientContext) throws IOException Constructs an instance of GrpcExampleStoreServiceStub, 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
-
GrpcExampleStoreServiceStub
protected GrpcExampleStoreServiceStub(ExampleStoreServiceStubSettings settings, ClientContext clientContext, GrpcStubCallableFactory callableFactory) throws IOException Constructs an instance of GrpcExampleStoreServiceStub, 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 Details
-
create
public static final GrpcExampleStoreServiceStub create(ExampleStoreServiceStubSettings settings) throws IOException - Throws:
IOException
-
create
public static final GrpcExampleStoreServiceStub create(ClientContext clientContext) throws IOException - Throws:
IOException
-
create
public static final GrpcExampleStoreServiceStub create(ClientContext clientContext, GrpcStubCallableFactory callableFactory) throws IOException - Throws:
IOException
-
getOperationsStub
- Overrides:
getOperationsStubin classExampleStoreServiceStub
-
createExampleStoreCallable
- Overrides:
createExampleStoreCallablein classExampleStoreServiceStub
-
createExampleStoreOperationCallable
public OperationCallable<CreateExampleStoreRequest,ExampleStore, createExampleStoreOperationCallable()CreateExampleStoreOperationMetadata> - Overrides:
createExampleStoreOperationCallablein classExampleStoreServiceStub
-
getExampleStoreCallable
- Overrides:
getExampleStoreCallablein classExampleStoreServiceStub
-
updateExampleStoreCallable
- Overrides:
updateExampleStoreCallablein classExampleStoreServiceStub
-
updateExampleStoreOperationCallable
public OperationCallable<UpdateExampleStoreRequest,ExampleStore, updateExampleStoreOperationCallable()UpdateExampleStoreOperationMetadata> - Overrides:
updateExampleStoreOperationCallablein classExampleStoreServiceStub
-
deleteExampleStoreCallable
- Overrides:
deleteExampleStoreCallablein classExampleStoreServiceStub
-
deleteExampleStoreOperationCallable
public OperationCallable<DeleteExampleStoreRequest,com.google.protobuf.Empty, deleteExampleStoreOperationCallable()DeleteExampleStoreOperationMetadata> - Overrides:
deleteExampleStoreOperationCallablein classExampleStoreServiceStub
-
listExampleStoresCallable
public UnaryCallable<ListExampleStoresRequest,ListExampleStoresResponse> listExampleStoresCallable()- Overrides:
listExampleStoresCallablein classExampleStoreServiceStub
-
listExampleStoresPagedCallable
public UnaryCallable<ListExampleStoresRequest,ExampleStoreServiceClient.ListExampleStoresPagedResponse> listExampleStoresPagedCallable()- Overrides:
listExampleStoresPagedCallablein classExampleStoreServiceStub
-
upsertExamplesCallable
- Overrides:
upsertExamplesCallablein classExampleStoreServiceStub
-
removeExamplesCallable
- Overrides:
removeExamplesCallablein classExampleStoreServiceStub
-
searchExamplesCallable
- Overrides:
searchExamplesCallablein classExampleStoreServiceStub
-
fetchExamplesCallable
- Overrides:
fetchExamplesCallablein classExampleStoreServiceStub
-
fetchExamplesPagedCallable
public UnaryCallable<FetchExamplesRequest,ExampleStoreServiceClient.FetchExamplesPagedResponse> fetchExamplesPagedCallable()- Overrides:
fetchExamplesPagedCallablein classExampleStoreServiceStub
-
listLocationsCallable
- Overrides:
listLocationsCallablein classExampleStoreServiceStub
-
listLocationsPagedCallable
public UnaryCallable<ListLocationsRequest,ExampleStoreServiceClient.ListLocationsPagedResponse> listLocationsPagedCallable()- Overrides:
listLocationsPagedCallablein classExampleStoreServiceStub
-
getLocationCallable
- Overrides:
getLocationCallablein classExampleStoreServiceStub
-
setIamPolicyCallable
- Overrides:
setIamPolicyCallablein classExampleStoreServiceStub
-
getIamPolicyCallable
- Overrides:
getIamPolicyCallablein classExampleStoreServiceStub
-
testIamPermissionsCallable
public UnaryCallable<TestIamPermissionsRequest,TestIamPermissionsResponse> testIamPermissionsCallable()- Overrides:
testIamPermissionsCallablein classExampleStoreServiceStub
-
close
public final void close()- Specified by:
closein interfaceAutoCloseable- Specified by:
closein classExampleStoreServiceStub
-
shutdown
public void shutdown() -
isShutdown
public boolean isShutdown() -
isTerminated
public boolean isTerminated() -
shutdownNow
public void shutdownNow() -
awaitTermination
- Throws:
InterruptedException
-