Beta
This library is covered by the Pre-GA Offerings Terms
of the Terms of Service. Pre-GA libraries might have limited support,
and changes to pre-GA libraries might not be compatible with other pre-GA versions.
For more information, see the
launch stage descriptions .
public class HttpJsonParallelstoreStub extends ParallelstoreStub
REST stub implementation for the Parallelstore service API.
This class is for advanced usage and reflects the underlying API directly.
Static Methods
create(ClientContext clientContext)
public static final HttpJsonParallelstoreStub create(ClientContext clientContext)
create(ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)
public static final HttpJsonParallelstoreStub create(ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)
create(ParallelstoreStubSettings settings)
public static final HttpJsonParallelstoreStub create(ParallelstoreStubSettings settings)
getMethodDescriptors()
public static List<ApiMethodDescriptor> getMethodDescriptors()
Constructors
HttpJsonParallelstoreStub(ParallelstoreStubSettings settings, ClientContext clientContext)
protected HttpJsonParallelstoreStub(ParallelstoreStubSettings settings, ClientContext clientContext)
Constructs an instance of HttpJsonParallelstoreStub, 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.
HttpJsonParallelstoreStub(ParallelstoreStubSettings settings, ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)
protected HttpJsonParallelstoreStub(ParallelstoreStubSettings settings, ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)
Constructs an instance of HttpJsonParallelstoreStub, 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.
Methods
awaitTermination(long duration, TimeUnit unit)
public boolean awaitTermination(long duration, TimeUnit unit)
close()
public final void close()
Overrides
createInstanceCallable()
public UnaryCallable<CreateInstanceRequest,Operation> createInstanceCallable()
Overrides
createInstanceOperationCallable()
public OperationCallable<CreateInstanceRequest,Instance,OperationMetadata> createInstanceOperationCallable()
Overrides
deleteInstanceCallable()
public UnaryCallable<DeleteInstanceRequest,Operation> deleteInstanceCallable()
Overrides
deleteInstanceOperationCallable()
public OperationCallable<DeleteInstanceRequest,Empty,OperationMetadata> deleteInstanceOperationCallable()
Overrides
exportDataCallable()
public UnaryCallable<ExportDataRequest,Operation> exportDataCallable()
Overrides
exportDataOperationCallable()
public OperationCallable<ExportDataRequest,ExportDataResponse,ExportDataMetadata> exportDataOperationCallable()
Overrides
getHttpJsonOperationsStub()
public HttpJsonOperationsStub getHttpJsonOperationsStub()
Overrides
getInstanceCallable()
public UnaryCallable<GetInstanceRequest,Instance> getInstanceCallable()
Overrides
getLocationCallable()
public UnaryCallable<GetLocationRequest,Location> getLocationCallable()
Returns
Type
Description
UnaryCallable <com.google.cloud.location.GetLocationRequest ,com.google.cloud.location.Location >
Overrides
importDataCallable()
public UnaryCallable<ImportDataRequest,Operation> importDataCallable()
Overrides
importDataOperationCallable()
public OperationCallable<ImportDataRequest,ImportDataResponse,ImportDataMetadata> importDataOperationCallable()
Overrides
isShutdown()
public boolean isShutdown()
isTerminated()
public boolean isTerminated()
listInstancesCallable()
public UnaryCallable<ListInstancesRequest,ListInstancesResponse> listInstancesCallable()
Overrides
listInstancesPagedCallable()
public UnaryCallable<ListInstancesRequest,ParallelstoreClient.ListInstancesPagedResponse> listInstancesPagedCallable()
Overrides
listLocationsCallable()
public UnaryCallable<ListLocationsRequest,ListLocationsResponse> listLocationsCallable()
Returns
Type
Description
UnaryCallable <com.google.cloud.location.ListLocationsRequest ,com.google.cloud.location.ListLocationsResponse >
Overrides
listLocationsPagedCallable()
public UnaryCallable<ListLocationsRequest,ParallelstoreClient.ListLocationsPagedResponse> listLocationsPagedCallable()
Overrides
shutdown()
shutdownNow()
public void shutdownNow()
updateInstanceCallable()
public UnaryCallable<UpdateInstanceRequest,Operation> updateInstanceCallable()
Overrides
updateInstanceOperationCallable()
public OperationCallable<UpdateInstanceRequest,Instance,OperationMetadata> updateInstanceOperationCallable()
Overrides