Class HttpJsonCloudFilestoreManagerStub (1.31.0)

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.

Inheritance

java.lang.Object > CloudFilestoreManagerStub > HttpJsonCloudFilestoreManagerStub

Static Methods

create(ClientContext clientContext)

public static final HttpJsonCloudFilestoreManagerStub create(ClientContext clientContext)
Parameter
NameDescription
clientContextClientContext
Returns
TypeDescription
HttpJsonCloudFilestoreManagerStub
Exceptions
TypeDescription
IOException

create(ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)

public static final HttpJsonCloudFilestoreManagerStub create(ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)
Parameters
NameDescription
clientContextClientContext
callableFactoryHttpJsonStubCallableFactory
Returns
TypeDescription
HttpJsonCloudFilestoreManagerStub
Exceptions
TypeDescription
IOException

create(CloudFilestoreManagerStubSettings settings)

public static final HttpJsonCloudFilestoreManagerStub create(CloudFilestoreManagerStubSettings settings)
Parameter
NameDescription
settingsCloudFilestoreManagerStubSettings
Returns
TypeDescription
HttpJsonCloudFilestoreManagerStub
Exceptions
TypeDescription
IOException

getMethodDescriptors()

public static List<ApiMethodDescriptor> getMethodDescriptors()
Returns
TypeDescription
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.

Parameters
NameDescription
settingsCloudFilestoreManagerStubSettings
clientContextClientContext

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.

Parameters
NameDescription
settingsCloudFilestoreManagerStubSettings
clientContextClientContext
callableFactoryHttpJsonStubCallableFactory

Methods

awaitTermination(long duration, TimeUnit unit)

public boolean awaitTermination(long duration, TimeUnit unit)
Parameters
NameDescription
durationlong
unitTimeUnit
Returns
TypeDescription
boolean
Exceptions
TypeDescription
InterruptedException

close()

public final void close()
Overrides

createBackupCallable()

public UnaryCallable<CreateBackupRequest,Operation> createBackupCallable()
Returns
TypeDescription
UnaryCallable<CreateBackupRequest,Operation>
Overrides

createBackupOperationCallable()

public OperationCallable<CreateBackupRequest,Backup,OperationMetadata> createBackupOperationCallable()
Returns
TypeDescription
OperationCallable<CreateBackupRequest,Backup,OperationMetadata>
Overrides

createInstanceCallable()

public UnaryCallable<CreateInstanceRequest,Operation> createInstanceCallable()
Returns
TypeDescription
UnaryCallable<CreateInstanceRequest,Operation>
Overrides

createInstanceOperationCallable()

public OperationCallable<CreateInstanceRequest,Instance,OperationMetadata> createInstanceOperationCallable()
Returns
TypeDescription
OperationCallable<CreateInstanceRequest,Instance,OperationMetadata>
Overrides

createSnapshotCallable()

public UnaryCallable<CreateSnapshotRequest,Operation> createSnapshotCallable()
Returns
TypeDescription
UnaryCallable<CreateSnapshotRequest,Operation>
Overrides

createSnapshotOperationCallable()

public OperationCallable<CreateSnapshotRequest,Snapshot,OperationMetadata> createSnapshotOperationCallable()
Returns
TypeDescription
OperationCallable<CreateSnapshotRequest,Snapshot,OperationMetadata>
Overrides

deleteBackupCallable()

public UnaryCallable<DeleteBackupRequest,Operation> deleteBackupCallable()
Returns
TypeDescription
UnaryCallable<DeleteBackupRequest,Operation>
Overrides

deleteBackupOperationCallable()

public OperationCallable<DeleteBackupRequest,Empty,OperationMetadata> deleteBackupOperationCallable()
Returns
TypeDescription
OperationCallable<DeleteBackupRequest,Empty,OperationMetadata>
Overrides

deleteInstanceCallable()

public UnaryCallable<DeleteInstanceRequest,Operation> deleteInstanceCallable()
Returns
TypeDescription
UnaryCallable<DeleteInstanceRequest,Operation>
Overrides

deleteInstanceOperationCallable()

public OperationCallable<DeleteInstanceRequest,Empty,OperationMetadata> deleteInstanceOperationCallable()
Returns
TypeDescription
OperationCallable<DeleteInstanceRequest,Empty,OperationMetadata>
Overrides

deleteSnapshotCallable()

public UnaryCallable<DeleteSnapshotRequest,Operation> deleteSnapshotCallable()
Returns
TypeDescription
UnaryCallable<DeleteSnapshotRequest,Operation>
Overrides

deleteSnapshotOperationCallable()

public OperationCallable<DeleteSnapshotRequest,Empty,OperationMetadata> deleteSnapshotOperationCallable()
Returns
TypeDescription
OperationCallable<DeleteSnapshotRequest,Empty,OperationMetadata>
Overrides

getBackupCallable()

public UnaryCallable<GetBackupRequest,Backup> getBackupCallable()
Returns
TypeDescription
UnaryCallable<GetBackupRequest,Backup>
Overrides

getHttpJsonOperationsStub()

public HttpJsonOperationsStub getHttpJsonOperationsStub()
Returns
TypeDescription
HttpJsonOperationsStub
Overrides

getInstanceCallable()

public UnaryCallable<GetInstanceRequest,Instance> getInstanceCallable()
Returns
TypeDescription
UnaryCallable<GetInstanceRequest,Instance>
Overrides

getSnapshotCallable()

public UnaryCallable<GetSnapshotRequest,Snapshot> getSnapshotCallable()
Returns
TypeDescription
UnaryCallable<GetSnapshotRequest,Snapshot>
Overrides

isShutdown()

public boolean isShutdown()
Returns
TypeDescription
boolean

isTerminated()

public boolean isTerminated()
Returns
TypeDescription
boolean

listBackupsCallable()

public UnaryCallable<ListBackupsRequest,ListBackupsResponse> listBackupsCallable()
Returns
TypeDescription
UnaryCallable<ListBackupsRequest,ListBackupsResponse>
Overrides

listBackupsPagedCallable()

public UnaryCallable<ListBackupsRequest,CloudFilestoreManagerClient.ListBackupsPagedResponse> listBackupsPagedCallable()
Returns
TypeDescription
UnaryCallable<ListBackupsRequest,ListBackupsPagedResponse>
Overrides

listInstancesCallable()

public UnaryCallable<ListInstancesRequest,ListInstancesResponse> listInstancesCallable()
Returns
TypeDescription
UnaryCallable<ListInstancesRequest,ListInstancesResponse>
Overrides

listInstancesPagedCallable()

public UnaryCallable<ListInstancesRequest,CloudFilestoreManagerClient.ListInstancesPagedResponse> listInstancesPagedCallable()
Returns
TypeDescription
UnaryCallable<ListInstancesRequest,ListInstancesPagedResponse>
Overrides

listSnapshotsCallable()

public UnaryCallable<ListSnapshotsRequest,ListSnapshotsResponse> listSnapshotsCallable()
Returns
TypeDescription
UnaryCallable<ListSnapshotsRequest,ListSnapshotsResponse>
Overrides

listSnapshotsPagedCallable()

public UnaryCallable<ListSnapshotsRequest,CloudFilestoreManagerClient.ListSnapshotsPagedResponse> listSnapshotsPagedCallable()
Returns
TypeDescription
UnaryCallable<ListSnapshotsRequest,ListSnapshotsPagedResponse>
Overrides

restoreInstanceCallable()

public UnaryCallable<RestoreInstanceRequest,Operation> restoreInstanceCallable()
Returns
TypeDescription
UnaryCallable<RestoreInstanceRequest,Operation>
Overrides

restoreInstanceOperationCallable()

public OperationCallable<RestoreInstanceRequest,Instance,OperationMetadata> restoreInstanceOperationCallable()
Returns
TypeDescription
OperationCallable<RestoreInstanceRequest,Instance,OperationMetadata>
Overrides

shutdown()

public void shutdown()

shutdownNow()

public void shutdownNow()

updateBackupCallable()

public UnaryCallable<UpdateBackupRequest,Operation> updateBackupCallable()
Returns
TypeDescription
UnaryCallable<UpdateBackupRequest,Operation>
Overrides

updateBackupOperationCallable()

public OperationCallable<UpdateBackupRequest,Backup,OperationMetadata> updateBackupOperationCallable()
Returns
TypeDescription
OperationCallable<UpdateBackupRequest,Backup,OperationMetadata>
Overrides

updateInstanceCallable()

public UnaryCallable<UpdateInstanceRequest,Operation> updateInstanceCallable()
Returns
TypeDescription
UnaryCallable<UpdateInstanceRequest,Operation>
Overrides

updateInstanceOperationCallable()

public OperationCallable<UpdateInstanceRequest,Instance,OperationMetadata> updateInstanceOperationCallable()
Returns
TypeDescription
OperationCallable<UpdateInstanceRequest,Instance,OperationMetadata>
Overrides

updateSnapshotCallable()

public UnaryCallable<UpdateSnapshotRequest,Operation> updateSnapshotCallable()
Returns
TypeDescription
UnaryCallable<UpdateSnapshotRequest,Operation>
Overrides

updateSnapshotOperationCallable()

public OperationCallable<UpdateSnapshotRequest,Snapshot,OperationMetadata> updateSnapshotOperationCallable()
Returns
TypeDescription
OperationCallable<UpdateSnapshotRequest,Snapshot,OperationMetadata>
Overrides