Class GrpcCloudFilestoreManagerStub (1.47.0)

public class GrpcCloudFilestoreManagerStub extends CloudFilestoreManagerStub

gRPC stub implementation for the CloudFilestoreManager service API.

This class is for advanced usage and reflects the underlying API directly.

Inheritance

java.lang.Object > CloudFilestoreManagerStub > GrpcCloudFilestoreManagerStub

Static Methods

create(ClientContext clientContext)

public static final GrpcCloudFilestoreManagerStub create(ClientContext clientContext)
Parameter
Name Description
clientContext ClientContext
Returns
Type Description
GrpcCloudFilestoreManagerStub
Exceptions
Type Description
IOException

create(ClientContext clientContext, GrpcStubCallableFactory callableFactory)

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

create(CloudFilestoreManagerStubSettings settings)

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

Constructors

GrpcCloudFilestoreManagerStub(CloudFilestoreManagerStubSettings settings, ClientContext clientContext)

protected GrpcCloudFilestoreManagerStub(CloudFilestoreManagerStubSettings settings, ClientContext clientContext)

Constructs an instance of GrpcCloudFilestoreManagerStub, 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

GrpcCloudFilestoreManagerStub(CloudFilestoreManagerStubSettings settings, ClientContext clientContext, GrpcStubCallableFactory callableFactory)

protected GrpcCloudFilestoreManagerStub(CloudFilestoreManagerStubSettings settings, ClientContext clientContext, GrpcStubCallableFactory callableFactory)

Constructs an instance of GrpcCloudFilestoreManagerStub, 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 GrpcStubCallableFactory

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

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

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

getInstanceCallable()

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

getOperationsStub()

public GrpcOperationsStub getOperationsStub()
Returns
Type Description
GrpcOperationsStub
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

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

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