Class GrpcParallelstoreStub
java.lang.Object
com.google.cloud.parallelstore.v1.stub.ParallelstoreStub
com.google.cloud.parallelstore.v1.stub.GrpcParallelstoreStub
- All Implemented Interfaces:
BackgroundResource,AutoCloseable
gRPC stub implementation for the Parallelstore service API.
This class is for advanced usage and reflects the underlying API directly.
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedGrpcParallelstoreStub(ParallelstoreStubSettings settings, ClientContext clientContext) Constructs an instance of GrpcParallelstoreStub, using the given settings.protectedGrpcParallelstoreStub(ParallelstoreStubSettings settings, ClientContext clientContext, GrpcStubCallableFactory callableFactory) Constructs an instance of GrpcParallelstoreStub, using the given settings. -
Method Summary
Modifier and TypeMethodDescriptionbooleanawaitTermination(long duration, TimeUnit unit) final voidclose()static final GrpcParallelstoreStubcreate(ClientContext clientContext) static final GrpcParallelstoreStubcreate(ClientContext clientContext, GrpcStubCallableFactory callableFactory) static final GrpcParallelstoreStubcreate(ParallelstoreStubSettings settings) OperationCallable<DeleteInstanceRequest,com.google.protobuf.Empty, OperationMetadata> booleanbooleanvoidshutdown()voidMethods inherited from class com.google.cloud.parallelstore.v1.stub.ParallelstoreStub
getHttpJsonOperationsStub
-
Constructor Details
-
GrpcParallelstoreStub
protected GrpcParallelstoreStub(ParallelstoreStubSettings settings, ClientContext clientContext) throws IOException Constructs an instance of GrpcParallelstoreStub, 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
-
GrpcParallelstoreStub
protected GrpcParallelstoreStub(ParallelstoreStubSettings settings, ClientContext clientContext, GrpcStubCallableFactory callableFactory) throws IOException Constructs an instance of GrpcParallelstoreStub, 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 GrpcParallelstoreStub create(ParallelstoreStubSettings settings) throws IOException - Throws:
IOException
-
create
- Throws:
IOException
-
create
public static final GrpcParallelstoreStub create(ClientContext clientContext, GrpcStubCallableFactory callableFactory) throws IOException - Throws:
IOException
-
getOperationsStub
- Overrides:
getOperationsStubin classParallelstoreStub
-
listInstancesCallable
- Overrides:
listInstancesCallablein classParallelstoreStub
-
listInstancesPagedCallable
public UnaryCallable<ListInstancesRequest,ParallelstoreClient.ListInstancesPagedResponse> listInstancesPagedCallable()- Overrides:
listInstancesPagedCallablein classParallelstoreStub
-
getInstanceCallable
- Overrides:
getInstanceCallablein classParallelstoreStub
-
createInstanceCallable
- Overrides:
createInstanceCallablein classParallelstoreStub
-
createInstanceOperationCallable
public OperationCallable<CreateInstanceRequest,Instance, createInstanceOperationCallable()OperationMetadata> - Overrides:
createInstanceOperationCallablein classParallelstoreStub
-
updateInstanceCallable
- Overrides:
updateInstanceCallablein classParallelstoreStub
-
updateInstanceOperationCallable
public OperationCallable<UpdateInstanceRequest,Instance, updateInstanceOperationCallable()OperationMetadata> - Overrides:
updateInstanceOperationCallablein classParallelstoreStub
-
deleteInstanceCallable
- Overrides:
deleteInstanceCallablein classParallelstoreStub
-
deleteInstanceOperationCallable
public OperationCallable<DeleteInstanceRequest,com.google.protobuf.Empty, deleteInstanceOperationCallable()OperationMetadata> - Overrides:
deleteInstanceOperationCallablein classParallelstoreStub
-
importDataCallable
- Overrides:
importDataCallablein classParallelstoreStub
-
importDataOperationCallable
public OperationCallable<ImportDataRequest,ImportDataResponse, importDataOperationCallable()ImportDataMetadata> - Overrides:
importDataOperationCallablein classParallelstoreStub
-
exportDataCallable
- Overrides:
exportDataCallablein classParallelstoreStub
-
exportDataOperationCallable
public OperationCallable<ExportDataRequest,ExportDataResponse, exportDataOperationCallable()ExportDataMetadata> - Overrides:
exportDataOperationCallablein classParallelstoreStub
-
listLocationsCallable
- Overrides:
listLocationsCallablein classParallelstoreStub
-
listLocationsPagedCallable
public UnaryCallable<ListLocationsRequest,ParallelstoreClient.ListLocationsPagedResponse> listLocationsPagedCallable()- Overrides:
listLocationsPagedCallablein classParallelstoreStub
-
getLocationCallable
- Overrides:
getLocationCallablein classParallelstoreStub
-
close
public final void close()- Specified by:
closein interfaceAutoCloseable- Specified by:
closein classParallelstoreStub
-
shutdown
public void shutdown() -
isShutdown
public boolean isShutdown() -
isTerminated
public boolean isTerminated() -
shutdownNow
public void shutdownNow() -
awaitTermination
- Throws:
InterruptedException
-