Class GrpcCloudFilestoreManagerStub (1.35.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

createShareCallable()

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

createShareOperationCallable()

public OperationCallable<CreateShareRequest,Share,OperationMetadata> createShareOperationCallable()
Returns
TypeDescription
OperationCallable<CreateShareRequest,Share,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

deleteShareCallable()

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

deleteShareOperationCallable()

public OperationCallable<DeleteShareRequest,Empty,OperationMetadata> deleteShareOperationCallable()
Returns
TypeDescription
OperationCallable<DeleteShareRequest,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

getInstanceCallable()

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

getOperationsStub()

public GrpcOperationsStub getOperationsStub()
Returns