Class CloudFilestoreManagerGrpc (1.41.0)

public final class CloudFilestoreManagerGrpc

Configures and manages Filestore resources. Filestore Manager v1. The file.googleapis.com service implements the Filestore API and defines the following resource model for managing instances:

  • The service works with a collection of cloud projects, named: /projects/*
  • Each project has a collection of available locations, named: /locations/*
  • Each location has a collection of instances and backups, named: /instances/* and /backups/* respectively.
  • As such, Filestore instances are resources of the form: /projects/{project_number}/locations/{location_id}/instances/{instance_id} and backups are resources of the form: /projects/{project_number}/locations/{location_id}/backup/{backup_id} Note that location_id must be a Google Cloud zone for instances, but a Google Cloud region for backups; for example:
  • projects/12345/locations/us-central1-c/instances/my-filestore
  • projects/12345/locations/us-central1/backups/my-backup

Inheritance

java.lang.Object > CloudFilestoreManagerGrpc

Static Fields

SERVICE_NAME

public static final String SERVICE_NAME
Field Value
TypeDescription
String

Static Methods

bindService(CloudFilestoreManagerGrpc.AsyncService service)

public static final ServerServiceDefinition bindService(CloudFilestoreManagerGrpc.AsyncService service)
Parameter
NameDescription
serviceCloudFilestoreManagerGrpc.AsyncService
Returns
TypeDescription
io.grpc.ServerServiceDefinition

getCreateBackupMethod()

public static MethodDescriptor<CreateBackupRequest,Operation> getCreateBackupMethod()
Returns
TypeDescription
io.grpc.MethodDescriptor<CreateBackupRequest,Operation>

getCreateInstanceMethod()

public static MethodDescriptor<CreateInstanceRequest,Operation> getCreateInstanceMethod()
Returns
TypeDescription
io.grpc.MethodDescriptor<CreateInstanceRequest,Operation>

getCreateSnapshotMethod()

public static MethodDescriptor<CreateSnapshotRequest,Operation> getCreateSnapshotMethod()
Returns
TypeDescription
io.grpc.MethodDescriptor<CreateSnapshotRequest,Operation>

getDeleteBackupMethod()

public static MethodDescriptor<DeleteBackupRequest,Operation> getDeleteBackupMethod()
Returns
TypeDescription
io.grpc.MethodDescriptor<DeleteBackupRequest,Operation>

getDeleteInstanceMethod()

public static MethodDescriptor<DeleteInstanceRequest,Operation> getDeleteInstanceMethod()
Returns
TypeDescription
io.grpc.MethodDescriptor<DeleteInstanceRequest,Operation>

getDeleteSnapshotMethod()

public static MethodDescriptor<DeleteSnapshotRequest,Operation> getDeleteSnapshotMethod()
Returns
TypeDescription
io.grpc.MethodDescriptor<DeleteSnapshotRequest,Operation>

getGetBackupMethod()

public static MethodDescriptor<GetBackupRequest,Backup> getGetBackupMethod()
Returns
TypeDescription
io.grpc.MethodDescriptor<GetBackupRequest,Backup>

getGetInstanceMethod()

public static MethodDescriptor<GetInstanceRequest,Instance> getGetInstanceMethod()
Returns
TypeDescription
io.grpc.MethodDescriptor<GetInstanceRequest,Instance>

getGetSnapshotMethod()

public static MethodDescriptor<GetSnapshotRequest,Snapshot> getGetSnapshotMethod()
Returns
TypeDescription
io.grpc.MethodDescriptor<GetSnapshotRequest,Snapshot>

getListBackupsMethod()

public static MethodDescriptor<ListBackupsRequest,ListBackupsResponse> getListBackupsMethod()
Returns
TypeDescription
io.grpc.MethodDescriptor<ListBackupsRequest,ListBackupsResponse>

getListInstancesMethod()

public static MethodDescriptor<ListInstancesRequest,ListInstancesResponse> getListInstancesMethod()
Returns
TypeDescription
io.grpc.MethodDescriptor<ListInstancesRequest,ListInstancesResponse>

getListSnapshotsMethod()

public static MethodDescriptor<ListSnapshotsRequest,ListSnapshotsResponse> getListSnapshotsMethod()
Returns
TypeDescription
io.grpc.MethodDescriptor<ListSnapshotsRequest,ListSnapshotsResponse>

getRestoreInstanceMethod()

public static MethodDescriptor<RestoreInstanceRequest,Operation> getRestoreInstanceMethod()
Returns
TypeDescription
io.grpc.MethodDescriptor<RestoreInstanceRequest,Operation>

getRevertInstanceMethod()

public static MethodDescriptor<RevertInstanceRequest,Operation> getRevertInstanceMethod()
Returns
TypeDescription
io.grpc.MethodDescriptor<RevertInstanceRequest,Operation>

getServiceDescriptor()

public static ServiceDescriptor getServiceDescriptor()
Returns
TypeDescription
io.grpc.ServiceDescriptor

getUpdateBackupMethod()

public static MethodDescriptor<UpdateBackupRequest,Operation> getUpdateBackupMethod()
Returns
TypeDescription
io.grpc.MethodDescriptor<UpdateBackupRequest,Operation>

getUpdateInstanceMethod()

public static MethodDescriptor<UpdateInstanceRequest,Operation> getUpdateInstanceMethod()
Returns
TypeDescription
io.grpc.MethodDescriptor<UpdateInstanceRequest,Operation>

getUpdateSnapshotMethod()

public static MethodDescriptor<UpdateSnapshotRequest,Operation> getUpdateSnapshotMethod()
Returns
TypeDescription
io.grpc.MethodDescriptor<UpdateSnapshotRequest,Operation>

newBlockingStub(Channel channel)

public static CloudFilestoreManagerGrpc.CloudFilestoreManagerBlockingStub newBlockingStub(Channel channel)

Creates a new blocking-style stub that supports unary and streaming output calls on the service

Parameter
NameDescription
channelio.grpc.Channel
Returns
TypeDescription
CloudFilestoreManagerGrpc.CloudFilestoreManagerBlockingStub

newFutureStub(Channel channel)

public static CloudFilestoreManagerGrpc.CloudFilestoreManagerFutureStub newFutureStub(Channel channel)

Creates a new ListenableFuture-style stub that supports unary calls on the service

Parameter
NameDescription
channelio.grpc.Channel
Returns
TypeDescription
CloudFilestoreManagerGrpc.CloudFilestoreManagerFutureStub

newStub(Channel channel)

public static CloudFilestoreManagerGrpc.CloudFilestoreManagerStub newStub(Channel channel)

Creates a new async stub that supports all call types for the service

Parameter
NameDescription
channelio.grpc.Channel
Returns
TypeDescription
CloudFilestoreManagerGrpc.CloudFilestoreManagerStub