diff --git a/java-filestore/grpc-google-cloud-filestore-v1/src/main/java/com/google/cloud/filestore/v1/CloudFilestoreManagerGrpc.java b/java-filestore/grpc-google-cloud-filestore-v1/src/main/java/com/google/cloud/filestore/v1/CloudFilestoreManagerGrpc.java deleted file mode 100644 index f9a23b1235b1..000000000000 --- a/java-filestore/grpc-google-cloud-filestore-v1/src/main/java/com/google/cloud/filestore/v1/CloudFilestoreManagerGrpc.java +++ /dev/null @@ -1,1602 +0,0 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -package com.google.cloud.filestore.v1; - -import static io.grpc.MethodDescriptor.generateFullMethodName; - -/** - * - * - *
- * Configures and manages Cloud Filestore resources. - * Cloud Filestore Manager v1. - * The `file.googleapis.com` service implements the Cloud 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, Cloud 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 GCP `zone` for instances and but to a GCP - * `region` for backups; for example: - * * `projects/12345/locations/us-central1-c/instances/my-filestore` - * * `projects/12345/locations/us-central1/backups/my-backup` - *- */ -@javax.annotation.Generated( - value = "by gRPC proto compiler", - comments = "Source: google/cloud/filestore/v1/cloud_filestore_service.proto") -@io.grpc.stub.annotations.GrpcGenerated -public final class CloudFilestoreManagerGrpc { - - private CloudFilestoreManagerGrpc() {} - - public static final String SERVICE_NAME = "google.cloud.filestore.v1.CloudFilestoreManager"; - - // Static method descriptors that strictly reflect the proto. - private static volatile io.grpc.MethodDescriptor< - com.google.cloud.filestore.v1.ListInstancesRequest, - com.google.cloud.filestore.v1.ListInstancesResponse> - getListInstancesMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "ListInstances", - requestType = com.google.cloud.filestore.v1.ListInstancesRequest.class, - responseType = com.google.cloud.filestore.v1.ListInstancesResponse.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.cloud.filestore.v1.ListInstancesRequest, - com.google.cloud.filestore.v1.ListInstancesResponse> - getListInstancesMethod() { - io.grpc.MethodDescriptor< - com.google.cloud.filestore.v1.ListInstancesRequest, - com.google.cloud.filestore.v1.ListInstancesResponse> - getListInstancesMethod; - if ((getListInstancesMethod = CloudFilestoreManagerGrpc.getListInstancesMethod) == null) { - synchronized (CloudFilestoreManagerGrpc.class) { - if ((getListInstancesMethod = CloudFilestoreManagerGrpc.getListInstancesMethod) == null) { - CloudFilestoreManagerGrpc.getListInstancesMethod = - getListInstancesMethod = - io.grpc.MethodDescriptor - .
- * Configures and manages Cloud Filestore resources. - * Cloud Filestore Manager v1. - * The `file.googleapis.com` service implements the Cloud 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, Cloud 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 GCP `zone` for instances and but to a GCP - * `region` for backups; for example: - * * `projects/12345/locations/us-central1-c/instances/my-filestore` - * * `projects/12345/locations/us-central1/backups/my-backup` - *- */ - public abstract static class CloudFilestoreManagerImplBase implements io.grpc.BindableService { - - /** - * - * - *
- * Lists all instances in a project for either a specified location - * or for all locations. - *- */ - public void listInstances( - com.google.cloud.filestore.v1.ListInstancesRequest request, - io.grpc.stub.StreamObserver
- * Gets the details of a specific instance. - *- */ - public void getInstance( - com.google.cloud.filestore.v1.GetInstanceRequest request, - io.grpc.stub.StreamObserver
- * Creates an instance. - * When creating from a backup, the capacity of the new instance needs to be - * equal to or larger than the capacity of the backup (and also equal to or - * larger than the minimum capacity of the tier). - *- */ - public void createInstance( - com.google.cloud.filestore.v1.CreateInstanceRequest request, - io.grpc.stub.StreamObserver
- * Updates the settings of a specific instance. - *- */ - public void updateInstance( - com.google.cloud.filestore.v1.UpdateInstanceRequest request, - io.grpc.stub.StreamObserver
- * Restores an existing instance's file share from a backup. - * The capacity of the instance needs to be equal to or larger than the - * capacity of the backup (and also equal to or larger than the minimum - * capacity of the tier). - *- */ - public void restoreInstance( - com.google.cloud.filestore.v1.RestoreInstanceRequest request, - io.grpc.stub.StreamObserver
- * Deletes an instance. - *- */ - public void deleteInstance( - com.google.cloud.filestore.v1.DeleteInstanceRequest request, - io.grpc.stub.StreamObserver
- * Lists all backups in a project for either a specified location or for all - * locations. - *- */ - public void listBackups( - com.google.cloud.filestore.v1.ListBackupsRequest request, - io.grpc.stub.StreamObserver
- * Gets the details of a specific backup. - *- */ - public void getBackup( - com.google.cloud.filestore.v1.GetBackupRequest request, - io.grpc.stub.StreamObserver
- * Creates a backup. - *- */ - public void createBackup( - com.google.cloud.filestore.v1.CreateBackupRequest request, - io.grpc.stub.StreamObserver
- * Deletes a backup. - *- */ - public void deleteBackup( - com.google.cloud.filestore.v1.DeleteBackupRequest request, - io.grpc.stub.StreamObserver
- * Updates the settings of a specific backup. - *- */ - public void updateBackup( - com.google.cloud.filestore.v1.UpdateBackupRequest request, - io.grpc.stub.StreamObserver
- * Configures and manages Cloud Filestore resources. - * Cloud Filestore Manager v1. - * The `file.googleapis.com` service implements the Cloud 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, Cloud 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 GCP `zone` for instances and but to a GCP - * `region` for backups; for example: - * * `projects/12345/locations/us-central1-c/instances/my-filestore` - * * `projects/12345/locations/us-central1/backups/my-backup` - *- */ - public static final class CloudFilestoreManagerStub - extends io.grpc.stub.AbstractAsyncStub
- * Lists all instances in a project for either a specified location - * or for all locations. - *- */ - public void listInstances( - com.google.cloud.filestore.v1.ListInstancesRequest request, - io.grpc.stub.StreamObserver
- * Gets the details of a specific instance. - *- */ - public void getInstance( - com.google.cloud.filestore.v1.GetInstanceRequest request, - io.grpc.stub.StreamObserver
- * Creates an instance. - * When creating from a backup, the capacity of the new instance needs to be - * equal to or larger than the capacity of the backup (and also equal to or - * larger than the minimum capacity of the tier). - *- */ - public void createInstance( - com.google.cloud.filestore.v1.CreateInstanceRequest request, - io.grpc.stub.StreamObserver
- * Updates the settings of a specific instance. - *- */ - public void updateInstance( - com.google.cloud.filestore.v1.UpdateInstanceRequest request, - io.grpc.stub.StreamObserver
- * Restores an existing instance's file share from a backup. - * The capacity of the instance needs to be equal to or larger than the - * capacity of the backup (and also equal to or larger than the minimum - * capacity of the tier). - *- */ - public void restoreInstance( - com.google.cloud.filestore.v1.RestoreInstanceRequest request, - io.grpc.stub.StreamObserver
- * Deletes an instance. - *- */ - public void deleteInstance( - com.google.cloud.filestore.v1.DeleteInstanceRequest request, - io.grpc.stub.StreamObserver
- * Lists all backups in a project for either a specified location or for all - * locations. - *- */ - public void listBackups( - com.google.cloud.filestore.v1.ListBackupsRequest request, - io.grpc.stub.StreamObserver
- * Gets the details of a specific backup. - *- */ - public void getBackup( - com.google.cloud.filestore.v1.GetBackupRequest request, - io.grpc.stub.StreamObserver
- * Creates a backup. - *- */ - public void createBackup( - com.google.cloud.filestore.v1.CreateBackupRequest request, - io.grpc.stub.StreamObserver
- * Deletes a backup. - *- */ - public void deleteBackup( - com.google.cloud.filestore.v1.DeleteBackupRequest request, - io.grpc.stub.StreamObserver
- * Updates the settings of a specific backup. - *- */ - public void updateBackup( - com.google.cloud.filestore.v1.UpdateBackupRequest request, - io.grpc.stub.StreamObserver
- * Configures and manages Cloud Filestore resources. - * Cloud Filestore Manager v1. - * The `file.googleapis.com` service implements the Cloud 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, Cloud 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 GCP `zone` for instances and but to a GCP - * `region` for backups; for example: - * * `projects/12345/locations/us-central1-c/instances/my-filestore` - * * `projects/12345/locations/us-central1/backups/my-backup` - *- */ - public static final class CloudFilestoreManagerBlockingStub - extends io.grpc.stub.AbstractBlockingStub
- * Lists all instances in a project for either a specified location - * or for all locations. - *- */ - public com.google.cloud.filestore.v1.ListInstancesResponse listInstances( - com.google.cloud.filestore.v1.ListInstancesRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getListInstancesMethod(), getCallOptions(), request); - } - - /** - * - * - *
- * Gets the details of a specific instance. - *- */ - public com.google.cloud.filestore.v1.Instance getInstance( - com.google.cloud.filestore.v1.GetInstanceRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getGetInstanceMethod(), getCallOptions(), request); - } - - /** - * - * - *
- * Creates an instance. - * When creating from a backup, the capacity of the new instance needs to be - * equal to or larger than the capacity of the backup (and also equal to or - * larger than the minimum capacity of the tier). - *- */ - public com.google.longrunning.Operation createInstance( - com.google.cloud.filestore.v1.CreateInstanceRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getCreateInstanceMethod(), getCallOptions(), request); - } - - /** - * - * - *
- * Updates the settings of a specific instance. - *- */ - public com.google.longrunning.Operation updateInstance( - com.google.cloud.filestore.v1.UpdateInstanceRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getUpdateInstanceMethod(), getCallOptions(), request); - } - - /** - * - * - *
- * Restores an existing instance's file share from a backup. - * The capacity of the instance needs to be equal to or larger than the - * capacity of the backup (and also equal to or larger than the minimum - * capacity of the tier). - *- */ - public com.google.longrunning.Operation restoreInstance( - com.google.cloud.filestore.v1.RestoreInstanceRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getRestoreInstanceMethod(), getCallOptions(), request); - } - - /** - * - * - *
- * Deletes an instance. - *- */ - public com.google.longrunning.Operation deleteInstance( - com.google.cloud.filestore.v1.DeleteInstanceRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getDeleteInstanceMethod(), getCallOptions(), request); - } - - /** - * - * - *
- * Lists all backups in a project for either a specified location or for all - * locations. - *- */ - public com.google.cloud.filestore.v1.ListBackupsResponse listBackups( - com.google.cloud.filestore.v1.ListBackupsRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getListBackupsMethod(), getCallOptions(), request); - } - - /** - * - * - *
- * Gets the details of a specific backup. - *- */ - public com.google.cloud.filestore.v1.Backup getBackup( - com.google.cloud.filestore.v1.GetBackupRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getGetBackupMethod(), getCallOptions(), request); - } - - /** - * - * - *
- * Creates a backup. - *- */ - public com.google.longrunning.Operation createBackup( - com.google.cloud.filestore.v1.CreateBackupRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getCreateBackupMethod(), getCallOptions(), request); - } - - /** - * - * - *
- * Deletes a backup. - *- */ - public com.google.longrunning.Operation deleteBackup( - com.google.cloud.filestore.v1.DeleteBackupRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getDeleteBackupMethod(), getCallOptions(), request); - } - - /** - * - * - *
- * Updates the settings of a specific backup. - *- */ - public com.google.longrunning.Operation updateBackup( - com.google.cloud.filestore.v1.UpdateBackupRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getUpdateBackupMethod(), getCallOptions(), request); - } - } - - /** - * - * - *
- * Configures and manages Cloud Filestore resources. - * Cloud Filestore Manager v1. - * The `file.googleapis.com` service implements the Cloud 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, Cloud 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 GCP `zone` for instances and but to a GCP - * `region` for backups; for example: - * * `projects/12345/locations/us-central1-c/instances/my-filestore` - * * `projects/12345/locations/us-central1/backups/my-backup` - *- */ - public static final class CloudFilestoreManagerFutureStub - extends io.grpc.stub.AbstractFutureStub
- * Lists all instances in a project for either a specified location - * or for all locations. - *- */ - public com.google.common.util.concurrent.ListenableFuture< - com.google.cloud.filestore.v1.ListInstancesResponse> - listInstances(com.google.cloud.filestore.v1.ListInstancesRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getListInstancesMethod(), getCallOptions()), request); - } - - /** - * - * - *
- * Gets the details of a specific instance. - *- */ - public com.google.common.util.concurrent.ListenableFuture< - com.google.cloud.filestore.v1.Instance> - getInstance(com.google.cloud.filestore.v1.GetInstanceRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getGetInstanceMethod(), getCallOptions()), request); - } - - /** - * - * - *
- * Creates an instance. - * When creating from a backup, the capacity of the new instance needs to be - * equal to or larger than the capacity of the backup (and also equal to or - * larger than the minimum capacity of the tier). - *- */ - public com.google.common.util.concurrent.ListenableFuture
- * Updates the settings of a specific instance. - *- */ - public com.google.common.util.concurrent.ListenableFuture
- * Restores an existing instance's file share from a backup. - * The capacity of the instance needs to be equal to or larger than the - * capacity of the backup (and also equal to or larger than the minimum - * capacity of the tier). - *- */ - public com.google.common.util.concurrent.ListenableFuture
- * Deletes an instance. - *- */ - public com.google.common.util.concurrent.ListenableFuture
- * Lists all backups in a project for either a specified location or for all - * locations. - *- */ - public com.google.common.util.concurrent.ListenableFuture< - com.google.cloud.filestore.v1.ListBackupsResponse> - listBackups(com.google.cloud.filestore.v1.ListBackupsRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getListBackupsMethod(), getCallOptions()), request); - } - - /** - * - * - *
- * Gets the details of a specific backup. - *- */ - public com.google.common.util.concurrent.ListenableFuture
- * Creates a backup. - *- */ - public com.google.common.util.concurrent.ListenableFuture
- * Deletes a backup. - *- */ - public com.google.common.util.concurrent.ListenableFuture
- * Updates the settings of a specific backup. - *- */ - public com.google.common.util.concurrent.ListenableFuture
- * Configures and manages Cloud Filestore resources. - * Cloud Filestore Manager v1beta1. - * The `file.googleapis.com` service implements the Cloud Filestore API and - * defines the following model for managing resources: - * * 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, Cloud Filestore instances are resources of the form: - * `/projects/{project_id}/locations/{location_id}/instances/{instance_id}` - * backups are resources of the form: - * `/projects/{project_id}/locations/{location_id}/backup/{backup_id}` - * Note that location_id can represent a GCP `zone` or `region` depending on the - * resource. - * for example: - * A zonal Filestore instance: - * * `projects/my-project/locations/us-central1-c/instances/my-basic-tier-filer` - * A regional Filestore instance: - * * `projects/my-project/locations/us-central1/instances/my-enterprise-filer` - *- */ -@javax.annotation.Generated( - value = "by gRPC proto compiler", - comments = "Source: google/cloud/filestore/v1beta1/cloud_filestore_service.proto") -@io.grpc.stub.annotations.GrpcGenerated -public final class CloudFilestoreManagerGrpc { - - private CloudFilestoreManagerGrpc() {} - - public static final String SERVICE_NAME = "google.cloud.filestore.v1beta1.CloudFilestoreManager"; - - // Static method descriptors that strictly reflect the proto. - private static volatile io.grpc.MethodDescriptor< - com.google.cloud.filestore.v1beta1.ListInstancesRequest, - com.google.cloud.filestore.v1beta1.ListInstancesResponse> - getListInstancesMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "ListInstances", - requestType = com.google.cloud.filestore.v1beta1.ListInstancesRequest.class, - responseType = com.google.cloud.filestore.v1beta1.ListInstancesResponse.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.cloud.filestore.v1beta1.ListInstancesRequest, - com.google.cloud.filestore.v1beta1.ListInstancesResponse> - getListInstancesMethod() { - io.grpc.MethodDescriptor< - com.google.cloud.filestore.v1beta1.ListInstancesRequest, - com.google.cloud.filestore.v1beta1.ListInstancesResponse> - getListInstancesMethod; - if ((getListInstancesMethod = CloudFilestoreManagerGrpc.getListInstancesMethod) == null) { - synchronized (CloudFilestoreManagerGrpc.class) { - if ((getListInstancesMethod = CloudFilestoreManagerGrpc.getListInstancesMethod) == null) { - CloudFilestoreManagerGrpc.getListInstancesMethod = - getListInstancesMethod = - io.grpc.MethodDescriptor - .
- * Configures and manages Cloud Filestore resources. - * Cloud Filestore Manager v1beta1. - * The `file.googleapis.com` service implements the Cloud Filestore API and - * defines the following model for managing resources: - * * 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, Cloud Filestore instances are resources of the form: - * `/projects/{project_id}/locations/{location_id}/instances/{instance_id}` - * backups are resources of the form: - * `/projects/{project_id}/locations/{location_id}/backup/{backup_id}` - * Note that location_id can represent a GCP `zone` or `region` depending on the - * resource. - * for example: - * A zonal Filestore instance: - * * `projects/my-project/locations/us-central1-c/instances/my-basic-tier-filer` - * A regional Filestore instance: - * * `projects/my-project/locations/us-central1/instances/my-enterprise-filer` - *- */ - public abstract static class CloudFilestoreManagerImplBase implements io.grpc.BindableService { - - /** - * - * - *
- * Lists all instances in a project for either a specified location - * or for all locations. - *- */ - public void listInstances( - com.google.cloud.filestore.v1beta1.ListInstancesRequest request, - io.grpc.stub.StreamObserver
- * Gets the details of a specific instance. - *- */ - public void getInstance( - com.google.cloud.filestore.v1beta1.GetInstanceRequest request, - io.grpc.stub.StreamObserver
- * Creates an instance. - * When creating from a backup, the capacity of the new instance needs to be - * equal to or larger than the capacity of the backup (and also equal to or - * larger than the minimum capacity of the tier). - *- */ - public void createInstance( - com.google.cloud.filestore.v1beta1.CreateInstanceRequest request, - io.grpc.stub.StreamObserver
- * Updates the settings of a specific instance. - *- */ - public void updateInstance( - com.google.cloud.filestore.v1beta1.UpdateInstanceRequest request, - io.grpc.stub.StreamObserver
- * Restores an existing instance's file share from a backup. - * The capacity of the instance needs to be equal to or larger than the - * capacity of the backup (and also equal to or larger than the minimum - * capacity of the tier). - *- */ - public void restoreInstance( - com.google.cloud.filestore.v1beta1.RestoreInstanceRequest request, - io.grpc.stub.StreamObserver
- * Deletes an instance. - *- */ - public void deleteInstance( - com.google.cloud.filestore.v1beta1.DeleteInstanceRequest request, - io.grpc.stub.StreamObserver
- * Lists all backups in a project for either a specified location or for all - * locations. - *- */ - public void listBackups( - com.google.cloud.filestore.v1beta1.ListBackupsRequest request, - io.grpc.stub.StreamObserver
- * Gets the details of a specific backup. - *- */ - public void getBackup( - com.google.cloud.filestore.v1beta1.GetBackupRequest request, - io.grpc.stub.StreamObserver
- * Creates a backup. - *- */ - public void createBackup( - com.google.cloud.filestore.v1beta1.CreateBackupRequest request, - io.grpc.stub.StreamObserver
- * Deletes a backup. - *- */ - public void deleteBackup( - com.google.cloud.filestore.v1beta1.DeleteBackupRequest request, - io.grpc.stub.StreamObserver
- * Updates the settings of a specific backup. - *- */ - public void updateBackup( - com.google.cloud.filestore.v1beta1.UpdateBackupRequest request, - io.grpc.stub.StreamObserver
- * Configures and manages Cloud Filestore resources. - * Cloud Filestore Manager v1beta1. - * The `file.googleapis.com` service implements the Cloud Filestore API and - * defines the following model for managing resources: - * * 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, Cloud Filestore instances are resources of the form: - * `/projects/{project_id}/locations/{location_id}/instances/{instance_id}` - * backups are resources of the form: - * `/projects/{project_id}/locations/{location_id}/backup/{backup_id}` - * Note that location_id can represent a GCP `zone` or `region` depending on the - * resource. - * for example: - * A zonal Filestore instance: - * * `projects/my-project/locations/us-central1-c/instances/my-basic-tier-filer` - * A regional Filestore instance: - * * `projects/my-project/locations/us-central1/instances/my-enterprise-filer` - *- */ - public static final class CloudFilestoreManagerStub - extends io.grpc.stub.AbstractAsyncStub
- * Lists all instances in a project for either a specified location - * or for all locations. - *- */ - public void listInstances( - com.google.cloud.filestore.v1beta1.ListInstancesRequest request, - io.grpc.stub.StreamObserver
- * Gets the details of a specific instance. - *- */ - public void getInstance( - com.google.cloud.filestore.v1beta1.GetInstanceRequest request, - io.grpc.stub.StreamObserver
- * Creates an instance. - * When creating from a backup, the capacity of the new instance needs to be - * equal to or larger than the capacity of the backup (and also equal to or - * larger than the minimum capacity of the tier). - *- */ - public void createInstance( - com.google.cloud.filestore.v1beta1.CreateInstanceRequest request, - io.grpc.stub.StreamObserver
- * Updates the settings of a specific instance. - *- */ - public void updateInstance( - com.google.cloud.filestore.v1beta1.UpdateInstanceRequest request, - io.grpc.stub.StreamObserver
- * Restores an existing instance's file share from a backup. - * The capacity of the instance needs to be equal to or larger than the - * capacity of the backup (and also equal to or larger than the minimum - * capacity of the tier). - *- */ - public void restoreInstance( - com.google.cloud.filestore.v1beta1.RestoreInstanceRequest request, - io.grpc.stub.StreamObserver
- * Deletes an instance. - *- */ - public void deleteInstance( - com.google.cloud.filestore.v1beta1.DeleteInstanceRequest request, - io.grpc.stub.StreamObserver
- * Lists all backups in a project for either a specified location or for all - * locations. - *- */ - public void listBackups( - com.google.cloud.filestore.v1beta1.ListBackupsRequest request, - io.grpc.stub.StreamObserver
- * Gets the details of a specific backup. - *- */ - public void getBackup( - com.google.cloud.filestore.v1beta1.GetBackupRequest request, - io.grpc.stub.StreamObserver
- * Creates a backup. - *- */ - public void createBackup( - com.google.cloud.filestore.v1beta1.CreateBackupRequest request, - io.grpc.stub.StreamObserver
- * Deletes a backup. - *- */ - public void deleteBackup( - com.google.cloud.filestore.v1beta1.DeleteBackupRequest request, - io.grpc.stub.StreamObserver
- * Updates the settings of a specific backup. - *- */ - public void updateBackup( - com.google.cloud.filestore.v1beta1.UpdateBackupRequest request, - io.grpc.stub.StreamObserver
- * Configures and manages Cloud Filestore resources. - * Cloud Filestore Manager v1beta1. - * The `file.googleapis.com` service implements the Cloud Filestore API and - * defines the following model for managing resources: - * * 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, Cloud Filestore instances are resources of the form: - * `/projects/{project_id}/locations/{location_id}/instances/{instance_id}` - * backups are resources of the form: - * `/projects/{project_id}/locations/{location_id}/backup/{backup_id}` - * Note that location_id can represent a GCP `zone` or `region` depending on the - * resource. - * for example: - * A zonal Filestore instance: - * * `projects/my-project/locations/us-central1-c/instances/my-basic-tier-filer` - * A regional Filestore instance: - * * `projects/my-project/locations/us-central1/instances/my-enterprise-filer` - *- */ - public static final class CloudFilestoreManagerBlockingStub - extends io.grpc.stub.AbstractBlockingStub
- * Lists all instances in a project for either a specified location - * or for all locations. - *- */ - public com.google.cloud.filestore.v1beta1.ListInstancesResponse listInstances( - com.google.cloud.filestore.v1beta1.ListInstancesRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getListInstancesMethod(), getCallOptions(), request); - } - - /** - * - * - *
- * Gets the details of a specific instance. - *- */ - public com.google.cloud.filestore.v1beta1.Instance getInstance( - com.google.cloud.filestore.v1beta1.GetInstanceRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getGetInstanceMethod(), getCallOptions(), request); - } - - /** - * - * - *
- * Creates an instance. - * When creating from a backup, the capacity of the new instance needs to be - * equal to or larger than the capacity of the backup (and also equal to or - * larger than the minimum capacity of the tier). - *- */ - public com.google.longrunning.Operation createInstance( - com.google.cloud.filestore.v1beta1.CreateInstanceRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getCreateInstanceMethod(), getCallOptions(), request); - } - - /** - * - * - *
- * Updates the settings of a specific instance. - *- */ - public com.google.longrunning.Operation updateInstance( - com.google.cloud.filestore.v1beta1.UpdateInstanceRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getUpdateInstanceMethod(), getCallOptions(), request); - } - - /** - * - * - *
- * Restores an existing instance's file share from a backup. - * The capacity of the instance needs to be equal to or larger than the - * capacity of the backup (and also equal to or larger than the minimum - * capacity of the tier). - *- */ - public com.google.longrunning.Operation restoreInstance( - com.google.cloud.filestore.v1beta1.RestoreInstanceRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getRestoreInstanceMethod(), getCallOptions(), request); - } - - /** - * - * - *
- * Deletes an instance. - *- */ - public com.google.longrunning.Operation deleteInstance( - com.google.cloud.filestore.v1beta1.DeleteInstanceRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getDeleteInstanceMethod(), getCallOptions(), request); - } - - /** - * - * - *
- * Lists all backups in a project for either a specified location or for all - * locations. - *- */ - public com.google.cloud.filestore.v1beta1.ListBackupsResponse listBackups( - com.google.cloud.filestore.v1beta1.ListBackupsRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getListBackupsMethod(), getCallOptions(), request); - } - - /** - * - * - *
- * Gets the details of a specific backup. - *- */ - public com.google.cloud.filestore.v1beta1.Backup getBackup( - com.google.cloud.filestore.v1beta1.GetBackupRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getGetBackupMethod(), getCallOptions(), request); - } - - /** - * - * - *
- * Creates a backup. - *- */ - public com.google.longrunning.Operation createBackup( - com.google.cloud.filestore.v1beta1.CreateBackupRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getCreateBackupMethod(), getCallOptions(), request); - } - - /** - * - * - *
- * Deletes a backup. - *- */ - public com.google.longrunning.Operation deleteBackup( - com.google.cloud.filestore.v1beta1.DeleteBackupRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getDeleteBackupMethod(), getCallOptions(), request); - } - - /** - * - * - *
- * Updates the settings of a specific backup. - *- */ - public com.google.longrunning.Operation updateBackup( - com.google.cloud.filestore.v1beta1.UpdateBackupRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getUpdateBackupMethod(), getCallOptions(), request); - } - } - - /** - * - * - *
- * Configures and manages Cloud Filestore resources. - * Cloud Filestore Manager v1beta1. - * The `file.googleapis.com` service implements the Cloud Filestore API and - * defines the following model for managing resources: - * * 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, Cloud Filestore instances are resources of the form: - * `/projects/{project_id}/locations/{location_id}/instances/{instance_id}` - * backups are resources of the form: - * `/projects/{project_id}/locations/{location_id}/backup/{backup_id}` - * Note that location_id can represent a GCP `zone` or `region` depending on the - * resource. - * for example: - * A zonal Filestore instance: - * * `projects/my-project/locations/us-central1-c/instances/my-basic-tier-filer` - * A regional Filestore instance: - * * `projects/my-project/locations/us-central1/instances/my-enterprise-filer` - *- */ - public static final class CloudFilestoreManagerFutureStub - extends io.grpc.stub.AbstractFutureStub
- * Lists all instances in a project for either a specified location - * or for all locations. - *- */ - public com.google.common.util.concurrent.ListenableFuture< - com.google.cloud.filestore.v1beta1.ListInstancesResponse> - listInstances(com.google.cloud.filestore.v1beta1.ListInstancesRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getListInstancesMethod(), getCallOptions()), request); - } - - /** - * - * - *
- * Gets the details of a specific instance. - *- */ - public com.google.common.util.concurrent.ListenableFuture< - com.google.cloud.filestore.v1beta1.Instance> - getInstance(com.google.cloud.filestore.v1beta1.GetInstanceRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getGetInstanceMethod(), getCallOptions()), request); - } - - /** - * - * - *
- * Creates an instance. - * When creating from a backup, the capacity of the new instance needs to be - * equal to or larger than the capacity of the backup (and also equal to or - * larger than the minimum capacity of the tier). - *- */ - public com.google.common.util.concurrent.ListenableFuture
- * Updates the settings of a specific instance. - *- */ - public com.google.common.util.concurrent.ListenableFuture
- * Restores an existing instance's file share from a backup. - * The capacity of the instance needs to be equal to or larger than the - * capacity of the backup (and also equal to or larger than the minimum - * capacity of the tier). - *- */ - public com.google.common.util.concurrent.ListenableFuture
- * Deletes an instance. - *- */ - public com.google.common.util.concurrent.ListenableFuture
- * Lists all backups in a project for either a specified location or for all - * locations. - *- */ - public com.google.common.util.concurrent.ListenableFuture< - com.google.cloud.filestore.v1beta1.ListBackupsResponse> - listBackups(com.google.cloud.filestore.v1beta1.ListBackupsRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getListBackupsMethod(), getCallOptions()), request); - } - - /** - * - * - *
- * Gets the details of a specific backup. - *- */ - public com.google.common.util.concurrent.ListenableFuture< - com.google.cloud.filestore.v1beta1.Backup> - getBackup(com.google.cloud.filestore.v1beta1.GetBackupRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getGetBackupMethod(), getCallOptions()), request); - } - - /** - * - * - *
- * Creates a backup. - *- */ - public com.google.common.util.concurrent.ListenableFuture
- * Deletes a backup. - *- */ - public com.google.common.util.concurrent.ListenableFuture
- * Updates the settings of a specific backup. - *- */ - public com.google.common.util.concurrent.ListenableFuture
- * Required. The backup resource name, in the format - * `projects/{project_number}/locations/{location}/backups/{backup_id}` - *- * - *
- * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
- *
- *
- * @return The name.
- */
- java.lang.String getName();
- /**
- *
- *
- * - * Required. The backup resource name, in the format - * `projects/{project_number}/locations/{location}/backups/{backup_id}` - *- * - *
- * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
- *
- *
- * @return The bytes for name.
- */
- com.google.protobuf.ByteString getNameBytes();
-}
diff --git a/java-filestore/proto-google-cloud-filestore-v1/src/main/java/com/google/cloud/filestore/v1/DeleteInstanceRequestOrBuilder.java b/java-filestore/proto-google-cloud-filestore-v1/src/main/java/com/google/cloud/filestore/v1/DeleteInstanceRequestOrBuilder.java
deleted file mode 100644
index 27d695f82985..000000000000
--- a/java-filestore/proto-google-cloud-filestore-v1/src/main/java/com/google/cloud/filestore/v1/DeleteInstanceRequestOrBuilder.java
+++ /dev/null
@@ -1,56 +0,0 @@
-/*
- * Copyright 2020 Google LLC
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- * https://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-// Generated by the protocol buffer compiler. DO NOT EDIT!
-// source: google/cloud/filestore/v1/cloud_filestore_service.proto
-
-package com.google.cloud.filestore.v1;
-
-public interface DeleteInstanceRequestOrBuilder
- extends
- // @@protoc_insertion_point(interface_extends:google.cloud.filestore.v1.DeleteInstanceRequest)
- com.google.protobuf.MessageOrBuilder {
-
- /**
- *
- *
- * - * Required. The instance resource name, in the format - * `projects/{project_id}/locations/{location}/instances/{instance_id}` - *- * - *
- * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
- *
- *
- * @return The name.
- */
- java.lang.String getName();
- /**
- *
- *
- * - * Required. The instance resource name, in the format - * `projects/{project_id}/locations/{location}/instances/{instance_id}` - *- * - *
- * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
- *
- *
- * @return The bytes for name.
- */
- com.google.protobuf.ByteString getNameBytes();
-}
diff --git a/java-filestore/proto-google-cloud-filestore-v1/src/main/java/com/google/cloud/filestore/v1/GetBackupRequestOrBuilder.java b/java-filestore/proto-google-cloud-filestore-v1/src/main/java/com/google/cloud/filestore/v1/GetBackupRequestOrBuilder.java
deleted file mode 100644
index 04888e424ad5..000000000000
--- a/java-filestore/proto-google-cloud-filestore-v1/src/main/java/com/google/cloud/filestore/v1/GetBackupRequestOrBuilder.java
+++ /dev/null
@@ -1,56 +0,0 @@
-/*
- * Copyright 2020 Google LLC
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- * https://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-// Generated by the protocol buffer compiler. DO NOT EDIT!
-// source: google/cloud/filestore/v1/cloud_filestore_service.proto
-
-package com.google.cloud.filestore.v1;
-
-public interface GetBackupRequestOrBuilder
- extends
- // @@protoc_insertion_point(interface_extends:google.cloud.filestore.v1.GetBackupRequest)
- com.google.protobuf.MessageOrBuilder {
-
- /**
- *
- *
- * - * Required. The backup resource name, in the format - * `projects/{project_number}/locations/{location}/backups/{backup_id}`. - *- * - *
- * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
- *
- *
- * @return The name.
- */
- java.lang.String getName();
- /**
- *
- *
- * - * Required. The backup resource name, in the format - * `projects/{project_number}/locations/{location}/backups/{backup_id}`. - *- * - *
- * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
- *
- *
- * @return The bytes for name.
- */
- com.google.protobuf.ByteString getNameBytes();
-}
diff --git a/java-filestore/proto-google-cloud-filestore-v1/src/main/java/com/google/cloud/filestore/v1/GetInstanceRequestOrBuilder.java b/java-filestore/proto-google-cloud-filestore-v1/src/main/java/com/google/cloud/filestore/v1/GetInstanceRequestOrBuilder.java
deleted file mode 100644
index 424aad60461b..000000000000
--- a/java-filestore/proto-google-cloud-filestore-v1/src/main/java/com/google/cloud/filestore/v1/GetInstanceRequestOrBuilder.java
+++ /dev/null
@@ -1,56 +0,0 @@
-/*
- * Copyright 2020 Google LLC
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- * https://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-// Generated by the protocol buffer compiler. DO NOT EDIT!
-// source: google/cloud/filestore/v1/cloud_filestore_service.proto
-
-package com.google.cloud.filestore.v1;
-
-public interface GetInstanceRequestOrBuilder
- extends
- // @@protoc_insertion_point(interface_extends:google.cloud.filestore.v1.GetInstanceRequest)
- com.google.protobuf.MessageOrBuilder {
-
- /**
- *
- *
- * - * Required. The instance resource name, in the format - * `projects/{project_id}/locations/{location}/instances/{instance_id}`. - *- * - *
- * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
- *
- *
- * @return The name.
- */
- java.lang.String getName();
- /**
- *
- *
- * - * Required. The instance resource name, in the format - * `projects/{project_id}/locations/{location}/instances/{instance_id}`. - *- * - *
- * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
- *
- *
- * @return The bytes for name.
- */
- com.google.protobuf.ByteString getNameBytes();
-}
diff --git a/java-filestore/proto-google-cloud-filestore-v1beta1/src/main/java/com/google/cloud/common/OperationMetadataOuterClass.java b/java-filestore/proto-google-cloud-filestore-v1beta1/src/main/java/com/google/cloud/common/OperationMetadataOuterClass.java
deleted file mode 100644
index 7ed9837c9bbd..000000000000
--- a/java-filestore/proto-google-cloud-filestore-v1beta1/src/main/java/com/google/cloud/common/OperationMetadataOuterClass.java
+++ /dev/null
@@ -1,88 +0,0 @@
-/*
- * Copyright 2020 Google LLC
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- * https://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-// Generated by the protocol buffer compiler. DO NOT EDIT!
-// source: google/cloud/common/operation_metadata.proto
-
-package com.google.cloud.common;
-
-public final class OperationMetadataOuterClass {
- private OperationMetadataOuterClass() {}
-
- public static void registerAllExtensions(com.google.protobuf.ExtensionRegistryLite registry) {}
-
- public static void registerAllExtensions(com.google.protobuf.ExtensionRegistry registry) {
- registerAllExtensions((com.google.protobuf.ExtensionRegistryLite) registry);
- }
-
- static final com.google.protobuf.Descriptors.Descriptor
- internal_static_google_cloud_common_OperationMetadata_descriptor;
- static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
- internal_static_google_cloud_common_OperationMetadata_fieldAccessorTable;
-
- public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
- return descriptor;
- }
-
- private static com.google.protobuf.Descriptors.FileDescriptor descriptor;
-
- static {
- java.lang.String[] descriptorData = {
- "\n,google/cloud/common/operation_metadata"
- + ".proto\022\023google.cloud.common\032\037google/api/"
- + "field_behavior.proto\032\037google/protobuf/ti"
- + "mestamp.proto\"\371\001\n\021OperationMetadata\0224\n\013c"
- + "reate_time\030\001 \001(\0132\032.google.protobuf.Times"
- + "tampB\003\340A\003\0221\n\010end_time\030\002 \001(\0132\032.google.pro"
- + "tobuf.TimestampB\003\340A\003\022\023\n\006target\030\003 \001(\tB\003\340A"
- + "\003\022\021\n\004verb\030\004 \001(\tB\003\340A\003\022\032\n\rstatus_detail\030\005 "
- + "\001(\tB\003\340A\003\022\035\n\020cancel_requested\030\006 \001(\010B\003\340A\003\022"
- + "\030\n\013api_version\030\007 \001(\tB\003\340A\003BV\n\027com.google."
- + "cloud.commonP\001Z9google.golang.org/genpro"
- + "to/googleapis/cloud/common;commonb\006proto"
- + "3"
- };
- descriptor =
- com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom(
- descriptorData,
- new com.google.protobuf.Descriptors.FileDescriptor[] {
- com.google.api.FieldBehaviorProto.getDescriptor(),
- com.google.protobuf.TimestampProto.getDescriptor(),
- });
- internal_static_google_cloud_common_OperationMetadata_descriptor =
- getDescriptor().getMessageTypes().get(0);
- internal_static_google_cloud_common_OperationMetadata_fieldAccessorTable =
- new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
- internal_static_google_cloud_common_OperationMetadata_descriptor,
- new java.lang.String[] {
- "CreateTime",
- "EndTime",
- "Target",
- "Verb",
- "StatusDetail",
- "CancelRequested",
- "ApiVersion",
- });
- com.google.protobuf.ExtensionRegistry registry =
- com.google.protobuf.ExtensionRegistry.newInstance();
- registry.add(com.google.api.FieldBehaviorProto.fieldBehavior);
- com.google.protobuf.Descriptors.FileDescriptor.internalUpdateFileDescriptor(
- descriptor, registry);
- com.google.api.FieldBehaviorProto.getDescriptor();
- com.google.protobuf.TimestampProto.getDescriptor();
- }
-
- // @@protoc_insertion_point(outer_class_scope)
-}
diff --git a/java-filestore/proto-google-cloud-filestore-v1beta1/src/main/java/com/google/cloud/filestore/v1beta1/CloudFilestoreServiceProto.java b/java-filestore/proto-google-cloud-filestore-v1beta1/src/main/java/com/google/cloud/filestore/v1beta1/CloudFilestoreServiceProto.java
deleted file mode 100644
index 016b03950556..000000000000
--- a/java-filestore/proto-google-cloud-filestore-v1beta1/src/main/java/com/google/cloud/filestore/v1beta1/CloudFilestoreServiceProto.java
+++ /dev/null
@@ -1,557 +0,0 @@
-/*
- * Copyright 2020 Google LLC
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- * https://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-// Generated by the protocol buffer compiler. DO NOT EDIT!
-// source: google/cloud/filestore/v1beta1/cloud_filestore_service.proto
-
-package com.google.cloud.filestore.v1beta1;
-
-public final class CloudFilestoreServiceProto {
- private CloudFilestoreServiceProto() {}
-
- public static void registerAllExtensions(com.google.protobuf.ExtensionRegistryLite registry) {}
-
- public static void registerAllExtensions(com.google.protobuf.ExtensionRegistry registry) {
- registerAllExtensions((com.google.protobuf.ExtensionRegistryLite) registry);
- }
-
- static final com.google.protobuf.Descriptors.Descriptor
- internal_static_google_cloud_filestore_v1beta1_NetworkConfig_descriptor;
- static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
- internal_static_google_cloud_filestore_v1beta1_NetworkConfig_fieldAccessorTable;
- static final com.google.protobuf.Descriptors.Descriptor
- internal_static_google_cloud_filestore_v1beta1_FileShareConfig_descriptor;
- static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
- internal_static_google_cloud_filestore_v1beta1_FileShareConfig_fieldAccessorTable;
- static final com.google.protobuf.Descriptors.Descriptor
- internal_static_google_cloud_filestore_v1beta1_NfsExportOptions_descriptor;
- static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
- internal_static_google_cloud_filestore_v1beta1_NfsExportOptions_fieldAccessorTable;
- static final com.google.protobuf.Descriptors.Descriptor
- internal_static_google_cloud_filestore_v1beta1_Instance_descriptor;
- static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
- internal_static_google_cloud_filestore_v1beta1_Instance_fieldAccessorTable;
- static final com.google.protobuf.Descriptors.Descriptor
- internal_static_google_cloud_filestore_v1beta1_Instance_LabelsEntry_descriptor;
- static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
- internal_static_google_cloud_filestore_v1beta1_Instance_LabelsEntry_fieldAccessorTable;
- static final com.google.protobuf.Descriptors.Descriptor
- internal_static_google_cloud_filestore_v1beta1_CreateInstanceRequest_descriptor;
- static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
- internal_static_google_cloud_filestore_v1beta1_CreateInstanceRequest_fieldAccessorTable;
- static final com.google.protobuf.Descriptors.Descriptor
- internal_static_google_cloud_filestore_v1beta1_GetInstanceRequest_descriptor;
- static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
- internal_static_google_cloud_filestore_v1beta1_GetInstanceRequest_fieldAccessorTable;
- static final com.google.protobuf.Descriptors.Descriptor
- internal_static_google_cloud_filestore_v1beta1_UpdateInstanceRequest_descriptor;
- static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
- internal_static_google_cloud_filestore_v1beta1_UpdateInstanceRequest_fieldAccessorTable;
- static final com.google.protobuf.Descriptors.Descriptor
- internal_static_google_cloud_filestore_v1beta1_RestoreInstanceRequest_descriptor;
- static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
- internal_static_google_cloud_filestore_v1beta1_RestoreInstanceRequest_fieldAccessorTable;
- static final com.google.protobuf.Descriptors.Descriptor
- internal_static_google_cloud_filestore_v1beta1_DeleteInstanceRequest_descriptor;
- static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
- internal_static_google_cloud_filestore_v1beta1_DeleteInstanceRequest_fieldAccessorTable;
- static final com.google.protobuf.Descriptors.Descriptor
- internal_static_google_cloud_filestore_v1beta1_ListInstancesRequest_descriptor;
- static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
- internal_static_google_cloud_filestore_v1beta1_ListInstancesRequest_fieldAccessorTable;
- static final com.google.protobuf.Descriptors.Descriptor
- internal_static_google_cloud_filestore_v1beta1_ListInstancesResponse_descriptor;
- static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
- internal_static_google_cloud_filestore_v1beta1_ListInstancesResponse_fieldAccessorTable;
- static final com.google.protobuf.Descriptors.Descriptor
- internal_static_google_cloud_filestore_v1beta1_Snapshot_descriptor;
- static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
- internal_static_google_cloud_filestore_v1beta1_Snapshot_fieldAccessorTable;
- static final com.google.protobuf.Descriptors.Descriptor
- internal_static_google_cloud_filestore_v1beta1_Snapshot_LabelsEntry_descriptor;
- static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
- internal_static_google_cloud_filestore_v1beta1_Snapshot_LabelsEntry_fieldAccessorTable;
- static final com.google.protobuf.Descriptors.Descriptor
- internal_static_google_cloud_filestore_v1beta1_Backup_descriptor;
- static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
- internal_static_google_cloud_filestore_v1beta1_Backup_fieldAccessorTable;
- static final com.google.protobuf.Descriptors.Descriptor
- internal_static_google_cloud_filestore_v1beta1_Backup_LabelsEntry_descriptor;
- static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
- internal_static_google_cloud_filestore_v1beta1_Backup_LabelsEntry_fieldAccessorTable;
- static final com.google.protobuf.Descriptors.Descriptor
- internal_static_google_cloud_filestore_v1beta1_CreateBackupRequest_descriptor;
- static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
- internal_static_google_cloud_filestore_v1beta1_CreateBackupRequest_fieldAccessorTable;
- static final com.google.protobuf.Descriptors.Descriptor
- internal_static_google_cloud_filestore_v1beta1_DeleteBackupRequest_descriptor;
- static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
- internal_static_google_cloud_filestore_v1beta1_DeleteBackupRequest_fieldAccessorTable;
- static final com.google.protobuf.Descriptors.Descriptor
- internal_static_google_cloud_filestore_v1beta1_UpdateBackupRequest_descriptor;
- static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
- internal_static_google_cloud_filestore_v1beta1_UpdateBackupRequest_fieldAccessorTable;
- static final com.google.protobuf.Descriptors.Descriptor
- internal_static_google_cloud_filestore_v1beta1_GetBackupRequest_descriptor;
- static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
- internal_static_google_cloud_filestore_v1beta1_GetBackupRequest_fieldAccessorTable;
- static final com.google.protobuf.Descriptors.Descriptor
- internal_static_google_cloud_filestore_v1beta1_ListBackupsRequest_descriptor;
- static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
- internal_static_google_cloud_filestore_v1beta1_ListBackupsRequest_fieldAccessorTable;
- static final com.google.protobuf.Descriptors.Descriptor
- internal_static_google_cloud_filestore_v1beta1_ListBackupsResponse_descriptor;
- static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
- internal_static_google_cloud_filestore_v1beta1_ListBackupsResponse_fieldAccessorTable;
-
- public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
- return descriptor;
- }
-
- private static com.google.protobuf.Descriptors.FileDescriptor descriptor;
-
- static {
- java.lang.String[] descriptorData = {
- "\n- * Required. The backup resource name, in the format - * `projects/{project_id}/locations/{location}/backups/{backup_id}` - *- * - *
- * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
- *
- *
- * @return The name.
- */
- java.lang.String getName();
- /**
- *
- *
- * - * Required. The backup resource name, in the format - * `projects/{project_id}/locations/{location}/backups/{backup_id}` - *- * - *
- * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
- *
- *
- * @return The bytes for name.
- */
- com.google.protobuf.ByteString getNameBytes();
-}
diff --git a/java-filestore/proto-google-cloud-filestore-v1beta1/src/main/java/com/google/cloud/filestore/v1beta1/DeleteInstanceRequestOrBuilder.java b/java-filestore/proto-google-cloud-filestore-v1beta1/src/main/java/com/google/cloud/filestore/v1beta1/DeleteInstanceRequestOrBuilder.java
deleted file mode 100644
index be30f190fbe1..000000000000
--- a/java-filestore/proto-google-cloud-filestore-v1beta1/src/main/java/com/google/cloud/filestore/v1beta1/DeleteInstanceRequestOrBuilder.java
+++ /dev/null
@@ -1,56 +0,0 @@
-/*
- * Copyright 2020 Google LLC
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- * https://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-// Generated by the protocol buffer compiler. DO NOT EDIT!
-// source: google/cloud/filestore/v1beta1/cloud_filestore_service.proto
-
-package com.google.cloud.filestore.v1beta1;
-
-public interface DeleteInstanceRequestOrBuilder
- extends
- // @@protoc_insertion_point(interface_extends:google.cloud.filestore.v1beta1.DeleteInstanceRequest)
- com.google.protobuf.MessageOrBuilder {
-
- /**
- *
- *
- * - * Required. The instance resource name, in the format - * `projects/{project_id}/locations/{location}/instances/{instance_id}` - *- * - *
- * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
- *
- *
- * @return The name.
- */
- java.lang.String getName();
- /**
- *
- *
- * - * Required. The instance resource name, in the format - * `projects/{project_id}/locations/{location}/instances/{instance_id}` - *- * - *
- * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
- *
- *
- * @return The bytes for name.
- */
- com.google.protobuf.ByteString getNameBytes();
-}
diff --git a/java-filestore/proto-google-cloud-filestore-v1beta1/src/main/java/com/google/cloud/filestore/v1beta1/GetBackupRequestOrBuilder.java b/java-filestore/proto-google-cloud-filestore-v1beta1/src/main/java/com/google/cloud/filestore/v1beta1/GetBackupRequestOrBuilder.java
deleted file mode 100644
index f3dee8caed94..000000000000
--- a/java-filestore/proto-google-cloud-filestore-v1beta1/src/main/java/com/google/cloud/filestore/v1beta1/GetBackupRequestOrBuilder.java
+++ /dev/null
@@ -1,56 +0,0 @@
-/*
- * Copyright 2020 Google LLC
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- * https://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-// Generated by the protocol buffer compiler. DO NOT EDIT!
-// source: google/cloud/filestore/v1beta1/cloud_filestore_service.proto
-
-package com.google.cloud.filestore.v1beta1;
-
-public interface GetBackupRequestOrBuilder
- extends
- // @@protoc_insertion_point(interface_extends:google.cloud.filestore.v1beta1.GetBackupRequest)
- com.google.protobuf.MessageOrBuilder {
-
- /**
- *
- *
- * - * Required. The backup resource name, in the format - * `projects/{project_id}/locations/{location}/backups/{backup_id}`. - *- * - *
- * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
- *
- *
- * @return The name.
- */
- java.lang.String getName();
- /**
- *
- *
- * - * Required. The backup resource name, in the format - * `projects/{project_id}/locations/{location}/backups/{backup_id}`. - *- * - *
- * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
- *
- *
- * @return The bytes for name.
- */
- com.google.protobuf.ByteString getNameBytes();
-}
diff --git a/java-filestore/proto-google-cloud-filestore-v1beta1/src/main/java/com/google/cloud/filestore/v1beta1/GetInstanceRequestOrBuilder.java b/java-filestore/proto-google-cloud-filestore-v1beta1/src/main/java/com/google/cloud/filestore/v1beta1/GetInstanceRequestOrBuilder.java
deleted file mode 100644
index 0e9ef0cd5a51..000000000000
--- a/java-filestore/proto-google-cloud-filestore-v1beta1/src/main/java/com/google/cloud/filestore/v1beta1/GetInstanceRequestOrBuilder.java
+++ /dev/null
@@ -1,56 +0,0 @@
-/*
- * Copyright 2020 Google LLC
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- * https://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-// Generated by the protocol buffer compiler. DO NOT EDIT!
-// source: google/cloud/filestore/v1beta1/cloud_filestore_service.proto
-
-package com.google.cloud.filestore.v1beta1;
-
-public interface GetInstanceRequestOrBuilder
- extends
- // @@protoc_insertion_point(interface_extends:google.cloud.filestore.v1beta1.GetInstanceRequest)
- com.google.protobuf.MessageOrBuilder {
-
- /**
- *
- *
- * - * Required. The instance resource name, in the format - * `projects/{project_id}/locations/{location}/instances/{instance_id}`. - *- * - *
- * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
- *
- *
- * @return The name.
- */
- java.lang.String getName();
- /**
- *
- *
- * - * Required. The instance resource name, in the format - * `projects/{project_id}/locations/{location}/instances/{instance_id}`. - *- * - *
- * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
- *
- *
- * @return The bytes for name.
- */
- com.google.protobuf.ByteString getNameBytes();
-}
diff --git a/java-filestore/google-cloud-filestore/src/main/java/com/google/cloud/filestore/v1/CloudFilestoreManagerClient.java b/owl-bot-staging/java-filestore/v1/google-cloud-filestore/src/main/java/com/google/cloud/filestore/v1/CloudFilestoreManagerClient.java
similarity index 100%
rename from java-filestore/google-cloud-filestore/src/main/java/com/google/cloud/filestore/v1/CloudFilestoreManagerClient.java
rename to owl-bot-staging/java-filestore/v1/google-cloud-filestore/src/main/java/com/google/cloud/filestore/v1/CloudFilestoreManagerClient.java
diff --git a/java-filestore/google-cloud-filestore/src/main/java/com/google/cloud/filestore/v1/CloudFilestoreManagerSettings.java b/owl-bot-staging/java-filestore/v1/google-cloud-filestore/src/main/java/com/google/cloud/filestore/v1/CloudFilestoreManagerSettings.java
similarity index 99%
rename from java-filestore/google-cloud-filestore/src/main/java/com/google/cloud/filestore/v1/CloudFilestoreManagerSettings.java
rename to owl-bot-staging/java-filestore/v1/google-cloud-filestore/src/main/java/com/google/cloud/filestore/v1/CloudFilestoreManagerSettings.java
index 467082ec489c..359f2d88baef 100644
--- a/java-filestore/google-cloud-filestore/src/main/java/com/google/cloud/filestore/v1/CloudFilestoreManagerSettings.java
+++ b/owl-bot-staging/java-filestore/v1/google-cloud-filestore/src/main/java/com/google/cloud/filestore/v1/CloudFilestoreManagerSettings.java
@@ -30,6 +30,7 @@
import com.google.api.gax.rpc.ClientSettings;
import com.google.api.gax.rpc.OperationCallSettings;
import com.google.api.gax.rpc.PagedCallSettings;
+import com.google.api.gax.rpc.StubSettings;
import com.google.api.gax.rpc.TransportChannelProvider;
import com.google.api.gax.rpc.UnaryCallSettings;
import com.google.cloud.common.OperationMetadata;
diff --git a/java-filestore/google-cloud-filestore/src/main/java/com/google/cloud/filestore/v1/gapic_metadata.json b/owl-bot-staging/java-filestore/v1/google-cloud-filestore/src/main/java/com/google/cloud/filestore/v1/gapic_metadata.json
similarity index 100%
rename from java-filestore/google-cloud-filestore/src/main/java/com/google/cloud/filestore/v1/gapic_metadata.json
rename to owl-bot-staging/java-filestore/v1/google-cloud-filestore/src/main/java/com/google/cloud/filestore/v1/gapic_metadata.json
diff --git a/java-filestore/google-cloud-filestore/src/main/java/com/google/cloud/filestore/v1/package-info.java b/owl-bot-staging/java-filestore/v1/google-cloud-filestore/src/main/java/com/google/cloud/filestore/v1/package-info.java
similarity index 100%
rename from java-filestore/google-cloud-filestore/src/main/java/com/google/cloud/filestore/v1/package-info.java
rename to owl-bot-staging/java-filestore/v1/google-cloud-filestore/src/main/java/com/google/cloud/filestore/v1/package-info.java
diff --git a/java-filestore/google-cloud-filestore/src/main/java/com/google/cloud/filestore/v1/stub/CloudFilestoreManagerStub.java b/owl-bot-staging/java-filestore/v1/google-cloud-filestore/src/main/java/com/google/cloud/filestore/v1/stub/CloudFilestoreManagerStub.java
similarity index 100%
rename from java-filestore/google-cloud-filestore/src/main/java/com/google/cloud/filestore/v1/stub/CloudFilestoreManagerStub.java
rename to owl-bot-staging/java-filestore/v1/google-cloud-filestore/src/main/java/com/google/cloud/filestore/v1/stub/CloudFilestoreManagerStub.java
diff --git a/java-filestore/google-cloud-filestore/src/main/java/com/google/cloud/filestore/v1/stub/CloudFilestoreManagerStubSettings.java b/owl-bot-staging/java-filestore/v1/google-cloud-filestore/src/main/java/com/google/cloud/filestore/v1/stub/CloudFilestoreManagerStubSettings.java
similarity index 100%
rename from java-filestore/google-cloud-filestore/src/main/java/com/google/cloud/filestore/v1/stub/CloudFilestoreManagerStubSettings.java
rename to owl-bot-staging/java-filestore/v1/google-cloud-filestore/src/main/java/com/google/cloud/filestore/v1/stub/CloudFilestoreManagerStubSettings.java
diff --git a/java-filestore/google-cloud-filestore/src/main/java/com/google/cloud/filestore/v1/stub/GrpcCloudFilestoreManagerCallableFactory.java b/owl-bot-staging/java-filestore/v1/google-cloud-filestore/src/main/java/com/google/cloud/filestore/v1/stub/GrpcCloudFilestoreManagerCallableFactory.java
similarity index 100%
rename from java-filestore/google-cloud-filestore/src/main/java/com/google/cloud/filestore/v1/stub/GrpcCloudFilestoreManagerCallableFactory.java
rename to owl-bot-staging/java-filestore/v1/google-cloud-filestore/src/main/java/com/google/cloud/filestore/v1/stub/GrpcCloudFilestoreManagerCallableFactory.java
diff --git a/java-filestore/google-cloud-filestore/src/main/java/com/google/cloud/filestore/v1/stub/GrpcCloudFilestoreManagerStub.java b/owl-bot-staging/java-filestore/v1/google-cloud-filestore/src/main/java/com/google/cloud/filestore/v1/stub/GrpcCloudFilestoreManagerStub.java
similarity index 99%
rename from java-filestore/google-cloud-filestore/src/main/java/com/google/cloud/filestore/v1/stub/GrpcCloudFilestoreManagerStub.java
rename to owl-bot-staging/java-filestore/v1/google-cloud-filestore/src/main/java/com/google/cloud/filestore/v1/stub/GrpcCloudFilestoreManagerStub.java
index 9b40d2cb2c20..8883443cffbb 100644
--- a/java-filestore/google-cloud-filestore/src/main/java/com/google/cloud/filestore/v1/stub/GrpcCloudFilestoreManagerStub.java
+++ b/owl-bot-staging/java-filestore/v1/google-cloud-filestore/src/main/java/com/google/cloud/filestore/v1/stub/GrpcCloudFilestoreManagerStub.java
@@ -49,6 +49,7 @@
import io.grpc.MethodDescriptor;
import io.grpc.protobuf.ProtoUtils;
import java.io.IOException;
+import java.util.Map;
import java.util.concurrent.TimeUnit;
import javax.annotation.Generated;
diff --git a/java-filestore/google-cloud-filestore/src/main/java/com/google/cloud/filestore/v1/stub/HttpJsonCloudFilestoreManagerCallableFactory.java b/owl-bot-staging/java-filestore/v1/google-cloud-filestore/src/main/java/com/google/cloud/filestore/v1/stub/HttpJsonCloudFilestoreManagerCallableFactory.java
similarity index 100%
rename from java-filestore/google-cloud-filestore/src/main/java/com/google/cloud/filestore/v1/stub/HttpJsonCloudFilestoreManagerCallableFactory.java
rename to owl-bot-staging/java-filestore/v1/google-cloud-filestore/src/main/java/com/google/cloud/filestore/v1/stub/HttpJsonCloudFilestoreManagerCallableFactory.java
diff --git a/java-filestore/google-cloud-filestore/src/main/java/com/google/cloud/filestore/v1/stub/HttpJsonCloudFilestoreManagerStub.java b/owl-bot-staging/java-filestore/v1/google-cloud-filestore/src/main/java/com/google/cloud/filestore/v1/stub/HttpJsonCloudFilestoreManagerStub.java
similarity index 99%
rename from java-filestore/google-cloud-filestore/src/main/java/com/google/cloud/filestore/v1/stub/HttpJsonCloudFilestoreManagerStub.java
rename to owl-bot-staging/java-filestore/v1/google-cloud-filestore/src/main/java/com/google/cloud/filestore/v1/stub/HttpJsonCloudFilestoreManagerStub.java
index 268519024da1..c937c1f32ca2 100644
--- a/java-filestore/google-cloud-filestore/src/main/java/com/google/cloud/filestore/v1/stub/HttpJsonCloudFilestoreManagerStub.java
+++ b/owl-bot-staging/java-filestore/v1/google-cloud-filestore/src/main/java/com/google/cloud/filestore/v1/stub/HttpJsonCloudFilestoreManagerStub.java
@@ -31,6 +31,7 @@
import com.google.api.gax.httpjson.ProtoMessageResponseParser;
import com.google.api.gax.httpjson.ProtoRestSerializer;
import com.google.api.gax.httpjson.longrunning.stub.HttpJsonOperationsStub;
+import com.google.api.gax.longrunning.OperationSnapshot;
import com.google.api.gax.rpc.ClientContext;
import com.google.api.gax.rpc.OperationCallable;
import com.google.api.gax.rpc.UnaryCallable;
diff --git a/java-filestore/google-cloud-filestore/src/test/java/com/google/cloud/filestore/v1/CloudFilestoreManagerClientHttpJsonTest.java b/owl-bot-staging/java-filestore/v1/google-cloud-filestore/src/test/java/com/google/cloud/filestore/v1/CloudFilestoreManagerClientHttpJsonTest.java
similarity index 100%
rename from java-filestore/google-cloud-filestore/src/test/java/com/google/cloud/filestore/v1/CloudFilestoreManagerClientHttpJsonTest.java
rename to owl-bot-staging/java-filestore/v1/google-cloud-filestore/src/test/java/com/google/cloud/filestore/v1/CloudFilestoreManagerClientHttpJsonTest.java
diff --git a/java-filestore/google-cloud-filestore/src/test/java/com/google/cloud/filestore/v1/CloudFilestoreManagerClientTest.java b/owl-bot-staging/java-filestore/v1/google-cloud-filestore/src/test/java/com/google/cloud/filestore/v1/CloudFilestoreManagerClientTest.java
similarity index 100%
rename from java-filestore/google-cloud-filestore/src/test/java/com/google/cloud/filestore/v1/CloudFilestoreManagerClientTest.java
rename to owl-bot-staging/java-filestore/v1/google-cloud-filestore/src/test/java/com/google/cloud/filestore/v1/CloudFilestoreManagerClientTest.java
diff --git a/java-filestore/google-cloud-filestore/src/test/java/com/google/cloud/filestore/v1/MockCloudFilestoreManager.java b/owl-bot-staging/java-filestore/v1/google-cloud-filestore/src/test/java/com/google/cloud/filestore/v1/MockCloudFilestoreManager.java
similarity index 100%
rename from java-filestore/google-cloud-filestore/src/test/java/com/google/cloud/filestore/v1/MockCloudFilestoreManager.java
rename to owl-bot-staging/java-filestore/v1/google-cloud-filestore/src/test/java/com/google/cloud/filestore/v1/MockCloudFilestoreManager.java
diff --git a/java-filestore/google-cloud-filestore/src/test/java/com/google/cloud/filestore/v1/MockCloudFilestoreManagerImpl.java b/owl-bot-staging/java-filestore/v1/google-cloud-filestore/src/test/java/com/google/cloud/filestore/v1/MockCloudFilestoreManagerImpl.java
similarity index 100%
rename from java-filestore/google-cloud-filestore/src/test/java/com/google/cloud/filestore/v1/MockCloudFilestoreManagerImpl.java
rename to owl-bot-staging/java-filestore/v1/google-cloud-filestore/src/test/java/com/google/cloud/filestore/v1/MockCloudFilestoreManagerImpl.java
diff --git a/owl-bot-staging/java-filestore/v1/grpc-google-cloud-filestore-v1/src/main/java/com/google/cloud/filestore/v1/CloudFilestoreManagerGrpc.java b/owl-bot-staging/java-filestore/v1/grpc-google-cloud-filestore-v1/src/main/java/com/google/cloud/filestore/v1/CloudFilestoreManagerGrpc.java
new file mode 100644
index 000000000000..f132c8392cdc
--- /dev/null
+++ b/owl-bot-staging/java-filestore/v1/grpc-google-cloud-filestore-v1/src/main/java/com/google/cloud/filestore/v1/CloudFilestoreManagerGrpc.java
@@ -0,0 +1,1270 @@
+package com.google.cloud.filestore.v1;
+
+import static io.grpc.MethodDescriptor.generateFullMethodName;
+
+/**
+ * + * Configures and manages Cloud Filestore resources. + * Cloud Filestore Manager v1. + * The `file.googleapis.com` service implements the Cloud 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, Cloud 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 GCP `zone` for instances and but to a GCP + * `region` for backups; for example: + * * `projects/12345/locations/us-central1-c/instances/my-filestore` + * * `projects/12345/locations/us-central1/backups/my-backup` + *+ */ +@javax.annotation.Generated( + value = "by gRPC proto compiler", + comments = "Source: google/cloud/filestore/v1/cloud_filestore_service.proto") +@io.grpc.stub.annotations.GrpcGenerated +public final class CloudFilestoreManagerGrpc { + + private CloudFilestoreManagerGrpc() {} + + public static final String SERVICE_NAME = "google.cloud.filestore.v1.CloudFilestoreManager"; + + // Static method descriptors that strictly reflect the proto. + private static volatile io.grpc.MethodDescriptor
+ * Configures and manages Cloud Filestore resources. + * Cloud Filestore Manager v1. + * The `file.googleapis.com` service implements the Cloud 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, Cloud 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 GCP `zone` for instances and but to a GCP + * `region` for backups; for example: + * * `projects/12345/locations/us-central1-c/instances/my-filestore` + * * `projects/12345/locations/us-central1/backups/my-backup` + *+ */ + public static abstract class CloudFilestoreManagerImplBase implements io.grpc.BindableService { + + /** + *
+ * Lists all instances in a project for either a specified location + * or for all locations. + *+ */ + public void listInstances(com.google.cloud.filestore.v1.ListInstancesRequest request, + io.grpc.stub.StreamObserver
+ * Gets the details of a specific instance. + *+ */ + public void getInstance(com.google.cloud.filestore.v1.GetInstanceRequest request, + io.grpc.stub.StreamObserver
+ * Creates an instance. + * When creating from a backup, the capacity of the new instance needs to be + * equal to or larger than the capacity of the backup (and also equal to or + * larger than the minimum capacity of the tier). + *+ */ + public void createInstance(com.google.cloud.filestore.v1.CreateInstanceRequest request, + io.grpc.stub.StreamObserver
+ * Updates the settings of a specific instance. + *+ */ + public void updateInstance(com.google.cloud.filestore.v1.UpdateInstanceRequest request, + io.grpc.stub.StreamObserver
+ * Restores an existing instance's file share from a backup. + * The capacity of the instance needs to be equal to or larger than the + * capacity of the backup (and also equal to or larger than the minimum + * capacity of the tier). + *+ */ + public void restoreInstance(com.google.cloud.filestore.v1.RestoreInstanceRequest request, + io.grpc.stub.StreamObserver
+ * Deletes an instance. + *+ */ + public void deleteInstance(com.google.cloud.filestore.v1.DeleteInstanceRequest request, + io.grpc.stub.StreamObserver
+ * Lists all backups in a project for either a specified location or for all + * locations. + *+ */ + public void listBackups(com.google.cloud.filestore.v1.ListBackupsRequest request, + io.grpc.stub.StreamObserver
+ * Gets the details of a specific backup. + *+ */ + public void getBackup(com.google.cloud.filestore.v1.GetBackupRequest request, + io.grpc.stub.StreamObserver
+ * Creates a backup. + *+ */ + public void createBackup(com.google.cloud.filestore.v1.CreateBackupRequest request, + io.grpc.stub.StreamObserver
+ * Deletes a backup. + *+ */ + public void deleteBackup(com.google.cloud.filestore.v1.DeleteBackupRequest request, + io.grpc.stub.StreamObserver
+ * Updates the settings of a specific backup. + *+ */ + public void updateBackup(com.google.cloud.filestore.v1.UpdateBackupRequest request, + io.grpc.stub.StreamObserver
+ * Configures and manages Cloud Filestore resources. + * Cloud Filestore Manager v1. + * The `file.googleapis.com` service implements the Cloud 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, Cloud 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 GCP `zone` for instances and but to a GCP + * `region` for backups; for example: + * * `projects/12345/locations/us-central1-c/instances/my-filestore` + * * `projects/12345/locations/us-central1/backups/my-backup` + *+ */ + public static final class CloudFilestoreManagerStub extends io.grpc.stub.AbstractAsyncStub
+ * Lists all instances in a project for either a specified location + * or for all locations. + *+ */ + public void listInstances(com.google.cloud.filestore.v1.ListInstancesRequest request, + io.grpc.stub.StreamObserver
+ * Gets the details of a specific instance. + *+ */ + public void getInstance(com.google.cloud.filestore.v1.GetInstanceRequest request, + io.grpc.stub.StreamObserver
+ * Creates an instance. + * When creating from a backup, the capacity of the new instance needs to be + * equal to or larger than the capacity of the backup (and also equal to or + * larger than the minimum capacity of the tier). + *+ */ + public void createInstance(com.google.cloud.filestore.v1.CreateInstanceRequest request, + io.grpc.stub.StreamObserver
+ * Updates the settings of a specific instance. + *+ */ + public void updateInstance(com.google.cloud.filestore.v1.UpdateInstanceRequest request, + io.grpc.stub.StreamObserver
+ * Restores an existing instance's file share from a backup. + * The capacity of the instance needs to be equal to or larger than the + * capacity of the backup (and also equal to or larger than the minimum + * capacity of the tier). + *+ */ + public void restoreInstance(com.google.cloud.filestore.v1.RestoreInstanceRequest request, + io.grpc.stub.StreamObserver
+ * Deletes an instance. + *+ */ + public void deleteInstance(com.google.cloud.filestore.v1.DeleteInstanceRequest request, + io.grpc.stub.StreamObserver
+ * Lists all backups in a project for either a specified location or for all + * locations. + *+ */ + public void listBackups(com.google.cloud.filestore.v1.ListBackupsRequest request, + io.grpc.stub.StreamObserver
+ * Gets the details of a specific backup. + *+ */ + public void getBackup(com.google.cloud.filestore.v1.GetBackupRequest request, + io.grpc.stub.StreamObserver
+ * Creates a backup. + *+ */ + public void createBackup(com.google.cloud.filestore.v1.CreateBackupRequest request, + io.grpc.stub.StreamObserver
+ * Deletes a backup. + *+ */ + public void deleteBackup(com.google.cloud.filestore.v1.DeleteBackupRequest request, + io.grpc.stub.StreamObserver
+ * Updates the settings of a specific backup. + *+ */ + public void updateBackup(com.google.cloud.filestore.v1.UpdateBackupRequest request, + io.grpc.stub.StreamObserver
+ * Configures and manages Cloud Filestore resources. + * Cloud Filestore Manager v1. + * The `file.googleapis.com` service implements the Cloud 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, Cloud 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 GCP `zone` for instances and but to a GCP + * `region` for backups; for example: + * * `projects/12345/locations/us-central1-c/instances/my-filestore` + * * `projects/12345/locations/us-central1/backups/my-backup` + *+ */ + public static final class CloudFilestoreManagerBlockingStub extends io.grpc.stub.AbstractBlockingStub
+ * Lists all instances in a project for either a specified location + * or for all locations. + *+ */ + public com.google.cloud.filestore.v1.ListInstancesResponse listInstances(com.google.cloud.filestore.v1.ListInstancesRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getListInstancesMethod(), getCallOptions(), request); + } + + /** + *
+ * Gets the details of a specific instance. + *+ */ + public com.google.cloud.filestore.v1.Instance getInstance(com.google.cloud.filestore.v1.GetInstanceRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getGetInstanceMethod(), getCallOptions(), request); + } + + /** + *
+ * Creates an instance. + * When creating from a backup, the capacity of the new instance needs to be + * equal to or larger than the capacity of the backup (and also equal to or + * larger than the minimum capacity of the tier). + *+ */ + public com.google.longrunning.Operation createInstance(com.google.cloud.filestore.v1.CreateInstanceRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getCreateInstanceMethod(), getCallOptions(), request); + } + + /** + *
+ * Updates the settings of a specific instance. + *+ */ + public com.google.longrunning.Operation updateInstance(com.google.cloud.filestore.v1.UpdateInstanceRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getUpdateInstanceMethod(), getCallOptions(), request); + } + + /** + *
+ * Restores an existing instance's file share from a backup. + * The capacity of the instance needs to be equal to or larger than the + * capacity of the backup (and also equal to or larger than the minimum + * capacity of the tier). + *+ */ + public com.google.longrunning.Operation restoreInstance(com.google.cloud.filestore.v1.RestoreInstanceRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getRestoreInstanceMethod(), getCallOptions(), request); + } + + /** + *
+ * Deletes an instance. + *+ */ + public com.google.longrunning.Operation deleteInstance(com.google.cloud.filestore.v1.DeleteInstanceRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getDeleteInstanceMethod(), getCallOptions(), request); + } + + /** + *
+ * Lists all backups in a project for either a specified location or for all + * locations. + *+ */ + public com.google.cloud.filestore.v1.ListBackupsResponse listBackups(com.google.cloud.filestore.v1.ListBackupsRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getListBackupsMethod(), getCallOptions(), request); + } + + /** + *
+ * Gets the details of a specific backup. + *+ */ + public com.google.cloud.filestore.v1.Backup getBackup(com.google.cloud.filestore.v1.GetBackupRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getGetBackupMethod(), getCallOptions(), request); + } + + /** + *
+ * Creates a backup. + *+ */ + public com.google.longrunning.Operation createBackup(com.google.cloud.filestore.v1.CreateBackupRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getCreateBackupMethod(), getCallOptions(), request); + } + + /** + *
+ * Deletes a backup. + *+ */ + public com.google.longrunning.Operation deleteBackup(com.google.cloud.filestore.v1.DeleteBackupRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getDeleteBackupMethod(), getCallOptions(), request); + } + + /** + *
+ * Updates the settings of a specific backup. + *+ */ + public com.google.longrunning.Operation updateBackup(com.google.cloud.filestore.v1.UpdateBackupRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getUpdateBackupMethod(), getCallOptions(), request); + } + } + + /** + *
+ * Configures and manages Cloud Filestore resources. + * Cloud Filestore Manager v1. + * The `file.googleapis.com` service implements the Cloud 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, Cloud 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 GCP `zone` for instances and but to a GCP + * `region` for backups; for example: + * * `projects/12345/locations/us-central1-c/instances/my-filestore` + * * `projects/12345/locations/us-central1/backups/my-backup` + *+ */ + public static final class CloudFilestoreManagerFutureStub extends io.grpc.stub.AbstractFutureStub
+ * Lists all instances in a project for either a specified location + * or for all locations. + *+ */ + public com.google.common.util.concurrent.ListenableFuture
+ * Gets the details of a specific instance. + *+ */ + public com.google.common.util.concurrent.ListenableFuture
+ * Creates an instance. + * When creating from a backup, the capacity of the new instance needs to be + * equal to or larger than the capacity of the backup (and also equal to or + * larger than the minimum capacity of the tier). + *+ */ + public com.google.common.util.concurrent.ListenableFuture
+ * Updates the settings of a specific instance. + *+ */ + public com.google.common.util.concurrent.ListenableFuture
+ * Restores an existing instance's file share from a backup. + * The capacity of the instance needs to be equal to or larger than the + * capacity of the backup (and also equal to or larger than the minimum + * capacity of the tier). + *+ */ + public com.google.common.util.concurrent.ListenableFuture
+ * Deletes an instance. + *+ */ + public com.google.common.util.concurrent.ListenableFuture
+ * Lists all backups in a project for either a specified location or for all + * locations. + *+ */ + public com.google.common.util.concurrent.ListenableFuture
+ * Gets the details of a specific backup. + *+ */ + public com.google.common.util.concurrent.ListenableFuture
+ * Creates a backup. + *+ */ + public com.google.common.util.concurrent.ListenableFuture
+ * Deletes a backup. + *+ */ + public com.google.common.util.concurrent.ListenableFuture
+ * Updates the settings of a specific backup. + *+ */ + public com.google.common.util.concurrent.ListenableFuture
* Represents the metadata of the long-running operation. ** * Protobuf type {@code google.cloud.common.OperationMetadata} */ -public final class OperationMetadata extends com.google.protobuf.GeneratedMessageV3 - implements +public final class OperationMetadata extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.common.OperationMetadata) OperationMetadataOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use OperationMetadata.newBuilder() to construct. private OperationMetadata(com.google.protobuf.GeneratedMessageV3.Builder> builder) { super(builder); } - private OperationMetadata() { target_ = ""; verb_ = ""; @@ -46,42 +28,37 @@ private OperationMetadata() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new OperationMetadata(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.common.OperationMetadataOuterClass - .internal_static_google_cloud_common_OperationMetadata_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.common.OperationMetadataOuterClass.internal_static_google_cloud_common_OperationMetadata_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.common.OperationMetadataOuterClass - .internal_static_google_cloud_common_OperationMetadata_fieldAccessorTable + return com.google.cloud.common.OperationMetadataOuterClass.internal_static_google_cloud_common_OperationMetadata_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.common.OperationMetadata.class, - com.google.cloud.common.OperationMetadata.Builder.class); + com.google.cloud.common.OperationMetadata.class, com.google.cloud.common.OperationMetadata.Builder.class); } public static final int CREATE_TIME_FIELD_NUMBER = 1; private com.google.protobuf.Timestamp createTime_; /** - * - * *
* Output only. The time the operation was created. ** - *
.google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
- *
- *
+ * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
* @return Whether the createTime field is set.
*/
@java.lang.Override
@@ -89,15 +66,11 @@ public boolean hasCreateTime() {
return createTime_ != null;
}
/**
- *
- *
* * Output only. The time the operation was created. ** - *
.google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
- *
- *
+ * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
* @return The createTime.
*/
@java.lang.Override
@@ -105,14 +78,11 @@ public com.google.protobuf.Timestamp getCreateTime() {
return createTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : createTime_;
}
/**
- *
- *
* * Output only. The time the operation was created. ** - *
.google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
- *
+ * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
*/
@java.lang.Override
public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() {
@@ -122,15 +92,11 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() {
public static final int END_TIME_FIELD_NUMBER = 2;
private com.google.protobuf.Timestamp endTime_;
/**
- *
- *
* * Output only. The time the operation finished running. ** - *
.google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
- *
- *
+ * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
* @return Whether the endTime field is set.
*/
@java.lang.Override
@@ -138,15 +104,11 @@ public boolean hasEndTime() {
return endTime_ != null;
}
/**
- *
- *
* * Output only. The time the operation finished running. ** - *
.google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
- *
- *
+ * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
* @return The endTime.
*/
@java.lang.Override
@@ -154,14 +116,11 @@ public com.google.protobuf.Timestamp getEndTime() {
return endTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : endTime_;
}
/**
- *
- *
* * Output only. The time the operation finished running. ** - *
.google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
- *
+ * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
*/
@java.lang.Override
public com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder() {
@@ -171,14 +130,11 @@ public com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder() {
public static final int TARGET_FIELD_NUMBER = 3;
private volatile java.lang.Object target_;
/**
- *
- *
* * Output only. Server-defined resource path for the target of the operation. ** *
string target = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
- *
* @return The target.
*/
@java.lang.Override
@@ -187,29 +143,29 @@ public java.lang.String getTarget() {
if (ref instanceof java.lang.String) {
return (java.lang.String) ref;
} else {
- com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref;
+ com.google.protobuf.ByteString bs =
+ (com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
target_ = s;
return s;
}
}
/**
- *
- *
* * Output only. Server-defined resource path for the target of the operation. ** *
string target = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
- *
* @return The bytes for target.
*/
@java.lang.Override
- public com.google.protobuf.ByteString getTargetBytes() {
+ public com.google.protobuf.ByteString
+ getTargetBytes() {
java.lang.Object ref = target_;
if (ref instanceof java.lang.String) {
- com.google.protobuf.ByteString b =
- com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref);
+ com.google.protobuf.ByteString b =
+ com.google.protobuf.ByteString.copyFromUtf8(
+ (java.lang.String) ref);
target_ = b;
return b;
} else {
@@ -220,14 +176,11 @@ public com.google.protobuf.ByteString getTargetBytes() {
public static final int VERB_FIELD_NUMBER = 4;
private volatile java.lang.Object verb_;
/**
- *
- *
* * Output only. Name of the verb executed by the operation. ** *
string verb = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
- *
* @return The verb.
*/
@java.lang.Override
@@ -236,29 +189,29 @@ public java.lang.String getVerb() {
if (ref instanceof java.lang.String) {
return (java.lang.String) ref;
} else {
- com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref;
+ com.google.protobuf.ByteString bs =
+ (com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
verb_ = s;
return s;
}
}
/**
- *
- *
* * Output only. Name of the verb executed by the operation. ** *
string verb = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
- *
* @return The bytes for verb.
*/
@java.lang.Override
- public com.google.protobuf.ByteString getVerbBytes() {
+ public com.google.protobuf.ByteString
+ getVerbBytes() {
java.lang.Object ref = verb_;
if (ref instanceof java.lang.String) {
- com.google.protobuf.ByteString b =
- com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref);
+ com.google.protobuf.ByteString b =
+ com.google.protobuf.ByteString.copyFromUtf8(
+ (java.lang.String) ref);
verb_ = b;
return b;
} else {
@@ -269,14 +222,11 @@ public com.google.protobuf.ByteString getVerbBytes() {
public static final int STATUS_DETAIL_FIELD_NUMBER = 5;
private volatile java.lang.Object statusDetail_;
/**
- *
- *
* * Output only. Human-readable status of the operation, if any. ** *
string status_detail = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
- *
* @return The statusDetail.
*/
@java.lang.Override
@@ -285,29 +235,29 @@ public java.lang.String getStatusDetail() {
if (ref instanceof java.lang.String) {
return (java.lang.String) ref;
} else {
- com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref;
+ com.google.protobuf.ByteString bs =
+ (com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
statusDetail_ = s;
return s;
}
}
/**
- *
- *
* * Output only. Human-readable status of the operation, if any. ** *
string status_detail = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
- *
* @return The bytes for statusDetail.
*/
@java.lang.Override
- public com.google.protobuf.ByteString getStatusDetailBytes() {
+ public com.google.protobuf.ByteString
+ getStatusDetailBytes() {
java.lang.Object ref = statusDetail_;
if (ref instanceof java.lang.String) {
- com.google.protobuf.ByteString b =
- com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref);
+ com.google.protobuf.ByteString b =
+ com.google.protobuf.ByteString.copyFromUtf8(
+ (java.lang.String) ref);
statusDetail_ = b;
return b;
} else {
@@ -318,8 +268,6 @@ public com.google.protobuf.ByteString getStatusDetailBytes() {
public static final int CANCEL_REQUESTED_FIELD_NUMBER = 6;
private boolean cancelRequested_;
/**
- *
- *
* * Output only. Identifies whether the user has requested cancellation * of the operation. Operations that have successfully been cancelled @@ -328,7 +276,6 @@ public com.google.protobuf.ByteString getStatusDetailBytes() { ** *
bool cancel_requested = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
- *
* @return The cancelRequested.
*/
@java.lang.Override
@@ -339,14 +286,11 @@ public boolean getCancelRequested() {
public static final int API_VERSION_FIELD_NUMBER = 7;
private volatile java.lang.Object apiVersion_;
/**
- *
- *
* * Output only. API version used to start the operation. ** *
string api_version = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
- *
* @return The apiVersion.
*/
@java.lang.Override
@@ -355,29 +299,29 @@ public java.lang.String getApiVersion() {
if (ref instanceof java.lang.String) {
return (java.lang.String) ref;
} else {
- com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref;
+ com.google.protobuf.ByteString bs =
+ (com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
apiVersion_ = s;
return s;
}
}
/**
- *
- *
* * Output only. API version used to start the operation. ** *
string api_version = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
- *
* @return The bytes for apiVersion.
*/
@java.lang.Override
- public com.google.protobuf.ByteString getApiVersionBytes() {
+ public com.google.protobuf.ByteString
+ getApiVersionBytes() {
java.lang.Object ref = apiVersion_;
if (ref instanceof java.lang.String) {
- com.google.protobuf.ByteString b =
- com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref);
+ com.google.protobuf.ByteString b =
+ com.google.protobuf.ByteString.copyFromUtf8(
+ (java.lang.String) ref);
apiVersion_ = b;
return b;
} else {
@@ -386,7 +330,6 @@ public com.google.protobuf.ByteString getApiVersionBytes() {
}
private byte memoizedIsInitialized = -1;
-
@java.lang.Override
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
@@ -398,7 +341,8 @@ public final boolean isInitialized() {
}
@java.lang.Override
- public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
+ public void writeTo(com.google.protobuf.CodedOutputStream output)
+ throws java.io.IOException {
if (createTime_ != null) {
output.writeMessage(1, getCreateTime());
}
@@ -430,10 +374,12 @@ public int getSerializedSize() {
size = 0;
if (createTime_ != null) {
- size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getCreateTime());
+ size += com.google.protobuf.CodedOutputStream
+ .computeMessageSize(1, getCreateTime());
}
if (endTime_ != null) {
- size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getEndTime());
+ size += com.google.protobuf.CodedOutputStream
+ .computeMessageSize(2, getEndTime());
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(target_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, target_);
@@ -445,7 +391,8 @@ public int getSerializedSize() {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(5, statusDetail_);
}
if (cancelRequested_ != false) {
- size += com.google.protobuf.CodedOutputStream.computeBoolSize(6, cancelRequested_);
+ size += com.google.protobuf.CodedOutputStream
+ .computeBoolSize(6, cancelRequested_);
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(apiVersion_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(7, apiVersion_);
@@ -458,27 +405,33 @@ public int getSerializedSize() {
@java.lang.Override
public boolean equals(final java.lang.Object obj) {
if (obj == this) {
- return true;
+ return true;
}
if (!(obj instanceof com.google.cloud.common.OperationMetadata)) {
return super.equals(obj);
}
- com.google.cloud.common.OperationMetadata other =
- (com.google.cloud.common.OperationMetadata) obj;
+ com.google.cloud.common.OperationMetadata other = (com.google.cloud.common.OperationMetadata) obj;
if (hasCreateTime() != other.hasCreateTime()) return false;
if (hasCreateTime()) {
- if (!getCreateTime().equals(other.getCreateTime())) return false;
+ if (!getCreateTime()
+ .equals(other.getCreateTime())) return false;
}
if (hasEndTime() != other.hasEndTime()) return false;
if (hasEndTime()) {
- if (!getEndTime().equals(other.getEndTime())) return false;
- }
- if (!getTarget().equals(other.getTarget())) return false;
- if (!getVerb().equals(other.getVerb())) return false;
- if (!getStatusDetail().equals(other.getStatusDetail())) return false;
- if (getCancelRequested() != other.getCancelRequested()) return false;
- if (!getApiVersion().equals(other.getApiVersion())) return false;
+ if (!getEndTime()
+ .equals(other.getEndTime())) return false;
+ }
+ if (!getTarget()
+ .equals(other.getTarget())) return false;
+ if (!getVerb()
+ .equals(other.getVerb())) return false;
+ if (!getStatusDetail()
+ .equals(other.getStatusDetail())) return false;
+ if (getCancelRequested()
+ != other.getCancelRequested()) return false;
+ if (!getApiVersion()
+ .equals(other.getApiVersion())) return false;
if (!getUnknownFields().equals(other.getUnknownFields())) return false;
return true;
}
@@ -505,7 +458,8 @@ public int hashCode() {
hash = (37 * hash) + STATUS_DETAIL_FIELD_NUMBER;
hash = (53 * hash) + getStatusDetail().hashCode();
hash = (37 * hash) + CANCEL_REQUESTED_FIELD_NUMBER;
- hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getCancelRequested());
+ hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(
+ getCancelRequested());
hash = (37 * hash) + API_VERSION_FIELD_NUMBER;
hash = (53 * hash) + getApiVersion().hashCode();
hash = (29 * hash) + getUnknownFields().hashCode();
@@ -513,136 +467,130 @@ public int hashCode() {
return hash;
}
- public static com.google.cloud.common.OperationMetadata parseFrom(java.nio.ByteBuffer data)
+ public static com.google.cloud.common.OperationMetadata parseFrom(
+ java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
-
public static com.google.cloud.common.OperationMetadata parseFrom(
- java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ java.nio.ByteBuffer data,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
-
public static com.google.cloud.common.OperationMetadata parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
-
public static com.google.cloud.common.OperationMetadata parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
-
public static com.google.cloud.common.OperationMetadata parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
-
public static com.google.cloud.common.OperationMetadata parseFrom(
- byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ byte[] data,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
-
public static com.google.cloud.common.OperationMetadata parseFrom(java.io.InputStream input)
throws java.io.IOException {
- return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+ return com.google.protobuf.GeneratedMessageV3
+ .parseWithIOException(PARSER, input);
}
-
public static com.google.cloud.common.OperationMetadata parseFrom(
- java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ java.io.InputStream input,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
- return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
- PARSER, input, extensionRegistry);
+ return com.google.protobuf.GeneratedMessageV3
+ .parseWithIOException(PARSER, input, extensionRegistry);
}
-
- public static com.google.cloud.common.OperationMetadata parseDelimitedFrom(
- java.io.InputStream input) throws java.io.IOException {
- return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
+ public static com.google.cloud.common.OperationMetadata parseDelimitedFrom(java.io.InputStream input)
+ throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessageV3
+ .parseDelimitedWithIOException(PARSER, input);
}
-
public static com.google.cloud.common.OperationMetadata parseDelimitedFrom(
- java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ java.io.InputStream input,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
- return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(
- PARSER, input, extensionRegistry);
+ return com.google.protobuf.GeneratedMessageV3
+ .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
}
-
public static com.google.cloud.common.OperationMetadata parseFrom(
- com.google.protobuf.CodedInputStream input) throws java.io.IOException {
- return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+ com.google.protobuf.CodedInputStream input)
+ throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessageV3
+ .parseWithIOException(PARSER, input);
}
-
public static com.google.cloud.common.OperationMetadata parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
- return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
- PARSER, input, extensionRegistry);
+ return com.google.protobuf.GeneratedMessageV3
+ .parseWithIOException(PARSER, input, extensionRegistry);
}
@java.lang.Override
- public Builder newBuilderForType() {
- return newBuilder();
- }
-
+ public Builder newBuilderForType() { return newBuilder(); }
public static Builder newBuilder() {
return DEFAULT_INSTANCE.toBuilder();
}
-
public static Builder newBuilder(com.google.cloud.common.OperationMetadata prototype) {
return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
}
-
@java.lang.Override
public Builder toBuilder() {
- return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this);
+ return this == DEFAULT_INSTANCE
+ ? new Builder() : new Builder().mergeFrom(this);
}
@java.lang.Override
- protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+ protected Builder newBuilderForType(
+ com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
/**
- *
- *
* * Represents the metadata of the long-running operation. ** * Protobuf type {@code google.cloud.common.OperationMetadata} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
* Output only. The time the operation was created. ** - *
- * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
- *
- *
+ * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
* @return Whether the createTime field is set.
*/
public boolean hasCreateTime() {
return createTimeBuilder_ != null || createTime_ != null;
}
/**
- *
- *
* * Output only. The time the operation was created. ** - *
- * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
- *
- *
+ * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
* @return The createTime.
*/
public com.google.protobuf.Timestamp getCreateTime() {
if (createTimeBuilder_ == null) {
- return createTime_ == null
- ? com.google.protobuf.Timestamp.getDefaultInstance()
- : createTime_;
+ return createTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : createTime_;
} else {
return createTimeBuilder_.getMessage();
}
}
/**
- *
- *
* * Output only. The time the operation was created. ** - *
- * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
- *
+ * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
*/
public Builder setCreateTime(com.google.protobuf.Timestamp value) {
if (createTimeBuilder_ == null) {
@@ -938,17 +861,14 @@ public Builder setCreateTime(com.google.protobuf.Timestamp value) {
return this;
}
/**
- *
- *
* * Output only. The time the operation was created. ** - *
- * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
- *
+ * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
*/
- public Builder setCreateTime(com.google.protobuf.Timestamp.Builder builderForValue) {
+ public Builder setCreateTime(
+ com.google.protobuf.Timestamp.Builder builderForValue) {
if (createTimeBuilder_ == null) {
createTime_ = builderForValue.build();
onChanged();
@@ -959,21 +879,17 @@ public Builder setCreateTime(com.google.protobuf.Timestamp.Builder builderForVal
return this;
}
/**
- *
- *
* * Output only. The time the operation was created. ** - *
- * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
- *
+ * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
*/
public Builder mergeCreateTime(com.google.protobuf.Timestamp value) {
if (createTimeBuilder_ == null) {
if (createTime_ != null) {
createTime_ =
- com.google.protobuf.Timestamp.newBuilder(createTime_).mergeFrom(value).buildPartial();
+ com.google.protobuf.Timestamp.newBuilder(createTime_).mergeFrom(value).buildPartial();
} else {
createTime_ = value;
}
@@ -985,15 +901,11 @@ public Builder mergeCreateTime(com.google.protobuf.Timestamp value) {
return this;
}
/**
- *
- *
* * Output only. The time the operation was created. ** - *
- * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
- *
+ * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
*/
public Builder clearCreateTime() {
if (createTimeBuilder_ == null) {
@@ -1007,64 +919,48 @@ public Builder clearCreateTime() {
return this;
}
/**
- *
- *
* * Output only. The time the operation was created. ** - *
- * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
- *
+ * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
*/
public com.google.protobuf.Timestamp.Builder getCreateTimeBuilder() {
-
+
onChanged();
return getCreateTimeFieldBuilder().getBuilder();
}
/**
- *
- *
* * Output only. The time the operation was created. ** - *
- * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
- *
+ * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
*/
public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() {
if (createTimeBuilder_ != null) {
return createTimeBuilder_.getMessageOrBuilder();
} else {
- return createTime_ == null
- ? com.google.protobuf.Timestamp.getDefaultInstance()
- : createTime_;
+ return createTime_ == null ?
+ com.google.protobuf.Timestamp.getDefaultInstance() : createTime_;
}
}
/**
- *
- *
* * Output only. The time the operation was created. ** - *
- * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
- *
+ * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
*/
private com.google.protobuf.SingleFieldBuilderV3<
- com.google.protobuf.Timestamp,
- com.google.protobuf.Timestamp.Builder,
- com.google.protobuf.TimestampOrBuilder>
+ com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>
getCreateTimeFieldBuilder() {
if (createTimeBuilder_ == null) {
- createTimeBuilder_ =
- new com.google.protobuf.SingleFieldBuilderV3<
- com.google.protobuf.Timestamp,
- com.google.protobuf.Timestamp.Builder,
- com.google.protobuf.TimestampOrBuilder>(
- getCreateTime(), getParentForChildren(), isClean());
+ createTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+ com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>(
+ getCreateTime(),
+ getParentForChildren(),
+ isClean());
createTime_ = null;
}
return createTimeBuilder_;
@@ -1072,35 +968,24 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() {
private com.google.protobuf.Timestamp endTime_;
private com.google.protobuf.SingleFieldBuilderV3<
- com.google.protobuf.Timestamp,
- com.google.protobuf.Timestamp.Builder,
- com.google.protobuf.TimestampOrBuilder>
- endTimeBuilder_;
+ com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> endTimeBuilder_;
/**
- *
- *
* * Output only. The time the operation finished running. ** - *
.google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
- *
- *
+ * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
* @return Whether the endTime field is set.
*/
public boolean hasEndTime() {
return endTimeBuilder_ != null || endTime_ != null;
}
/**
- *
- *
* * Output only. The time the operation finished running. ** - *
.google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
- *
- *
+ * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
* @return The endTime.
*/
public com.google.protobuf.Timestamp getEndTime() {
@@ -1111,14 +996,11 @@ public com.google.protobuf.Timestamp getEndTime() {
}
}
/**
- *
- *
* * Output only. The time the operation finished running. ** - *
.google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
- *
+ * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
*/
public Builder setEndTime(com.google.protobuf.Timestamp value) {
if (endTimeBuilder_ == null) {
@@ -1134,16 +1016,14 @@ public Builder setEndTime(com.google.protobuf.Timestamp value) {
return this;
}
/**
- *
- *
* * Output only. The time the operation finished running. ** - *
.google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
- *
+ * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
*/
- public Builder setEndTime(com.google.protobuf.Timestamp.Builder builderForValue) {
+ public Builder setEndTime(
+ com.google.protobuf.Timestamp.Builder builderForValue) {
if (endTimeBuilder_ == null) {
endTime_ = builderForValue.build();
onChanged();
@@ -1154,20 +1034,17 @@ public Builder setEndTime(com.google.protobuf.Timestamp.Builder builderForValue)
return this;
}
/**
- *
- *
* * Output only. The time the operation finished running. ** - *
.google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
- *
+ * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
*/
public Builder mergeEndTime(com.google.protobuf.Timestamp value) {
if (endTimeBuilder_ == null) {
if (endTime_ != null) {
endTime_ =
- com.google.protobuf.Timestamp.newBuilder(endTime_).mergeFrom(value).buildPartial();
+ com.google.protobuf.Timestamp.newBuilder(endTime_).mergeFrom(value).buildPartial();
} else {
endTime_ = value;
}
@@ -1179,14 +1056,11 @@ public Builder mergeEndTime(com.google.protobuf.Timestamp value) {
return this;
}
/**
- *
- *
* * Output only. The time the operation finished running. ** - *
.google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
- *
+ * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
*/
public Builder clearEndTime() {
if (endTimeBuilder_ == null) {
@@ -1200,59 +1074,48 @@ public Builder clearEndTime() {
return this;
}
/**
- *
- *
* * Output only. The time the operation finished running. ** - *
.google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
- *
+ * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
*/
public com.google.protobuf.Timestamp.Builder getEndTimeBuilder() {
-
+
onChanged();
return getEndTimeFieldBuilder().getBuilder();
}
/**
- *
- *
* * Output only. The time the operation finished running. ** - *
.google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
- *
+ * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
*/
public com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder() {
if (endTimeBuilder_ != null) {
return endTimeBuilder_.getMessageOrBuilder();
} else {
- return endTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : endTime_;
+ return endTime_ == null ?
+ com.google.protobuf.Timestamp.getDefaultInstance() : endTime_;
}
}
/**
- *
- *
* * Output only. The time the operation finished running. ** - *
.google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
- *
+ * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
*/
private com.google.protobuf.SingleFieldBuilderV3<
- com.google.protobuf.Timestamp,
- com.google.protobuf.Timestamp.Builder,
- com.google.protobuf.TimestampOrBuilder>
+ com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>
getEndTimeFieldBuilder() {
if (endTimeBuilder_ == null) {
- endTimeBuilder_ =
- new com.google.protobuf.SingleFieldBuilderV3<
- com.google.protobuf.Timestamp,
- com.google.protobuf.Timestamp.Builder,
- com.google.protobuf.TimestampOrBuilder>(
- getEndTime(), getParentForChildren(), isClean());
+ endTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+ com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>(
+ getEndTime(),
+ getParentForChildren(),
+ isClean());
endTime_ = null;
}
return endTimeBuilder_;
@@ -1260,20 +1123,18 @@ public com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder() {
private java.lang.Object target_ = "";
/**
- *
- *
* * Output only. Server-defined resource path for the target of the operation. ** *
string target = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
- *
* @return The target.
*/
public java.lang.String getTarget() {
java.lang.Object ref = target_;
if (!(ref instanceof java.lang.String)) {
- com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref;
+ com.google.protobuf.ByteString bs =
+ (com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
target_ = s;
return s;
@@ -1282,21 +1143,20 @@ public java.lang.String getTarget() {
}
}
/**
- *
- *
* * Output only. Server-defined resource path for the target of the operation. ** *
string target = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
- *
* @return The bytes for target.
*/
- public com.google.protobuf.ByteString getTargetBytes() {
+ public com.google.protobuf.ByteString
+ getTargetBytes() {
java.lang.Object ref = target_;
if (ref instanceof String) {
- com.google.protobuf.ByteString b =
- com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref);
+ com.google.protobuf.ByteString b =
+ com.google.protobuf.ByteString.copyFromUtf8(
+ (java.lang.String) ref);
target_ = b;
return b;
} else {
@@ -1304,61 +1164,54 @@ public com.google.protobuf.ByteString getTargetBytes() {
}
}
/**
- *
- *
* * Output only. Server-defined resource path for the target of the operation. ** *
string target = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
- *
* @param value The target to set.
* @return This builder for chaining.
*/
- public Builder setTarget(java.lang.String value) {
+ public Builder setTarget(
+ java.lang.String value) {
if (value == null) {
- throw new NullPointerException();
- }
-
+ throw new NullPointerException();
+ }
+
target_ = value;
onChanged();
return this;
}
/**
- *
- *
* * Output only. Server-defined resource path for the target of the operation. ** *
string target = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
- *
* @return This builder for chaining.
*/
public Builder clearTarget() {
-
+
target_ = getDefaultInstance().getTarget();
onChanged();
return this;
}
/**
- *
- *
* * Output only. Server-defined resource path for the target of the operation. ** *
string target = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
- *
* @param value The bytes for target to set.
* @return This builder for chaining.
*/
- public Builder setTargetBytes(com.google.protobuf.ByteString value) {
+ public Builder setTargetBytes(
+ com.google.protobuf.ByteString value) {
if (value == null) {
- throw new NullPointerException();
- }
- checkByteStringIsUtf8(value);
-
+ throw new NullPointerException();
+ }
+ checkByteStringIsUtf8(value);
+
target_ = value;
onChanged();
return this;
@@ -1366,20 +1219,18 @@ public Builder setTargetBytes(com.google.protobuf.ByteString value) {
private java.lang.Object verb_ = "";
/**
- *
- *
* * Output only. Name of the verb executed by the operation. ** *
string verb = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
- *
* @return The verb.
*/
public java.lang.String getVerb() {
java.lang.Object ref = verb_;
if (!(ref instanceof java.lang.String)) {
- com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref;
+ com.google.protobuf.ByteString bs =
+ (com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
verb_ = s;
return s;
@@ -1388,21 +1239,20 @@ public java.lang.String getVerb() {
}
}
/**
- *
- *
* * Output only. Name of the verb executed by the operation. ** *
string verb = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
- *
* @return The bytes for verb.
*/
- public com.google.protobuf.ByteString getVerbBytes() {
+ public com.google.protobuf.ByteString
+ getVerbBytes() {
java.lang.Object ref = verb_;
if (ref instanceof String) {
- com.google.protobuf.ByteString b =
- com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref);
+ com.google.protobuf.ByteString b =
+ com.google.protobuf.ByteString.copyFromUtf8(
+ (java.lang.String) ref);
verb_ = b;
return b;
} else {
@@ -1410,61 +1260,54 @@ public com.google.protobuf.ByteString getVerbBytes() {
}
}
/**
- *
- *
* * Output only. Name of the verb executed by the operation. ** *
string verb = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
- *
* @param value The verb to set.
* @return This builder for chaining.
*/
- public Builder setVerb(java.lang.String value) {
+ public Builder setVerb(
+ java.lang.String value) {
if (value == null) {
- throw new NullPointerException();
- }
-
+ throw new NullPointerException();
+ }
+
verb_ = value;
onChanged();
return this;
}
/**
- *
- *
* * Output only. Name of the verb executed by the operation. ** *
string verb = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
- *
* @return This builder for chaining.
*/
public Builder clearVerb() {
-
+
verb_ = getDefaultInstance().getVerb();
onChanged();
return this;
}
/**
- *
- *
* * Output only. Name of the verb executed by the operation. ** *
string verb = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
- *
* @param value The bytes for verb to set.
* @return This builder for chaining.
*/
- public Builder setVerbBytes(com.google.protobuf.ByteString value) {
+ public Builder setVerbBytes(
+ com.google.protobuf.ByteString value) {
if (value == null) {
- throw new NullPointerException();
- }
- checkByteStringIsUtf8(value);
-
+ throw new NullPointerException();
+ }
+ checkByteStringIsUtf8(value);
+
verb_ = value;
onChanged();
return this;
@@ -1472,20 +1315,18 @@ public Builder setVerbBytes(com.google.protobuf.ByteString value) {
private java.lang.Object statusDetail_ = "";
/**
- *
- *
* * Output only. Human-readable status of the operation, if any. ** *
string status_detail = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
- *
* @return The statusDetail.
*/
public java.lang.String getStatusDetail() {
java.lang.Object ref = statusDetail_;
if (!(ref instanceof java.lang.String)) {
- com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref;
+ com.google.protobuf.ByteString bs =
+ (com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
statusDetail_ = s;
return s;
@@ -1494,21 +1335,20 @@ public java.lang.String getStatusDetail() {
}
}
/**
- *
- *
* * Output only. Human-readable status of the operation, if any. ** *
string status_detail = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
- *
* @return The bytes for statusDetail.
*/
- public com.google.protobuf.ByteString getStatusDetailBytes() {
+ public com.google.protobuf.ByteString
+ getStatusDetailBytes() {
java.lang.Object ref = statusDetail_;
if (ref instanceof String) {
- com.google.protobuf.ByteString b =
- com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref);
+ com.google.protobuf.ByteString b =
+ com.google.protobuf.ByteString.copyFromUtf8(
+ (java.lang.String) ref);
statusDetail_ = b;
return b;
} else {
@@ -1516,70 +1356,61 @@ public com.google.protobuf.ByteString getStatusDetailBytes() {
}
}
/**
- *
- *
* * Output only. Human-readable status of the operation, if any. ** *
string status_detail = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
- *
* @param value The statusDetail to set.
* @return This builder for chaining.
*/
- public Builder setStatusDetail(java.lang.String value) {
+ public Builder setStatusDetail(
+ java.lang.String value) {
if (value == null) {
- throw new NullPointerException();
- }
-
+ throw new NullPointerException();
+ }
+
statusDetail_ = value;
onChanged();
return this;
}
/**
- *
- *
* * Output only. Human-readable status of the operation, if any. ** *
string status_detail = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
- *
* @return This builder for chaining.
*/
public Builder clearStatusDetail() {
-
+
statusDetail_ = getDefaultInstance().getStatusDetail();
onChanged();
return this;
}
/**
- *
- *
* * Output only. Human-readable status of the operation, if any. ** *
string status_detail = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
- *
* @param value The bytes for statusDetail to set.
* @return This builder for chaining.
*/
- public Builder setStatusDetailBytes(com.google.protobuf.ByteString value) {
+ public Builder setStatusDetailBytes(
+ com.google.protobuf.ByteString value) {
if (value == null) {
- throw new NullPointerException();
- }
- checkByteStringIsUtf8(value);
-
+ throw new NullPointerException();
+ }
+ checkByteStringIsUtf8(value);
+
statusDetail_ = value;
onChanged();
return this;
}
- private boolean cancelRequested_;
+ private boolean cancelRequested_ ;
/**
- *
- *
* * Output only. Identifies whether the user has requested cancellation * of the operation. Operations that have successfully been cancelled @@ -1588,7 +1419,6 @@ public Builder setStatusDetailBytes(com.google.protobuf.ByteString value) { ** *
bool cancel_requested = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
- *
* @return The cancelRequested.
*/
@java.lang.Override
@@ -1596,8 +1426,6 @@ public boolean getCancelRequested() {
return cancelRequested_;
}
/**
- *
- *
* * Output only. Identifies whether the user has requested cancellation * of the operation. Operations that have successfully been cancelled @@ -1606,19 +1434,16 @@ public boolean getCancelRequested() { ** *
bool cancel_requested = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
- *
* @param value The cancelRequested to set.
* @return This builder for chaining.
*/
public Builder setCancelRequested(boolean value) {
-
+
cancelRequested_ = value;
onChanged();
return this;
}
/**
- *
- *
* * Output only. Identifies whether the user has requested cancellation * of the operation. Operations that have successfully been cancelled @@ -1627,11 +1452,10 @@ public Builder setCancelRequested(boolean value) { ** *
bool cancel_requested = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
- *
* @return This builder for chaining.
*/
public Builder clearCancelRequested() {
-
+
cancelRequested_ = false;
onChanged();
return this;
@@ -1639,20 +1463,18 @@ public Builder clearCancelRequested() {
private java.lang.Object apiVersion_ = "";
/**
- *
- *
* * Output only. API version used to start the operation. ** *
string api_version = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
- *
* @return The apiVersion.
*/
public java.lang.String getApiVersion() {
java.lang.Object ref = apiVersion_;
if (!(ref instanceof java.lang.String)) {
- com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref;
+ com.google.protobuf.ByteString bs =
+ (com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
apiVersion_ = s;
return s;
@@ -1661,21 +1483,20 @@ public java.lang.String getApiVersion() {
}
}
/**
- *
- *
* * Output only. API version used to start the operation. ** *
string api_version = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
- *
* @return The bytes for apiVersion.
*/
- public com.google.protobuf.ByteString getApiVersionBytes() {
+ public com.google.protobuf.ByteString
+ getApiVersionBytes() {
java.lang.Object ref = apiVersion_;
if (ref instanceof String) {
- com.google.protobuf.ByteString b =
- com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref);
+ com.google.protobuf.ByteString b =
+ com.google.protobuf.ByteString.copyFromUtf8(
+ (java.lang.String) ref);
apiVersion_ = b;
return b;
} else {
@@ -1683,68 +1504,61 @@ public com.google.protobuf.ByteString getApiVersionBytes() {
}
}
/**
- *
- *
* * Output only. API version used to start the operation. ** *
string api_version = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
- *
* @param value The apiVersion to set.
* @return This builder for chaining.
*/
- public Builder setApiVersion(java.lang.String value) {
+ public Builder setApiVersion(
+ java.lang.String value) {
if (value == null) {
- throw new NullPointerException();
- }
-
+ throw new NullPointerException();
+ }
+
apiVersion_ = value;
onChanged();
return this;
}
/**
- *
- *
* * Output only. API version used to start the operation. ** *
string api_version = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
- *
* @return This builder for chaining.
*/
public Builder clearApiVersion() {
-
+
apiVersion_ = getDefaultInstance().getApiVersion();
onChanged();
return this;
}
/**
- *
- *
* * Output only. API version used to start the operation. ** *
string api_version = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
- *
* @param value The bytes for apiVersion to set.
* @return This builder for chaining.
*/
- public Builder setApiVersionBytes(com.google.protobuf.ByteString value) {
+ public Builder setApiVersionBytes(
+ com.google.protobuf.ByteString value) {
if (value == null) {
- throw new NullPointerException();
- }
- checkByteStringIsUtf8(value);
-
+ throw new NullPointerException();
+ }
+ checkByteStringIsUtf8(value);
+
apiVersion_ = value;
onChanged();
return this;
}
-
@java.lang.Override
- public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) {
+ public final Builder setUnknownFields(
+ final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.setUnknownFields(unknownFields);
}
@@ -1754,12 +1568,12 @@ public final Builder mergeUnknownFields(
return super.mergeUnknownFields(unknownFields);
}
+
// @@protoc_insertion_point(builder_scope:google.cloud.common.OperationMetadata)
}
// @@protoc_insertion_point(class_scope:google.cloud.common.OperationMetadata)
private static final com.google.cloud.common.OperationMetadata DEFAULT_INSTANCE;
-
static {
DEFAULT_INSTANCE = new com.google.cloud.common.OperationMetadata();
}
@@ -1768,27 +1582,27 @@ public static com.google.cloud.common.OperationMetadata getDefaultInstance() {
return DEFAULT_INSTANCE;
}
- private static final com.google.protobuf.Parser* Output only. The time the operation was created. ** - *
.google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
- *
- *
+ * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
* @return Whether the createTime field is set.
*/
boolean hasCreateTime();
/**
- *
- *
* * Output only. The time the operation was created. ** - *
.google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
- *
- *
+ * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
* @return The createTime.
*/
com.google.protobuf.Timestamp getCreateTime();
/**
- *
- *
* * Output only. The time the operation was created. ** - *
.google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
- *
+ * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
*/
com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder();
/**
- *
- *
* * Output only. The time the operation finished running. ** - *
.google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
- *
- *
+ * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
* @return Whether the endTime field is set.
*/
boolean hasEndTime();
/**
- *
- *
* * Output only. The time the operation finished running. ** - *
.google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
- *
- *
+ * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
* @return The endTime.
*/
com.google.protobuf.Timestamp getEndTime();
/**
- *
- *
* * Output only. The time the operation finished running. ** - *
.google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
- *
+ * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
*/
com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder();
/**
- *
- *
* * Output only. Server-defined resource path for the target of the operation. ** *
string target = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
- *
* @return The target.
*/
java.lang.String getTarget();
/**
- *
- *
* * Output only. Server-defined resource path for the target of the operation. ** *
string target = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
- *
* @return The bytes for target.
*/
- com.google.protobuf.ByteString getTargetBytes();
+ com.google.protobuf.ByteString
+ getTargetBytes();
/**
- *
- *
* * Output only. Name of the verb executed by the operation. ** *
string verb = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
- *
* @return The verb.
*/
java.lang.String getVerb();
/**
- *
- *
* * Output only. Name of the verb executed by the operation. ** *
string verb = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
- *
* @return The bytes for verb.
*/
- com.google.protobuf.ByteString getVerbBytes();
+ com.google.protobuf.ByteString
+ getVerbBytes();
/**
- *
- *
* * Output only. Human-readable status of the operation, if any. ** *
string status_detail = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
- *
* @return The statusDetail.
*/
java.lang.String getStatusDetail();
/**
- *
- *
* * Output only. Human-readable status of the operation, if any. ** *
string status_detail = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
- *
* @return The bytes for statusDetail.
*/
- com.google.protobuf.ByteString getStatusDetailBytes();
+ com.google.protobuf.ByteString
+ getStatusDetailBytes();
/**
- *
- *
* * Output only. Identifies whether the user has requested cancellation * of the operation. Operations that have successfully been cancelled @@ -185,33 +130,27 @@ public interface OperationMetadataOrBuilder ** *
bool cancel_requested = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
- *
* @return The cancelRequested.
*/
boolean getCancelRequested();
/**
- *
- *
* * Output only. API version used to start the operation. ** *
string api_version = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
- *
* @return The apiVersion.
*/
java.lang.String getApiVersion();
/**
- *
- *
* * Output only. API version used to start the operation. ** *
string api_version = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
- *
* @return The bytes for apiVersion.
*/
- com.google.protobuf.ByteString getApiVersionBytes();
+ com.google.protobuf.ByteString
+ getApiVersionBytes();
}
diff --git a/owl-bot-staging/java-filestore/v1/proto-google-cloud-filestore-v1/src/main/java/com/google/cloud/common/OperationMetadataOuterClass.java b/owl-bot-staging/java-filestore/v1/proto-google-cloud-filestore-v1/src/main/java/com/google/cloud/common/OperationMetadataOuterClass.java
new file mode 100644
index 000000000000..8b00f4c11630
--- /dev/null
+++ b/owl-bot-staging/java-filestore/v1/proto-google-cloud-filestore-v1/src/main/java/com/google/cloud/common/OperationMetadataOuterClass.java
@@ -0,0 +1,67 @@
+// Generated by the protocol buffer compiler. DO NOT EDIT!
+// source: google/cloud/common/operation_metadata.proto
+
+package com.google.cloud.common;
+
+public final class OperationMetadataOuterClass {
+ private OperationMetadataOuterClass() {}
+ public static void registerAllExtensions(
+ com.google.protobuf.ExtensionRegistryLite registry) {
+ }
+
+ public static void registerAllExtensions(
+ com.google.protobuf.ExtensionRegistry registry) {
+ registerAllExtensions(
+ (com.google.protobuf.ExtensionRegistryLite) registry);
+ }
+ static final com.google.protobuf.Descriptors.Descriptor
+ internal_static_google_cloud_common_OperationMetadata_descriptor;
+ static final
+ com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+ internal_static_google_cloud_common_OperationMetadata_fieldAccessorTable;
+
+ public static com.google.protobuf.Descriptors.FileDescriptor
+ getDescriptor() {
+ return descriptor;
+ }
+ private static com.google.protobuf.Descriptors.FileDescriptor
+ descriptor;
+ static {
+ java.lang.String[] descriptorData = {
+ "\n,google/cloud/common/operation_metadata" +
+ ".proto\022\023google.cloud.common\032\037google/api/" +
+ "field_behavior.proto\032\037google/protobuf/ti" +
+ "mestamp.proto\"\371\001\n\021OperationMetadata\0224\n\013c" +
+ "reate_time\030\001 \001(\0132\032.google.protobuf.Times" +
+ "tampB\003\340A\003\0221\n\010end_time\030\002 \001(\0132\032.google.pro" +
+ "tobuf.TimestampB\003\340A\003\022\023\n\006target\030\003 \001(\tB\003\340A" +
+ "\003\022\021\n\004verb\030\004 \001(\tB\003\340A\003\022\032\n\rstatus_detail\030\005 " +
+ "\001(\tB\003\340A\003\022\035\n\020cancel_requested\030\006 \001(\010B\003\340A\003\022" +
+ "\030\n\013api_version\030\007 \001(\tB\003\340A\003BV\n\027com.google." +
+ "cloud.commonP\001Z9google.golang.org/genpro" +
+ "to/googleapis/cloud/common;commonb\006proto" +
+ "3"
+ };
+ descriptor = com.google.protobuf.Descriptors.FileDescriptor
+ .internalBuildGeneratedFileFrom(descriptorData,
+ new com.google.protobuf.Descriptors.FileDescriptor[] {
+ com.google.api.FieldBehaviorProto.getDescriptor(),
+ com.google.protobuf.TimestampProto.getDescriptor(),
+ });
+ internal_static_google_cloud_common_OperationMetadata_descriptor =
+ getDescriptor().getMessageTypes().get(0);
+ internal_static_google_cloud_common_OperationMetadata_fieldAccessorTable = new
+ com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+ internal_static_google_cloud_common_OperationMetadata_descriptor,
+ new java.lang.String[] { "CreateTime", "EndTime", "Target", "Verb", "StatusDetail", "CancelRequested", "ApiVersion", });
+ com.google.protobuf.ExtensionRegistry registry =
+ com.google.protobuf.ExtensionRegistry.newInstance();
+ registry.add(com.google.api.FieldBehaviorProto.fieldBehavior);
+ com.google.protobuf.Descriptors.FileDescriptor
+ .internalUpdateFileDescriptor(descriptor, registry);
+ com.google.api.FieldBehaviorProto.getDescriptor();
+ com.google.protobuf.TimestampProto.getDescriptor();
+ }
+
+ // @@protoc_insertion_point(outer_class_scope)
+}
diff --git a/java-filestore/proto-google-cloud-filestore-v1/src/main/java/com/google/cloud/filestore/v1/Backup.java b/owl-bot-staging/java-filestore/v1/proto-google-cloud-filestore-v1/src/main/java/com/google/cloud/filestore/v1/Backup.java
similarity index 67%
rename from java-filestore/proto-google-cloud-filestore-v1/src/main/java/com/google/cloud/filestore/v1/Backup.java
rename to owl-bot-staging/java-filestore/v1/proto-google-cloud-filestore-v1/src/main/java/com/google/cloud/filestore/v1/Backup.java
index 9995923d37c8..205aea38ffee 100644
--- a/java-filestore/proto-google-cloud-filestore-v1/src/main/java/com/google/cloud/filestore/v1/Backup.java
+++ b/owl-bot-staging/java-filestore/v1/proto-google-cloud-filestore-v1/src/main/java/com/google/cloud/filestore/v1/Backup.java
@@ -1,42 +1,24 @@
-/*
- * Copyright 2020 Google LLC
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- * https://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: google/cloud/filestore/v1/cloud_filestore_service.proto
package com.google.cloud.filestore.v1;
/**
- *
- *
* * A Cloud Filestore backup. ** * Protobuf type {@code google.cloud.filestore.v1.Backup} */ -public final class Backup extends com.google.protobuf.GeneratedMessageV3 - implements +public final class Backup extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.filestore.v1.Backup) BackupOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use Backup.newBuilder() to construct. private Backup(com.google.protobuf.GeneratedMessageV3.Builder> builder) { super(builder); } - private Backup() { name_ = ""; description_ = ""; @@ -48,54 +30,51 @@ private Backup() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new Backup(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.filestore.v1.CloudFilestoreServiceProto - .internal_static_google_cloud_filestore_v1_Backup_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.filestore.v1.CloudFilestoreServiceProto.internal_static_google_cloud_filestore_v1_Backup_descriptor; } @SuppressWarnings({"rawtypes"}) @java.lang.Override - protected com.google.protobuf.MapField internalGetMapField(int number) { + protected com.google.protobuf.MapField internalGetMapField( + int number) { switch (number) { case 5: return internalGetLabels(); default: - throw new RuntimeException("Invalid map field number: " + number); + throw new RuntimeException( + "Invalid map field number: " + number); } } - @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.filestore.v1.CloudFilestoreServiceProto - .internal_static_google_cloud_filestore_v1_Backup_fieldAccessorTable + return com.google.cloud.filestore.v1.CloudFilestoreServiceProto.internal_static_google_cloud_filestore_v1_Backup_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.filestore.v1.Backup.class, - com.google.cloud.filestore.v1.Backup.Builder.class); + com.google.cloud.filestore.v1.Backup.class, com.google.cloud.filestore.v1.Backup.Builder.class); } /** - * - * *
* The backup state. ** * Protobuf enum {@code google.cloud.filestore.v1.Backup.State} */ - public enum State implements com.google.protobuf.ProtocolMessageEnum { + public enum State + implements com.google.protobuf.ProtocolMessageEnum { /** - * - * *
* State not set. *@@ -104,8 +83,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { */ STATE_UNSPECIFIED(0), /** - * - * *
* Backup is being created. *@@ -114,8 +91,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { */ CREATING(1), /** - * - * *
* Backup has been taken and the operation is being finalized. At this * point, changes to the file share will not be reflected in the backup. @@ -125,8 +100,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { */ FINALIZING(2), /** - * - * ** Backup is available for use. *@@ -135,8 +108,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { */ READY(3), /** - * - * ** Backup is being deleted. *@@ -148,8 +119,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { ; /** - * - * ** State not set. *@@ -158,8 +127,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { */ public static final int STATE_UNSPECIFIED_VALUE = 0; /** - * - * ** Backup is being created. *@@ -168,8 +135,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { */ public static final int CREATING_VALUE = 1; /** - * - * ** Backup has been taken and the operation is being finalized. At this * point, changes to the file share will not be reflected in the backup. @@ -179,8 +144,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { */ public static final int FINALIZING_VALUE = 2; /** - * - * ** Backup is available for use. *@@ -189,8 +152,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { */ public static final int READY_VALUE = 3; /** - * - * ** Backup is being deleted. *@@ -199,6 +160,7 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { */ public static final int DELETING_VALUE = 4; + public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -223,53 +185,51 @@ public static State valueOf(int value) { */ public static State forNumber(int value) { switch (value) { - case 0: - return STATE_UNSPECIFIED; - case 1: - return CREATING; - case 2: - return FINALIZING; - case 3: - return READY; - case 4: - return DELETING; - default: - return null; + case 0: return STATE_UNSPECIFIED; + case 1: return CREATING; + case 2: return FINALIZING; + case 3: return READY; + case 4: return DELETING; + default: return null; } } - public static com.google.protobuf.Internal.EnumLiteMapinternalGetValueMap() { + public static com.google.protobuf.Internal.EnumLiteMap + internalGetValueMap() { return internalValueMap; } + private static final com.google.protobuf.Internal.EnumLiteMap< + State> internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap