public class HttpJsonCloudFilestoreManagerStub extends CloudFilestoreManagerStub
REST stub implementation for the CloudFilestoreManager service API.
This class is for advanced usage and reflects the underlying API directly.
Static Methods
create(ClientContext clientContext)
public static final HttpJsonCloudFilestoreManagerStub create(ClientContext clientContext)
Name | Description |
clientContext | ClientContext |
Type | Description |
HttpJsonCloudFilestoreManagerStub |
Type | Description |
IOException |
create(ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)
public static final HttpJsonCloudFilestoreManagerStub create(ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)
Name | Description |
clientContext | ClientContext |
callableFactory | HttpJsonStubCallableFactory |
Type | Description |
HttpJsonCloudFilestoreManagerStub |
Type | Description |
IOException |
create(CloudFilestoreManagerStubSettings settings)
public static final HttpJsonCloudFilestoreManagerStub create(CloudFilestoreManagerStubSettings settings)
Name | Description |
settings | CloudFilestoreManagerStubSettings |
Type | Description |
HttpJsonCloudFilestoreManagerStub |
Type | Description |
IOException |
getMethodDescriptors()
public static List<ApiMethodDescriptor> getMethodDescriptors()
Type | Description |
List<ApiMethodDescriptor> |
Constructors
HttpJsonCloudFilestoreManagerStub(CloudFilestoreManagerStubSettings settings, ClientContext clientContext)
protected HttpJsonCloudFilestoreManagerStub(CloudFilestoreManagerStubSettings settings, ClientContext clientContext)
Constructs an instance of HttpJsonCloudFilestoreManagerStub, 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.
Name | Description |
settings | CloudFilestoreManagerStubSettings |
clientContext | ClientContext |
HttpJsonCloudFilestoreManagerStub(CloudFilestoreManagerStubSettings settings, ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)
protected HttpJsonCloudFilestoreManagerStub(CloudFilestoreManagerStubSettings settings, ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)
Constructs an instance of HttpJsonCloudFilestoreManagerStub, 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.
Name | Description |
settings | CloudFilestoreManagerStubSettings |
clientContext | ClientContext |
callableFactory | HttpJsonStubCallableFactory |
Methods
awaitTermination(long duration, TimeUnit unit)
public boolean awaitTermination(long duration, TimeUnit unit)
Name | Description |
duration | long |
unit | TimeUnit |
Type | Description |
boolean |
Type | Description |
InterruptedException |
close()
public final void close()
createBackupCallable()
public UnaryCallable<CreateBackupRequest,Operation> createBackupCallable()
Type | Description |
UnaryCallable<CreateBackupRequest,Operation> |
createBackupOperationCallable()
public OperationCallable<CreateBackupRequest,Backup,OperationMetadata> createBackupOperationCallable()
Type | Description |
OperationCallable<CreateBackupRequest,Backup,OperationMetadata> |
createInstanceCallable()
public UnaryCallable<CreateInstanceRequest,Operation> createInstanceCallable()
Type | Description |
UnaryCallable<CreateInstanceRequest,Operation> |
createInstanceOperationCallable()
public OperationCallable<CreateInstanceRequest,Instance,OperationMetadata> createInstanceOperationCallable()
Type | Description |
OperationCallable<CreateInstanceRequest,Instance,OperationMetadata> |
deleteBackupCallable()
public UnaryCallable<DeleteBackupRequest,Operation> deleteBackupCallable()
Type | Description |
UnaryCallable<DeleteBackupRequest,Operation> |
deleteBackupOperationCallable()
public OperationCallable<DeleteBackupRequest,Empty,OperationMetadata> deleteBackupOperationCallable()
Type | Description |
OperationCallable<DeleteBackupRequest,Empty,OperationMetadata> |
deleteInstanceCallable()
public UnaryCallable<DeleteInstanceRequest,Operation> deleteInstanceCallable()
Type | Description |
UnaryCallable<DeleteInstanceRequest,Operation> |
deleteInstanceOperationCallable()
public OperationCallable<DeleteInstanceRequest,Empty,OperationMetadata> deleteInstanceOperationCallable()
Type | Description |
OperationCallable<DeleteInstanceRequest,Empty,OperationMetadata> |
getBackupCallable()
public UnaryCallable<GetBackupRequest,Backup> getBackupCallable()
Type | Description |
UnaryCallable<GetBackupRequest,Backup> |
getHttpJsonOperationsStub()
public HttpJsonOperationsStub getHttpJsonOperationsStub()
Type | Description |
HttpJsonOperationsStub |
getInstanceCallable()
public UnaryCallable<GetInstanceRequest,Instance> getInstanceCallable()
Type | Description |
UnaryCallable<GetInstanceRequest,Instance> |
isShutdown()
public boolean isShutdown()
Type | Description |
boolean |
isTerminated()
public boolean isTerminated()
Type | Description |
boolean |
listBackupsCallable()
public UnaryCallable<ListBackupsRequest,ListBackupsResponse> listBackupsCallable()
Type | Description |
UnaryCallable<ListBackupsRequest,ListBackupsResponse> |
listBackupsPagedCallable()
public UnaryCallable<ListBackupsRequest,CloudFilestoreManagerClient.ListBackupsPagedResponse> listBackupsPagedCallable()
Type | Description |
UnaryCallable<ListBackupsRequest,ListBackupsPagedResponse> |
listInstancesCallable()
public UnaryCallable<ListInstancesRequest,ListInstancesResponse> listInstancesCallable()
Type | Description |
UnaryCallable<ListInstancesRequest,ListInstancesResponse> |
listInstancesPagedCallable()
public UnaryCallable<ListInstancesRequest,CloudFilestoreManagerClient.ListInstancesPagedResponse> listInstancesPagedCallable()
Type | Description |
UnaryCallable<ListInstancesRequest,ListInstancesPagedResponse> |
restoreInstanceCallable()
public UnaryCallable<RestoreInstanceRequest,Operation> restoreInstanceCallable()
Type | Description |
UnaryCallable<RestoreInstanceRequest,Operation> |
restoreInstanceOperationCallable()
public OperationCallable<RestoreInstanceRequest,Instance,OperationMetadata> restoreInstanceOperationCallable()
Type | Description |
OperationCallable<RestoreInstanceRequest,Instance,OperationMetadata> |
shutdown()
public void shutdown()
shutdownNow()
public void shutdownNow()
updateBackupCallable()
public UnaryCallable<UpdateBackupRequest,Operation> updateBackupCallable()
Type | Description |
UnaryCallable<UpdateBackupRequest,Operation> |
updateBackupOperationCallable()
public OperationCallable<UpdateBackupRequest,Backup,OperationMetadata> updateBackupOperationCallable()
Type | Description |
OperationCallable<UpdateBackupRequest,Backup,OperationMetadata> |
updateInstanceCallable()
public UnaryCallable<UpdateInstanceRequest,Operation> updateInstanceCallable()
Type | Description |
UnaryCallable<UpdateInstanceRequest,Operation> |
updateInstanceOperationCallable()
public OperationCallable<UpdateInstanceRequest,Instance,OperationMetadata> updateInstanceOperationCallable()
Type | Description |
OperationCallable<UpdateInstanceRequest,Instance,OperationMetadata> |