Class HttpJsonCloudFilestoreManagerStub (1.47.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
Name Description
clientContext ClientContext
Returns
Type Description
HttpJsonCloudFilestoreManagerStub
Exceptions
Type Description
IOException

create(ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)

public static final HttpJsonCloudFilestoreManagerStub create(ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)
Parameters
Name Description
clientContext ClientContext
callableFactory HttpJsonStubCallableFactory
Returns
Type Description
HttpJsonCloudFilestoreManagerStub
Exceptions
Type Description
IOException

create(CloudFilestoreManagerStubSettings settings)

public static final HttpJsonCloudFilestoreManagerStub create(CloudFilestoreManagerStubSettings settings)
Parameter
Name Description
settings CloudFilestoreManagerStubSettings
Returns
Type Description
HttpJsonCloudFilestoreManagerStub
Exceptions
Type Description
IOException

getMethodDescriptors()

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

Parameters
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.

Parameters
Name Description
settings CloudFilestoreManagerStubSettings
clientContext ClientContext
callableFactory HttpJsonStubCallableFactory

Methods

awaitTermination(long duration, TimeUnit unit)

public boolean awaitTermination(long duration, TimeUnit unit)
Parameters
Name Description
duration long
unit TimeUnit
Returns
Type Description
boolean
Exceptions
Type Description
InterruptedException

close()

public final void close()
Overrides

createBackupCallable()

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

createBackupOperationCallable()

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

createInstanceCallable()

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

createInstanceOperationCallable()

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

createShareCallable()

public UnaryCallable<CreateShareRequest,Operation> createShareCallable()
Returns
Type Description
UnaryCallable<CreateShareRequest,Operation>
Overrides

createShareOperationCallable()

public OperationCallable<CreateShareRequest,Share,OperationMetadata> createShareOperationCallable()
Returns
Type Description
OperationCallable<CreateShareRequest,Share,OperationMetadata>
Overrides

createSnapshotCallable()

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

createSnapshotOperationCallable()

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

deleteBackupCallable()

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

deleteBackupOperationCallable()

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

deleteInstanceCallable()

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

deleteInstanceOperationCallable()

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

deleteShareCallable()

public UnaryCallable<DeleteShareRequest,Operation> deleteShareCallable()
Returns
Type Description
UnaryCallable<DeleteShareRequest,Operation>
Overrides

deleteShareOperationCallable()

public OperationCallable<DeleteShareRequest,Empty,OperationMetadata> deleteShareOperationCallable()
Returns
Type Description
OperationCallable<DeleteShareRequest,Empty,OperationMetadata>
Overrides

deleteSnapshotCallable()

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

deleteSnapshotOperationCallable()

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

getBackupCallable()

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

getHttpJsonOperationsStub()

public HttpJsonOperationsStub getHttpJsonOperationsStub()
Returns
Type Description
HttpJsonOperationsStub
Overrides

getInstanceCallable()

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

getShareCallable()

public UnaryCallable<GetShareRequest,Share> getShareCallable()
Returns
Type Description
UnaryCallable<GetShareRequest,Share>
Overrides

getSnapshotCallable()

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

isShutdown()

public boolean isShutdown()
Returns
Type Description
boolean

isTerminated()

public boolean isTerminated()
Returns
Type Description
boolean

listBackupsCallable()

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

listBackupsPagedCallable()

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

listInstancesCallable()

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

listInstancesPagedCallable()

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

listSharesCallable()

public UnaryCallable<ListSharesRequest,ListSharesResponse> listSharesCallable()
Returns
Type Description
UnaryCallable<ListSharesRequest,ListSharesResponse>
Overrides

listSharesPagedCallable()

public UnaryCallable<ListSharesRequest,CloudFilestoreManagerClient.ListSharesPagedResponse> listSharesPagedCallable()
Returns
Type Description
UnaryCallable<ListSharesRequest,ListSharesPagedResponse>
Overrides

listSnapshotsCallable()

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

listSnapshotsPagedCallable()

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

restoreInstanceCallable()

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

restoreInstanceOperationCallable()

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

revertInstanceCallable()

public UnaryCallable<RevertInstanceRequest,Operation> revertInstanceCallable()
Returns
Type Description
UnaryCallable<RevertInstanceRequest,Operation>
Overrides

revertInstanceOperationCallable()

public OperationCallable<RevertInstanceRequest,Instance,OperationMetadata> revertInstanceOperationCallable()
Returns
Type Description
OperationCallable<RevertInstanceRequest,Instance,OperationMetadata>
Overrides

shutdown()

public void shutdown()

shutdownNow()

public void shutdownNow()

updateBackupCallable()

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

updateBackupOperationCallable()

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

updateInstanceCallable()

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

updateInstanceOperationCallable()

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

updateShareCallable()

public UnaryCallable<UpdateShareRequest,Operation> updateShareCallable()
Returns
Type Description
UnaryCallable<UpdateShareRequest,Operation>
Overrides

updateShareOperationCallable()

public OperationCallable<UpdateShareRequest,Share,OperationMetadata> updateShareOperationCallable()
Returns
Type Description
OperationCallable<UpdateShareRequest,Share,OperationMetadata>
Overrides

updateSnapshotCallable()

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

updateSnapshotOperationCallable()

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