Class GrpcCloudFilestoreManagerStub (1.6.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
NameDescription
clientContextClientContext
Returns
TypeDescription
GrpcCloudFilestoreManagerStub
Exceptions
TypeDescription
IOException

create(ClientContext clientContext, GrpcStubCallableFactory callableFactory)

public static final GrpcCloudFilestoreManagerStub create(ClientContext clientContext, GrpcStubCallableFactory callableFactory)
Parameters
NameDescription
clientContextClientContext
callableFactoryGrpcStubCallableFactory
Returns
TypeDescription
GrpcCloudFilestoreManagerStub
Exceptions
TypeDescription
IOException

create(CloudFilestoreManagerStubSettings settings)

public static final GrpcCloudFilestoreManagerStub create(CloudFilestoreManagerStubSettings settings)
Parameter
NameDescription
settingsCloudFilestoreManagerStubSettings
Returns
TypeDescription
GrpcCloudFilestoreManagerStub
Exceptions
TypeDescription
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
NameDescription
settingsCloudFilestoreManagerStubSettings
clientContextClientContext

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
NameDescription
settingsCloudFilestoreManagerStubSettings
clientContextClientContext
callableFactoryGrpcStubCallableFactory

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

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

getBackupCallable()

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

getInstanceCallable()

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

getOperationsStub()

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

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