From b79df476cf52dbc3ad01bbdf32d0b5f2adcebe74 Mon Sep 17 00:00:00 2001 From: Owl Bot Date: Fri, 9 Sep 2022 23:49:41 +0000 Subject: [PATCH 1/2] feat: add default retry configuration feat: add DeleteTransferJob operation feat: add AWS S3 compatible data source PiperOrigin-RevId: 473348271 Source-Link: https://github.com/googleapis/googleapis/commit/56f20492295ddbc1b8c02825fe7a89b7bf530c1c Source-Link: https://github.com/googleapis/googleapis-gen/commit/4f0ba4ff11c129006f76be68465f8e68a4a32814 Copy-Tag: eyJwIjoiLmdpdGh1Yi8uT3dsQm90LnlhbWwiLCJoIjoiNGYwYmE0ZmYxMWMxMjkwMDZmNzZiZTY4NDY1ZjhlNjhhNGEzMjgxNCJ9 --- .../v1/proto/StorageTransferServiceGrpc.java | 1944 -- .../proto/StorageTransferServiceClient.java | 63 + .../proto/StorageTransferServiceSettings.java | 13 + .../v1/proto/gapic_metadata.json | 3 + .../v1/proto/package-info.java | 0 ...StorageTransferServiceCallableFactory.java | 0 .../stub/GrpcStorageTransferServiceStub.java | 36 + ...StorageTransferServiceCallableFactory.java | 0 .../HttpJsonStorageTransferServiceStub.java | 55 + .../stub/StorageTransferServiceStub.java | 4 + .../StorageTransferServiceStubSettings.java | 106 +- .../v1/proto/MockStorageTransferService.java | 0 .../proto/MockStorageTransferServiceImpl.java | 21 + ...rageTransferServiceClientHttpJsonTest.java | 48 + .../StorageTransferServiceClientTest.java | 44 + .../v1/proto/StorageTransferServiceGrpc.java | 1495 + .../v1/proto/TransferProto.java | 9171 +++--- .../v1/proto/TransferTypes.java | 23533 +++++++--------- .../google/storagetransfer/v1/transfer.proto | 20 +- .../storagetransfer/v1/transfer_types.proto | 122 +- 20 files changed, 16753 insertions(+), 19925 deletions(-) delete mode 100644 grpc-google-cloud-storage-transfer-v1/src/main/java/com/google/storagetransfer/v1/proto/StorageTransferServiceGrpc.java rename {google-cloud-storage-transfer => owl-bot-staging/v1/google-cloud-storage-transfer}/src/main/java/com/google/storagetransfer/v1/proto/StorageTransferServiceClient.java (96%) rename {google-cloud-storage-transfer => owl-bot-staging/v1/google-cloud-storage-transfer}/src/main/java/com/google/storagetransfer/v1/proto/StorageTransferServiceSettings.java (96%) rename {google-cloud-storage-transfer => owl-bot-staging/v1/google-cloud-storage-transfer}/src/main/java/com/google/storagetransfer/v1/proto/gapic_metadata.json (94%) rename {google-cloud-storage-transfer => owl-bot-staging/v1/google-cloud-storage-transfer}/src/main/java/com/google/storagetransfer/v1/proto/package-info.java (100%) rename {google-cloud-storage-transfer => owl-bot-staging/v1/google-cloud-storage-transfer}/src/main/java/com/google/storagetransfer/v1/proto/stub/GrpcStorageTransferServiceCallableFactory.java (100%) rename {google-cloud-storage-transfer => owl-bot-staging/v1/google-cloud-storage-transfer}/src/main/java/com/google/storagetransfer/v1/proto/stub/GrpcStorageTransferServiceStub.java (94%) rename {google-cloud-storage-transfer => owl-bot-staging/v1/google-cloud-storage-transfer}/src/main/java/com/google/storagetransfer/v1/proto/stub/HttpJsonStorageTransferServiceCallableFactory.java (100%) rename {google-cloud-storage-transfer => owl-bot-staging/v1/google-cloud-storage-transfer}/src/main/java/com/google/storagetransfer/v1/proto/stub/HttpJsonStorageTransferServiceStub.java (94%) rename {google-cloud-storage-transfer => owl-bot-staging/v1/google-cloud-storage-transfer}/src/main/java/com/google/storagetransfer/v1/proto/stub/StorageTransferServiceStub.java (96%) rename {google-cloud-storage-transfer => owl-bot-staging/v1/google-cloud-storage-transfer}/src/main/java/com/google/storagetransfer/v1/proto/stub/StorageTransferServiceStubSettings.java (89%) rename {google-cloud-storage-transfer => owl-bot-staging/v1/google-cloud-storage-transfer}/src/test/java/com/google/storagetransfer/v1/proto/MockStorageTransferService.java (100%) rename {google-cloud-storage-transfer => owl-bot-staging/v1/google-cloud-storage-transfer}/src/test/java/com/google/storagetransfer/v1/proto/MockStorageTransferServiceImpl.java (94%) rename {google-cloud-storage-transfer => owl-bot-staging/v1/google-cloud-storage-transfer}/src/test/java/com/google/storagetransfer/v1/proto/StorageTransferServiceClientHttpJsonTest.java (94%) rename {google-cloud-storage-transfer => owl-bot-staging/v1/google-cloud-storage-transfer}/src/test/java/com/google/storagetransfer/v1/proto/StorageTransferServiceClientTest.java (94%) create mode 100644 owl-bot-staging/v1/grpc-google-cloud-storage-transfer-v1/src/main/java/com/google/storagetransfer/v1/proto/StorageTransferServiceGrpc.java rename {proto-google-cloud-storage-transfer-v1 => owl-bot-staging/v1/proto-google-cloud-storage-transfer-v1}/src/main/java/com/google/storagetransfer/v1/proto/TransferProto.java (65%) rename {proto-google-cloud-storage-transfer-v1 => owl-bot-staging/v1/proto-google-cloud-storage-transfer-v1}/src/main/java/com/google/storagetransfer/v1/proto/TransferTypes.java (71%) rename {proto-google-cloud-storage-transfer-v1 => owl-bot-staging/v1/proto-google-cloud-storage-transfer-v1}/src/main/proto/google/storagetransfer/v1/transfer.proto (95%) rename {proto-google-cloud-storage-transfer-v1 => owl-bot-staging/v1/proto-google-cloud-storage-transfer-v1}/src/main/proto/google/storagetransfer/v1/transfer_types.proto (91%) diff --git a/grpc-google-cloud-storage-transfer-v1/src/main/java/com/google/storagetransfer/v1/proto/StorageTransferServiceGrpc.java b/grpc-google-cloud-storage-transfer-v1/src/main/java/com/google/storagetransfer/v1/proto/StorageTransferServiceGrpc.java deleted file mode 100644 index 635f0d6..0000000 --- a/grpc-google-cloud-storage-transfer-v1/src/main/java/com/google/storagetransfer/v1/proto/StorageTransferServiceGrpc.java +++ /dev/null @@ -1,1944 +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.storagetransfer.v1.proto; - -import static io.grpc.MethodDescriptor.generateFullMethodName; - -/** - * - * - *
- * Storage Transfer Service and its protos.
- * Transfers data between between Google Cloud Storage buckets or from a data
- * source external to Google to a Cloud Storage bucket.
- * 
- */ -@javax.annotation.Generated( - value = "by gRPC proto compiler", - comments = "Source: google/storagetransfer/v1/transfer.proto") -@io.grpc.stub.annotations.GrpcGenerated -public final class StorageTransferServiceGrpc { - - private StorageTransferServiceGrpc() {} - - public static final String SERVICE_NAME = "google.storagetransfer.v1.StorageTransferService"; - - // Static method descriptors that strictly reflect the proto. - private static volatile io.grpc.MethodDescriptor< - com.google.storagetransfer.v1.proto.TransferProto.GetGoogleServiceAccountRequest, - com.google.storagetransfer.v1.proto.TransferTypes.GoogleServiceAccount> - getGetGoogleServiceAccountMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "GetGoogleServiceAccount", - requestType = - com.google.storagetransfer.v1.proto.TransferProto.GetGoogleServiceAccountRequest.class, - responseType = com.google.storagetransfer.v1.proto.TransferTypes.GoogleServiceAccount.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.storagetransfer.v1.proto.TransferProto.GetGoogleServiceAccountRequest, - com.google.storagetransfer.v1.proto.TransferTypes.GoogleServiceAccount> - getGetGoogleServiceAccountMethod() { - io.grpc.MethodDescriptor< - com.google.storagetransfer.v1.proto.TransferProto.GetGoogleServiceAccountRequest, - com.google.storagetransfer.v1.proto.TransferTypes.GoogleServiceAccount> - getGetGoogleServiceAccountMethod; - if ((getGetGoogleServiceAccountMethod = - StorageTransferServiceGrpc.getGetGoogleServiceAccountMethod) - == null) { - synchronized (StorageTransferServiceGrpc.class) { - if ((getGetGoogleServiceAccountMethod = - StorageTransferServiceGrpc.getGetGoogleServiceAccountMethod) - == null) { - StorageTransferServiceGrpc.getGetGoogleServiceAccountMethod = - getGetGoogleServiceAccountMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName( - generateFullMethodName(SERVICE_NAME, "GetGoogleServiceAccount")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.storagetransfer.v1.proto.TransferProto - .GetGoogleServiceAccountRequest.getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.storagetransfer.v1.proto.TransferTypes.GoogleServiceAccount - .getDefaultInstance())) - .setSchemaDescriptor( - new StorageTransferServiceMethodDescriptorSupplier( - "GetGoogleServiceAccount")) - .build(); - } - } - } - return getGetGoogleServiceAccountMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.storagetransfer.v1.proto.TransferProto.CreateTransferJobRequest, - com.google.storagetransfer.v1.proto.TransferTypes.TransferJob> - getCreateTransferJobMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "CreateTransferJob", - requestType = - com.google.storagetransfer.v1.proto.TransferProto.CreateTransferJobRequest.class, - responseType = com.google.storagetransfer.v1.proto.TransferTypes.TransferJob.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.storagetransfer.v1.proto.TransferProto.CreateTransferJobRequest, - com.google.storagetransfer.v1.proto.TransferTypes.TransferJob> - getCreateTransferJobMethod() { - io.grpc.MethodDescriptor< - com.google.storagetransfer.v1.proto.TransferProto.CreateTransferJobRequest, - com.google.storagetransfer.v1.proto.TransferTypes.TransferJob> - getCreateTransferJobMethod; - if ((getCreateTransferJobMethod = StorageTransferServiceGrpc.getCreateTransferJobMethod) - == null) { - synchronized (StorageTransferServiceGrpc.class) { - if ((getCreateTransferJobMethod = StorageTransferServiceGrpc.getCreateTransferJobMethod) - == null) { - StorageTransferServiceGrpc.getCreateTransferJobMethod = - getCreateTransferJobMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "CreateTransferJob")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.storagetransfer.v1.proto.TransferProto - .CreateTransferJobRequest.getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.storagetransfer.v1.proto.TransferTypes.TransferJob - .getDefaultInstance())) - .setSchemaDescriptor( - new StorageTransferServiceMethodDescriptorSupplier("CreateTransferJob")) - .build(); - } - } - } - return getCreateTransferJobMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.storagetransfer.v1.proto.TransferProto.UpdateTransferJobRequest, - com.google.storagetransfer.v1.proto.TransferTypes.TransferJob> - getUpdateTransferJobMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "UpdateTransferJob", - requestType = - com.google.storagetransfer.v1.proto.TransferProto.UpdateTransferJobRequest.class, - responseType = com.google.storagetransfer.v1.proto.TransferTypes.TransferJob.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.storagetransfer.v1.proto.TransferProto.UpdateTransferJobRequest, - com.google.storagetransfer.v1.proto.TransferTypes.TransferJob> - getUpdateTransferJobMethod() { - io.grpc.MethodDescriptor< - com.google.storagetransfer.v1.proto.TransferProto.UpdateTransferJobRequest, - com.google.storagetransfer.v1.proto.TransferTypes.TransferJob> - getUpdateTransferJobMethod; - if ((getUpdateTransferJobMethod = StorageTransferServiceGrpc.getUpdateTransferJobMethod) - == null) { - synchronized (StorageTransferServiceGrpc.class) { - if ((getUpdateTransferJobMethod = StorageTransferServiceGrpc.getUpdateTransferJobMethod) - == null) { - StorageTransferServiceGrpc.getUpdateTransferJobMethod = - getUpdateTransferJobMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "UpdateTransferJob")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.storagetransfer.v1.proto.TransferProto - .UpdateTransferJobRequest.getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.storagetransfer.v1.proto.TransferTypes.TransferJob - .getDefaultInstance())) - .setSchemaDescriptor( - new StorageTransferServiceMethodDescriptorSupplier("UpdateTransferJob")) - .build(); - } - } - } - return getUpdateTransferJobMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.storagetransfer.v1.proto.TransferProto.GetTransferJobRequest, - com.google.storagetransfer.v1.proto.TransferTypes.TransferJob> - getGetTransferJobMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "GetTransferJob", - requestType = com.google.storagetransfer.v1.proto.TransferProto.GetTransferJobRequest.class, - responseType = com.google.storagetransfer.v1.proto.TransferTypes.TransferJob.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.storagetransfer.v1.proto.TransferProto.GetTransferJobRequest, - com.google.storagetransfer.v1.proto.TransferTypes.TransferJob> - getGetTransferJobMethod() { - io.grpc.MethodDescriptor< - com.google.storagetransfer.v1.proto.TransferProto.GetTransferJobRequest, - com.google.storagetransfer.v1.proto.TransferTypes.TransferJob> - getGetTransferJobMethod; - if ((getGetTransferJobMethod = StorageTransferServiceGrpc.getGetTransferJobMethod) == null) { - synchronized (StorageTransferServiceGrpc.class) { - if ((getGetTransferJobMethod = StorageTransferServiceGrpc.getGetTransferJobMethod) - == null) { - StorageTransferServiceGrpc.getGetTransferJobMethod = - getGetTransferJobMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetTransferJob")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.storagetransfer.v1.proto.TransferProto - .GetTransferJobRequest.getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.storagetransfer.v1.proto.TransferTypes.TransferJob - .getDefaultInstance())) - .setSchemaDescriptor( - new StorageTransferServiceMethodDescriptorSupplier("GetTransferJob")) - .build(); - } - } - } - return getGetTransferJobMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.storagetransfer.v1.proto.TransferProto.ListTransferJobsRequest, - com.google.storagetransfer.v1.proto.TransferProto.ListTransferJobsResponse> - getListTransferJobsMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "ListTransferJobs", - requestType = com.google.storagetransfer.v1.proto.TransferProto.ListTransferJobsRequest.class, - responseType = - com.google.storagetransfer.v1.proto.TransferProto.ListTransferJobsResponse.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.storagetransfer.v1.proto.TransferProto.ListTransferJobsRequest, - com.google.storagetransfer.v1.proto.TransferProto.ListTransferJobsResponse> - getListTransferJobsMethod() { - io.grpc.MethodDescriptor< - com.google.storagetransfer.v1.proto.TransferProto.ListTransferJobsRequest, - com.google.storagetransfer.v1.proto.TransferProto.ListTransferJobsResponse> - getListTransferJobsMethod; - if ((getListTransferJobsMethod = StorageTransferServiceGrpc.getListTransferJobsMethod) - == null) { - synchronized (StorageTransferServiceGrpc.class) { - if ((getListTransferJobsMethod = StorageTransferServiceGrpc.getListTransferJobsMethod) - == null) { - StorageTransferServiceGrpc.getListTransferJobsMethod = - getListTransferJobsMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListTransferJobs")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.storagetransfer.v1.proto.TransferProto - .ListTransferJobsRequest.getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.storagetransfer.v1.proto.TransferProto - .ListTransferJobsResponse.getDefaultInstance())) - .setSchemaDescriptor( - new StorageTransferServiceMethodDescriptorSupplier("ListTransferJobs")) - .build(); - } - } - } - return getListTransferJobsMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.storagetransfer.v1.proto.TransferProto.PauseTransferOperationRequest, - com.google.protobuf.Empty> - getPauseTransferOperationMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "PauseTransferOperation", - requestType = - com.google.storagetransfer.v1.proto.TransferProto.PauseTransferOperationRequest.class, - responseType = com.google.protobuf.Empty.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.storagetransfer.v1.proto.TransferProto.PauseTransferOperationRequest, - com.google.protobuf.Empty> - getPauseTransferOperationMethod() { - io.grpc.MethodDescriptor< - com.google.storagetransfer.v1.proto.TransferProto.PauseTransferOperationRequest, - com.google.protobuf.Empty> - getPauseTransferOperationMethod; - if ((getPauseTransferOperationMethod = - StorageTransferServiceGrpc.getPauseTransferOperationMethod) - == null) { - synchronized (StorageTransferServiceGrpc.class) { - if ((getPauseTransferOperationMethod = - StorageTransferServiceGrpc.getPauseTransferOperationMethod) - == null) { - StorageTransferServiceGrpc.getPauseTransferOperationMethod = - getPauseTransferOperationMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName( - generateFullMethodName(SERVICE_NAME, "PauseTransferOperation")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.storagetransfer.v1.proto.TransferProto - .PauseTransferOperationRequest.getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.protobuf.Empty.getDefaultInstance())) - .setSchemaDescriptor( - new StorageTransferServiceMethodDescriptorSupplier( - "PauseTransferOperation")) - .build(); - } - } - } - return getPauseTransferOperationMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.storagetransfer.v1.proto.TransferProto.ResumeTransferOperationRequest, - com.google.protobuf.Empty> - getResumeTransferOperationMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "ResumeTransferOperation", - requestType = - com.google.storagetransfer.v1.proto.TransferProto.ResumeTransferOperationRequest.class, - responseType = com.google.protobuf.Empty.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.storagetransfer.v1.proto.TransferProto.ResumeTransferOperationRequest, - com.google.protobuf.Empty> - getResumeTransferOperationMethod() { - io.grpc.MethodDescriptor< - com.google.storagetransfer.v1.proto.TransferProto.ResumeTransferOperationRequest, - com.google.protobuf.Empty> - getResumeTransferOperationMethod; - if ((getResumeTransferOperationMethod = - StorageTransferServiceGrpc.getResumeTransferOperationMethod) - == null) { - synchronized (StorageTransferServiceGrpc.class) { - if ((getResumeTransferOperationMethod = - StorageTransferServiceGrpc.getResumeTransferOperationMethod) - == null) { - StorageTransferServiceGrpc.getResumeTransferOperationMethod = - getResumeTransferOperationMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName( - generateFullMethodName(SERVICE_NAME, "ResumeTransferOperation")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.storagetransfer.v1.proto.TransferProto - .ResumeTransferOperationRequest.getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.protobuf.Empty.getDefaultInstance())) - .setSchemaDescriptor( - new StorageTransferServiceMethodDescriptorSupplier( - "ResumeTransferOperation")) - .build(); - } - } - } - return getResumeTransferOperationMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.storagetransfer.v1.proto.TransferProto.RunTransferJobRequest, - com.google.longrunning.Operation> - getRunTransferJobMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "RunTransferJob", - requestType = com.google.storagetransfer.v1.proto.TransferProto.RunTransferJobRequest.class, - responseType = com.google.longrunning.Operation.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.storagetransfer.v1.proto.TransferProto.RunTransferJobRequest, - com.google.longrunning.Operation> - getRunTransferJobMethod() { - io.grpc.MethodDescriptor< - com.google.storagetransfer.v1.proto.TransferProto.RunTransferJobRequest, - com.google.longrunning.Operation> - getRunTransferJobMethod; - if ((getRunTransferJobMethod = StorageTransferServiceGrpc.getRunTransferJobMethod) == null) { - synchronized (StorageTransferServiceGrpc.class) { - if ((getRunTransferJobMethod = StorageTransferServiceGrpc.getRunTransferJobMethod) - == null) { - StorageTransferServiceGrpc.getRunTransferJobMethod = - getRunTransferJobMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "RunTransferJob")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.storagetransfer.v1.proto.TransferProto - .RunTransferJobRequest.getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.longrunning.Operation.getDefaultInstance())) - .setSchemaDescriptor( - new StorageTransferServiceMethodDescriptorSupplier("RunTransferJob")) - .build(); - } - } - } - return getRunTransferJobMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.storagetransfer.v1.proto.TransferProto.CreateAgentPoolRequest, - com.google.storagetransfer.v1.proto.TransferTypes.AgentPool> - getCreateAgentPoolMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "CreateAgentPool", - requestType = com.google.storagetransfer.v1.proto.TransferProto.CreateAgentPoolRequest.class, - responseType = com.google.storagetransfer.v1.proto.TransferTypes.AgentPool.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.storagetransfer.v1.proto.TransferProto.CreateAgentPoolRequest, - com.google.storagetransfer.v1.proto.TransferTypes.AgentPool> - getCreateAgentPoolMethod() { - io.grpc.MethodDescriptor< - com.google.storagetransfer.v1.proto.TransferProto.CreateAgentPoolRequest, - com.google.storagetransfer.v1.proto.TransferTypes.AgentPool> - getCreateAgentPoolMethod; - if ((getCreateAgentPoolMethod = StorageTransferServiceGrpc.getCreateAgentPoolMethod) == null) { - synchronized (StorageTransferServiceGrpc.class) { - if ((getCreateAgentPoolMethod = StorageTransferServiceGrpc.getCreateAgentPoolMethod) - == null) { - StorageTransferServiceGrpc.getCreateAgentPoolMethod = - getCreateAgentPoolMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "CreateAgentPool")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.storagetransfer.v1.proto.TransferProto - .CreateAgentPoolRequest.getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.storagetransfer.v1.proto.TransferTypes.AgentPool - .getDefaultInstance())) - .setSchemaDescriptor( - new StorageTransferServiceMethodDescriptorSupplier("CreateAgentPool")) - .build(); - } - } - } - return getCreateAgentPoolMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.storagetransfer.v1.proto.TransferProto.UpdateAgentPoolRequest, - com.google.storagetransfer.v1.proto.TransferTypes.AgentPool> - getUpdateAgentPoolMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "UpdateAgentPool", - requestType = com.google.storagetransfer.v1.proto.TransferProto.UpdateAgentPoolRequest.class, - responseType = com.google.storagetransfer.v1.proto.TransferTypes.AgentPool.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.storagetransfer.v1.proto.TransferProto.UpdateAgentPoolRequest, - com.google.storagetransfer.v1.proto.TransferTypes.AgentPool> - getUpdateAgentPoolMethod() { - io.grpc.MethodDescriptor< - com.google.storagetransfer.v1.proto.TransferProto.UpdateAgentPoolRequest, - com.google.storagetransfer.v1.proto.TransferTypes.AgentPool> - getUpdateAgentPoolMethod; - if ((getUpdateAgentPoolMethod = StorageTransferServiceGrpc.getUpdateAgentPoolMethod) == null) { - synchronized (StorageTransferServiceGrpc.class) { - if ((getUpdateAgentPoolMethod = StorageTransferServiceGrpc.getUpdateAgentPoolMethod) - == null) { - StorageTransferServiceGrpc.getUpdateAgentPoolMethod = - getUpdateAgentPoolMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "UpdateAgentPool")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.storagetransfer.v1.proto.TransferProto - .UpdateAgentPoolRequest.getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.storagetransfer.v1.proto.TransferTypes.AgentPool - .getDefaultInstance())) - .setSchemaDescriptor( - new StorageTransferServiceMethodDescriptorSupplier("UpdateAgentPool")) - .build(); - } - } - } - return getUpdateAgentPoolMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.storagetransfer.v1.proto.TransferProto.GetAgentPoolRequest, - com.google.storagetransfer.v1.proto.TransferTypes.AgentPool> - getGetAgentPoolMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "GetAgentPool", - requestType = com.google.storagetransfer.v1.proto.TransferProto.GetAgentPoolRequest.class, - responseType = com.google.storagetransfer.v1.proto.TransferTypes.AgentPool.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.storagetransfer.v1.proto.TransferProto.GetAgentPoolRequest, - com.google.storagetransfer.v1.proto.TransferTypes.AgentPool> - getGetAgentPoolMethod() { - io.grpc.MethodDescriptor< - com.google.storagetransfer.v1.proto.TransferProto.GetAgentPoolRequest, - com.google.storagetransfer.v1.proto.TransferTypes.AgentPool> - getGetAgentPoolMethod; - if ((getGetAgentPoolMethod = StorageTransferServiceGrpc.getGetAgentPoolMethod) == null) { - synchronized (StorageTransferServiceGrpc.class) { - if ((getGetAgentPoolMethod = StorageTransferServiceGrpc.getGetAgentPoolMethod) == null) { - StorageTransferServiceGrpc.getGetAgentPoolMethod = - getGetAgentPoolMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetAgentPool")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.storagetransfer.v1.proto.TransferProto.GetAgentPoolRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.storagetransfer.v1.proto.TransferTypes.AgentPool - .getDefaultInstance())) - .setSchemaDescriptor( - new StorageTransferServiceMethodDescriptorSupplier("GetAgentPool")) - .build(); - } - } - } - return getGetAgentPoolMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.storagetransfer.v1.proto.TransferProto.ListAgentPoolsRequest, - com.google.storagetransfer.v1.proto.TransferProto.ListAgentPoolsResponse> - getListAgentPoolsMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "ListAgentPools", - requestType = com.google.storagetransfer.v1.proto.TransferProto.ListAgentPoolsRequest.class, - responseType = com.google.storagetransfer.v1.proto.TransferProto.ListAgentPoolsResponse.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.storagetransfer.v1.proto.TransferProto.ListAgentPoolsRequest, - com.google.storagetransfer.v1.proto.TransferProto.ListAgentPoolsResponse> - getListAgentPoolsMethod() { - io.grpc.MethodDescriptor< - com.google.storagetransfer.v1.proto.TransferProto.ListAgentPoolsRequest, - com.google.storagetransfer.v1.proto.TransferProto.ListAgentPoolsResponse> - getListAgentPoolsMethod; - if ((getListAgentPoolsMethod = StorageTransferServiceGrpc.getListAgentPoolsMethod) == null) { - synchronized (StorageTransferServiceGrpc.class) { - if ((getListAgentPoolsMethod = StorageTransferServiceGrpc.getListAgentPoolsMethod) - == null) { - StorageTransferServiceGrpc.getListAgentPoolsMethod = - getListAgentPoolsMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListAgentPools")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.storagetransfer.v1.proto.TransferProto - .ListAgentPoolsRequest.getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.storagetransfer.v1.proto.TransferProto - .ListAgentPoolsResponse.getDefaultInstance())) - .setSchemaDescriptor( - new StorageTransferServiceMethodDescriptorSupplier("ListAgentPools")) - .build(); - } - } - } - return getListAgentPoolsMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.storagetransfer.v1.proto.TransferProto.DeleteAgentPoolRequest, - com.google.protobuf.Empty> - getDeleteAgentPoolMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "DeleteAgentPool", - requestType = com.google.storagetransfer.v1.proto.TransferProto.DeleteAgentPoolRequest.class, - responseType = com.google.protobuf.Empty.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.storagetransfer.v1.proto.TransferProto.DeleteAgentPoolRequest, - com.google.protobuf.Empty> - getDeleteAgentPoolMethod() { - io.grpc.MethodDescriptor< - com.google.storagetransfer.v1.proto.TransferProto.DeleteAgentPoolRequest, - com.google.protobuf.Empty> - getDeleteAgentPoolMethod; - if ((getDeleteAgentPoolMethod = StorageTransferServiceGrpc.getDeleteAgentPoolMethod) == null) { - synchronized (StorageTransferServiceGrpc.class) { - if ((getDeleteAgentPoolMethod = StorageTransferServiceGrpc.getDeleteAgentPoolMethod) - == null) { - StorageTransferServiceGrpc.getDeleteAgentPoolMethod = - getDeleteAgentPoolMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "DeleteAgentPool")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.storagetransfer.v1.proto.TransferProto - .DeleteAgentPoolRequest.getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.protobuf.Empty.getDefaultInstance())) - .setSchemaDescriptor( - new StorageTransferServiceMethodDescriptorSupplier("DeleteAgentPool")) - .build(); - } - } - } - return getDeleteAgentPoolMethod; - } - - /** Creates a new async stub that supports all call types for the service */ - public static StorageTransferServiceStub newStub(io.grpc.Channel channel) { - io.grpc.stub.AbstractStub.StubFactory factory = - new io.grpc.stub.AbstractStub.StubFactory() { - @java.lang.Override - public StorageTransferServiceStub newStub( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new StorageTransferServiceStub(channel, callOptions); - } - }; - return StorageTransferServiceStub.newStub(factory, channel); - } - - /** - * Creates a new blocking-style stub that supports unary and streaming output calls on the service - */ - public static StorageTransferServiceBlockingStub newBlockingStub(io.grpc.Channel channel) { - io.grpc.stub.AbstractStub.StubFactory factory = - new io.grpc.stub.AbstractStub.StubFactory() { - @java.lang.Override - public StorageTransferServiceBlockingStub newStub( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new StorageTransferServiceBlockingStub(channel, callOptions); - } - }; - return StorageTransferServiceBlockingStub.newStub(factory, channel); - } - - /** Creates a new ListenableFuture-style stub that supports unary calls on the service */ - public static StorageTransferServiceFutureStub newFutureStub(io.grpc.Channel channel) { - io.grpc.stub.AbstractStub.StubFactory factory = - new io.grpc.stub.AbstractStub.StubFactory() { - @java.lang.Override - public StorageTransferServiceFutureStub newStub( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new StorageTransferServiceFutureStub(channel, callOptions); - } - }; - return StorageTransferServiceFutureStub.newStub(factory, channel); - } - - /** - * - * - *
-   * Storage Transfer Service and its protos.
-   * Transfers data between between Google Cloud Storage buckets or from a data
-   * source external to Google to a Cloud Storage bucket.
-   * 
- */ - public abstract static class StorageTransferServiceImplBase implements io.grpc.BindableService { - - /** - * - * - *
-     * Returns the Google service account that is used by Storage Transfer
-     * Service to access buckets in the project where transfers
-     * run or in other projects. Each Google service account is associated
-     * with one Google Cloud project. Users
-     * should add this service account to the Google Cloud Storage bucket
-     * ACLs to grant access to Storage Transfer Service. This service
-     * account is created and owned by Storage Transfer Service and can
-     * only be used by Storage Transfer Service.
-     * 
- */ - public void getGoogleServiceAccount( - com.google.storagetransfer.v1.proto.TransferProto.GetGoogleServiceAccountRequest request, - io.grpc.stub.StreamObserver< - com.google.storagetransfer.v1.proto.TransferTypes.GoogleServiceAccount> - responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getGetGoogleServiceAccountMethod(), responseObserver); - } - - /** - * - * - *
-     * Creates a transfer job that runs periodically.
-     * 
- */ - public void createTransferJob( - com.google.storagetransfer.v1.proto.TransferProto.CreateTransferJobRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getCreateTransferJobMethod(), responseObserver); - } - - /** - * - * - *
-     * Updates a transfer job. Updating a job's transfer spec does not affect
-     * transfer operations that are running already.
-     * **Note:** The job's [status][google.storagetransfer.v1.TransferJob.status] field can be modified
-     * using this RPC (for example, to set a job's status to
-     * [DELETED][google.storagetransfer.v1.TransferJob.Status.DELETED],
-     * [DISABLED][google.storagetransfer.v1.TransferJob.Status.DISABLED], or
-     * [ENABLED][google.storagetransfer.v1.TransferJob.Status.ENABLED]).
-     * 
- */ - public void updateTransferJob( - com.google.storagetransfer.v1.proto.TransferProto.UpdateTransferJobRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getUpdateTransferJobMethod(), responseObserver); - } - - /** - * - * - *
-     * Gets a transfer job.
-     * 
- */ - public void getTransferJob( - com.google.storagetransfer.v1.proto.TransferProto.GetTransferJobRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getGetTransferJobMethod(), responseObserver); - } - - /** - * - * - *
-     * Lists transfer jobs.
-     * 
- */ - public void listTransferJobs( - com.google.storagetransfer.v1.proto.TransferProto.ListTransferJobsRequest request, - io.grpc.stub.StreamObserver< - com.google.storagetransfer.v1.proto.TransferProto.ListTransferJobsResponse> - responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getListTransferJobsMethod(), responseObserver); - } - - /** - * - * - *
-     * Pauses a transfer operation.
-     * 
- */ - public void pauseTransferOperation( - com.google.storagetransfer.v1.proto.TransferProto.PauseTransferOperationRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getPauseTransferOperationMethod(), responseObserver); - } - - /** - * - * - *
-     * Resumes a transfer operation that is paused.
-     * 
- */ - public void resumeTransferOperation( - com.google.storagetransfer.v1.proto.TransferProto.ResumeTransferOperationRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getResumeTransferOperationMethod(), responseObserver); - } - - /** - * - * - *
-     * Attempts to start a new TransferOperation for the current TransferJob. A
-     * TransferJob has a maximum of one active TransferOperation. If this method
-     * is called while a TransferOperation is active, an error will be returned.
-     * 
- */ - public void runTransferJob( - com.google.storagetransfer.v1.proto.TransferProto.RunTransferJobRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getRunTransferJobMethod(), responseObserver); - } - - /** - * - * - *
-     * Creates an agent pool resource.
-     * 
- */ - public void createAgentPool( - com.google.storagetransfer.v1.proto.TransferProto.CreateAgentPoolRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getCreateAgentPoolMethod(), responseObserver); - } - - /** - * - * - *
-     * Updates an existing agent pool resource.
-     * 
- */ - public void updateAgentPool( - com.google.storagetransfer.v1.proto.TransferProto.UpdateAgentPoolRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getUpdateAgentPoolMethod(), responseObserver); - } - - /** - * - * - *
-     * Gets an agent pool.
-     * 
- */ - public void getAgentPool( - com.google.storagetransfer.v1.proto.TransferProto.GetAgentPoolRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getGetAgentPoolMethod(), responseObserver); - } - - /** - * - * - *
-     * Lists agent pools.
-     * 
- */ - public void listAgentPools( - com.google.storagetransfer.v1.proto.TransferProto.ListAgentPoolsRequest request, - io.grpc.stub.StreamObserver< - com.google.storagetransfer.v1.proto.TransferProto.ListAgentPoolsResponse> - responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getListAgentPoolsMethod(), responseObserver); - } - - /** - * - * - *
-     * Deletes an agent pool.
-     * 
- */ - public void deleteAgentPool( - com.google.storagetransfer.v1.proto.TransferProto.DeleteAgentPoolRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getDeleteAgentPoolMethod(), responseObserver); - } - - @java.lang.Override - public final io.grpc.ServerServiceDefinition bindService() { - return io.grpc.ServerServiceDefinition.builder(getServiceDescriptor()) - .addMethod( - getGetGoogleServiceAccountMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.storagetransfer.v1.proto.TransferProto - .GetGoogleServiceAccountRequest, - com.google.storagetransfer.v1.proto.TransferTypes.GoogleServiceAccount>( - this, METHODID_GET_GOOGLE_SERVICE_ACCOUNT))) - .addMethod( - getCreateTransferJobMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.storagetransfer.v1.proto.TransferProto.CreateTransferJobRequest, - com.google.storagetransfer.v1.proto.TransferTypes.TransferJob>( - this, METHODID_CREATE_TRANSFER_JOB))) - .addMethod( - getUpdateTransferJobMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.storagetransfer.v1.proto.TransferProto.UpdateTransferJobRequest, - com.google.storagetransfer.v1.proto.TransferTypes.TransferJob>( - this, METHODID_UPDATE_TRANSFER_JOB))) - .addMethod( - getGetTransferJobMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.storagetransfer.v1.proto.TransferProto.GetTransferJobRequest, - com.google.storagetransfer.v1.proto.TransferTypes.TransferJob>( - this, METHODID_GET_TRANSFER_JOB))) - .addMethod( - getListTransferJobsMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.storagetransfer.v1.proto.TransferProto.ListTransferJobsRequest, - com.google.storagetransfer.v1.proto.TransferProto.ListTransferJobsResponse>( - this, METHODID_LIST_TRANSFER_JOBS))) - .addMethod( - getPauseTransferOperationMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.storagetransfer.v1.proto.TransferProto - .PauseTransferOperationRequest, - com.google.protobuf.Empty>(this, METHODID_PAUSE_TRANSFER_OPERATION))) - .addMethod( - getResumeTransferOperationMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.storagetransfer.v1.proto.TransferProto - .ResumeTransferOperationRequest, - com.google.protobuf.Empty>(this, METHODID_RESUME_TRANSFER_OPERATION))) - .addMethod( - getRunTransferJobMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.storagetransfer.v1.proto.TransferProto.RunTransferJobRequest, - com.google.longrunning.Operation>(this, METHODID_RUN_TRANSFER_JOB))) - .addMethod( - getCreateAgentPoolMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.storagetransfer.v1.proto.TransferProto.CreateAgentPoolRequest, - com.google.storagetransfer.v1.proto.TransferTypes.AgentPool>( - this, METHODID_CREATE_AGENT_POOL))) - .addMethod( - getUpdateAgentPoolMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.storagetransfer.v1.proto.TransferProto.UpdateAgentPoolRequest, - com.google.storagetransfer.v1.proto.TransferTypes.AgentPool>( - this, METHODID_UPDATE_AGENT_POOL))) - .addMethod( - getGetAgentPoolMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.storagetransfer.v1.proto.TransferProto.GetAgentPoolRequest, - com.google.storagetransfer.v1.proto.TransferTypes.AgentPool>( - this, METHODID_GET_AGENT_POOL))) - .addMethod( - getListAgentPoolsMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.storagetransfer.v1.proto.TransferProto.ListAgentPoolsRequest, - com.google.storagetransfer.v1.proto.TransferProto.ListAgentPoolsResponse>( - this, METHODID_LIST_AGENT_POOLS))) - .addMethod( - getDeleteAgentPoolMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.storagetransfer.v1.proto.TransferProto.DeleteAgentPoolRequest, - com.google.protobuf.Empty>(this, METHODID_DELETE_AGENT_POOL))) - .build(); - } - } - - /** - * - * - *
-   * Storage Transfer Service and its protos.
-   * Transfers data between between Google Cloud Storage buckets or from a data
-   * source external to Google to a Cloud Storage bucket.
-   * 
- */ - public static final class StorageTransferServiceStub - extends io.grpc.stub.AbstractAsyncStub { - private StorageTransferServiceStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - super(channel, callOptions); - } - - @java.lang.Override - protected StorageTransferServiceStub build( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new StorageTransferServiceStub(channel, callOptions); - } - - /** - * - * - *
-     * Returns the Google service account that is used by Storage Transfer
-     * Service to access buckets in the project where transfers
-     * run or in other projects. Each Google service account is associated
-     * with one Google Cloud project. Users
-     * should add this service account to the Google Cloud Storage bucket
-     * ACLs to grant access to Storage Transfer Service. This service
-     * account is created and owned by Storage Transfer Service and can
-     * only be used by Storage Transfer Service.
-     * 
- */ - public void getGoogleServiceAccount( - com.google.storagetransfer.v1.proto.TransferProto.GetGoogleServiceAccountRequest request, - io.grpc.stub.StreamObserver< - com.google.storagetransfer.v1.proto.TransferTypes.GoogleServiceAccount> - responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getGetGoogleServiceAccountMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Creates a transfer job that runs periodically.
-     * 
- */ - public void createTransferJob( - com.google.storagetransfer.v1.proto.TransferProto.CreateTransferJobRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getCreateTransferJobMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Updates a transfer job. Updating a job's transfer spec does not affect
-     * transfer operations that are running already.
-     * **Note:** The job's [status][google.storagetransfer.v1.TransferJob.status] field can be modified
-     * using this RPC (for example, to set a job's status to
-     * [DELETED][google.storagetransfer.v1.TransferJob.Status.DELETED],
-     * [DISABLED][google.storagetransfer.v1.TransferJob.Status.DISABLED], or
-     * [ENABLED][google.storagetransfer.v1.TransferJob.Status.ENABLED]).
-     * 
- */ - public void updateTransferJob( - com.google.storagetransfer.v1.proto.TransferProto.UpdateTransferJobRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getUpdateTransferJobMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Gets a transfer job.
-     * 
- */ - public void getTransferJob( - com.google.storagetransfer.v1.proto.TransferProto.GetTransferJobRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getGetTransferJobMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Lists transfer jobs.
-     * 
- */ - public void listTransferJobs( - com.google.storagetransfer.v1.proto.TransferProto.ListTransferJobsRequest request, - io.grpc.stub.StreamObserver< - com.google.storagetransfer.v1.proto.TransferProto.ListTransferJobsResponse> - responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getListTransferJobsMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Pauses a transfer operation.
-     * 
- */ - public void pauseTransferOperation( - com.google.storagetransfer.v1.proto.TransferProto.PauseTransferOperationRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getPauseTransferOperationMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Resumes a transfer operation that is paused.
-     * 
- */ - public void resumeTransferOperation( - com.google.storagetransfer.v1.proto.TransferProto.ResumeTransferOperationRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getResumeTransferOperationMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Attempts to start a new TransferOperation for the current TransferJob. A
-     * TransferJob has a maximum of one active TransferOperation. If this method
-     * is called while a TransferOperation is active, an error will be returned.
-     * 
- */ - public void runTransferJob( - com.google.storagetransfer.v1.proto.TransferProto.RunTransferJobRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getRunTransferJobMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Creates an agent pool resource.
-     * 
- */ - public void createAgentPool( - com.google.storagetransfer.v1.proto.TransferProto.CreateAgentPoolRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getCreateAgentPoolMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Updates an existing agent pool resource.
-     * 
- */ - public void updateAgentPool( - com.google.storagetransfer.v1.proto.TransferProto.UpdateAgentPoolRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getUpdateAgentPoolMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Gets an agent pool.
-     * 
- */ - public void getAgentPool( - com.google.storagetransfer.v1.proto.TransferProto.GetAgentPoolRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getGetAgentPoolMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Lists agent pools.
-     * 
- */ - public void listAgentPools( - com.google.storagetransfer.v1.proto.TransferProto.ListAgentPoolsRequest request, - io.grpc.stub.StreamObserver< - com.google.storagetransfer.v1.proto.TransferProto.ListAgentPoolsResponse> - responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getListAgentPoolsMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Deletes an agent pool.
-     * 
- */ - public void deleteAgentPool( - com.google.storagetransfer.v1.proto.TransferProto.DeleteAgentPoolRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getDeleteAgentPoolMethod(), getCallOptions()), - request, - responseObserver); - } - } - - /** - * - * - *
-   * Storage Transfer Service and its protos.
-   * Transfers data between between Google Cloud Storage buckets or from a data
-   * source external to Google to a Cloud Storage bucket.
-   * 
- */ - public static final class StorageTransferServiceBlockingStub - extends io.grpc.stub.AbstractBlockingStub { - private StorageTransferServiceBlockingStub( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - super(channel, callOptions); - } - - @java.lang.Override - protected StorageTransferServiceBlockingStub build( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new StorageTransferServiceBlockingStub(channel, callOptions); - } - - /** - * - * - *
-     * Returns the Google service account that is used by Storage Transfer
-     * Service to access buckets in the project where transfers
-     * run or in other projects. Each Google service account is associated
-     * with one Google Cloud project. Users
-     * should add this service account to the Google Cloud Storage bucket
-     * ACLs to grant access to Storage Transfer Service. This service
-     * account is created and owned by Storage Transfer Service and can
-     * only be used by Storage Transfer Service.
-     * 
- */ - public com.google.storagetransfer.v1.proto.TransferTypes.GoogleServiceAccount - getGoogleServiceAccount( - com.google.storagetransfer.v1.proto.TransferProto.GetGoogleServiceAccountRequest - request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getGetGoogleServiceAccountMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Creates a transfer job that runs periodically.
-     * 
- */ - public com.google.storagetransfer.v1.proto.TransferTypes.TransferJob createTransferJob( - com.google.storagetransfer.v1.proto.TransferProto.CreateTransferJobRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getCreateTransferJobMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Updates a transfer job. Updating a job's transfer spec does not affect
-     * transfer operations that are running already.
-     * **Note:** The job's [status][google.storagetransfer.v1.TransferJob.status] field can be modified
-     * using this RPC (for example, to set a job's status to
-     * [DELETED][google.storagetransfer.v1.TransferJob.Status.DELETED],
-     * [DISABLED][google.storagetransfer.v1.TransferJob.Status.DISABLED], or
-     * [ENABLED][google.storagetransfer.v1.TransferJob.Status.ENABLED]).
-     * 
- */ - public com.google.storagetransfer.v1.proto.TransferTypes.TransferJob updateTransferJob( - com.google.storagetransfer.v1.proto.TransferProto.UpdateTransferJobRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getUpdateTransferJobMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Gets a transfer job.
-     * 
- */ - public com.google.storagetransfer.v1.proto.TransferTypes.TransferJob getTransferJob( - com.google.storagetransfer.v1.proto.TransferProto.GetTransferJobRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getGetTransferJobMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Lists transfer jobs.
-     * 
- */ - public com.google.storagetransfer.v1.proto.TransferProto.ListTransferJobsResponse - listTransferJobs( - com.google.storagetransfer.v1.proto.TransferProto.ListTransferJobsRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getListTransferJobsMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Pauses a transfer operation.
-     * 
- */ - public com.google.protobuf.Empty pauseTransferOperation( - com.google.storagetransfer.v1.proto.TransferProto.PauseTransferOperationRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getPauseTransferOperationMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Resumes a transfer operation that is paused.
-     * 
- */ - public com.google.protobuf.Empty resumeTransferOperation( - com.google.storagetransfer.v1.proto.TransferProto.ResumeTransferOperationRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getResumeTransferOperationMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Attempts to start a new TransferOperation for the current TransferJob. A
-     * TransferJob has a maximum of one active TransferOperation. If this method
-     * is called while a TransferOperation is active, an error will be returned.
-     * 
- */ - public com.google.longrunning.Operation runTransferJob( - com.google.storagetransfer.v1.proto.TransferProto.RunTransferJobRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getRunTransferJobMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Creates an agent pool resource.
-     * 
- */ - public com.google.storagetransfer.v1.proto.TransferTypes.AgentPool createAgentPool( - com.google.storagetransfer.v1.proto.TransferProto.CreateAgentPoolRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getCreateAgentPoolMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Updates an existing agent pool resource.
-     * 
- */ - public com.google.storagetransfer.v1.proto.TransferTypes.AgentPool updateAgentPool( - com.google.storagetransfer.v1.proto.TransferProto.UpdateAgentPoolRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getUpdateAgentPoolMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Gets an agent pool.
-     * 
- */ - public com.google.storagetransfer.v1.proto.TransferTypes.AgentPool getAgentPool( - com.google.storagetransfer.v1.proto.TransferProto.GetAgentPoolRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getGetAgentPoolMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Lists agent pools.
-     * 
- */ - public com.google.storagetransfer.v1.proto.TransferProto.ListAgentPoolsResponse listAgentPools( - com.google.storagetransfer.v1.proto.TransferProto.ListAgentPoolsRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getListAgentPoolsMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Deletes an agent pool.
-     * 
- */ - public com.google.protobuf.Empty deleteAgentPool( - com.google.storagetransfer.v1.proto.TransferProto.DeleteAgentPoolRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getDeleteAgentPoolMethod(), getCallOptions(), request); - } - } - - /** - * - * - *
-   * Storage Transfer Service and its protos.
-   * Transfers data between between Google Cloud Storage buckets or from a data
-   * source external to Google to a Cloud Storage bucket.
-   * 
- */ - public static final class StorageTransferServiceFutureStub - extends io.grpc.stub.AbstractFutureStub { - private StorageTransferServiceFutureStub( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - super(channel, callOptions); - } - - @java.lang.Override - protected StorageTransferServiceFutureStub build( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new StorageTransferServiceFutureStub(channel, callOptions); - } - - /** - * - * - *
-     * Returns the Google service account that is used by Storage Transfer
-     * Service to access buckets in the project where transfers
-     * run or in other projects. Each Google service account is associated
-     * with one Google Cloud project. Users
-     * should add this service account to the Google Cloud Storage bucket
-     * ACLs to grant access to Storage Transfer Service. This service
-     * account is created and owned by Storage Transfer Service and can
-     * only be used by Storage Transfer Service.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture< - com.google.storagetransfer.v1.proto.TransferTypes.GoogleServiceAccount> - getGoogleServiceAccount( - com.google.storagetransfer.v1.proto.TransferProto.GetGoogleServiceAccountRequest - request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getGetGoogleServiceAccountMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Creates a transfer job that runs periodically.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture< - com.google.storagetransfer.v1.proto.TransferTypes.TransferJob> - createTransferJob( - com.google.storagetransfer.v1.proto.TransferProto.CreateTransferJobRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getCreateTransferJobMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Updates a transfer job. Updating a job's transfer spec does not affect
-     * transfer operations that are running already.
-     * **Note:** The job's [status][google.storagetransfer.v1.TransferJob.status] field can be modified
-     * using this RPC (for example, to set a job's status to
-     * [DELETED][google.storagetransfer.v1.TransferJob.Status.DELETED],
-     * [DISABLED][google.storagetransfer.v1.TransferJob.Status.DISABLED], or
-     * [ENABLED][google.storagetransfer.v1.TransferJob.Status.ENABLED]).
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture< - com.google.storagetransfer.v1.proto.TransferTypes.TransferJob> - updateTransferJob( - com.google.storagetransfer.v1.proto.TransferProto.UpdateTransferJobRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getUpdateTransferJobMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Gets a transfer job.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture< - com.google.storagetransfer.v1.proto.TransferTypes.TransferJob> - getTransferJob( - com.google.storagetransfer.v1.proto.TransferProto.GetTransferJobRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getGetTransferJobMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Lists transfer jobs.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture< - com.google.storagetransfer.v1.proto.TransferProto.ListTransferJobsResponse> - listTransferJobs( - com.google.storagetransfer.v1.proto.TransferProto.ListTransferJobsRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getListTransferJobsMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Pauses a transfer operation.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture - pauseTransferOperation( - com.google.storagetransfer.v1.proto.TransferProto.PauseTransferOperationRequest - request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getPauseTransferOperationMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Resumes a transfer operation that is paused.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture - resumeTransferOperation( - com.google.storagetransfer.v1.proto.TransferProto.ResumeTransferOperationRequest - request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getResumeTransferOperationMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Attempts to start a new TransferOperation for the current TransferJob. A
-     * TransferJob has a maximum of one active TransferOperation. If this method
-     * is called while a TransferOperation is active, an error will be returned.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture - runTransferJob( - com.google.storagetransfer.v1.proto.TransferProto.RunTransferJobRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getRunTransferJobMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Creates an agent pool resource.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture< - com.google.storagetransfer.v1.proto.TransferTypes.AgentPool> - createAgentPool( - com.google.storagetransfer.v1.proto.TransferProto.CreateAgentPoolRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getCreateAgentPoolMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Updates an existing agent pool resource.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture< - com.google.storagetransfer.v1.proto.TransferTypes.AgentPool> - updateAgentPool( - com.google.storagetransfer.v1.proto.TransferProto.UpdateAgentPoolRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getUpdateAgentPoolMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Gets an agent pool.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture< - com.google.storagetransfer.v1.proto.TransferTypes.AgentPool> - getAgentPool( - com.google.storagetransfer.v1.proto.TransferProto.GetAgentPoolRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getGetAgentPoolMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Lists agent pools.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture< - com.google.storagetransfer.v1.proto.TransferProto.ListAgentPoolsResponse> - listAgentPools( - com.google.storagetransfer.v1.proto.TransferProto.ListAgentPoolsRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getListAgentPoolsMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Deletes an agent pool.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture - deleteAgentPool( - com.google.storagetransfer.v1.proto.TransferProto.DeleteAgentPoolRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getDeleteAgentPoolMethod(), getCallOptions()), request); - } - } - - private static final int METHODID_GET_GOOGLE_SERVICE_ACCOUNT = 0; - private static final int METHODID_CREATE_TRANSFER_JOB = 1; - private static final int METHODID_UPDATE_TRANSFER_JOB = 2; - private static final int METHODID_GET_TRANSFER_JOB = 3; - private static final int METHODID_LIST_TRANSFER_JOBS = 4; - private static final int METHODID_PAUSE_TRANSFER_OPERATION = 5; - private static final int METHODID_RESUME_TRANSFER_OPERATION = 6; - private static final int METHODID_RUN_TRANSFER_JOB = 7; - private static final int METHODID_CREATE_AGENT_POOL = 8; - private static final int METHODID_UPDATE_AGENT_POOL = 9; - private static final int METHODID_GET_AGENT_POOL = 10; - private static final int METHODID_LIST_AGENT_POOLS = 11; - private static final int METHODID_DELETE_AGENT_POOL = 12; - - private static final class MethodHandlers - implements io.grpc.stub.ServerCalls.UnaryMethod, - io.grpc.stub.ServerCalls.ServerStreamingMethod, - io.grpc.stub.ServerCalls.ClientStreamingMethod, - io.grpc.stub.ServerCalls.BidiStreamingMethod { - private final StorageTransferServiceImplBase serviceImpl; - private final int methodId; - - MethodHandlers(StorageTransferServiceImplBase serviceImpl, int methodId) { - this.serviceImpl = serviceImpl; - this.methodId = methodId; - } - - @java.lang.Override - @java.lang.SuppressWarnings("unchecked") - public void invoke(Req request, io.grpc.stub.StreamObserver responseObserver) { - switch (methodId) { - case METHODID_GET_GOOGLE_SERVICE_ACCOUNT: - serviceImpl.getGoogleServiceAccount( - (com.google.storagetransfer.v1.proto.TransferProto.GetGoogleServiceAccountRequest) - request, - (io.grpc.stub.StreamObserver< - com.google.storagetransfer.v1.proto.TransferTypes.GoogleServiceAccount>) - responseObserver); - break; - case METHODID_CREATE_TRANSFER_JOB: - serviceImpl.createTransferJob( - (com.google.storagetransfer.v1.proto.TransferProto.CreateTransferJobRequest) request, - (io.grpc.stub.StreamObserver< - com.google.storagetransfer.v1.proto.TransferTypes.TransferJob>) - responseObserver); - break; - case METHODID_UPDATE_TRANSFER_JOB: - serviceImpl.updateTransferJob( - (com.google.storagetransfer.v1.proto.TransferProto.UpdateTransferJobRequest) request, - (io.grpc.stub.StreamObserver< - com.google.storagetransfer.v1.proto.TransferTypes.TransferJob>) - responseObserver); - break; - case METHODID_GET_TRANSFER_JOB: - serviceImpl.getTransferJob( - (com.google.storagetransfer.v1.proto.TransferProto.GetTransferJobRequest) request, - (io.grpc.stub.StreamObserver< - com.google.storagetransfer.v1.proto.TransferTypes.TransferJob>) - responseObserver); - break; - case METHODID_LIST_TRANSFER_JOBS: - serviceImpl.listTransferJobs( - (com.google.storagetransfer.v1.proto.TransferProto.ListTransferJobsRequest) request, - (io.grpc.stub.StreamObserver< - com.google.storagetransfer.v1.proto.TransferProto.ListTransferJobsResponse>) - responseObserver); - break; - case METHODID_PAUSE_TRANSFER_OPERATION: - serviceImpl.pauseTransferOperation( - (com.google.storagetransfer.v1.proto.TransferProto.PauseTransferOperationRequest) - request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_RESUME_TRANSFER_OPERATION: - serviceImpl.resumeTransferOperation( - (com.google.storagetransfer.v1.proto.TransferProto.ResumeTransferOperationRequest) - request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_RUN_TRANSFER_JOB: - serviceImpl.runTransferJob( - (com.google.storagetransfer.v1.proto.TransferProto.RunTransferJobRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_CREATE_AGENT_POOL: - serviceImpl.createAgentPool( - (com.google.storagetransfer.v1.proto.TransferProto.CreateAgentPoolRequest) request, - (io.grpc.stub.StreamObserver< - com.google.storagetransfer.v1.proto.TransferTypes.AgentPool>) - responseObserver); - break; - case METHODID_UPDATE_AGENT_POOL: - serviceImpl.updateAgentPool( - (com.google.storagetransfer.v1.proto.TransferProto.UpdateAgentPoolRequest) request, - (io.grpc.stub.StreamObserver< - com.google.storagetransfer.v1.proto.TransferTypes.AgentPool>) - responseObserver); - break; - case METHODID_GET_AGENT_POOL: - serviceImpl.getAgentPool( - (com.google.storagetransfer.v1.proto.TransferProto.GetAgentPoolRequest) request, - (io.grpc.stub.StreamObserver< - com.google.storagetransfer.v1.proto.TransferTypes.AgentPool>) - responseObserver); - break; - case METHODID_LIST_AGENT_POOLS: - serviceImpl.listAgentPools( - (com.google.storagetransfer.v1.proto.TransferProto.ListAgentPoolsRequest) request, - (io.grpc.stub.StreamObserver< - com.google.storagetransfer.v1.proto.TransferProto.ListAgentPoolsResponse>) - responseObserver); - break; - case METHODID_DELETE_AGENT_POOL: - serviceImpl.deleteAgentPool( - (com.google.storagetransfer.v1.proto.TransferProto.DeleteAgentPoolRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - default: - throw new AssertionError(); - } - } - - @java.lang.Override - @java.lang.SuppressWarnings("unchecked") - public io.grpc.stub.StreamObserver invoke( - io.grpc.stub.StreamObserver responseObserver) { - switch (methodId) { - default: - throw new AssertionError(); - } - } - } - - private abstract static class StorageTransferServiceBaseDescriptorSupplier - implements io.grpc.protobuf.ProtoFileDescriptorSupplier, - io.grpc.protobuf.ProtoServiceDescriptorSupplier { - StorageTransferServiceBaseDescriptorSupplier() {} - - @java.lang.Override - public com.google.protobuf.Descriptors.FileDescriptor getFileDescriptor() { - return com.google.storagetransfer.v1.proto.TransferProto.getDescriptor(); - } - - @java.lang.Override - public com.google.protobuf.Descriptors.ServiceDescriptor getServiceDescriptor() { - return getFileDescriptor().findServiceByName("StorageTransferService"); - } - } - - private static final class StorageTransferServiceFileDescriptorSupplier - extends StorageTransferServiceBaseDescriptorSupplier { - StorageTransferServiceFileDescriptorSupplier() {} - } - - private static final class StorageTransferServiceMethodDescriptorSupplier - extends StorageTransferServiceBaseDescriptorSupplier - implements io.grpc.protobuf.ProtoMethodDescriptorSupplier { - private final String methodName; - - StorageTransferServiceMethodDescriptorSupplier(String methodName) { - this.methodName = methodName; - } - - @java.lang.Override - public com.google.protobuf.Descriptors.MethodDescriptor getMethodDescriptor() { - return getServiceDescriptor().findMethodByName(methodName); - } - } - - private static volatile io.grpc.ServiceDescriptor serviceDescriptor; - - public static io.grpc.ServiceDescriptor getServiceDescriptor() { - io.grpc.ServiceDescriptor result = serviceDescriptor; - if (result == null) { - synchronized (StorageTransferServiceGrpc.class) { - result = serviceDescriptor; - if (result == null) { - serviceDescriptor = - result = - io.grpc.ServiceDescriptor.newBuilder(SERVICE_NAME) - .setSchemaDescriptor(new StorageTransferServiceFileDescriptorSupplier()) - .addMethod(getGetGoogleServiceAccountMethod()) - .addMethod(getCreateTransferJobMethod()) - .addMethod(getUpdateTransferJobMethod()) - .addMethod(getGetTransferJobMethod()) - .addMethod(getListTransferJobsMethod()) - .addMethod(getPauseTransferOperationMethod()) - .addMethod(getResumeTransferOperationMethod()) - .addMethod(getRunTransferJobMethod()) - .addMethod(getCreateAgentPoolMethod()) - .addMethod(getUpdateAgentPoolMethod()) - .addMethod(getGetAgentPoolMethod()) - .addMethod(getListAgentPoolsMethod()) - .addMethod(getDeleteAgentPoolMethod()) - .build(); - } - } - } - return result; - } -} diff --git a/google-cloud-storage-transfer/src/main/java/com/google/storagetransfer/v1/proto/StorageTransferServiceClient.java b/owl-bot-staging/v1/google-cloud-storage-transfer/src/main/java/com/google/storagetransfer/v1/proto/StorageTransferServiceClient.java similarity index 96% rename from google-cloud-storage-transfer/src/main/java/com/google/storagetransfer/v1/proto/StorageTransferServiceClient.java rename to owl-bot-staging/v1/google-cloud-storage-transfer/src/main/java/com/google/storagetransfer/v1/proto/StorageTransferServiceClient.java index fcfc3bf..370e7bb 100644 --- a/google-cloud-storage-transfer/src/main/java/com/google/storagetransfer/v1/proto/StorageTransferServiceClient.java +++ b/owl-bot-staging/v1/google-cloud-storage-transfer/src/main/java/com/google/storagetransfer/v1/proto/StorageTransferServiceClient.java @@ -810,6 +810,69 @@ public final OperationFuture runTransfer return stub.runTransferJobCallable(); } + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Deletes a transfer job. Deleting a transfer job sets its status to + * [DELETED][google.storagetransfer.v1.TransferJob.Status.DELETED]. + * + *

Sample code: + * + *

{@code
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+   * try (StorageTransferServiceClient storageTransferServiceClient =
+   *     StorageTransferServiceClient.create()) {
+   *   TransferProto.DeleteTransferJobRequest request =
+   *       TransferProto.DeleteTransferJobRequest.newBuilder()
+   *           .setJobName("jobName-1438096408")
+   *           .setProjectId("projectId-894832108")
+   *           .build();
+   *   storageTransferServiceClient.deleteTransferJob(request);
+   * }
+   * }
+ * + * @param request The request object containing all of the parameters for the API call. + * @throws com.google.api.gax.rpc.ApiException if the remote call fails + */ + public final void deleteTransferJob(TransferProto.DeleteTransferJobRequest request) { + deleteTransferJobCallable().call(request); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Deletes a transfer job. Deleting a transfer job sets its status to + * [DELETED][google.storagetransfer.v1.TransferJob.Status.DELETED]. + * + *

Sample code: + * + *

{@code
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+   * try (StorageTransferServiceClient storageTransferServiceClient =
+   *     StorageTransferServiceClient.create()) {
+   *   TransferProto.DeleteTransferJobRequest request =
+   *       TransferProto.DeleteTransferJobRequest.newBuilder()
+   *           .setJobName("jobName-1438096408")
+   *           .setProjectId("projectId-894832108")
+   *           .build();
+   *   ApiFuture future =
+   *       storageTransferServiceClient.deleteTransferJobCallable().futureCall(request);
+   *   // Do something.
+   *   future.get();
+   * }
+   * }
+ */ + public final UnaryCallable + deleteTransferJobCallable() { + return stub.deleteTransferJobCallable(); + } + // AUTO-GENERATED DOCUMENTATION AND METHOD. /** * Creates an agent pool resource. diff --git a/google-cloud-storage-transfer/src/main/java/com/google/storagetransfer/v1/proto/StorageTransferServiceSettings.java b/owl-bot-staging/v1/google-cloud-storage-transfer/src/main/java/com/google/storagetransfer/v1/proto/StorageTransferServiceSettings.java similarity index 96% rename from google-cloud-storage-transfer/src/main/java/com/google/storagetransfer/v1/proto/StorageTransferServiceSettings.java rename to owl-bot-staging/v1/google-cloud-storage-transfer/src/main/java/com/google/storagetransfer/v1/proto/StorageTransferServiceSettings.java index 836ccd5..094655c 100644 --- a/google-cloud-storage-transfer/src/main/java/com/google/storagetransfer/v1/proto/StorageTransferServiceSettings.java +++ b/owl-bot-staging/v1/google-cloud-storage-transfer/src/main/java/com/google/storagetransfer/v1/proto/StorageTransferServiceSettings.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.longrunning.Operation; @@ -144,6 +145,12 @@ public class StorageTransferServiceSettings extends ClientSettings + deleteTransferJobSettings() { + return ((StorageTransferServiceStubSettings) getStubSettings()).deleteTransferJobSettings(); + } + /** Returns the object with the settings used for calls to createAgentPool. */ public UnaryCallSettings createAgentPoolSettings() { @@ -353,6 +360,12 @@ public Builder applyToAllUnaryMethods( return getStubSettingsBuilder().runTransferJobOperationSettings(); } + /** Returns the builder for the settings used for calls to deleteTransferJob. */ + public UnaryCallSettings.Builder + deleteTransferJobSettings() { + return getStubSettingsBuilder().deleteTransferJobSettings(); + } + /** Returns the builder for the settings used for calls to createAgentPool. */ public UnaryCallSettings.Builder createAgentPoolSettings() { diff --git a/google-cloud-storage-transfer/src/main/java/com/google/storagetransfer/v1/proto/gapic_metadata.json b/owl-bot-staging/v1/google-cloud-storage-transfer/src/main/java/com/google/storagetransfer/v1/proto/gapic_metadata.json similarity index 94% rename from google-cloud-storage-transfer/src/main/java/com/google/storagetransfer/v1/proto/gapic_metadata.json rename to owl-bot-staging/v1/google-cloud-storage-transfer/src/main/java/com/google/storagetransfer/v1/proto/gapic_metadata.json index 154f2a8..375ebc5 100644 --- a/google-cloud-storage-transfer/src/main/java/com/google/storagetransfer/v1/proto/gapic_metadata.json +++ b/owl-bot-staging/v1/google-cloud-storage-transfer/src/main/java/com/google/storagetransfer/v1/proto/gapic_metadata.json @@ -19,6 +19,9 @@ "DeleteAgentPool": { "methods": ["deleteAgentPool", "deleteAgentPool", "deleteAgentPoolCallable"] }, + "DeleteTransferJob": { + "methods": ["deleteTransferJob", "deleteTransferJobCallable"] + }, "GetAgentPool": { "methods": ["getAgentPool", "getAgentPool", "getAgentPoolCallable"] }, diff --git a/google-cloud-storage-transfer/src/main/java/com/google/storagetransfer/v1/proto/package-info.java b/owl-bot-staging/v1/google-cloud-storage-transfer/src/main/java/com/google/storagetransfer/v1/proto/package-info.java similarity index 100% rename from google-cloud-storage-transfer/src/main/java/com/google/storagetransfer/v1/proto/package-info.java rename to owl-bot-staging/v1/google-cloud-storage-transfer/src/main/java/com/google/storagetransfer/v1/proto/package-info.java diff --git a/google-cloud-storage-transfer/src/main/java/com/google/storagetransfer/v1/proto/stub/GrpcStorageTransferServiceCallableFactory.java b/owl-bot-staging/v1/google-cloud-storage-transfer/src/main/java/com/google/storagetransfer/v1/proto/stub/GrpcStorageTransferServiceCallableFactory.java similarity index 100% rename from google-cloud-storage-transfer/src/main/java/com/google/storagetransfer/v1/proto/stub/GrpcStorageTransferServiceCallableFactory.java rename to owl-bot-staging/v1/google-cloud-storage-transfer/src/main/java/com/google/storagetransfer/v1/proto/stub/GrpcStorageTransferServiceCallableFactory.java diff --git a/google-cloud-storage-transfer/src/main/java/com/google/storagetransfer/v1/proto/stub/GrpcStorageTransferServiceStub.java b/owl-bot-staging/v1/google-cloud-storage-transfer/src/main/java/com/google/storagetransfer/v1/proto/stub/GrpcStorageTransferServiceStub.java similarity index 94% rename from google-cloud-storage-transfer/src/main/java/com/google/storagetransfer/v1/proto/stub/GrpcStorageTransferServiceStub.java rename to owl-bot-staging/v1/google-cloud-storage-transfer/src/main/java/com/google/storagetransfer/v1/proto/stub/GrpcStorageTransferServiceStub.java index b387c74..7db2d8c 100644 --- a/google-cloud-storage-transfer/src/main/java/com/google/storagetransfer/v1/proto/stub/GrpcStorageTransferServiceStub.java +++ b/owl-bot-staging/v1/google-cloud-storage-transfer/src/main/java/com/google/storagetransfer/v1/proto/stub/GrpcStorageTransferServiceStub.java @@ -35,6 +35,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; @@ -155,6 +156,18 @@ public class GrpcStorageTransferServiceStub extends StorageTransferServiceStub { .setResponseMarshaller(ProtoUtils.marshaller(Operation.getDefaultInstance())) .build(); + private static final MethodDescriptor + deleteTransferJobMethodDescriptor = + MethodDescriptor.newBuilder() + .setType(MethodDescriptor.MethodType.UNARY) + .setFullMethodName( + "google.storagetransfer.v1.StorageTransferService/DeleteTransferJob") + .setRequestMarshaller( + ProtoUtils.marshaller( + TransferProto.DeleteTransferJobRequest.getDefaultInstance())) + .setResponseMarshaller(ProtoUtils.marshaller(Empty.getDefaultInstance())) + .build(); + private static final MethodDescriptor< TransferProto.CreateAgentPoolRequest, TransferTypes.AgentPool> createAgentPoolMethodDescriptor = @@ -239,6 +252,8 @@ public class GrpcStorageTransferServiceStub extends StorageTransferServiceStub { private final OperationCallable< TransferProto.RunTransferJobRequest, Empty, TransferTypes.TransferOperation> runTransferJobOperationCallable; + private final UnaryCallable + deleteTransferJobCallable; private final UnaryCallable createAgentPoolCallable; private final UnaryCallable @@ -380,6 +395,17 @@ protected GrpcStorageTransferServiceStub( return params.build(); }) .build(); + GrpcCallSettings + deleteTransferJobTransportSettings = + GrpcCallSettings.newBuilder() + .setMethodDescriptor(deleteTransferJobMethodDescriptor) + .setParamsExtractor( + request -> { + ImmutableMap.Builder params = ImmutableMap.builder(); + params.put("job_name", String.valueOf(request.getJobName())); + return params.build(); + }) + .build(); GrpcCallSettings createAgentPoolTransportSettings = GrpcCallSettings @@ -484,6 +510,11 @@ protected GrpcStorageTransferServiceStub( settings.runTransferJobOperationSettings(), clientContext, operationsStub); + this.deleteTransferJobCallable = + callableFactory.createUnaryCallable( + deleteTransferJobTransportSettings, + settings.deleteTransferJobSettings(), + clientContext); this.createAgentPoolCallable = callableFactory.createUnaryCallable( createAgentPoolTransportSettings, settings.createAgentPoolSettings(), clientContext); @@ -573,6 +604,11 @@ public UnaryCallable runTransfer return runTransferJobOperationCallable; } + @Override + public UnaryCallable deleteTransferJobCallable() { + return deleteTransferJobCallable; + } + @Override public UnaryCallable createAgentPoolCallable() { diff --git a/google-cloud-storage-transfer/src/main/java/com/google/storagetransfer/v1/proto/stub/HttpJsonStorageTransferServiceCallableFactory.java b/owl-bot-staging/v1/google-cloud-storage-transfer/src/main/java/com/google/storagetransfer/v1/proto/stub/HttpJsonStorageTransferServiceCallableFactory.java similarity index 100% rename from google-cloud-storage-transfer/src/main/java/com/google/storagetransfer/v1/proto/stub/HttpJsonStorageTransferServiceCallableFactory.java rename to owl-bot-staging/v1/google-cloud-storage-transfer/src/main/java/com/google/storagetransfer/v1/proto/stub/HttpJsonStorageTransferServiceCallableFactory.java diff --git a/google-cloud-storage-transfer/src/main/java/com/google/storagetransfer/v1/proto/stub/HttpJsonStorageTransferServiceStub.java b/owl-bot-staging/v1/google-cloud-storage-transfer/src/main/java/com/google/storagetransfer/v1/proto/stub/HttpJsonStorageTransferServiceStub.java similarity index 94% rename from google-cloud-storage-transfer/src/main/java/com/google/storagetransfer/v1/proto/stub/HttpJsonStorageTransferServiceStub.java rename to owl-bot-staging/v1/google-cloud-storage-transfer/src/main/java/com/google/storagetransfer/v1/proto/stub/HttpJsonStorageTransferServiceStub.java index 71716f8..7664cec 100644 --- a/google-cloud-storage-transfer/src/main/java/com/google/storagetransfer/v1/proto/stub/HttpJsonStorageTransferServiceStub.java +++ b/owl-bot-staging/v1/google-cloud-storage-transfer/src/main/java/com/google/storagetransfer/v1/proto/stub/HttpJsonStorageTransferServiceStub.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; @@ -368,6 +369,41 @@ public class HttpJsonStorageTransferServiceStub extends StorageTransferServiceSt HttpJsonOperationSnapshot.create(response)) .build(); + private static final ApiMethodDescriptor + deleteTransferJobMethodDescriptor = + ApiMethodDescriptor.newBuilder() + .setFullMethodName( + "google.storagetransfer.v1.StorageTransferService/DeleteTransferJob") + .setHttpMethod("DELETE") + .setType(ApiMethodDescriptor.MethodType.UNARY) + .setRequestFormatter( + ProtoMessageRequestFormatter.newBuilder() + .setPath( + "/v1/{jobName=transferJobs/**}", + request -> { + Map fields = new HashMap<>(); + ProtoRestSerializer serializer = + ProtoRestSerializer.create(); + serializer.putPathParam(fields, "jobName", request.getJobName()); + return fields; + }) + .setQueryParamsExtractor( + request -> { + Map> fields = new HashMap<>(); + ProtoRestSerializer serializer = + ProtoRestSerializer.create(); + serializer.putQueryParam(fields, "projectId", request.getProjectId()); + return fields; + }) + .setRequestBodyExtractor(request -> null) + .build()) + .setResponseParser( + ProtoMessageResponseParser.newBuilder() + .setDefaultInstance(Empty.getDefaultInstance()) + .setDefaultTypeRegistry(typeRegistry) + .build()) + .build(); + private static final ApiMethodDescriptor< TransferProto.CreateAgentPoolRequest, TransferTypes.AgentPool> createAgentPoolMethodDescriptor = @@ -578,6 +614,8 @@ public class HttpJsonStorageTransferServiceStub extends StorageTransferServiceSt private final OperationCallable< TransferProto.RunTransferJobRequest, Empty, TransferTypes.TransferOperation> runTransferJobOperationCallable; + private final UnaryCallable + deleteTransferJobCallable; private final UnaryCallable createAgentPoolCallable; private final UnaryCallable @@ -695,6 +733,12 @@ protected HttpJsonStorageTransferServiceStub( .setMethodDescriptor(runTransferJobMethodDescriptor) .setTypeRegistry(typeRegistry) .build(); + HttpJsonCallSettings + deleteTransferJobTransportSettings = + HttpJsonCallSettings.newBuilder() + .setMethodDescriptor(deleteTransferJobMethodDescriptor) + .setTypeRegistry(typeRegistry) + .build(); HttpJsonCallSettings createAgentPoolTransportSettings = HttpJsonCallSettings @@ -774,6 +818,11 @@ protected HttpJsonStorageTransferServiceStub( settings.runTransferJobOperationSettings(), clientContext, httpJsonOperationsStub); + this.deleteTransferJobCallable = + callableFactory.createUnaryCallable( + deleteTransferJobTransportSettings, + settings.deleteTransferJobSettings(), + clientContext); this.createAgentPoolCallable = callableFactory.createUnaryCallable( createAgentPoolTransportSettings, settings.createAgentPoolSettings(), clientContext); @@ -808,6 +857,7 @@ public static List getMethodDescriptors() { methodDescriptors.add(pauseTransferOperationMethodDescriptor); methodDescriptors.add(resumeTransferOperationMethodDescriptor); methodDescriptors.add(runTransferJobMethodDescriptor); + methodDescriptors.add(deleteTransferJobMethodDescriptor); methodDescriptors.add(createAgentPoolMethodDescriptor); methodDescriptors.add(updateAgentPoolMethodDescriptor); methodDescriptors.add(getAgentPoolMethodDescriptor); @@ -882,6 +932,11 @@ public UnaryCallable runTransfer return runTransferJobOperationCallable; } + @Override + public UnaryCallable deleteTransferJobCallable() { + return deleteTransferJobCallable; + } + @Override public UnaryCallable createAgentPoolCallable() { diff --git a/google-cloud-storage-transfer/src/main/java/com/google/storagetransfer/v1/proto/stub/StorageTransferServiceStub.java b/owl-bot-staging/v1/google-cloud-storage-transfer/src/main/java/com/google/storagetransfer/v1/proto/stub/StorageTransferServiceStub.java similarity index 96% rename from google-cloud-storage-transfer/src/main/java/com/google/storagetransfer/v1/proto/stub/StorageTransferServiceStub.java rename to owl-bot-staging/v1/google-cloud-storage-transfer/src/main/java/com/google/storagetransfer/v1/proto/stub/StorageTransferServiceStub.java index 40dfa9e..2a31e84 100644 --- a/google-cloud-storage-transfer/src/main/java/com/google/storagetransfer/v1/proto/stub/StorageTransferServiceStub.java +++ b/owl-bot-staging/v1/google-cloud-storage-transfer/src/main/java/com/google/storagetransfer/v1/proto/stub/StorageTransferServiceStub.java @@ -98,6 +98,10 @@ public UnaryCallable runTransfer throw new UnsupportedOperationException("Not implemented: runTransferJobCallable()"); } + public UnaryCallable deleteTransferJobCallable() { + throw new UnsupportedOperationException("Not implemented: deleteTransferJobCallable()"); + } + public UnaryCallable createAgentPoolCallable() { throw new UnsupportedOperationException("Not implemented: createAgentPoolCallable()"); diff --git a/google-cloud-storage-transfer/src/main/java/com/google/storagetransfer/v1/proto/stub/StorageTransferServiceStubSettings.java b/owl-bot-staging/v1/google-cloud-storage-transfer/src/main/java/com/google/storagetransfer/v1/proto/stub/StorageTransferServiceStubSettings.java similarity index 89% rename from google-cloud-storage-transfer/src/main/java/com/google/storagetransfer/v1/proto/stub/StorageTransferServiceStubSettings.java rename to owl-bot-staging/v1/google-cloud-storage-transfer/src/main/java/com/google/storagetransfer/v1/proto/stub/StorageTransferServiceStubSettings.java index fbe46e7..7720b2e 100644 --- a/google-cloud-storage-transfer/src/main/java/com/google/storagetransfer/v1/proto/stub/StorageTransferServiceStubSettings.java +++ b/owl-bot-staging/v1/google-cloud-storage-transfer/src/main/java/com/google/storagetransfer/v1/proto/stub/StorageTransferServiceStubSettings.java @@ -130,6 +130,8 @@ public class StorageTransferServiceStubSettings private final OperationCallSettings< TransferProto.RunTransferJobRequest, Empty, TransferTypes.TransferOperation> runTransferJobOperationSettings; + private final UnaryCallSettings + deleteTransferJobSettings; private final UnaryCallSettings createAgentPoolSettings; private final UnaryCallSettings @@ -358,6 +360,12 @@ public ApiFuture getFuturePagedResponse( return runTransferJobOperationSettings; } + /** Returns the object with the settings used for calls to deleteTransferJob. */ + public UnaryCallSettings + deleteTransferJobSettings() { + return deleteTransferJobSettings; + } + /** Returns the object with the settings used for calls to createAgentPool. */ public UnaryCallSettings createAgentPoolSettings() { @@ -505,6 +513,7 @@ protected StorageTransferServiceStubSettings(Builder settingsBuilder) throws IOE resumeTransferOperationSettings = settingsBuilder.resumeTransferOperationSettings().build(); runTransferJobSettings = settingsBuilder.runTransferJobSettings().build(); runTransferJobOperationSettings = settingsBuilder.runTransferJobOperationSettings().build(); + deleteTransferJobSettings = settingsBuilder.deleteTransferJobSettings().build(); createAgentPoolSettings = settingsBuilder.createAgentPoolSettings().build(); updateAgentPoolSettings = settingsBuilder.updateAgentPoolSettings().build(); getAgentPoolSettings = settingsBuilder.getAgentPoolSettings().build(); @@ -542,6 +551,8 @@ public static class Builder private final OperationCallSettings.Builder< TransferProto.RunTransferJobRequest, Empty, TransferTypes.TransferOperation> runTransferJobOperationSettings; + private final UnaryCallSettings.Builder + deleteTransferJobSettings; private final UnaryCallSettings.Builder< TransferProto.CreateAgentPoolRequest, TransferTypes.AgentPool> createAgentPoolSettings; @@ -565,7 +576,10 @@ public static class Builder ImmutableMap.Builder> definitions = ImmutableMap.builder(); definitions.put( - "no_retry_0_codes", ImmutableSet.copyOf(Lists.newArrayList())); + "retry_policy_0_codes", + ImmutableSet.copyOf(Lists.newArrayList(StatusCode.Code.UNAVAILABLE))); + definitions.put( + "no_retry_1_codes", ImmutableSet.copyOf(Lists.newArrayList())); RETRYABLE_CODE_DEFINITIONS = definitions.build(); } @@ -576,12 +590,23 @@ public static class Builder RetrySettings settings = null; settings = RetrySettings.newBuilder() - .setInitialRpcTimeout(Duration.ofMillis(30000L)) + .setInitialRetryDelay(Duration.ofMillis(1000L)) + .setRetryDelayMultiplier(2.0) + .setMaxRetryDelay(Duration.ofMillis(60000L)) + .setInitialRpcTimeout(Duration.ofMillis(60000L)) .setRpcTimeoutMultiplier(1.0) - .setMaxRpcTimeout(Duration.ofMillis(30000L)) - .setTotalTimeout(Duration.ofMillis(30000L)) + .setMaxRpcTimeout(Duration.ofMillis(60000L)) + .setTotalTimeout(Duration.ofMillis(60000L)) .build(); - definitions.put("no_retry_0_params", settings); + definitions.put("retry_policy_0_params", settings); + settings = + RetrySettings.newBuilder() + .setInitialRpcTimeout(Duration.ofMillis(60000L)) + .setRpcTimeoutMultiplier(1.0) + .setMaxRpcTimeout(Duration.ofMillis(60000L)) + .setTotalTimeout(Duration.ofMillis(60000L)) + .build(); + definitions.put("no_retry_1_params", settings); RETRY_PARAM_DEFINITIONS = definitions.build(); } @@ -601,6 +626,7 @@ protected Builder(ClientContext clientContext) { resumeTransferOperationSettings = UnaryCallSettings.newUnaryCallSettingsBuilder(); runTransferJobSettings = UnaryCallSettings.newUnaryCallSettingsBuilder(); runTransferJobOperationSettings = OperationCallSettings.newBuilder(); + deleteTransferJobSettings = UnaryCallSettings.newUnaryCallSettingsBuilder(); createAgentPoolSettings = UnaryCallSettings.newUnaryCallSettingsBuilder(); updateAgentPoolSettings = UnaryCallSettings.newUnaryCallSettingsBuilder(); getAgentPoolSettings = UnaryCallSettings.newUnaryCallSettingsBuilder(); @@ -617,6 +643,7 @@ protected Builder(ClientContext clientContext) { pauseTransferOperationSettings, resumeTransferOperationSettings, runTransferJobSettings, + deleteTransferJobSettings, createAgentPoolSettings, updateAgentPoolSettings, getAgentPoolSettings, @@ -637,6 +664,7 @@ protected Builder(StorageTransferServiceStubSettings settings) { resumeTransferOperationSettings = settings.resumeTransferOperationSettings.toBuilder(); runTransferJobSettings = settings.runTransferJobSettings.toBuilder(); runTransferJobOperationSettings = settings.runTransferJobOperationSettings.toBuilder(); + deleteTransferJobSettings = settings.deleteTransferJobSettings.toBuilder(); createAgentPoolSettings = settings.createAgentPoolSettings.toBuilder(); updateAgentPoolSettings = settings.updateAgentPoolSettings.toBuilder(); getAgentPoolSettings = settings.getAgentPoolSettings.toBuilder(); @@ -653,6 +681,7 @@ protected Builder(StorageTransferServiceStubSettings settings) { pauseTransferOperationSettings, resumeTransferOperationSettings, runTransferJobSettings, + deleteTransferJobSettings, createAgentPoolSettings, updateAgentPoolSettings, getAgentPoolSettings, @@ -689,68 +718,73 @@ private static Builder createHttpJsonDefault() { private static Builder initDefaults(Builder builder) { builder .getGoogleServiceAccountSettings() - .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("no_retry_0_codes")) - .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("no_retry_0_params")); + .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("retry_policy_0_codes")) + .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("retry_policy_0_params")); builder .createTransferJobSettings() - .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("no_retry_0_codes")) - .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("no_retry_0_params")); + .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("no_retry_1_codes")) + .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("no_retry_1_params")); builder .updateTransferJobSettings() - .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("no_retry_0_codes")) - .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("no_retry_0_params")); + .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("retry_policy_0_codes")) + .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("retry_policy_0_params")); builder .getTransferJobSettings() - .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("no_retry_0_codes")) - .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("no_retry_0_params")); + .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("retry_policy_0_codes")) + .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("retry_policy_0_params")); builder .listTransferJobsSettings() - .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("no_retry_0_codes")) - .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("no_retry_0_params")); + .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("retry_policy_0_codes")) + .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("retry_policy_0_params")); builder .pauseTransferOperationSettings() - .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("no_retry_0_codes")) - .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("no_retry_0_params")); + .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("retry_policy_0_codes")) + .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("retry_policy_0_params")); builder .resumeTransferOperationSettings() - .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("no_retry_0_codes")) - .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("no_retry_0_params")); + .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("retry_policy_0_codes")) + .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("retry_policy_0_params")); builder .runTransferJobSettings() - .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("no_retry_0_codes")) - .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("no_retry_0_params")); + .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("retry_policy_0_codes")) + .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("retry_policy_0_params")); + + builder + .deleteTransferJobSettings() + .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("retry_policy_0_codes")) + .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("retry_policy_0_params")); builder .createAgentPoolSettings() - .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("no_retry_0_codes")) - .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("no_retry_0_params")); + .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("retry_policy_0_codes")) + .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("retry_policy_0_params")); builder .updateAgentPoolSettings() - .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("no_retry_0_codes")) - .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("no_retry_0_params")); + .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("retry_policy_0_codes")) + .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("retry_policy_0_params")); builder .getAgentPoolSettings() - .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("no_retry_0_codes")) - .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("no_retry_0_params")); + .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("retry_policy_0_codes")) + .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("retry_policy_0_params")); builder .listAgentPoolsSettings() - .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("no_retry_0_codes")) - .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("no_retry_0_params")); + .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("retry_policy_0_codes")) + .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("retry_policy_0_params")); builder .deleteAgentPoolSettings() - .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("no_retry_0_codes")) - .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("no_retry_0_params")); + .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("retry_policy_0_codes")) + .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("retry_policy_0_params")); builder .runTransferJobOperationSettings() @@ -758,8 +792,8 @@ private static Builder initDefaults(Builder builder) { UnaryCallSettings . newUnaryCallSettingsBuilder() - .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("no_retry_0_codes")) - .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("no_retry_0_params")) + .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("retry_policy_0_codes")) + .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("retry_policy_0_params")) .build()) .setResponseTransformer( ProtoOperationTransformers.ResponseTransformer.create(Empty.class)) @@ -859,6 +893,12 @@ public Builder applyToAllUnaryMethods( return runTransferJobOperationSettings; } + /** Returns the builder for the settings used for calls to deleteTransferJob. */ + public UnaryCallSettings.Builder + deleteTransferJobSettings() { + return deleteTransferJobSettings; + } + /** Returns the builder for the settings used for calls to createAgentPool. */ public UnaryCallSettings.Builder createAgentPoolSettings() { diff --git a/google-cloud-storage-transfer/src/test/java/com/google/storagetransfer/v1/proto/MockStorageTransferService.java b/owl-bot-staging/v1/google-cloud-storage-transfer/src/test/java/com/google/storagetransfer/v1/proto/MockStorageTransferService.java similarity index 100% rename from google-cloud-storage-transfer/src/test/java/com/google/storagetransfer/v1/proto/MockStorageTransferService.java rename to owl-bot-staging/v1/google-cloud-storage-transfer/src/test/java/com/google/storagetransfer/v1/proto/MockStorageTransferService.java diff --git a/google-cloud-storage-transfer/src/test/java/com/google/storagetransfer/v1/proto/MockStorageTransferServiceImpl.java b/owl-bot-staging/v1/google-cloud-storage-transfer/src/test/java/com/google/storagetransfer/v1/proto/MockStorageTransferServiceImpl.java similarity index 94% rename from google-cloud-storage-transfer/src/test/java/com/google/storagetransfer/v1/proto/MockStorageTransferServiceImpl.java rename to owl-bot-staging/v1/google-cloud-storage-transfer/src/test/java/com/google/storagetransfer/v1/proto/MockStorageTransferServiceImpl.java index aac8bc0..c63afa0 100644 --- a/google-cloud-storage-transfer/src/test/java/com/google/storagetransfer/v1/proto/MockStorageTransferServiceImpl.java +++ b/owl-bot-staging/v1/google-cloud-storage-transfer/src/test/java/com/google/storagetransfer/v1/proto/MockStorageTransferServiceImpl.java @@ -234,6 +234,27 @@ public void runTransferJob( } } + @Override + public void deleteTransferJob( + TransferProto.DeleteTransferJobRequest request, StreamObserver responseObserver) { + Object response = responses.poll(); + if (response instanceof Empty) { + requests.add(request); + responseObserver.onNext(((Empty) response)); + responseObserver.onCompleted(); + } else if (response instanceof Exception) { + responseObserver.onError(((Exception) response)); + } else { + responseObserver.onError( + new IllegalArgumentException( + String.format( + "Unrecognized response type %s for method DeleteTransferJob, expected %s or %s", + response == null ? "null" : response.getClass().getName(), + Empty.class.getName(), + Exception.class.getName()))); + } + } + @Override public void createAgentPool( TransferProto.CreateAgentPoolRequest request, diff --git a/google-cloud-storage-transfer/src/test/java/com/google/storagetransfer/v1/proto/StorageTransferServiceClientHttpJsonTest.java b/owl-bot-staging/v1/google-cloud-storage-transfer/src/test/java/com/google/storagetransfer/v1/proto/StorageTransferServiceClientHttpJsonTest.java similarity index 94% rename from google-cloud-storage-transfer/src/test/java/com/google/storagetransfer/v1/proto/StorageTransferServiceClientHttpJsonTest.java rename to owl-bot-staging/v1/google-cloud-storage-transfer/src/test/java/com/google/storagetransfer/v1/proto/StorageTransferServiceClientHttpJsonTest.java index 2a66f3d..ef4c286 100644 --- a/google-cloud-storage-transfer/src/test/java/com/google/storagetransfer/v1/proto/StorageTransferServiceClientHttpJsonTest.java +++ b/owl-bot-staging/v1/google-cloud-storage-transfer/src/test/java/com/google/storagetransfer/v1/proto/StorageTransferServiceClientHttpJsonTest.java @@ -526,6 +526,54 @@ public void runTransferJobExceptionTest() throws Exception { } } + @Test + public void deleteTransferJobTest() throws Exception { + Empty expectedResponse = Empty.newBuilder().build(); + mockService.addResponse(expectedResponse); + + TransferProto.DeleteTransferJobRequest request = + TransferProto.DeleteTransferJobRequest.newBuilder() + .setJobName("transferJobs/transferJob-1286") + .setProjectId("projectId-894832108") + .build(); + + client.deleteTransferJob(request); + + List actualRequests = mockService.getRequestPaths(); + Assert.assertEquals(1, actualRequests.size()); + + String apiClientHeaderKey = + mockService + .getRequestHeaders() + .get(ApiClientHeaderProvider.getDefaultApiClientHeaderKey()) + .iterator() + .next(); + Assert.assertTrue( + GaxHttpJsonProperties.getDefaultApiClientHeaderPattern() + .matcher(apiClientHeaderKey) + .matches()); + } + + @Test + public void deleteTransferJobExceptionTest() throws Exception { + ApiException exception = + ApiExceptionFactory.createException( + new Exception(), FakeStatusCode.of(StatusCode.Code.INVALID_ARGUMENT), false); + mockService.addException(exception); + + try { + TransferProto.DeleteTransferJobRequest request = + TransferProto.DeleteTransferJobRequest.newBuilder() + .setJobName("transferJobs/transferJob-1286") + .setProjectId("projectId-894832108") + .build(); + client.deleteTransferJob(request); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } + @Test public void createAgentPoolTest() throws Exception { TransferTypes.AgentPool expectedResponse = diff --git a/google-cloud-storage-transfer/src/test/java/com/google/storagetransfer/v1/proto/StorageTransferServiceClientTest.java b/owl-bot-staging/v1/google-cloud-storage-transfer/src/test/java/com/google/storagetransfer/v1/proto/StorageTransferServiceClientTest.java similarity index 94% rename from google-cloud-storage-transfer/src/test/java/com/google/storagetransfer/v1/proto/StorageTransferServiceClientTest.java rename to owl-bot-staging/v1/google-cloud-storage-transfer/src/test/java/com/google/storagetransfer/v1/proto/StorageTransferServiceClientTest.java index 1eb464e..bc9a31b 100644 --- a/google-cloud-storage-transfer/src/test/java/com/google/storagetransfer/v1/proto/StorageTransferServiceClientTest.java +++ b/owl-bot-staging/v1/google-cloud-storage-transfer/src/test/java/com/google/storagetransfer/v1/proto/StorageTransferServiceClientTest.java @@ -494,6 +494,50 @@ public void runTransferJobExceptionTest() throws Exception { } } + @Test + public void deleteTransferJobTest() throws Exception { + Empty expectedResponse = Empty.newBuilder().build(); + mockStorageTransferService.addResponse(expectedResponse); + + TransferProto.DeleteTransferJobRequest request = + TransferProto.DeleteTransferJobRequest.newBuilder() + .setJobName("jobName-1438096408") + .setProjectId("projectId-894832108") + .build(); + + client.deleteTransferJob(request); + + List actualRequests = mockStorageTransferService.getRequests(); + Assert.assertEquals(1, actualRequests.size()); + TransferProto.DeleteTransferJobRequest actualRequest = + ((TransferProto.DeleteTransferJobRequest) actualRequests.get(0)); + + Assert.assertEquals(request.getJobName(), actualRequest.getJobName()); + Assert.assertEquals(request.getProjectId(), actualRequest.getProjectId()); + Assert.assertTrue( + channelProvider.isHeaderSent( + ApiClientHeaderProvider.getDefaultApiClientHeaderKey(), + GaxGrpcProperties.getDefaultApiClientHeaderPattern())); + } + + @Test + public void deleteTransferJobExceptionTest() throws Exception { + StatusRuntimeException exception = new StatusRuntimeException(io.grpc.Status.INVALID_ARGUMENT); + mockStorageTransferService.addException(exception); + + try { + TransferProto.DeleteTransferJobRequest request = + TransferProto.DeleteTransferJobRequest.newBuilder() + .setJobName("jobName-1438096408") + .setProjectId("projectId-894832108") + .build(); + client.deleteTransferJob(request); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } + @Test public void createAgentPoolTest() throws Exception { TransferTypes.AgentPool expectedResponse = diff --git a/owl-bot-staging/v1/grpc-google-cloud-storage-transfer-v1/src/main/java/com/google/storagetransfer/v1/proto/StorageTransferServiceGrpc.java b/owl-bot-staging/v1/grpc-google-cloud-storage-transfer-v1/src/main/java/com/google/storagetransfer/v1/proto/StorageTransferServiceGrpc.java new file mode 100644 index 0000000..ed8fba4 --- /dev/null +++ b/owl-bot-staging/v1/grpc-google-cloud-storage-transfer-v1/src/main/java/com/google/storagetransfer/v1/proto/StorageTransferServiceGrpc.java @@ -0,0 +1,1495 @@ +package com.google.storagetransfer.v1.proto; + +import static io.grpc.MethodDescriptor.generateFullMethodName; + +/** + *
+ * Storage Transfer Service and its protos.
+ * Transfers data between between Google Cloud Storage buckets or from a data
+ * source external to Google to a Cloud Storage bucket.
+ * 
+ */ +@javax.annotation.Generated( + value = "by gRPC proto compiler", + comments = "Source: google/storagetransfer/v1/transfer.proto") +@io.grpc.stub.annotations.GrpcGenerated +public final class StorageTransferServiceGrpc { + + private StorageTransferServiceGrpc() {} + + public static final String SERVICE_NAME = "google.storagetransfer.v1.StorageTransferService"; + + // Static method descriptors that strictly reflect the proto. + private static volatile io.grpc.MethodDescriptor getGetGoogleServiceAccountMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "GetGoogleServiceAccount", + requestType = com.google.storagetransfer.v1.proto.TransferProto.GetGoogleServiceAccountRequest.class, + responseType = com.google.storagetransfer.v1.proto.TransferTypes.GoogleServiceAccount.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getGetGoogleServiceAccountMethod() { + io.grpc.MethodDescriptor getGetGoogleServiceAccountMethod; + if ((getGetGoogleServiceAccountMethod = StorageTransferServiceGrpc.getGetGoogleServiceAccountMethod) == null) { + synchronized (StorageTransferServiceGrpc.class) { + if ((getGetGoogleServiceAccountMethod = StorageTransferServiceGrpc.getGetGoogleServiceAccountMethod) == null) { + StorageTransferServiceGrpc.getGetGoogleServiceAccountMethod = getGetGoogleServiceAccountMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetGoogleServiceAccount")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.storagetransfer.v1.proto.TransferProto.GetGoogleServiceAccountRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.storagetransfer.v1.proto.TransferTypes.GoogleServiceAccount.getDefaultInstance())) + .setSchemaDescriptor(new StorageTransferServiceMethodDescriptorSupplier("GetGoogleServiceAccount")) + .build(); + } + } + } + return getGetGoogleServiceAccountMethod; + } + + private static volatile io.grpc.MethodDescriptor getCreateTransferJobMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "CreateTransferJob", + requestType = com.google.storagetransfer.v1.proto.TransferProto.CreateTransferJobRequest.class, + responseType = com.google.storagetransfer.v1.proto.TransferTypes.TransferJob.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getCreateTransferJobMethod() { + io.grpc.MethodDescriptor getCreateTransferJobMethod; + if ((getCreateTransferJobMethod = StorageTransferServiceGrpc.getCreateTransferJobMethod) == null) { + synchronized (StorageTransferServiceGrpc.class) { + if ((getCreateTransferJobMethod = StorageTransferServiceGrpc.getCreateTransferJobMethod) == null) { + StorageTransferServiceGrpc.getCreateTransferJobMethod = getCreateTransferJobMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "CreateTransferJob")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.storagetransfer.v1.proto.TransferProto.CreateTransferJobRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.storagetransfer.v1.proto.TransferTypes.TransferJob.getDefaultInstance())) + .setSchemaDescriptor(new StorageTransferServiceMethodDescriptorSupplier("CreateTransferJob")) + .build(); + } + } + } + return getCreateTransferJobMethod; + } + + private static volatile io.grpc.MethodDescriptor getUpdateTransferJobMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "UpdateTransferJob", + requestType = com.google.storagetransfer.v1.proto.TransferProto.UpdateTransferJobRequest.class, + responseType = com.google.storagetransfer.v1.proto.TransferTypes.TransferJob.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getUpdateTransferJobMethod() { + io.grpc.MethodDescriptor getUpdateTransferJobMethod; + if ((getUpdateTransferJobMethod = StorageTransferServiceGrpc.getUpdateTransferJobMethod) == null) { + synchronized (StorageTransferServiceGrpc.class) { + if ((getUpdateTransferJobMethod = StorageTransferServiceGrpc.getUpdateTransferJobMethod) == null) { + StorageTransferServiceGrpc.getUpdateTransferJobMethod = getUpdateTransferJobMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "UpdateTransferJob")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.storagetransfer.v1.proto.TransferProto.UpdateTransferJobRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.storagetransfer.v1.proto.TransferTypes.TransferJob.getDefaultInstance())) + .setSchemaDescriptor(new StorageTransferServiceMethodDescriptorSupplier("UpdateTransferJob")) + .build(); + } + } + } + return getUpdateTransferJobMethod; + } + + private static volatile io.grpc.MethodDescriptor getGetTransferJobMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "GetTransferJob", + requestType = com.google.storagetransfer.v1.proto.TransferProto.GetTransferJobRequest.class, + responseType = com.google.storagetransfer.v1.proto.TransferTypes.TransferJob.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getGetTransferJobMethod() { + io.grpc.MethodDescriptor getGetTransferJobMethod; + if ((getGetTransferJobMethod = StorageTransferServiceGrpc.getGetTransferJobMethod) == null) { + synchronized (StorageTransferServiceGrpc.class) { + if ((getGetTransferJobMethod = StorageTransferServiceGrpc.getGetTransferJobMethod) == null) { + StorageTransferServiceGrpc.getGetTransferJobMethod = getGetTransferJobMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetTransferJob")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.storagetransfer.v1.proto.TransferProto.GetTransferJobRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.storagetransfer.v1.proto.TransferTypes.TransferJob.getDefaultInstance())) + .setSchemaDescriptor(new StorageTransferServiceMethodDescriptorSupplier("GetTransferJob")) + .build(); + } + } + } + return getGetTransferJobMethod; + } + + private static volatile io.grpc.MethodDescriptor getListTransferJobsMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "ListTransferJobs", + requestType = com.google.storagetransfer.v1.proto.TransferProto.ListTransferJobsRequest.class, + responseType = com.google.storagetransfer.v1.proto.TransferProto.ListTransferJobsResponse.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getListTransferJobsMethod() { + io.grpc.MethodDescriptor getListTransferJobsMethod; + if ((getListTransferJobsMethod = StorageTransferServiceGrpc.getListTransferJobsMethod) == null) { + synchronized (StorageTransferServiceGrpc.class) { + if ((getListTransferJobsMethod = StorageTransferServiceGrpc.getListTransferJobsMethod) == null) { + StorageTransferServiceGrpc.getListTransferJobsMethod = getListTransferJobsMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListTransferJobs")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.storagetransfer.v1.proto.TransferProto.ListTransferJobsRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.storagetransfer.v1.proto.TransferProto.ListTransferJobsResponse.getDefaultInstance())) + .setSchemaDescriptor(new StorageTransferServiceMethodDescriptorSupplier("ListTransferJobs")) + .build(); + } + } + } + return getListTransferJobsMethod; + } + + private static volatile io.grpc.MethodDescriptor getPauseTransferOperationMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "PauseTransferOperation", + requestType = com.google.storagetransfer.v1.proto.TransferProto.PauseTransferOperationRequest.class, + responseType = com.google.protobuf.Empty.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getPauseTransferOperationMethod() { + io.grpc.MethodDescriptor getPauseTransferOperationMethod; + if ((getPauseTransferOperationMethod = StorageTransferServiceGrpc.getPauseTransferOperationMethod) == null) { + synchronized (StorageTransferServiceGrpc.class) { + if ((getPauseTransferOperationMethod = StorageTransferServiceGrpc.getPauseTransferOperationMethod) == null) { + StorageTransferServiceGrpc.getPauseTransferOperationMethod = getPauseTransferOperationMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "PauseTransferOperation")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.storagetransfer.v1.proto.TransferProto.PauseTransferOperationRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.protobuf.Empty.getDefaultInstance())) + .setSchemaDescriptor(new StorageTransferServiceMethodDescriptorSupplier("PauseTransferOperation")) + .build(); + } + } + } + return getPauseTransferOperationMethod; + } + + private static volatile io.grpc.MethodDescriptor getResumeTransferOperationMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "ResumeTransferOperation", + requestType = com.google.storagetransfer.v1.proto.TransferProto.ResumeTransferOperationRequest.class, + responseType = com.google.protobuf.Empty.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getResumeTransferOperationMethod() { + io.grpc.MethodDescriptor getResumeTransferOperationMethod; + if ((getResumeTransferOperationMethod = StorageTransferServiceGrpc.getResumeTransferOperationMethod) == null) { + synchronized (StorageTransferServiceGrpc.class) { + if ((getResumeTransferOperationMethod = StorageTransferServiceGrpc.getResumeTransferOperationMethod) == null) { + StorageTransferServiceGrpc.getResumeTransferOperationMethod = getResumeTransferOperationMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ResumeTransferOperation")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.storagetransfer.v1.proto.TransferProto.ResumeTransferOperationRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.protobuf.Empty.getDefaultInstance())) + .setSchemaDescriptor(new StorageTransferServiceMethodDescriptorSupplier("ResumeTransferOperation")) + .build(); + } + } + } + return getResumeTransferOperationMethod; + } + + private static volatile io.grpc.MethodDescriptor getRunTransferJobMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "RunTransferJob", + requestType = com.google.storagetransfer.v1.proto.TransferProto.RunTransferJobRequest.class, + responseType = com.google.longrunning.Operation.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getRunTransferJobMethod() { + io.grpc.MethodDescriptor getRunTransferJobMethod; + if ((getRunTransferJobMethod = StorageTransferServiceGrpc.getRunTransferJobMethod) == null) { + synchronized (StorageTransferServiceGrpc.class) { + if ((getRunTransferJobMethod = StorageTransferServiceGrpc.getRunTransferJobMethod) == null) { + StorageTransferServiceGrpc.getRunTransferJobMethod = getRunTransferJobMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "RunTransferJob")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.storagetransfer.v1.proto.TransferProto.RunTransferJobRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.longrunning.Operation.getDefaultInstance())) + .setSchemaDescriptor(new StorageTransferServiceMethodDescriptorSupplier("RunTransferJob")) + .build(); + } + } + } + return getRunTransferJobMethod; + } + + private static volatile io.grpc.MethodDescriptor getDeleteTransferJobMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "DeleteTransferJob", + requestType = com.google.storagetransfer.v1.proto.TransferProto.DeleteTransferJobRequest.class, + responseType = com.google.protobuf.Empty.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getDeleteTransferJobMethod() { + io.grpc.MethodDescriptor getDeleteTransferJobMethod; + if ((getDeleteTransferJobMethod = StorageTransferServiceGrpc.getDeleteTransferJobMethod) == null) { + synchronized (StorageTransferServiceGrpc.class) { + if ((getDeleteTransferJobMethod = StorageTransferServiceGrpc.getDeleteTransferJobMethod) == null) { + StorageTransferServiceGrpc.getDeleteTransferJobMethod = getDeleteTransferJobMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "DeleteTransferJob")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.storagetransfer.v1.proto.TransferProto.DeleteTransferJobRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.protobuf.Empty.getDefaultInstance())) + .setSchemaDescriptor(new StorageTransferServiceMethodDescriptorSupplier("DeleteTransferJob")) + .build(); + } + } + } + return getDeleteTransferJobMethod; + } + + private static volatile io.grpc.MethodDescriptor getCreateAgentPoolMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "CreateAgentPool", + requestType = com.google.storagetransfer.v1.proto.TransferProto.CreateAgentPoolRequest.class, + responseType = com.google.storagetransfer.v1.proto.TransferTypes.AgentPool.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getCreateAgentPoolMethod() { + io.grpc.MethodDescriptor getCreateAgentPoolMethod; + if ((getCreateAgentPoolMethod = StorageTransferServiceGrpc.getCreateAgentPoolMethod) == null) { + synchronized (StorageTransferServiceGrpc.class) { + if ((getCreateAgentPoolMethod = StorageTransferServiceGrpc.getCreateAgentPoolMethod) == null) { + StorageTransferServiceGrpc.getCreateAgentPoolMethod = getCreateAgentPoolMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "CreateAgentPool")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.storagetransfer.v1.proto.TransferProto.CreateAgentPoolRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.storagetransfer.v1.proto.TransferTypes.AgentPool.getDefaultInstance())) + .setSchemaDescriptor(new StorageTransferServiceMethodDescriptorSupplier("CreateAgentPool")) + .build(); + } + } + } + return getCreateAgentPoolMethod; + } + + private static volatile io.grpc.MethodDescriptor getUpdateAgentPoolMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "UpdateAgentPool", + requestType = com.google.storagetransfer.v1.proto.TransferProto.UpdateAgentPoolRequest.class, + responseType = com.google.storagetransfer.v1.proto.TransferTypes.AgentPool.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getUpdateAgentPoolMethod() { + io.grpc.MethodDescriptor getUpdateAgentPoolMethod; + if ((getUpdateAgentPoolMethod = StorageTransferServiceGrpc.getUpdateAgentPoolMethod) == null) { + synchronized (StorageTransferServiceGrpc.class) { + if ((getUpdateAgentPoolMethod = StorageTransferServiceGrpc.getUpdateAgentPoolMethod) == null) { + StorageTransferServiceGrpc.getUpdateAgentPoolMethod = getUpdateAgentPoolMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "UpdateAgentPool")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.storagetransfer.v1.proto.TransferProto.UpdateAgentPoolRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.storagetransfer.v1.proto.TransferTypes.AgentPool.getDefaultInstance())) + .setSchemaDescriptor(new StorageTransferServiceMethodDescriptorSupplier("UpdateAgentPool")) + .build(); + } + } + } + return getUpdateAgentPoolMethod; + } + + private static volatile io.grpc.MethodDescriptor getGetAgentPoolMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "GetAgentPool", + requestType = com.google.storagetransfer.v1.proto.TransferProto.GetAgentPoolRequest.class, + responseType = com.google.storagetransfer.v1.proto.TransferTypes.AgentPool.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getGetAgentPoolMethod() { + io.grpc.MethodDescriptor getGetAgentPoolMethod; + if ((getGetAgentPoolMethod = StorageTransferServiceGrpc.getGetAgentPoolMethod) == null) { + synchronized (StorageTransferServiceGrpc.class) { + if ((getGetAgentPoolMethod = StorageTransferServiceGrpc.getGetAgentPoolMethod) == null) { + StorageTransferServiceGrpc.getGetAgentPoolMethod = getGetAgentPoolMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetAgentPool")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.storagetransfer.v1.proto.TransferProto.GetAgentPoolRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.storagetransfer.v1.proto.TransferTypes.AgentPool.getDefaultInstance())) + .setSchemaDescriptor(new StorageTransferServiceMethodDescriptorSupplier("GetAgentPool")) + .build(); + } + } + } + return getGetAgentPoolMethod; + } + + private static volatile io.grpc.MethodDescriptor getListAgentPoolsMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "ListAgentPools", + requestType = com.google.storagetransfer.v1.proto.TransferProto.ListAgentPoolsRequest.class, + responseType = com.google.storagetransfer.v1.proto.TransferProto.ListAgentPoolsResponse.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getListAgentPoolsMethod() { + io.grpc.MethodDescriptor getListAgentPoolsMethod; + if ((getListAgentPoolsMethod = StorageTransferServiceGrpc.getListAgentPoolsMethod) == null) { + synchronized (StorageTransferServiceGrpc.class) { + if ((getListAgentPoolsMethod = StorageTransferServiceGrpc.getListAgentPoolsMethod) == null) { + StorageTransferServiceGrpc.getListAgentPoolsMethod = getListAgentPoolsMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListAgentPools")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.storagetransfer.v1.proto.TransferProto.ListAgentPoolsRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.storagetransfer.v1.proto.TransferProto.ListAgentPoolsResponse.getDefaultInstance())) + .setSchemaDescriptor(new StorageTransferServiceMethodDescriptorSupplier("ListAgentPools")) + .build(); + } + } + } + return getListAgentPoolsMethod; + } + + private static volatile io.grpc.MethodDescriptor getDeleteAgentPoolMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "DeleteAgentPool", + requestType = com.google.storagetransfer.v1.proto.TransferProto.DeleteAgentPoolRequest.class, + responseType = com.google.protobuf.Empty.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getDeleteAgentPoolMethod() { + io.grpc.MethodDescriptor getDeleteAgentPoolMethod; + if ((getDeleteAgentPoolMethod = StorageTransferServiceGrpc.getDeleteAgentPoolMethod) == null) { + synchronized (StorageTransferServiceGrpc.class) { + if ((getDeleteAgentPoolMethod = StorageTransferServiceGrpc.getDeleteAgentPoolMethod) == null) { + StorageTransferServiceGrpc.getDeleteAgentPoolMethod = getDeleteAgentPoolMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "DeleteAgentPool")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.storagetransfer.v1.proto.TransferProto.DeleteAgentPoolRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.protobuf.Empty.getDefaultInstance())) + .setSchemaDescriptor(new StorageTransferServiceMethodDescriptorSupplier("DeleteAgentPool")) + .build(); + } + } + } + return getDeleteAgentPoolMethod; + } + + /** + * Creates a new async stub that supports all call types for the service + */ + public static StorageTransferServiceStub newStub(io.grpc.Channel channel) { + io.grpc.stub.AbstractStub.StubFactory factory = + new io.grpc.stub.AbstractStub.StubFactory() { + @java.lang.Override + public StorageTransferServiceStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new StorageTransferServiceStub(channel, callOptions); + } + }; + return StorageTransferServiceStub.newStub(factory, channel); + } + + /** + * Creates a new blocking-style stub that supports unary and streaming output calls on the service + */ + public static StorageTransferServiceBlockingStub newBlockingStub( + io.grpc.Channel channel) { + io.grpc.stub.AbstractStub.StubFactory factory = + new io.grpc.stub.AbstractStub.StubFactory() { + @java.lang.Override + public StorageTransferServiceBlockingStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new StorageTransferServiceBlockingStub(channel, callOptions); + } + }; + return StorageTransferServiceBlockingStub.newStub(factory, channel); + } + + /** + * Creates a new ListenableFuture-style stub that supports unary calls on the service + */ + public static StorageTransferServiceFutureStub newFutureStub( + io.grpc.Channel channel) { + io.grpc.stub.AbstractStub.StubFactory factory = + new io.grpc.stub.AbstractStub.StubFactory() { + @java.lang.Override + public StorageTransferServiceFutureStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new StorageTransferServiceFutureStub(channel, callOptions); + } + }; + return StorageTransferServiceFutureStub.newStub(factory, channel); + } + + /** + *
+   * Storage Transfer Service and its protos.
+   * Transfers data between between Google Cloud Storage buckets or from a data
+   * source external to Google to a Cloud Storage bucket.
+   * 
+ */ + public static abstract class StorageTransferServiceImplBase implements io.grpc.BindableService { + + /** + *
+     * Returns the Google service account that is used by Storage Transfer
+     * Service to access buckets in the project where transfers
+     * run or in other projects. Each Google service account is associated
+     * with one Google Cloud project. Users
+     * should add this service account to the Google Cloud Storage bucket
+     * ACLs to grant access to Storage Transfer Service. This service
+     * account is created and owned by Storage Transfer Service and can
+     * only be used by Storage Transfer Service.
+     * 
+ */ + public void getGoogleServiceAccount(com.google.storagetransfer.v1.proto.TransferProto.GetGoogleServiceAccountRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetGoogleServiceAccountMethod(), responseObserver); + } + + /** + *
+     * Creates a transfer job that runs periodically.
+     * 
+ */ + public void createTransferJob(com.google.storagetransfer.v1.proto.TransferProto.CreateTransferJobRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getCreateTransferJobMethod(), responseObserver); + } + + /** + *
+     * Updates a transfer job. Updating a job's transfer spec does not affect
+     * transfer operations that are running already.
+     * **Note:** The job's [status][google.storagetransfer.v1.TransferJob.status] field can be modified
+     * using this RPC (for example, to set a job's status to
+     * [DELETED][google.storagetransfer.v1.TransferJob.Status.DELETED],
+     * [DISABLED][google.storagetransfer.v1.TransferJob.Status.DISABLED], or
+     * [ENABLED][google.storagetransfer.v1.TransferJob.Status.ENABLED]).
+     * 
+ */ + public void updateTransferJob(com.google.storagetransfer.v1.proto.TransferProto.UpdateTransferJobRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getUpdateTransferJobMethod(), responseObserver); + } + + /** + *
+     * Gets a transfer job.
+     * 
+ */ + public void getTransferJob(com.google.storagetransfer.v1.proto.TransferProto.GetTransferJobRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetTransferJobMethod(), responseObserver); + } + + /** + *
+     * Lists transfer jobs.
+     * 
+ */ + public void listTransferJobs(com.google.storagetransfer.v1.proto.TransferProto.ListTransferJobsRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getListTransferJobsMethod(), responseObserver); + } + + /** + *
+     * Pauses a transfer operation.
+     * 
+ */ + public void pauseTransferOperation(com.google.storagetransfer.v1.proto.TransferProto.PauseTransferOperationRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getPauseTransferOperationMethod(), responseObserver); + } + + /** + *
+     * Resumes a transfer operation that is paused.
+     * 
+ */ + public void resumeTransferOperation(com.google.storagetransfer.v1.proto.TransferProto.ResumeTransferOperationRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getResumeTransferOperationMethod(), responseObserver); + } + + /** + *
+     * Attempts to start a new TransferOperation for the current TransferJob. A
+     * TransferJob has a maximum of one active TransferOperation. If this method
+     * is called while a TransferOperation is active, an error will be returned.
+     * 
+ */ + public void runTransferJob(com.google.storagetransfer.v1.proto.TransferProto.RunTransferJobRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getRunTransferJobMethod(), responseObserver); + } + + /** + *
+     * Deletes a transfer job. Deleting a transfer job sets its status to
+     * [DELETED][google.storagetransfer.v1.TransferJob.Status.DELETED].
+     * 
+ */ + public void deleteTransferJob(com.google.storagetransfer.v1.proto.TransferProto.DeleteTransferJobRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getDeleteTransferJobMethod(), responseObserver); + } + + /** + *
+     * Creates an agent pool resource.
+     * 
+ */ + public void createAgentPool(com.google.storagetransfer.v1.proto.TransferProto.CreateAgentPoolRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getCreateAgentPoolMethod(), responseObserver); + } + + /** + *
+     * Updates an existing agent pool resource.
+     * 
+ */ + public void updateAgentPool(com.google.storagetransfer.v1.proto.TransferProto.UpdateAgentPoolRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getUpdateAgentPoolMethod(), responseObserver); + } + + /** + *
+     * Gets an agent pool.
+     * 
+ */ + public void getAgentPool(com.google.storagetransfer.v1.proto.TransferProto.GetAgentPoolRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetAgentPoolMethod(), responseObserver); + } + + /** + *
+     * Lists agent pools.
+     * 
+ */ + public void listAgentPools(com.google.storagetransfer.v1.proto.TransferProto.ListAgentPoolsRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getListAgentPoolsMethod(), responseObserver); + } + + /** + *
+     * Deletes an agent pool.
+     * 
+ */ + public void deleteAgentPool(com.google.storagetransfer.v1.proto.TransferProto.DeleteAgentPoolRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getDeleteAgentPoolMethod(), responseObserver); + } + + @java.lang.Override public final io.grpc.ServerServiceDefinition bindService() { + return io.grpc.ServerServiceDefinition.builder(getServiceDescriptor()) + .addMethod( + getGetGoogleServiceAccountMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.storagetransfer.v1.proto.TransferProto.GetGoogleServiceAccountRequest, + com.google.storagetransfer.v1.proto.TransferTypes.GoogleServiceAccount>( + this, METHODID_GET_GOOGLE_SERVICE_ACCOUNT))) + .addMethod( + getCreateTransferJobMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.storagetransfer.v1.proto.TransferProto.CreateTransferJobRequest, + com.google.storagetransfer.v1.proto.TransferTypes.TransferJob>( + this, METHODID_CREATE_TRANSFER_JOB))) + .addMethod( + getUpdateTransferJobMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.storagetransfer.v1.proto.TransferProto.UpdateTransferJobRequest, + com.google.storagetransfer.v1.proto.TransferTypes.TransferJob>( + this, METHODID_UPDATE_TRANSFER_JOB))) + .addMethod( + getGetTransferJobMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.storagetransfer.v1.proto.TransferProto.GetTransferJobRequest, + com.google.storagetransfer.v1.proto.TransferTypes.TransferJob>( + this, METHODID_GET_TRANSFER_JOB))) + .addMethod( + getListTransferJobsMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.storagetransfer.v1.proto.TransferProto.ListTransferJobsRequest, + com.google.storagetransfer.v1.proto.TransferProto.ListTransferJobsResponse>( + this, METHODID_LIST_TRANSFER_JOBS))) + .addMethod( + getPauseTransferOperationMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.storagetransfer.v1.proto.TransferProto.PauseTransferOperationRequest, + com.google.protobuf.Empty>( + this, METHODID_PAUSE_TRANSFER_OPERATION))) + .addMethod( + getResumeTransferOperationMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.storagetransfer.v1.proto.TransferProto.ResumeTransferOperationRequest, + com.google.protobuf.Empty>( + this, METHODID_RESUME_TRANSFER_OPERATION))) + .addMethod( + getRunTransferJobMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.storagetransfer.v1.proto.TransferProto.RunTransferJobRequest, + com.google.longrunning.Operation>( + this, METHODID_RUN_TRANSFER_JOB))) + .addMethod( + getDeleteTransferJobMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.storagetransfer.v1.proto.TransferProto.DeleteTransferJobRequest, + com.google.protobuf.Empty>( + this, METHODID_DELETE_TRANSFER_JOB))) + .addMethod( + getCreateAgentPoolMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.storagetransfer.v1.proto.TransferProto.CreateAgentPoolRequest, + com.google.storagetransfer.v1.proto.TransferTypes.AgentPool>( + this, METHODID_CREATE_AGENT_POOL))) + .addMethod( + getUpdateAgentPoolMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.storagetransfer.v1.proto.TransferProto.UpdateAgentPoolRequest, + com.google.storagetransfer.v1.proto.TransferTypes.AgentPool>( + this, METHODID_UPDATE_AGENT_POOL))) + .addMethod( + getGetAgentPoolMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.storagetransfer.v1.proto.TransferProto.GetAgentPoolRequest, + com.google.storagetransfer.v1.proto.TransferTypes.AgentPool>( + this, METHODID_GET_AGENT_POOL))) + .addMethod( + getListAgentPoolsMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.storagetransfer.v1.proto.TransferProto.ListAgentPoolsRequest, + com.google.storagetransfer.v1.proto.TransferProto.ListAgentPoolsResponse>( + this, METHODID_LIST_AGENT_POOLS))) + .addMethod( + getDeleteAgentPoolMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.storagetransfer.v1.proto.TransferProto.DeleteAgentPoolRequest, + com.google.protobuf.Empty>( + this, METHODID_DELETE_AGENT_POOL))) + .build(); + } + } + + /** + *
+   * Storage Transfer Service and its protos.
+   * Transfers data between between Google Cloud Storage buckets or from a data
+   * source external to Google to a Cloud Storage bucket.
+   * 
+ */ + public static final class StorageTransferServiceStub extends io.grpc.stub.AbstractAsyncStub { + private StorageTransferServiceStub( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + super(channel, callOptions); + } + + @java.lang.Override + protected StorageTransferServiceStub build( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new StorageTransferServiceStub(channel, callOptions); + } + + /** + *
+     * Returns the Google service account that is used by Storage Transfer
+     * Service to access buckets in the project where transfers
+     * run or in other projects. Each Google service account is associated
+     * with one Google Cloud project. Users
+     * should add this service account to the Google Cloud Storage bucket
+     * ACLs to grant access to Storage Transfer Service. This service
+     * account is created and owned by Storage Transfer Service and can
+     * only be used by Storage Transfer Service.
+     * 
+ */ + public void getGoogleServiceAccount(com.google.storagetransfer.v1.proto.TransferProto.GetGoogleServiceAccountRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getGetGoogleServiceAccountMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Creates a transfer job that runs periodically.
+     * 
+ */ + public void createTransferJob(com.google.storagetransfer.v1.proto.TransferProto.CreateTransferJobRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getCreateTransferJobMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Updates a transfer job. Updating a job's transfer spec does not affect
+     * transfer operations that are running already.
+     * **Note:** The job's [status][google.storagetransfer.v1.TransferJob.status] field can be modified
+     * using this RPC (for example, to set a job's status to
+     * [DELETED][google.storagetransfer.v1.TransferJob.Status.DELETED],
+     * [DISABLED][google.storagetransfer.v1.TransferJob.Status.DISABLED], or
+     * [ENABLED][google.storagetransfer.v1.TransferJob.Status.ENABLED]).
+     * 
+ */ + public void updateTransferJob(com.google.storagetransfer.v1.proto.TransferProto.UpdateTransferJobRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getUpdateTransferJobMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Gets a transfer job.
+     * 
+ */ + public void getTransferJob(com.google.storagetransfer.v1.proto.TransferProto.GetTransferJobRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getGetTransferJobMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Lists transfer jobs.
+     * 
+ */ + public void listTransferJobs(com.google.storagetransfer.v1.proto.TransferProto.ListTransferJobsRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getListTransferJobsMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Pauses a transfer operation.
+     * 
+ */ + public void pauseTransferOperation(com.google.storagetransfer.v1.proto.TransferProto.PauseTransferOperationRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getPauseTransferOperationMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Resumes a transfer operation that is paused.
+     * 
+ */ + public void resumeTransferOperation(com.google.storagetransfer.v1.proto.TransferProto.ResumeTransferOperationRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getResumeTransferOperationMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Attempts to start a new TransferOperation for the current TransferJob. A
+     * TransferJob has a maximum of one active TransferOperation. If this method
+     * is called while a TransferOperation is active, an error will be returned.
+     * 
+ */ + public void runTransferJob(com.google.storagetransfer.v1.proto.TransferProto.RunTransferJobRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getRunTransferJobMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Deletes a transfer job. Deleting a transfer job sets its status to
+     * [DELETED][google.storagetransfer.v1.TransferJob.Status.DELETED].
+     * 
+ */ + public void deleteTransferJob(com.google.storagetransfer.v1.proto.TransferProto.DeleteTransferJobRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getDeleteTransferJobMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Creates an agent pool resource.
+     * 
+ */ + public void createAgentPool(com.google.storagetransfer.v1.proto.TransferProto.CreateAgentPoolRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getCreateAgentPoolMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Updates an existing agent pool resource.
+     * 
+ */ + public void updateAgentPool(com.google.storagetransfer.v1.proto.TransferProto.UpdateAgentPoolRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getUpdateAgentPoolMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Gets an agent pool.
+     * 
+ */ + public void getAgentPool(com.google.storagetransfer.v1.proto.TransferProto.GetAgentPoolRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getGetAgentPoolMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Lists agent pools.
+     * 
+ */ + public void listAgentPools(com.google.storagetransfer.v1.proto.TransferProto.ListAgentPoolsRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getListAgentPoolsMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Deletes an agent pool.
+     * 
+ */ + public void deleteAgentPool(com.google.storagetransfer.v1.proto.TransferProto.DeleteAgentPoolRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getDeleteAgentPoolMethod(), getCallOptions()), request, responseObserver); + } + } + + /** + *
+   * Storage Transfer Service and its protos.
+   * Transfers data between between Google Cloud Storage buckets or from a data
+   * source external to Google to a Cloud Storage bucket.
+   * 
+ */ + public static final class StorageTransferServiceBlockingStub extends io.grpc.stub.AbstractBlockingStub { + private StorageTransferServiceBlockingStub( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + super(channel, callOptions); + } + + @java.lang.Override + protected StorageTransferServiceBlockingStub build( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new StorageTransferServiceBlockingStub(channel, callOptions); + } + + /** + *
+     * Returns the Google service account that is used by Storage Transfer
+     * Service to access buckets in the project where transfers
+     * run or in other projects. Each Google service account is associated
+     * with one Google Cloud project. Users
+     * should add this service account to the Google Cloud Storage bucket
+     * ACLs to grant access to Storage Transfer Service. This service
+     * account is created and owned by Storage Transfer Service and can
+     * only be used by Storage Transfer Service.
+     * 
+ */ + public com.google.storagetransfer.v1.proto.TransferTypes.GoogleServiceAccount getGoogleServiceAccount(com.google.storagetransfer.v1.proto.TransferProto.GetGoogleServiceAccountRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getGetGoogleServiceAccountMethod(), getCallOptions(), request); + } + + /** + *
+     * Creates a transfer job that runs periodically.
+     * 
+ */ + public com.google.storagetransfer.v1.proto.TransferTypes.TransferJob createTransferJob(com.google.storagetransfer.v1.proto.TransferProto.CreateTransferJobRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getCreateTransferJobMethod(), getCallOptions(), request); + } + + /** + *
+     * Updates a transfer job. Updating a job's transfer spec does not affect
+     * transfer operations that are running already.
+     * **Note:** The job's [status][google.storagetransfer.v1.TransferJob.status] field can be modified
+     * using this RPC (for example, to set a job's status to
+     * [DELETED][google.storagetransfer.v1.TransferJob.Status.DELETED],
+     * [DISABLED][google.storagetransfer.v1.TransferJob.Status.DISABLED], or
+     * [ENABLED][google.storagetransfer.v1.TransferJob.Status.ENABLED]).
+     * 
+ */ + public com.google.storagetransfer.v1.proto.TransferTypes.TransferJob updateTransferJob(com.google.storagetransfer.v1.proto.TransferProto.UpdateTransferJobRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getUpdateTransferJobMethod(), getCallOptions(), request); + } + + /** + *
+     * Gets a transfer job.
+     * 
+ */ + public com.google.storagetransfer.v1.proto.TransferTypes.TransferJob getTransferJob(com.google.storagetransfer.v1.proto.TransferProto.GetTransferJobRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getGetTransferJobMethod(), getCallOptions(), request); + } + + /** + *
+     * Lists transfer jobs.
+     * 
+ */ + public com.google.storagetransfer.v1.proto.TransferProto.ListTransferJobsResponse listTransferJobs(com.google.storagetransfer.v1.proto.TransferProto.ListTransferJobsRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getListTransferJobsMethod(), getCallOptions(), request); + } + + /** + *
+     * Pauses a transfer operation.
+     * 
+ */ + public com.google.protobuf.Empty pauseTransferOperation(com.google.storagetransfer.v1.proto.TransferProto.PauseTransferOperationRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getPauseTransferOperationMethod(), getCallOptions(), request); + } + + /** + *
+     * Resumes a transfer operation that is paused.
+     * 
+ */ + public com.google.protobuf.Empty resumeTransferOperation(com.google.storagetransfer.v1.proto.TransferProto.ResumeTransferOperationRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getResumeTransferOperationMethod(), getCallOptions(), request); + } + + /** + *
+     * Attempts to start a new TransferOperation for the current TransferJob. A
+     * TransferJob has a maximum of one active TransferOperation. If this method
+     * is called while a TransferOperation is active, an error will be returned.
+     * 
+ */ + public com.google.longrunning.Operation runTransferJob(com.google.storagetransfer.v1.proto.TransferProto.RunTransferJobRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getRunTransferJobMethod(), getCallOptions(), request); + } + + /** + *
+     * Deletes a transfer job. Deleting a transfer job sets its status to
+     * [DELETED][google.storagetransfer.v1.TransferJob.Status.DELETED].
+     * 
+ */ + public com.google.protobuf.Empty deleteTransferJob(com.google.storagetransfer.v1.proto.TransferProto.DeleteTransferJobRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getDeleteTransferJobMethod(), getCallOptions(), request); + } + + /** + *
+     * Creates an agent pool resource.
+     * 
+ */ + public com.google.storagetransfer.v1.proto.TransferTypes.AgentPool createAgentPool(com.google.storagetransfer.v1.proto.TransferProto.CreateAgentPoolRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getCreateAgentPoolMethod(), getCallOptions(), request); + } + + /** + *
+     * Updates an existing agent pool resource.
+     * 
+ */ + public com.google.storagetransfer.v1.proto.TransferTypes.AgentPool updateAgentPool(com.google.storagetransfer.v1.proto.TransferProto.UpdateAgentPoolRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getUpdateAgentPoolMethod(), getCallOptions(), request); + } + + /** + *
+     * Gets an agent pool.
+     * 
+ */ + public com.google.storagetransfer.v1.proto.TransferTypes.AgentPool getAgentPool(com.google.storagetransfer.v1.proto.TransferProto.GetAgentPoolRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getGetAgentPoolMethod(), getCallOptions(), request); + } + + /** + *
+     * Lists agent pools.
+     * 
+ */ + public com.google.storagetransfer.v1.proto.TransferProto.ListAgentPoolsResponse listAgentPools(com.google.storagetransfer.v1.proto.TransferProto.ListAgentPoolsRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getListAgentPoolsMethod(), getCallOptions(), request); + } + + /** + *
+     * Deletes an agent pool.
+     * 
+ */ + public com.google.protobuf.Empty deleteAgentPool(com.google.storagetransfer.v1.proto.TransferProto.DeleteAgentPoolRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getDeleteAgentPoolMethod(), getCallOptions(), request); + } + } + + /** + *
+   * Storage Transfer Service and its protos.
+   * Transfers data between between Google Cloud Storage buckets or from a data
+   * source external to Google to a Cloud Storage bucket.
+   * 
+ */ + public static final class StorageTransferServiceFutureStub extends io.grpc.stub.AbstractFutureStub { + private StorageTransferServiceFutureStub( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + super(channel, callOptions); + } + + @java.lang.Override + protected StorageTransferServiceFutureStub build( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new StorageTransferServiceFutureStub(channel, callOptions); + } + + /** + *
+     * Returns the Google service account that is used by Storage Transfer
+     * Service to access buckets in the project where transfers
+     * run or in other projects. Each Google service account is associated
+     * with one Google Cloud project. Users
+     * should add this service account to the Google Cloud Storage bucket
+     * ACLs to grant access to Storage Transfer Service. This service
+     * account is created and owned by Storage Transfer Service and can
+     * only be used by Storage Transfer Service.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture getGoogleServiceAccount( + com.google.storagetransfer.v1.proto.TransferProto.GetGoogleServiceAccountRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getGetGoogleServiceAccountMethod(), getCallOptions()), request); + } + + /** + *
+     * Creates a transfer job that runs periodically.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture createTransferJob( + com.google.storagetransfer.v1.proto.TransferProto.CreateTransferJobRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getCreateTransferJobMethod(), getCallOptions()), request); + } + + /** + *
+     * Updates a transfer job. Updating a job's transfer spec does not affect
+     * transfer operations that are running already.
+     * **Note:** The job's [status][google.storagetransfer.v1.TransferJob.status] field can be modified
+     * using this RPC (for example, to set a job's status to
+     * [DELETED][google.storagetransfer.v1.TransferJob.Status.DELETED],
+     * [DISABLED][google.storagetransfer.v1.TransferJob.Status.DISABLED], or
+     * [ENABLED][google.storagetransfer.v1.TransferJob.Status.ENABLED]).
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture updateTransferJob( + com.google.storagetransfer.v1.proto.TransferProto.UpdateTransferJobRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getUpdateTransferJobMethod(), getCallOptions()), request); + } + + /** + *
+     * Gets a transfer job.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture getTransferJob( + com.google.storagetransfer.v1.proto.TransferProto.GetTransferJobRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getGetTransferJobMethod(), getCallOptions()), request); + } + + /** + *
+     * Lists transfer jobs.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture listTransferJobs( + com.google.storagetransfer.v1.proto.TransferProto.ListTransferJobsRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getListTransferJobsMethod(), getCallOptions()), request); + } + + /** + *
+     * Pauses a transfer operation.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture pauseTransferOperation( + com.google.storagetransfer.v1.proto.TransferProto.PauseTransferOperationRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getPauseTransferOperationMethod(), getCallOptions()), request); + } + + /** + *
+     * Resumes a transfer operation that is paused.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture resumeTransferOperation( + com.google.storagetransfer.v1.proto.TransferProto.ResumeTransferOperationRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getResumeTransferOperationMethod(), getCallOptions()), request); + } + + /** + *
+     * Attempts to start a new TransferOperation for the current TransferJob. A
+     * TransferJob has a maximum of one active TransferOperation. If this method
+     * is called while a TransferOperation is active, an error will be returned.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture runTransferJob( + com.google.storagetransfer.v1.proto.TransferProto.RunTransferJobRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getRunTransferJobMethod(), getCallOptions()), request); + } + + /** + *
+     * Deletes a transfer job. Deleting a transfer job sets its status to
+     * [DELETED][google.storagetransfer.v1.TransferJob.Status.DELETED].
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture deleteTransferJob( + com.google.storagetransfer.v1.proto.TransferProto.DeleteTransferJobRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getDeleteTransferJobMethod(), getCallOptions()), request); + } + + /** + *
+     * Creates an agent pool resource.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture createAgentPool( + com.google.storagetransfer.v1.proto.TransferProto.CreateAgentPoolRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getCreateAgentPoolMethod(), getCallOptions()), request); + } + + /** + *
+     * Updates an existing agent pool resource.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture updateAgentPool( + com.google.storagetransfer.v1.proto.TransferProto.UpdateAgentPoolRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getUpdateAgentPoolMethod(), getCallOptions()), request); + } + + /** + *
+     * Gets an agent pool.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture getAgentPool( + com.google.storagetransfer.v1.proto.TransferProto.GetAgentPoolRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getGetAgentPoolMethod(), getCallOptions()), request); + } + + /** + *
+     * Lists agent pools.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture listAgentPools( + com.google.storagetransfer.v1.proto.TransferProto.ListAgentPoolsRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getListAgentPoolsMethod(), getCallOptions()), request); + } + + /** + *
+     * Deletes an agent pool.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture deleteAgentPool( + com.google.storagetransfer.v1.proto.TransferProto.DeleteAgentPoolRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getDeleteAgentPoolMethod(), getCallOptions()), request); + } + } + + private static final int METHODID_GET_GOOGLE_SERVICE_ACCOUNT = 0; + private static final int METHODID_CREATE_TRANSFER_JOB = 1; + private static final int METHODID_UPDATE_TRANSFER_JOB = 2; + private static final int METHODID_GET_TRANSFER_JOB = 3; + private static final int METHODID_LIST_TRANSFER_JOBS = 4; + private static final int METHODID_PAUSE_TRANSFER_OPERATION = 5; + private static final int METHODID_RESUME_TRANSFER_OPERATION = 6; + private static final int METHODID_RUN_TRANSFER_JOB = 7; + private static final int METHODID_DELETE_TRANSFER_JOB = 8; + private static final int METHODID_CREATE_AGENT_POOL = 9; + private static final int METHODID_UPDATE_AGENT_POOL = 10; + private static final int METHODID_GET_AGENT_POOL = 11; + private static final int METHODID_LIST_AGENT_POOLS = 12; + private static final int METHODID_DELETE_AGENT_POOL = 13; + + private static final class MethodHandlers implements + io.grpc.stub.ServerCalls.UnaryMethod, + io.grpc.stub.ServerCalls.ServerStreamingMethod, + io.grpc.stub.ServerCalls.ClientStreamingMethod, + io.grpc.stub.ServerCalls.BidiStreamingMethod { + private final StorageTransferServiceImplBase serviceImpl; + private final int methodId; + + MethodHandlers(StorageTransferServiceImplBase serviceImpl, int methodId) { + this.serviceImpl = serviceImpl; + this.methodId = methodId; + } + + @java.lang.Override + @java.lang.SuppressWarnings("unchecked") + public void invoke(Req request, io.grpc.stub.StreamObserver responseObserver) { + switch (methodId) { + case METHODID_GET_GOOGLE_SERVICE_ACCOUNT: + serviceImpl.getGoogleServiceAccount((com.google.storagetransfer.v1.proto.TransferProto.GetGoogleServiceAccountRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_CREATE_TRANSFER_JOB: + serviceImpl.createTransferJob((com.google.storagetransfer.v1.proto.TransferProto.CreateTransferJobRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_UPDATE_TRANSFER_JOB: + serviceImpl.updateTransferJob((com.google.storagetransfer.v1.proto.TransferProto.UpdateTransferJobRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_GET_TRANSFER_JOB: + serviceImpl.getTransferJob((com.google.storagetransfer.v1.proto.TransferProto.GetTransferJobRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_LIST_TRANSFER_JOBS: + serviceImpl.listTransferJobs((com.google.storagetransfer.v1.proto.TransferProto.ListTransferJobsRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_PAUSE_TRANSFER_OPERATION: + serviceImpl.pauseTransferOperation((com.google.storagetransfer.v1.proto.TransferProto.PauseTransferOperationRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_RESUME_TRANSFER_OPERATION: + serviceImpl.resumeTransferOperation((com.google.storagetransfer.v1.proto.TransferProto.ResumeTransferOperationRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_RUN_TRANSFER_JOB: + serviceImpl.runTransferJob((com.google.storagetransfer.v1.proto.TransferProto.RunTransferJobRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_DELETE_TRANSFER_JOB: + serviceImpl.deleteTransferJob((com.google.storagetransfer.v1.proto.TransferProto.DeleteTransferJobRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_CREATE_AGENT_POOL: + serviceImpl.createAgentPool((com.google.storagetransfer.v1.proto.TransferProto.CreateAgentPoolRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_UPDATE_AGENT_POOL: + serviceImpl.updateAgentPool((com.google.storagetransfer.v1.proto.TransferProto.UpdateAgentPoolRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_GET_AGENT_POOL: + serviceImpl.getAgentPool((com.google.storagetransfer.v1.proto.TransferProto.GetAgentPoolRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_LIST_AGENT_POOLS: + serviceImpl.listAgentPools((com.google.storagetransfer.v1.proto.TransferProto.ListAgentPoolsRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_DELETE_AGENT_POOL: + serviceImpl.deleteAgentPool((com.google.storagetransfer.v1.proto.TransferProto.DeleteAgentPoolRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + default: + throw new AssertionError(); + } + } + + @java.lang.Override + @java.lang.SuppressWarnings("unchecked") + public io.grpc.stub.StreamObserver invoke( + io.grpc.stub.StreamObserver responseObserver) { + switch (methodId) { + default: + throw new AssertionError(); + } + } + } + + private static abstract class StorageTransferServiceBaseDescriptorSupplier + implements io.grpc.protobuf.ProtoFileDescriptorSupplier, io.grpc.protobuf.ProtoServiceDescriptorSupplier { + StorageTransferServiceBaseDescriptorSupplier() {} + + @java.lang.Override + public com.google.protobuf.Descriptors.FileDescriptor getFileDescriptor() { + return com.google.storagetransfer.v1.proto.TransferProto.getDescriptor(); + } + + @java.lang.Override + public com.google.protobuf.Descriptors.ServiceDescriptor getServiceDescriptor() { + return getFileDescriptor().findServiceByName("StorageTransferService"); + } + } + + private static final class StorageTransferServiceFileDescriptorSupplier + extends StorageTransferServiceBaseDescriptorSupplier { + StorageTransferServiceFileDescriptorSupplier() {} + } + + private static final class StorageTransferServiceMethodDescriptorSupplier + extends StorageTransferServiceBaseDescriptorSupplier + implements io.grpc.protobuf.ProtoMethodDescriptorSupplier { + private final String methodName; + + StorageTransferServiceMethodDescriptorSupplier(String methodName) { + this.methodName = methodName; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.MethodDescriptor getMethodDescriptor() { + return getServiceDescriptor().findMethodByName(methodName); + } + } + + private static volatile io.grpc.ServiceDescriptor serviceDescriptor; + + public static io.grpc.ServiceDescriptor getServiceDescriptor() { + io.grpc.ServiceDescriptor result = serviceDescriptor; + if (result == null) { + synchronized (StorageTransferServiceGrpc.class) { + result = serviceDescriptor; + if (result == null) { + serviceDescriptor = result = io.grpc.ServiceDescriptor.newBuilder(SERVICE_NAME) + .setSchemaDescriptor(new StorageTransferServiceFileDescriptorSupplier()) + .addMethod(getGetGoogleServiceAccountMethod()) + .addMethod(getCreateTransferJobMethod()) + .addMethod(getUpdateTransferJobMethod()) + .addMethod(getGetTransferJobMethod()) + .addMethod(getListTransferJobsMethod()) + .addMethod(getPauseTransferOperationMethod()) + .addMethod(getResumeTransferOperationMethod()) + .addMethod(getRunTransferJobMethod()) + .addMethod(getDeleteTransferJobMethod()) + .addMethod(getCreateAgentPoolMethod()) + .addMethod(getUpdateAgentPoolMethod()) + .addMethod(getGetAgentPoolMethod()) + .addMethod(getListAgentPoolsMethod()) + .addMethod(getDeleteAgentPoolMethod()) + .build(); + } + } + } + return result; + } +} diff --git a/proto-google-cloud-storage-transfer-v1/src/main/java/com/google/storagetransfer/v1/proto/TransferProto.java b/owl-bot-staging/v1/proto-google-cloud-storage-transfer-v1/src/main/java/com/google/storagetransfer/v1/proto/TransferProto.java similarity index 65% rename from proto-google-cloud-storage-transfer-v1/src/main/java/com/google/storagetransfer/v1/proto/TransferProto.java rename to owl-bot-staging/v1/proto-google-cloud-storage-transfer-v1/src/main/java/com/google/storagetransfer/v1/proto/TransferProto.java index 8375c46..04d01f7 100644 --- a/proto-google-cloud-storage-transfer-v1/src/main/java/com/google/storagetransfer/v1/proto/TransferProto.java +++ b/owl-bot-staging/v1/proto-google-cloud-storage-transfer-v1/src/main/java/com/google/storagetransfer/v1/proto/TransferProto.java @@ -1,18 +1,3 @@ -/* - * 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/storagetransfer/v1/transfer.proto @@ -20,81 +5,73 @@ public final class TransferProto { private TransferProto() {} - - public static void registerAllExtensions(com.google.protobuf.ExtensionRegistryLite registry) {} - - public static void registerAllExtensions(com.google.protobuf.ExtensionRegistry registry) { - registerAllExtensions((com.google.protobuf.ExtensionRegistryLite) registry); + public static void registerAllExtensions( + com.google.protobuf.ExtensionRegistryLite registry) { } - public interface GetGoogleServiceAccountRequestOrBuilder - extends + public static void registerAllExtensions( + com.google.protobuf.ExtensionRegistry registry) { + registerAllExtensions( + (com.google.protobuf.ExtensionRegistryLite) registry); + } + public interface GetGoogleServiceAccountRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.storagetransfer.v1.GetGoogleServiceAccountRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
      * Required. The ID of the Google Cloud project that the Google service
      * account is associated with.
      * 
* * string project_id = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The projectId. */ java.lang.String getProjectId(); /** - * - * *
      * Required. The ID of the Google Cloud project that the Google service
      * account is associated with.
      * 
* * string project_id = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for projectId. */ - com.google.protobuf.ByteString getProjectIdBytes(); + com.google.protobuf.ByteString + getProjectIdBytes(); } /** - * - * *
    * Request passed to GetGoogleServiceAccount.
    * 
* * Protobuf type {@code google.storagetransfer.v1.GetGoogleServiceAccountRequest} */ - public static final class GetGoogleServiceAccountRequest - extends com.google.protobuf.GeneratedMessageV3 - implements + public static final class GetGoogleServiceAccountRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.storagetransfer.v1.GetGoogleServiceAccountRequest) GetGoogleServiceAccountRequestOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use GetGoogleServiceAccountRequest.newBuilder() to construct. - private GetGoogleServiceAccountRequest( - com.google.protobuf.GeneratedMessageV3.Builder builder) { + private GetGoogleServiceAccountRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private GetGoogleServiceAccountRequest() { projectId_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new GetGoogleServiceAccountRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private GetGoogleServiceAccountRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -113,20 +90,19 @@ private GetGoogleServiceAccountRequest( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - projectId_ = s; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + projectId_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -134,42 +110,35 @@ private GetGoogleServiceAccountRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.storagetransfer.v1.proto.TransferProto - .internal_static_google_storagetransfer_v1_GetGoogleServiceAccountRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.storagetransfer.v1.proto.TransferProto.internal_static_google_storagetransfer_v1_GetGoogleServiceAccountRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.storagetransfer.v1.proto.TransferProto - .internal_static_google_storagetransfer_v1_GetGoogleServiceAccountRequest_fieldAccessorTable + return com.google.storagetransfer.v1.proto.TransferProto.internal_static_google_storagetransfer_v1_GetGoogleServiceAccountRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.storagetransfer.v1.proto.TransferProto.GetGoogleServiceAccountRequest - .class, - com.google.storagetransfer.v1.proto.TransferProto.GetGoogleServiceAccountRequest - .Builder.class); + com.google.storagetransfer.v1.proto.TransferProto.GetGoogleServiceAccountRequest.class, com.google.storagetransfer.v1.proto.TransferProto.GetGoogleServiceAccountRequest.Builder.class); } public static final int PROJECT_ID_FIELD_NUMBER = 1; private volatile java.lang.Object projectId_; /** - * - * *
      * Required. The ID of the Google Cloud project that the Google service
      * account is associated with.
      * 
* * string project_id = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The projectId. */ @java.lang.Override @@ -178,30 +147,30 @@ public java.lang.String getProjectId() { 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(); projectId_ = s; return s; } } /** - * - * *
      * Required. The ID of the Google Cloud project that the Google service
      * account is associated with.
      * 
* * string project_id = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for projectId. */ @java.lang.Override - public com.google.protobuf.ByteString getProjectIdBytes() { + public com.google.protobuf.ByteString + getProjectIdBytes() { java.lang.Object ref = projectId_; 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); projectId_ = b; return b; } else { @@ -210,7 +179,6 @@ public com.google.protobuf.ByteString getProjectIdBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -222,7 +190,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 (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(projectId_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, projectId_); } @@ -246,17 +215,15 @@ 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.storagetransfer.v1.proto.TransferProto.GetGoogleServiceAccountRequest)) { + if (!(obj instanceof com.google.storagetransfer.v1.proto.TransferProto.GetGoogleServiceAccountRequest)) { return super.equals(obj); } - com.google.storagetransfer.v1.proto.TransferProto.GetGoogleServiceAccountRequest other = - (com.google.storagetransfer.v1.proto.TransferProto.GetGoogleServiceAccountRequest) obj; + com.google.storagetransfer.v1.proto.TransferProto.GetGoogleServiceAccountRequest other = (com.google.storagetransfer.v1.proto.TransferProto.GetGoogleServiceAccountRequest) obj; - if (!getProjectId().equals(other.getProjectId())) return false; + if (!getProjectId() + .equals(other.getProjectId())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -275,102 +242,88 @@ public int hashCode() { return hash; } - public static com.google.storagetransfer.v1.proto.TransferProto.GetGoogleServiceAccountRequest - parseFrom(java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.storagetransfer.v1.proto.TransferProto.GetGoogleServiceAccountRequest parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - - public static com.google.storagetransfer.v1.proto.TransferProto.GetGoogleServiceAccountRequest - parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.storagetransfer.v1.proto.TransferProto.GetGoogleServiceAccountRequest parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.storagetransfer.v1.proto.TransferProto.GetGoogleServiceAccountRequest - parseFrom(com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.storagetransfer.v1.proto.TransferProto.GetGoogleServiceAccountRequest parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - - public static com.google.storagetransfer.v1.proto.TransferProto.GetGoogleServiceAccountRequest - parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.storagetransfer.v1.proto.TransferProto.GetGoogleServiceAccountRequest 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.storagetransfer.v1.proto.TransferProto.GetGoogleServiceAccountRequest - parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.storagetransfer.v1.proto.TransferProto.GetGoogleServiceAccountRequest parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - - public static com.google.storagetransfer.v1.proto.TransferProto.GetGoogleServiceAccountRequest - parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.storagetransfer.v1.proto.TransferProto.GetGoogleServiceAccountRequest parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.storagetransfer.v1.proto.TransferProto.GetGoogleServiceAccountRequest - parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.storagetransfer.v1.proto.TransferProto.GetGoogleServiceAccountRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - - public static com.google.storagetransfer.v1.proto.TransferProto.GetGoogleServiceAccountRequest - parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + public static com.google.storagetransfer.v1.proto.TransferProto.GetGoogleServiceAccountRequest parseFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.storagetransfer.v1.proto.TransferProto.GetGoogleServiceAccountRequest - parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.storagetransfer.v1.proto.TransferProto.GetGoogleServiceAccountRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - - public static com.google.storagetransfer.v1.proto.TransferProto.GetGoogleServiceAccountRequest - parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + public static com.google.storagetransfer.v1.proto.TransferProto.GetGoogleServiceAccountRequest parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.storagetransfer.v1.proto.TransferProto.GetGoogleServiceAccountRequest - parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.storagetransfer.v1.proto.TransferProto.GetGoogleServiceAccountRequest parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - - public static com.google.storagetransfer.v1.proto.TransferProto.GetGoogleServiceAccountRequest - parseFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + public static com.google.storagetransfer.v1.proto.TransferProto.GetGoogleServiceAccountRequest parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + 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.storagetransfer.v1.proto.TransferProto.GetGoogleServiceAccountRequest - prototype) { + public static Builder newBuilder(com.google.storagetransfer.v1.proto.TransferProto.GetGoogleServiceAccountRequest 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 @@ -380,51 +333,44 @@ protected Builder newBuilderForType( return builder; } /** - * - * *
      * Request passed to GetGoogleServiceAccount.
      * 
* * Protobuf type {@code google.storagetransfer.v1.GetGoogleServiceAccountRequest} */ - public static final class Builder - extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.storagetransfer.v1.GetGoogleServiceAccountRequest) com.google.storagetransfer.v1.proto.TransferProto.GetGoogleServiceAccountRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.storagetransfer.v1.proto.TransferProto - .internal_static_google_storagetransfer_v1_GetGoogleServiceAccountRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.storagetransfer.v1.proto.TransferProto.internal_static_google_storagetransfer_v1_GetGoogleServiceAccountRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.storagetransfer.v1.proto.TransferProto - .internal_static_google_storagetransfer_v1_GetGoogleServiceAccountRequest_fieldAccessorTable + return com.google.storagetransfer.v1.proto.TransferProto.internal_static_google_storagetransfer_v1_GetGoogleServiceAccountRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.storagetransfer.v1.proto.TransferProto.GetGoogleServiceAccountRequest - .class, - com.google.storagetransfer.v1.proto.TransferProto.GetGoogleServiceAccountRequest - .Builder.class); + com.google.storagetransfer.v1.proto.TransferProto.GetGoogleServiceAccountRequest.class, com.google.storagetransfer.v1.proto.TransferProto.GetGoogleServiceAccountRequest.Builder.class); } - // Construct using - // com.google.storagetransfer.v1.proto.TransferProto.GetGoogleServiceAccountRequest.newBuilder() + // Construct using com.google.storagetransfer.v1.proto.TransferProto.GetGoogleServiceAccountRequest.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -434,23 +380,19 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.storagetransfer.v1.proto.TransferProto - .internal_static_google_storagetransfer_v1_GetGoogleServiceAccountRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.storagetransfer.v1.proto.TransferProto.internal_static_google_storagetransfer_v1_GetGoogleServiceAccountRequest_descriptor; } @java.lang.Override - public com.google.storagetransfer.v1.proto.TransferProto.GetGoogleServiceAccountRequest - getDefaultInstanceForType() { - return com.google.storagetransfer.v1.proto.TransferProto.GetGoogleServiceAccountRequest - .getDefaultInstance(); + public com.google.storagetransfer.v1.proto.TransferProto.GetGoogleServiceAccountRequest getDefaultInstanceForType() { + return com.google.storagetransfer.v1.proto.TransferProto.GetGoogleServiceAccountRequest.getDefaultInstance(); } @java.lang.Override - public com.google.storagetransfer.v1.proto.TransferProto.GetGoogleServiceAccountRequest - build() { - com.google.storagetransfer.v1.proto.TransferProto.GetGoogleServiceAccountRequest result = - buildPartial(); + public com.google.storagetransfer.v1.proto.TransferProto.GetGoogleServiceAccountRequest build() { + com.google.storagetransfer.v1.proto.TransferProto.GetGoogleServiceAccountRequest result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } @@ -458,11 +400,8 @@ public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { } @java.lang.Override - public com.google.storagetransfer.v1.proto.TransferProto.GetGoogleServiceAccountRequest - buildPartial() { - com.google.storagetransfer.v1.proto.TransferProto.GetGoogleServiceAccountRequest result = - new com.google.storagetransfer.v1.proto.TransferProto.GetGoogleServiceAccountRequest( - this); + public com.google.storagetransfer.v1.proto.TransferProto.GetGoogleServiceAccountRequest buildPartial() { + com.google.storagetransfer.v1.proto.TransferProto.GetGoogleServiceAccountRequest result = new com.google.storagetransfer.v1.proto.TransferProto.GetGoogleServiceAccountRequest(this); result.projectId_ = projectId_; onBuilt(); return result; @@ -472,56 +411,46 @@ public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, - int index, - java.lang.Object value) { + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { - if (other - instanceof - com.google.storagetransfer.v1.proto.TransferProto.GetGoogleServiceAccountRequest) { - return mergeFrom( - (com.google.storagetransfer.v1.proto.TransferProto.GetGoogleServiceAccountRequest) - other); + if (other instanceof com.google.storagetransfer.v1.proto.TransferProto.GetGoogleServiceAccountRequest) { + return mergeFrom((com.google.storagetransfer.v1.proto.TransferProto.GetGoogleServiceAccountRequest)other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom( - com.google.storagetransfer.v1.proto.TransferProto.GetGoogleServiceAccountRequest other) { - if (other - == com.google.storagetransfer.v1.proto.TransferProto.GetGoogleServiceAccountRequest - .getDefaultInstance()) return this; + public Builder mergeFrom(com.google.storagetransfer.v1.proto.TransferProto.GetGoogleServiceAccountRequest other) { + if (other == com.google.storagetransfer.v1.proto.TransferProto.GetGoogleServiceAccountRequest.getDefaultInstance()) return this; if (!other.getProjectId().isEmpty()) { projectId_ = other.projectId_; onChanged(); @@ -541,14 +470,11 @@ public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - com.google.storagetransfer.v1.proto.TransferProto.GetGoogleServiceAccountRequest - parsedMessage = null; + com.google.storagetransfer.v1.proto.TransferProto.GetGoogleServiceAccountRequest parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.storagetransfer.v1.proto.TransferProto.GetGoogleServiceAccountRequest) - e.getUnfinishedMessage(); + parsedMessage = (com.google.storagetransfer.v1.proto.TransferProto.GetGoogleServiceAccountRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -560,21 +486,19 @@ public Builder mergeFrom( private java.lang.Object projectId_ = ""; /** - * - * *
        * Required. The ID of the Google Cloud project that the Google service
        * account is associated with.
        * 
* * string project_id = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The projectId. */ public java.lang.String getProjectId() { java.lang.Object ref = projectId_; 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(); projectId_ = s; return s; @@ -583,22 +507,21 @@ public java.lang.String getProjectId() { } } /** - * - * *
        * Required. The ID of the Google Cloud project that the Google service
        * account is associated with.
        * 
* * string project_id = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for projectId. */ - public com.google.protobuf.ByteString getProjectIdBytes() { + public com.google.protobuf.ByteString + getProjectIdBytes() { java.lang.Object ref = projectId_; 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); projectId_ = b; return b; } else { @@ -606,69 +529,61 @@ public com.google.protobuf.ByteString getProjectIdBytes() { } } /** - * - * *
        * Required. The ID of the Google Cloud project that the Google service
        * account is associated with.
        * 
* * string project_id = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The projectId to set. * @return This builder for chaining. */ - public Builder setProjectId(java.lang.String value) { + public Builder setProjectId( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + projectId_ = value; onChanged(); return this; } /** - * - * *
        * Required. The ID of the Google Cloud project that the Google service
        * account is associated with.
        * 
* * string project_id = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return This builder for chaining. */ public Builder clearProjectId() { - + projectId_ = getDefaultInstance().getProjectId(); onChanged(); return this; } /** - * - * *
        * Required. The ID of the Google Cloud project that the Google service
        * account is associated with.
        * 
* * string project_id = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The bytes for projectId to set. * @return This builder for chaining. */ - public Builder setProjectIdBytes(com.google.protobuf.ByteString value) { + public Builder setProjectIdBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + projectId_ = value; onChanged(); return this; } - @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -681,34 +596,30 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.storagetransfer.v1.GetGoogleServiceAccountRequest) } // @@protoc_insertion_point(class_scope:google.storagetransfer.v1.GetGoogleServiceAccountRequest) - private static final com.google.storagetransfer.v1.proto.TransferProto - .GetGoogleServiceAccountRequest - DEFAULT_INSTANCE; - + private static final com.google.storagetransfer.v1.proto.TransferProto.GetGoogleServiceAccountRequest DEFAULT_INSTANCE; static { - DEFAULT_INSTANCE = - new com.google.storagetransfer.v1.proto.TransferProto.GetGoogleServiceAccountRequest(); + DEFAULT_INSTANCE = new com.google.storagetransfer.v1.proto.TransferProto.GetGoogleServiceAccountRequest(); } - public static com.google.storagetransfer.v1.proto.TransferProto.GetGoogleServiceAccountRequest - getDefaultInstance() { + public static com.google.storagetransfer.v1.proto.TransferProto.GetGoogleServiceAccountRequest getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public GetGoogleServiceAccountRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new GetGoogleServiceAccountRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public GetGoogleServiceAccountRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new GetGoogleServiceAccountRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -720,91 +631,74 @@ public com.google.protobuf.Parser getParserForTy } @java.lang.Override - public com.google.storagetransfer.v1.proto.TransferProto.GetGoogleServiceAccountRequest - getDefaultInstanceForType() { + public com.google.storagetransfer.v1.proto.TransferProto.GetGoogleServiceAccountRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } - public interface CreateTransferJobRequestOrBuilder - extends + public interface CreateTransferJobRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.storagetransfer.v1.CreateTransferJobRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
      * Required. The job to create.
      * 
* - * - * .google.storagetransfer.v1.TransferJob transfer_job = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.storagetransfer.v1.TransferJob transfer_job = 1 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the transferJob field is set. */ boolean hasTransferJob(); /** - * - * *
      * Required. The job to create.
      * 
* - * - * .google.storagetransfer.v1.TransferJob transfer_job = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.storagetransfer.v1.TransferJob transfer_job = 1 [(.google.api.field_behavior) = REQUIRED]; * @return The transferJob. */ com.google.storagetransfer.v1.proto.TransferTypes.TransferJob getTransferJob(); /** - * - * *
      * Required. The job to create.
      * 
* - * - * .google.storagetransfer.v1.TransferJob transfer_job = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.storagetransfer.v1.TransferJob transfer_job = 1 [(.google.api.field_behavior) = REQUIRED]; */ - com.google.storagetransfer.v1.proto.TransferTypes.TransferJobOrBuilder - getTransferJobOrBuilder(); + com.google.storagetransfer.v1.proto.TransferTypes.TransferJobOrBuilder getTransferJobOrBuilder(); } /** - * - * *
    * Request passed to CreateTransferJob.
    * 
* * Protobuf type {@code google.storagetransfer.v1.CreateTransferJobRequest} */ - public static final class CreateTransferJobRequest extends com.google.protobuf.GeneratedMessageV3 - implements + public static final class CreateTransferJobRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.storagetransfer.v1.CreateTransferJobRequest) CreateTransferJobRequestOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use CreateTransferJobRequest.newBuilder() to construct. private CreateTransferJobRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - - private CreateTransferJobRequest() {} + private CreateTransferJobRequest() { + } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new CreateTransferJobRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private CreateTransferJobRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -823,31 +717,26 @@ private CreateTransferJobRequest( case 0: done = true; break; - case 10: - { - com.google.storagetransfer.v1.proto.TransferTypes.TransferJob.Builder subBuilder = - null; - if (transferJob_ != null) { - subBuilder = transferJob_.toBuilder(); - } - transferJob_ = - input.readMessage( - com.google.storagetransfer.v1.proto.TransferTypes.TransferJob.parser(), - extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(transferJob_); - transferJob_ = subBuilder.buildPartial(); - } - - break; + case 10: { + com.google.storagetransfer.v1.proto.TransferTypes.TransferJob.Builder subBuilder = null; + if (transferJob_ != null) { + subBuilder = transferJob_.toBuilder(); } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + transferJob_ = input.readMessage(com.google.storagetransfer.v1.proto.TransferTypes.TransferJob.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(transferJob_); + transferJob_ = subBuilder.buildPartial(); + } + + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -855,42 +744,34 @@ private CreateTransferJobRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.storagetransfer.v1.proto.TransferProto - .internal_static_google_storagetransfer_v1_CreateTransferJobRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.storagetransfer.v1.proto.TransferProto.internal_static_google_storagetransfer_v1_CreateTransferJobRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.storagetransfer.v1.proto.TransferProto - .internal_static_google_storagetransfer_v1_CreateTransferJobRequest_fieldAccessorTable + return com.google.storagetransfer.v1.proto.TransferProto.internal_static_google_storagetransfer_v1_CreateTransferJobRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.storagetransfer.v1.proto.TransferProto.CreateTransferJobRequest.class, - com.google.storagetransfer.v1.proto.TransferProto.CreateTransferJobRequest.Builder - .class); + com.google.storagetransfer.v1.proto.TransferProto.CreateTransferJobRequest.class, com.google.storagetransfer.v1.proto.TransferProto.CreateTransferJobRequest.Builder.class); } public static final int TRANSFER_JOB_FIELD_NUMBER = 1; private com.google.storagetransfer.v1.proto.TransferTypes.TransferJob transferJob_; /** - * - * *
      * Required. The job to create.
      * 
* - * - * .google.storagetransfer.v1.TransferJob transfer_job = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.storagetransfer.v1.TransferJob transfer_job = 1 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the transferJob field is set. */ @java.lang.Override @@ -898,43 +779,30 @@ public boolean hasTransferJob() { return transferJob_ != null; } /** - * - * *
      * Required. The job to create.
      * 
* - * - * .google.storagetransfer.v1.TransferJob transfer_job = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.storagetransfer.v1.TransferJob transfer_job = 1 [(.google.api.field_behavior) = REQUIRED]; * @return The transferJob. */ @java.lang.Override public com.google.storagetransfer.v1.proto.TransferTypes.TransferJob getTransferJob() { - return transferJob_ == null - ? com.google.storagetransfer.v1.proto.TransferTypes.TransferJob.getDefaultInstance() - : transferJob_; + return transferJob_ == null ? com.google.storagetransfer.v1.proto.TransferTypes.TransferJob.getDefaultInstance() : transferJob_; } /** - * - * *
      * Required. The job to create.
      * 
* - * - * .google.storagetransfer.v1.TransferJob transfer_job = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.storagetransfer.v1.TransferJob transfer_job = 1 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override - public com.google.storagetransfer.v1.proto.TransferTypes.TransferJobOrBuilder - getTransferJobOrBuilder() { + public com.google.storagetransfer.v1.proto.TransferTypes.TransferJobOrBuilder getTransferJobOrBuilder() { return getTransferJob(); } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -946,7 +814,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 (transferJob_ != null) { output.writeMessage(1, getTransferJob()); } @@ -960,7 +829,8 @@ public int getSerializedSize() { size = 0; if (transferJob_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getTransferJob()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, getTransferJob()); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -970,18 +840,17 @@ 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.storagetransfer.v1.proto.TransferProto.CreateTransferJobRequest)) { + if (!(obj instanceof com.google.storagetransfer.v1.proto.TransferProto.CreateTransferJobRequest)) { return super.equals(obj); } - com.google.storagetransfer.v1.proto.TransferProto.CreateTransferJobRequest other = - (com.google.storagetransfer.v1.proto.TransferProto.CreateTransferJobRequest) obj; + com.google.storagetransfer.v1.proto.TransferProto.CreateTransferJobRequest other = (com.google.storagetransfer.v1.proto.TransferProto.CreateTransferJobRequest) obj; if (hasTransferJob() != other.hasTransferJob()) return false; if (hasTransferJob()) { - if (!getTransferJob().equals(other.getTransferJob())) return false; + if (!getTransferJob() + .equals(other.getTransferJob())) return false; } if (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -1003,101 +872,88 @@ public int hashCode() { return hash; } - public static com.google.storagetransfer.v1.proto.TransferProto.CreateTransferJobRequest - parseFrom(java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.storagetransfer.v1.proto.TransferProto.CreateTransferJobRequest parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - - public static com.google.storagetransfer.v1.proto.TransferProto.CreateTransferJobRequest - parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.storagetransfer.v1.proto.TransferProto.CreateTransferJobRequest parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.storagetransfer.v1.proto.TransferProto.CreateTransferJobRequest - parseFrom(com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.storagetransfer.v1.proto.TransferProto.CreateTransferJobRequest parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - - public static com.google.storagetransfer.v1.proto.TransferProto.CreateTransferJobRequest - parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.storagetransfer.v1.proto.TransferProto.CreateTransferJobRequest 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.storagetransfer.v1.proto.TransferProto.CreateTransferJobRequest - parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.storagetransfer.v1.proto.TransferProto.CreateTransferJobRequest parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - - public static com.google.storagetransfer.v1.proto.TransferProto.CreateTransferJobRequest - parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.storagetransfer.v1.proto.TransferProto.CreateTransferJobRequest parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.storagetransfer.v1.proto.TransferProto.CreateTransferJobRequest - parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.storagetransfer.v1.proto.TransferProto.CreateTransferJobRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - - public static com.google.storagetransfer.v1.proto.TransferProto.CreateTransferJobRequest - parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + public static com.google.storagetransfer.v1.proto.TransferProto.CreateTransferJobRequest parseFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.storagetransfer.v1.proto.TransferProto.CreateTransferJobRequest - parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.storagetransfer.v1.proto.TransferProto.CreateTransferJobRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - - public static com.google.storagetransfer.v1.proto.TransferProto.CreateTransferJobRequest - parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + public static com.google.storagetransfer.v1.proto.TransferProto.CreateTransferJobRequest parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.storagetransfer.v1.proto.TransferProto.CreateTransferJobRequest - parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.storagetransfer.v1.proto.TransferProto.CreateTransferJobRequest parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - - public static com.google.storagetransfer.v1.proto.TransferProto.CreateTransferJobRequest - parseFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + public static com.google.storagetransfer.v1.proto.TransferProto.CreateTransferJobRequest parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + 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.storagetransfer.v1.proto.TransferProto.CreateTransferJobRequest prototype) { + public static Builder newBuilder(com.google.storagetransfer.v1.proto.TransferProto.CreateTransferJobRequest 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 @@ -1107,50 +963,44 @@ protected Builder newBuilderForType( return builder; } /** - * - * *
      * Request passed to CreateTransferJob.
      * 
* * Protobuf type {@code google.storagetransfer.v1.CreateTransferJobRequest} */ - public static final class Builder - extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.storagetransfer.v1.CreateTransferJobRequest) com.google.storagetransfer.v1.proto.TransferProto.CreateTransferJobRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.storagetransfer.v1.proto.TransferProto - .internal_static_google_storagetransfer_v1_CreateTransferJobRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.storagetransfer.v1.proto.TransferProto.internal_static_google_storagetransfer_v1_CreateTransferJobRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.storagetransfer.v1.proto.TransferProto - .internal_static_google_storagetransfer_v1_CreateTransferJobRequest_fieldAccessorTable + return com.google.storagetransfer.v1.proto.TransferProto.internal_static_google_storagetransfer_v1_CreateTransferJobRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.storagetransfer.v1.proto.TransferProto.CreateTransferJobRequest.class, - com.google.storagetransfer.v1.proto.TransferProto.CreateTransferJobRequest.Builder - .class); + com.google.storagetransfer.v1.proto.TransferProto.CreateTransferJobRequest.class, com.google.storagetransfer.v1.proto.TransferProto.CreateTransferJobRequest.Builder.class); } - // Construct using - // com.google.storagetransfer.v1.proto.TransferProto.CreateTransferJobRequest.newBuilder() + // Construct using com.google.storagetransfer.v1.proto.TransferProto.CreateTransferJobRequest.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -1164,22 +1014,19 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.storagetransfer.v1.proto.TransferProto - .internal_static_google_storagetransfer_v1_CreateTransferJobRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.storagetransfer.v1.proto.TransferProto.internal_static_google_storagetransfer_v1_CreateTransferJobRequest_descriptor; } @java.lang.Override - public com.google.storagetransfer.v1.proto.TransferProto.CreateTransferJobRequest - getDefaultInstanceForType() { - return com.google.storagetransfer.v1.proto.TransferProto.CreateTransferJobRequest - .getDefaultInstance(); + public com.google.storagetransfer.v1.proto.TransferProto.CreateTransferJobRequest getDefaultInstanceForType() { + return com.google.storagetransfer.v1.proto.TransferProto.CreateTransferJobRequest.getDefaultInstance(); } @java.lang.Override public com.google.storagetransfer.v1.proto.TransferProto.CreateTransferJobRequest build() { - com.google.storagetransfer.v1.proto.TransferProto.CreateTransferJobRequest result = - buildPartial(); + com.google.storagetransfer.v1.proto.TransferProto.CreateTransferJobRequest result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } @@ -1187,10 +1034,8 @@ public com.google.storagetransfer.v1.proto.TransferProto.CreateTransferJobReques } @java.lang.Override - public com.google.storagetransfer.v1.proto.TransferProto.CreateTransferJobRequest - buildPartial() { - com.google.storagetransfer.v1.proto.TransferProto.CreateTransferJobRequest result = - new com.google.storagetransfer.v1.proto.TransferProto.CreateTransferJobRequest(this); + public com.google.storagetransfer.v1.proto.TransferProto.CreateTransferJobRequest buildPartial() { + com.google.storagetransfer.v1.proto.TransferProto.CreateTransferJobRequest result = new com.google.storagetransfer.v1.proto.TransferProto.CreateTransferJobRequest(this); if (transferJobBuilder_ == null) { result.transferJob_ = transferJob_; } else { @@ -1204,54 +1049,46 @@ public com.google.storagetransfer.v1.proto.TransferProto.CreateTransferJobReques public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, - int index, - java.lang.Object value) { + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { - if (other - instanceof com.google.storagetransfer.v1.proto.TransferProto.CreateTransferJobRequest) { - return mergeFrom( - (com.google.storagetransfer.v1.proto.TransferProto.CreateTransferJobRequest) other); + if (other instanceof com.google.storagetransfer.v1.proto.TransferProto.CreateTransferJobRequest) { + return mergeFrom((com.google.storagetransfer.v1.proto.TransferProto.CreateTransferJobRequest)other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom( - com.google.storagetransfer.v1.proto.TransferProto.CreateTransferJobRequest other) { - if (other - == com.google.storagetransfer.v1.proto.TransferProto.CreateTransferJobRequest - .getDefaultInstance()) return this; + public Builder mergeFrom(com.google.storagetransfer.v1.proto.TransferProto.CreateTransferJobRequest other) { + if (other == com.google.storagetransfer.v1.proto.TransferProto.CreateTransferJobRequest.getDefaultInstance()) return this; if (other.hasTransferJob()) { mergeTransferJob(other.getTransferJob()); } @@ -1270,14 +1107,11 @@ public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - com.google.storagetransfer.v1.proto.TransferProto.CreateTransferJobRequest parsedMessage = - null; + com.google.storagetransfer.v1.proto.TransferProto.CreateTransferJobRequest parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.storagetransfer.v1.proto.TransferProto.CreateTransferJobRequest) - e.getUnfinishedMessage(); + parsedMessage = (com.google.storagetransfer.v1.proto.TransferProto.CreateTransferJobRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -1289,61 +1123,41 @@ public Builder mergeFrom( private com.google.storagetransfer.v1.proto.TransferTypes.TransferJob transferJob_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.storagetransfer.v1.proto.TransferTypes.TransferJob, - com.google.storagetransfer.v1.proto.TransferTypes.TransferJob.Builder, - com.google.storagetransfer.v1.proto.TransferTypes.TransferJobOrBuilder> - transferJobBuilder_; + com.google.storagetransfer.v1.proto.TransferTypes.TransferJob, com.google.storagetransfer.v1.proto.TransferTypes.TransferJob.Builder, com.google.storagetransfer.v1.proto.TransferTypes.TransferJobOrBuilder> transferJobBuilder_; /** - * - * *
        * Required. The job to create.
        * 
* - * - * .google.storagetransfer.v1.TransferJob transfer_job = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.storagetransfer.v1.TransferJob transfer_job = 1 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the transferJob field is set. */ public boolean hasTransferJob() { return transferJobBuilder_ != null || transferJob_ != null; } /** - * - * *
        * Required. The job to create.
        * 
* - * - * .google.storagetransfer.v1.TransferJob transfer_job = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.storagetransfer.v1.TransferJob transfer_job = 1 [(.google.api.field_behavior) = REQUIRED]; * @return The transferJob. */ public com.google.storagetransfer.v1.proto.TransferTypes.TransferJob getTransferJob() { if (transferJobBuilder_ == null) { - return transferJob_ == null - ? com.google.storagetransfer.v1.proto.TransferTypes.TransferJob.getDefaultInstance() - : transferJob_; + return transferJob_ == null ? com.google.storagetransfer.v1.proto.TransferTypes.TransferJob.getDefaultInstance() : transferJob_; } else { return transferJobBuilder_.getMessage(); } } /** - * - * *
        * Required. The job to create.
        * 
* - * - * .google.storagetransfer.v1.TransferJob transfer_job = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.storagetransfer.v1.TransferJob transfer_job = 1 [(.google.api.field_behavior) = REQUIRED]; */ - public Builder setTransferJob( - com.google.storagetransfer.v1.proto.TransferTypes.TransferJob value) { + public Builder setTransferJob(com.google.storagetransfer.v1.proto.TransferTypes.TransferJob value) { if (transferJobBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -1357,15 +1171,11 @@ public Builder setTransferJob( return this; } /** - * - * *
        * Required. The job to create.
        * 
* - * - * .google.storagetransfer.v1.TransferJob transfer_job = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.storagetransfer.v1.TransferJob transfer_job = 1 [(.google.api.field_behavior) = REQUIRED]; */ public Builder setTransferJob( com.google.storagetransfer.v1.proto.TransferTypes.TransferJob.Builder builderForValue) { @@ -1379,25 +1189,17 @@ public Builder setTransferJob( return this; } /** - * - * *
        * Required. The job to create.
        * 
* - * - * .google.storagetransfer.v1.TransferJob transfer_job = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.storagetransfer.v1.TransferJob transfer_job = 1 [(.google.api.field_behavior) = REQUIRED]; */ - public Builder mergeTransferJob( - com.google.storagetransfer.v1.proto.TransferTypes.TransferJob value) { + public Builder mergeTransferJob(com.google.storagetransfer.v1.proto.TransferTypes.TransferJob value) { if (transferJobBuilder_ == null) { if (transferJob_ != null) { transferJob_ = - com.google.storagetransfer.v1.proto.TransferTypes.TransferJob.newBuilder( - transferJob_) - .mergeFrom(value) - .buildPartial(); + com.google.storagetransfer.v1.proto.TransferTypes.TransferJob.newBuilder(transferJob_).mergeFrom(value).buildPartial(); } else { transferJob_ = value; } @@ -1409,15 +1211,11 @@ public Builder mergeTransferJob( return this; } /** - * - * *
        * Required. The job to create.
        * 
* - * - * .google.storagetransfer.v1.TransferJob transfer_job = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.storagetransfer.v1.TransferJob transfer_job = 1 [(.google.api.field_behavior) = REQUIRED]; */ public Builder clearTransferJob() { if (transferJobBuilder_ == null) { @@ -1431,71 +1229,52 @@ public Builder clearTransferJob() { return this; } /** - * - * *
        * Required. The job to create.
        * 
* - * - * .google.storagetransfer.v1.TransferJob transfer_job = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.storagetransfer.v1.TransferJob transfer_job = 1 [(.google.api.field_behavior) = REQUIRED]; */ - public com.google.storagetransfer.v1.proto.TransferTypes.TransferJob.Builder - getTransferJobBuilder() { - + public com.google.storagetransfer.v1.proto.TransferTypes.TransferJob.Builder getTransferJobBuilder() { + onChanged(); return getTransferJobFieldBuilder().getBuilder(); } /** - * - * *
        * Required. The job to create.
        * 
* - * - * .google.storagetransfer.v1.TransferJob transfer_job = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.storagetransfer.v1.TransferJob transfer_job = 1 [(.google.api.field_behavior) = REQUIRED]; */ - public com.google.storagetransfer.v1.proto.TransferTypes.TransferJobOrBuilder - getTransferJobOrBuilder() { + public com.google.storagetransfer.v1.proto.TransferTypes.TransferJobOrBuilder getTransferJobOrBuilder() { if (transferJobBuilder_ != null) { return transferJobBuilder_.getMessageOrBuilder(); } else { - return transferJob_ == null - ? com.google.storagetransfer.v1.proto.TransferTypes.TransferJob.getDefaultInstance() - : transferJob_; + return transferJob_ == null ? + com.google.storagetransfer.v1.proto.TransferTypes.TransferJob.getDefaultInstance() : transferJob_; } } /** - * - * *
        * Required. The job to create.
        * 
* - * - * .google.storagetransfer.v1.TransferJob transfer_job = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.storagetransfer.v1.TransferJob transfer_job = 1 [(.google.api.field_behavior) = REQUIRED]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.storagetransfer.v1.proto.TransferTypes.TransferJob, - com.google.storagetransfer.v1.proto.TransferTypes.TransferJob.Builder, - com.google.storagetransfer.v1.proto.TransferTypes.TransferJobOrBuilder> + com.google.storagetransfer.v1.proto.TransferTypes.TransferJob, com.google.storagetransfer.v1.proto.TransferTypes.TransferJob.Builder, com.google.storagetransfer.v1.proto.TransferTypes.TransferJobOrBuilder> getTransferJobFieldBuilder() { if (transferJobBuilder_ == null) { - transferJobBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.storagetransfer.v1.proto.TransferTypes.TransferJob, - com.google.storagetransfer.v1.proto.TransferTypes.TransferJob.Builder, - com.google.storagetransfer.v1.proto.TransferTypes.TransferJobOrBuilder>( - getTransferJob(), getParentForChildren(), isClean()); + transferJobBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.storagetransfer.v1.proto.TransferTypes.TransferJob, com.google.storagetransfer.v1.proto.TransferTypes.TransferJob.Builder, com.google.storagetransfer.v1.proto.TransferTypes.TransferJobOrBuilder>( + getTransferJob(), + getParentForChildren(), + isClean()); transferJob_ = null; } return transferJobBuilder_; } - @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -1508,33 +1287,30 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.storagetransfer.v1.CreateTransferJobRequest) } // @@protoc_insertion_point(class_scope:google.storagetransfer.v1.CreateTransferJobRequest) - private static final com.google.storagetransfer.v1.proto.TransferProto.CreateTransferJobRequest - DEFAULT_INSTANCE; - + private static final com.google.storagetransfer.v1.proto.TransferProto.CreateTransferJobRequest DEFAULT_INSTANCE; static { - DEFAULT_INSTANCE = - new com.google.storagetransfer.v1.proto.TransferProto.CreateTransferJobRequest(); + DEFAULT_INSTANCE = new com.google.storagetransfer.v1.proto.TransferProto.CreateTransferJobRequest(); } - public static com.google.storagetransfer.v1.proto.TransferProto.CreateTransferJobRequest - getDefaultInstance() { + public static com.google.storagetransfer.v1.proto.TransferProto.CreateTransferJobRequest getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public CreateTransferJobRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new CreateTransferJobRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public CreateTransferJobRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new CreateTransferJobRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1546,72 +1322,59 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.storagetransfer.v1.proto.TransferProto.CreateTransferJobRequest - getDefaultInstanceForType() { + public com.google.storagetransfer.v1.proto.TransferProto.CreateTransferJobRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } - public interface UpdateTransferJobRequestOrBuilder - extends + public interface UpdateTransferJobRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.storagetransfer.v1.UpdateTransferJobRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
      * Required. The name of job to update.
      * 
* * string job_name = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The jobName. */ java.lang.String getJobName(); /** - * - * *
      * Required. The name of job to update.
      * 
* * string job_name = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for jobName. */ - com.google.protobuf.ByteString getJobNameBytes(); + com.google.protobuf.ByteString + getJobNameBytes(); /** - * - * *
      * Required. The ID of the Google Cloud project that owns the
      * job.
      * 
* * string project_id = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The projectId. */ java.lang.String getProjectId(); /** - * - * *
      * Required. The ID of the Google Cloud project that owns the
      * job.
      * 
* * string project_id = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for projectId. */ - com.google.protobuf.ByteString getProjectIdBytes(); + com.google.protobuf.ByteString + getProjectIdBytes(); /** - * - * *
      * Required. The job to update. `transferJob` is expected to specify one or more of
      * five fields: [description][google.storagetransfer.v1.TransferJob.description],
@@ -1622,19 +1385,14 @@ public interface UpdateTransferJobRequestOrBuilder
      * other fields are rejected with the error
      * [INVALID_ARGUMENT][google.rpc.Code.INVALID_ARGUMENT]. Updating a job status
      * to [DELETED][google.storagetransfer.v1.TransferJob.Status.DELETED] requires
-     * `storagetransfer.jobs.delete` permissions.
+     * `storagetransfer.jobs.delete` permission.
      * 
* - * - * .google.storagetransfer.v1.TransferJob transfer_job = 3 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.storagetransfer.v1.TransferJob transfer_job = 3 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the transferJob field is set. */ boolean hasTransferJob(); /** - * - * *
      * Required. The job to update. `transferJob` is expected to specify one or more of
      * five fields: [description][google.storagetransfer.v1.TransferJob.description],
@@ -1645,19 +1403,14 @@ public interface UpdateTransferJobRequestOrBuilder
      * other fields are rejected with the error
      * [INVALID_ARGUMENT][google.rpc.Code.INVALID_ARGUMENT]. Updating a job status
      * to [DELETED][google.storagetransfer.v1.TransferJob.Status.DELETED] requires
-     * `storagetransfer.jobs.delete` permissions.
+     * `storagetransfer.jobs.delete` permission.
      * 
* - * - * .google.storagetransfer.v1.TransferJob transfer_job = 3 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.storagetransfer.v1.TransferJob transfer_job = 3 [(.google.api.field_behavior) = REQUIRED]; * @return The transferJob. */ com.google.storagetransfer.v1.proto.TransferTypes.TransferJob getTransferJob(); /** - * - * *
      * Required. The job to update. `transferJob` is expected to specify one or more of
      * five fields: [description][google.storagetransfer.v1.TransferJob.description],
@@ -1668,19 +1421,14 @@ public interface UpdateTransferJobRequestOrBuilder
      * other fields are rejected with the error
      * [INVALID_ARGUMENT][google.rpc.Code.INVALID_ARGUMENT]. Updating a job status
      * to [DELETED][google.storagetransfer.v1.TransferJob.Status.DELETED] requires
-     * `storagetransfer.jobs.delete` permissions.
+     * `storagetransfer.jobs.delete` permission.
      * 
* - * - * .google.storagetransfer.v1.TransferJob transfer_job = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.storagetransfer.v1.TransferJob transfer_job = 3 [(.google.api.field_behavior) = REQUIRED]; */ - com.google.storagetransfer.v1.proto.TransferTypes.TransferJobOrBuilder - getTransferJobOrBuilder(); + com.google.storagetransfer.v1.proto.TransferTypes.TransferJobOrBuilder getTransferJobOrBuilder(); /** - * - * *
      * The field mask of the fields in `transferJob` that are to be updated in
      * this request.  Fields in `transferJob` that can be updated are:
@@ -1695,13 +1443,10 @@ public interface UpdateTransferJobRequestOrBuilder
      * 
* * .google.protobuf.FieldMask update_transfer_job_field_mask = 4; - * * @return Whether the updateTransferJobFieldMask field is set. */ boolean hasUpdateTransferJobFieldMask(); /** - * - * *
      * The field mask of the fields in `transferJob` that are to be updated in
      * this request.  Fields in `transferJob` that can be updated are:
@@ -1716,13 +1461,10 @@ public interface UpdateTransferJobRequestOrBuilder
      * 
* * .google.protobuf.FieldMask update_transfer_job_field_mask = 4; - * * @return The updateTransferJobFieldMask. */ com.google.protobuf.FieldMask getUpdateTransferJobFieldMask(); /** - * - * *
      * The field mask of the fields in `transferJob` that are to be updated in
      * this request.  Fields in `transferJob` that can be updated are:
@@ -1741,24 +1483,21 @@ public interface UpdateTransferJobRequestOrBuilder
     com.google.protobuf.FieldMaskOrBuilder getUpdateTransferJobFieldMaskOrBuilder();
   }
   /**
-   *
-   *
    * 
    * Request passed to UpdateTransferJob.
    * 
* * Protobuf type {@code google.storagetransfer.v1.UpdateTransferJobRequest} */ - public static final class UpdateTransferJobRequest extends com.google.protobuf.GeneratedMessageV3 - implements + public static final class UpdateTransferJobRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.storagetransfer.v1.UpdateTransferJobRequest) UpdateTransferJobRequestOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use UpdateTransferJobRequest.newBuilder() to construct. private UpdateTransferJobRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private UpdateTransferJobRequest() { jobName_ = ""; projectId_ = ""; @@ -1766,15 +1505,16 @@ private UpdateTransferJobRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new UpdateTransferJobRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private UpdateTransferJobRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -1793,60 +1533,51 @@ private UpdateTransferJobRequest( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - jobName_ = s; - break; - } - case 18: - { - java.lang.String s = input.readStringRequireUtf8(); + jobName_ = s; + break; + } + case 18: { + java.lang.String s = input.readStringRequireUtf8(); - projectId_ = s; - break; + projectId_ = s; + break; + } + case 26: { + com.google.storagetransfer.v1.proto.TransferTypes.TransferJob.Builder subBuilder = null; + if (transferJob_ != null) { + subBuilder = transferJob_.toBuilder(); + } + transferJob_ = input.readMessage(com.google.storagetransfer.v1.proto.TransferTypes.TransferJob.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(transferJob_); + transferJob_ = subBuilder.buildPartial(); } - case 26: - { - com.google.storagetransfer.v1.proto.TransferTypes.TransferJob.Builder subBuilder = - null; - if (transferJob_ != null) { - subBuilder = transferJob_.toBuilder(); - } - transferJob_ = - input.readMessage( - com.google.storagetransfer.v1.proto.TransferTypes.TransferJob.parser(), - extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(transferJob_); - transferJob_ = subBuilder.buildPartial(); - } - - break; + + break; + } + case 34: { + com.google.protobuf.FieldMask.Builder subBuilder = null; + if (updateTransferJobFieldMask_ != null) { + subBuilder = updateTransferJobFieldMask_.toBuilder(); } - case 34: - { - com.google.protobuf.FieldMask.Builder subBuilder = null; - if (updateTransferJobFieldMask_ != null) { - subBuilder = updateTransferJobFieldMask_.toBuilder(); - } - updateTransferJobFieldMask_ = - input.readMessage(com.google.protobuf.FieldMask.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(updateTransferJobFieldMask_); - updateTransferJobFieldMask_ = subBuilder.buildPartial(); - } - - break; + updateTransferJobFieldMask_ = input.readMessage(com.google.protobuf.FieldMask.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(updateTransferJobFieldMask_); + updateTransferJobFieldMask_ = subBuilder.buildPartial(); } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -1854,40 +1585,34 @@ private UpdateTransferJobRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.storagetransfer.v1.proto.TransferProto - .internal_static_google_storagetransfer_v1_UpdateTransferJobRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.storagetransfer.v1.proto.TransferProto.internal_static_google_storagetransfer_v1_UpdateTransferJobRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.storagetransfer.v1.proto.TransferProto - .internal_static_google_storagetransfer_v1_UpdateTransferJobRequest_fieldAccessorTable + return com.google.storagetransfer.v1.proto.TransferProto.internal_static_google_storagetransfer_v1_UpdateTransferJobRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.storagetransfer.v1.proto.TransferProto.UpdateTransferJobRequest.class, - com.google.storagetransfer.v1.proto.TransferProto.UpdateTransferJobRequest.Builder - .class); + com.google.storagetransfer.v1.proto.TransferProto.UpdateTransferJobRequest.class, com.google.storagetransfer.v1.proto.TransferProto.UpdateTransferJobRequest.Builder.class); } public static final int JOB_NAME_FIELD_NUMBER = 1; private volatile java.lang.Object jobName_; /** - * - * *
      * Required. The name of job to update.
      * 
* * string job_name = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The jobName. */ @java.lang.Override @@ -1896,29 +1621,29 @@ public java.lang.String getJobName() { 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(); jobName_ = s; return s; } } /** - * - * *
      * Required. The name of job to update.
      * 
* * string job_name = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for jobName. */ @java.lang.Override - public com.google.protobuf.ByteString getJobNameBytes() { + public com.google.protobuf.ByteString + getJobNameBytes() { java.lang.Object ref = jobName_; 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); jobName_ = b; return b; } else { @@ -1929,15 +1654,12 @@ public com.google.protobuf.ByteString getJobNameBytes() { public static final int PROJECT_ID_FIELD_NUMBER = 2; private volatile java.lang.Object projectId_; /** - * - * *
      * Required. The ID of the Google Cloud project that owns the
      * job.
      * 
* * string project_id = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The projectId. */ @java.lang.Override @@ -1946,30 +1668,30 @@ public java.lang.String getProjectId() { 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(); projectId_ = s; return s; } } /** - * - * *
      * Required. The ID of the Google Cloud project that owns the
      * job.
      * 
* * string project_id = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for projectId. */ @java.lang.Override - public com.google.protobuf.ByteString getProjectIdBytes() { + public com.google.protobuf.ByteString + getProjectIdBytes() { java.lang.Object ref = projectId_; 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); projectId_ = b; return b; } else { @@ -1980,8 +1702,6 @@ public com.google.protobuf.ByteString getProjectIdBytes() { public static final int TRANSFER_JOB_FIELD_NUMBER = 3; private com.google.storagetransfer.v1.proto.TransferTypes.TransferJob transferJob_; /** - * - * *
      * Required. The job to update. `transferJob` is expected to specify one or more of
      * five fields: [description][google.storagetransfer.v1.TransferJob.description],
@@ -1992,13 +1712,10 @@ public com.google.protobuf.ByteString getProjectIdBytes() {
      * other fields are rejected with the error
      * [INVALID_ARGUMENT][google.rpc.Code.INVALID_ARGUMENT]. Updating a job status
      * to [DELETED][google.storagetransfer.v1.TransferJob.Status.DELETED] requires
-     * `storagetransfer.jobs.delete` permissions.
+     * `storagetransfer.jobs.delete` permission.
      * 
* - * - * .google.storagetransfer.v1.TransferJob transfer_job = 3 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.storagetransfer.v1.TransferJob transfer_job = 3 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the transferJob field is set. */ @java.lang.Override @@ -2006,8 +1723,6 @@ public boolean hasTransferJob() { return transferJob_ != null; } /** - * - * *
      * Required. The job to update. `transferJob` is expected to specify one or more of
      * five fields: [description][google.storagetransfer.v1.TransferJob.description],
@@ -2018,24 +1733,17 @@ public boolean hasTransferJob() {
      * other fields are rejected with the error
      * [INVALID_ARGUMENT][google.rpc.Code.INVALID_ARGUMENT]. Updating a job status
      * to [DELETED][google.storagetransfer.v1.TransferJob.Status.DELETED] requires
-     * `storagetransfer.jobs.delete` permissions.
+     * `storagetransfer.jobs.delete` permission.
      * 
* - * - * .google.storagetransfer.v1.TransferJob transfer_job = 3 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.storagetransfer.v1.TransferJob transfer_job = 3 [(.google.api.field_behavior) = REQUIRED]; * @return The transferJob. */ @java.lang.Override public com.google.storagetransfer.v1.proto.TransferTypes.TransferJob getTransferJob() { - return transferJob_ == null - ? com.google.storagetransfer.v1.proto.TransferTypes.TransferJob.getDefaultInstance() - : transferJob_; + return transferJob_ == null ? com.google.storagetransfer.v1.proto.TransferTypes.TransferJob.getDefaultInstance() : transferJob_; } /** - * - * *
      * Required. The job to update. `transferJob` is expected to specify one or more of
      * five fields: [description][google.storagetransfer.v1.TransferJob.description],
@@ -2046,24 +1754,19 @@ public com.google.storagetransfer.v1.proto.TransferTypes.TransferJob getTransfer
      * other fields are rejected with the error
      * [INVALID_ARGUMENT][google.rpc.Code.INVALID_ARGUMENT]. Updating a job status
      * to [DELETED][google.storagetransfer.v1.TransferJob.Status.DELETED] requires
-     * `storagetransfer.jobs.delete` permissions.
+     * `storagetransfer.jobs.delete` permission.
      * 
* - * - * .google.storagetransfer.v1.TransferJob transfer_job = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.storagetransfer.v1.TransferJob transfer_job = 3 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override - public com.google.storagetransfer.v1.proto.TransferTypes.TransferJobOrBuilder - getTransferJobOrBuilder() { + public com.google.storagetransfer.v1.proto.TransferTypes.TransferJobOrBuilder getTransferJobOrBuilder() { return getTransferJob(); } public static final int UPDATE_TRANSFER_JOB_FIELD_MASK_FIELD_NUMBER = 4; private com.google.protobuf.FieldMask updateTransferJobFieldMask_; /** - * - * *
      * The field mask of the fields in `transferJob` that are to be updated in
      * this request.  Fields in `transferJob` that can be updated are:
@@ -2078,7 +1781,6 @@ public com.google.storagetransfer.v1.proto.TransferTypes.TransferJob getTransfer
      * 
* * .google.protobuf.FieldMask update_transfer_job_field_mask = 4; - * * @return Whether the updateTransferJobFieldMask field is set. */ @java.lang.Override @@ -2086,8 +1788,6 @@ public boolean hasUpdateTransferJobFieldMask() { return updateTransferJobFieldMask_ != null; } /** - * - * *
      * The field mask of the fields in `transferJob` that are to be updated in
      * this request.  Fields in `transferJob` that can be updated are:
@@ -2102,18 +1802,13 @@ public boolean hasUpdateTransferJobFieldMask() {
      * 
* * .google.protobuf.FieldMask update_transfer_job_field_mask = 4; - * * @return The updateTransferJobFieldMask. */ @java.lang.Override public com.google.protobuf.FieldMask getUpdateTransferJobFieldMask() { - return updateTransferJobFieldMask_ == null - ? com.google.protobuf.FieldMask.getDefaultInstance() - : updateTransferJobFieldMask_; + return updateTransferJobFieldMask_ == null ? com.google.protobuf.FieldMask.getDefaultInstance() : updateTransferJobFieldMask_; } /** - * - * *
      * The field mask of the fields in `transferJob` that are to be updated in
      * this request.  Fields in `transferJob` that can be updated are:
@@ -2135,7 +1830,6 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateTransferJobFieldMaskOrBui
     }
 
     private byte memoizedIsInitialized = -1;
-
     @java.lang.Override
     public final boolean isInitialized() {
       byte isInitialized = memoizedIsInitialized;
@@ -2147,7 +1841,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 (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(jobName_)) {
         com.google.protobuf.GeneratedMessageV3.writeString(output, 1, jobName_);
       }
@@ -2176,12 +1871,12 @@ public int getSerializedSize() {
         size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, projectId_);
       }
       if (transferJob_ != null) {
-        size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getTransferJob());
+        size += com.google.protobuf.CodedOutputStream
+          .computeMessageSize(3, getTransferJob());
       }
       if (updateTransferJobFieldMask_ != null) {
-        size +=
-            com.google.protobuf.CodedOutputStream.computeMessageSize(
-                4, getUpdateTransferJobFieldMask());
+        size += com.google.protobuf.CodedOutputStream
+          .computeMessageSize(4, getUpdateTransferJobFieldMask());
       }
       size += unknownFields.getSerializedSize();
       memoizedSize = size;
@@ -2191,25 +1886,26 @@ 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.storagetransfer.v1.proto.TransferProto.UpdateTransferJobRequest)) {
+      if (!(obj instanceof com.google.storagetransfer.v1.proto.TransferProto.UpdateTransferJobRequest)) {
         return super.equals(obj);
       }
-      com.google.storagetransfer.v1.proto.TransferProto.UpdateTransferJobRequest other =
-          (com.google.storagetransfer.v1.proto.TransferProto.UpdateTransferJobRequest) obj;
+      com.google.storagetransfer.v1.proto.TransferProto.UpdateTransferJobRequest other = (com.google.storagetransfer.v1.proto.TransferProto.UpdateTransferJobRequest) obj;
 
-      if (!getJobName().equals(other.getJobName())) return false;
-      if (!getProjectId().equals(other.getProjectId())) return false;
+      if (!getJobName()
+          .equals(other.getJobName())) return false;
+      if (!getProjectId()
+          .equals(other.getProjectId())) return false;
       if (hasTransferJob() != other.hasTransferJob()) return false;
       if (hasTransferJob()) {
-        if (!getTransferJob().equals(other.getTransferJob())) return false;
+        if (!getTransferJob()
+            .equals(other.getTransferJob())) return false;
       }
       if (hasUpdateTransferJobFieldMask() != other.hasUpdateTransferJobFieldMask()) return false;
       if (hasUpdateTransferJobFieldMask()) {
-        if (!getUpdateTransferJobFieldMask().equals(other.getUpdateTransferJobFieldMask()))
-          return false;
+        if (!getUpdateTransferJobFieldMask()
+            .equals(other.getUpdateTransferJobFieldMask())) return false;
       }
       if (!unknownFields.equals(other.unknownFields)) return false;
       return true;
@@ -2239,101 +1935,88 @@ public int hashCode() {
       return hash;
     }
 
-    public static com.google.storagetransfer.v1.proto.TransferProto.UpdateTransferJobRequest
-        parseFrom(java.nio.ByteBuffer data)
-            throws com.google.protobuf.InvalidProtocolBufferException {
+    public static com.google.storagetransfer.v1.proto.TransferProto.UpdateTransferJobRequest parseFrom(
+        java.nio.ByteBuffer data)
+        throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data);
     }
-
-    public static com.google.storagetransfer.v1.proto.TransferProto.UpdateTransferJobRequest
-        parseFrom(
-            java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-            throws com.google.protobuf.InvalidProtocolBufferException {
+    public static com.google.storagetransfer.v1.proto.TransferProto.UpdateTransferJobRequest parseFrom(
+        java.nio.ByteBuffer data,
+        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data, extensionRegistry);
     }
-
-    public static com.google.storagetransfer.v1.proto.TransferProto.UpdateTransferJobRequest
-        parseFrom(com.google.protobuf.ByteString data)
-            throws com.google.protobuf.InvalidProtocolBufferException {
+    public static com.google.storagetransfer.v1.proto.TransferProto.UpdateTransferJobRequest parseFrom(
+        com.google.protobuf.ByteString data)
+        throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data);
     }
-
-    public static com.google.storagetransfer.v1.proto.TransferProto.UpdateTransferJobRequest
-        parseFrom(
-            com.google.protobuf.ByteString data,
-            com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-            throws com.google.protobuf.InvalidProtocolBufferException {
+    public static com.google.storagetransfer.v1.proto.TransferProto.UpdateTransferJobRequest 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.storagetransfer.v1.proto.TransferProto.UpdateTransferJobRequest
-        parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException {
+    public static com.google.storagetransfer.v1.proto.TransferProto.UpdateTransferJobRequest parseFrom(byte[] data)
+        throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data);
     }
-
-    public static com.google.storagetransfer.v1.proto.TransferProto.UpdateTransferJobRequest
-        parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-            throws com.google.protobuf.InvalidProtocolBufferException {
+    public static com.google.storagetransfer.v1.proto.TransferProto.UpdateTransferJobRequest parseFrom(
+        byte[] data,
+        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data, extensionRegistry);
     }
-
-    public static com.google.storagetransfer.v1.proto.TransferProto.UpdateTransferJobRequest
-        parseFrom(java.io.InputStream input) throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+    public static com.google.storagetransfer.v1.proto.TransferProto.UpdateTransferJobRequest parseFrom(java.io.InputStream input)
+        throws java.io.IOException {
+      return com.google.protobuf.GeneratedMessageV3
+          .parseWithIOException(PARSER, input);
     }
-
-    public static com.google.storagetransfer.v1.proto.TransferProto.UpdateTransferJobRequest
-        parseFrom(
-            java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-            throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
-          PARSER, input, extensionRegistry);
+    public static com.google.storagetransfer.v1.proto.TransferProto.UpdateTransferJobRequest parseFrom(
+        java.io.InputStream input,
+        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        throws java.io.IOException {
+      return com.google.protobuf.GeneratedMessageV3
+          .parseWithIOException(PARSER, input, extensionRegistry);
     }
-
-    public static com.google.storagetransfer.v1.proto.TransferProto.UpdateTransferJobRequest
-        parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
+    public static com.google.storagetransfer.v1.proto.TransferProto.UpdateTransferJobRequest parseDelimitedFrom(java.io.InputStream input)
+        throws java.io.IOException {
+      return com.google.protobuf.GeneratedMessageV3
+          .parseDelimitedWithIOException(PARSER, input);
     }
-
-    public static com.google.storagetransfer.v1.proto.TransferProto.UpdateTransferJobRequest
-        parseDelimitedFrom(
-            java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-            throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(
-          PARSER, input, extensionRegistry);
+    public static com.google.storagetransfer.v1.proto.TransferProto.UpdateTransferJobRequest parseDelimitedFrom(
+        java.io.InputStream input,
+        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        throws java.io.IOException {
+      return com.google.protobuf.GeneratedMessageV3
+          .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
     }
-
-    public static com.google.storagetransfer.v1.proto.TransferProto.UpdateTransferJobRequest
-        parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+    public static com.google.storagetransfer.v1.proto.TransferProto.UpdateTransferJobRequest parseFrom(
+        com.google.protobuf.CodedInputStream input)
+        throws java.io.IOException {
+      return com.google.protobuf.GeneratedMessageV3
+          .parseWithIOException(PARSER, input);
     }
-
-    public static com.google.storagetransfer.v1.proto.TransferProto.UpdateTransferJobRequest
-        parseFrom(
-            com.google.protobuf.CodedInputStream input,
-            com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-            throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
-          PARSER, input, extensionRegistry);
+    public static com.google.storagetransfer.v1.proto.TransferProto.UpdateTransferJobRequest parseFrom(
+        com.google.protobuf.CodedInputStream input,
+        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        throws java.io.IOException {
+      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.storagetransfer.v1.proto.TransferProto.UpdateTransferJobRequest prototype) {
+    public static Builder newBuilder(com.google.storagetransfer.v1.proto.TransferProto.UpdateTransferJobRequest 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
@@ -2343,50 +2026,44 @@ protected Builder newBuilderForType(
       return builder;
     }
     /**
-     *
-     *
      * 
      * Request passed to UpdateTransferJob.
      * 
* * Protobuf type {@code google.storagetransfer.v1.UpdateTransferJobRequest} */ - public static final class Builder - extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.storagetransfer.v1.UpdateTransferJobRequest) com.google.storagetransfer.v1.proto.TransferProto.UpdateTransferJobRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.storagetransfer.v1.proto.TransferProto - .internal_static_google_storagetransfer_v1_UpdateTransferJobRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.storagetransfer.v1.proto.TransferProto.internal_static_google_storagetransfer_v1_UpdateTransferJobRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.storagetransfer.v1.proto.TransferProto - .internal_static_google_storagetransfer_v1_UpdateTransferJobRequest_fieldAccessorTable + return com.google.storagetransfer.v1.proto.TransferProto.internal_static_google_storagetransfer_v1_UpdateTransferJobRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.storagetransfer.v1.proto.TransferProto.UpdateTransferJobRequest.class, - com.google.storagetransfer.v1.proto.TransferProto.UpdateTransferJobRequest.Builder - .class); + com.google.storagetransfer.v1.proto.TransferProto.UpdateTransferJobRequest.class, com.google.storagetransfer.v1.proto.TransferProto.UpdateTransferJobRequest.Builder.class); } - // Construct using - // com.google.storagetransfer.v1.proto.TransferProto.UpdateTransferJobRequest.newBuilder() + // Construct using com.google.storagetransfer.v1.proto.TransferProto.UpdateTransferJobRequest.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -2410,22 +2087,19 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.storagetransfer.v1.proto.TransferProto - .internal_static_google_storagetransfer_v1_UpdateTransferJobRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.storagetransfer.v1.proto.TransferProto.internal_static_google_storagetransfer_v1_UpdateTransferJobRequest_descriptor; } @java.lang.Override - public com.google.storagetransfer.v1.proto.TransferProto.UpdateTransferJobRequest - getDefaultInstanceForType() { - return com.google.storagetransfer.v1.proto.TransferProto.UpdateTransferJobRequest - .getDefaultInstance(); + public com.google.storagetransfer.v1.proto.TransferProto.UpdateTransferJobRequest getDefaultInstanceForType() { + return com.google.storagetransfer.v1.proto.TransferProto.UpdateTransferJobRequest.getDefaultInstance(); } @java.lang.Override public com.google.storagetransfer.v1.proto.TransferProto.UpdateTransferJobRequest build() { - com.google.storagetransfer.v1.proto.TransferProto.UpdateTransferJobRequest result = - buildPartial(); + com.google.storagetransfer.v1.proto.TransferProto.UpdateTransferJobRequest result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } @@ -2433,10 +2107,8 @@ public com.google.storagetransfer.v1.proto.TransferProto.UpdateTransferJobReques } @java.lang.Override - public com.google.storagetransfer.v1.proto.TransferProto.UpdateTransferJobRequest - buildPartial() { - com.google.storagetransfer.v1.proto.TransferProto.UpdateTransferJobRequest result = - new com.google.storagetransfer.v1.proto.TransferProto.UpdateTransferJobRequest(this); + public com.google.storagetransfer.v1.proto.TransferProto.UpdateTransferJobRequest buildPartial() { + com.google.storagetransfer.v1.proto.TransferProto.UpdateTransferJobRequest result = new com.google.storagetransfer.v1.proto.TransferProto.UpdateTransferJobRequest(this); result.jobName_ = jobName_; result.projectId_ = projectId_; if (transferJobBuilder_ == null) { @@ -2457,54 +2129,46 @@ public com.google.storagetransfer.v1.proto.TransferProto.UpdateTransferJobReques public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, - int index, - java.lang.Object value) { + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { - if (other - instanceof com.google.storagetransfer.v1.proto.TransferProto.UpdateTransferJobRequest) { - return mergeFrom( - (com.google.storagetransfer.v1.proto.TransferProto.UpdateTransferJobRequest) other); + if (other instanceof com.google.storagetransfer.v1.proto.TransferProto.UpdateTransferJobRequest) { + return mergeFrom((com.google.storagetransfer.v1.proto.TransferProto.UpdateTransferJobRequest)other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom( - com.google.storagetransfer.v1.proto.TransferProto.UpdateTransferJobRequest other) { - if (other - == com.google.storagetransfer.v1.proto.TransferProto.UpdateTransferJobRequest - .getDefaultInstance()) return this; + public Builder mergeFrom(com.google.storagetransfer.v1.proto.TransferProto.UpdateTransferJobRequest other) { + if (other == com.google.storagetransfer.v1.proto.TransferProto.UpdateTransferJobRequest.getDefaultInstance()) return this; if (!other.getJobName().isEmpty()) { jobName_ = other.jobName_; onChanged(); @@ -2534,14 +2198,11 @@ public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - com.google.storagetransfer.v1.proto.TransferProto.UpdateTransferJobRequest parsedMessage = - null; + com.google.storagetransfer.v1.proto.TransferProto.UpdateTransferJobRequest parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.storagetransfer.v1.proto.TransferProto.UpdateTransferJobRequest) - e.getUnfinishedMessage(); + parsedMessage = (com.google.storagetransfer.v1.proto.TransferProto.UpdateTransferJobRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -2553,20 +2214,18 @@ public Builder mergeFrom( private java.lang.Object jobName_ = ""; /** - * - * *
        * Required. The name of job to update.
        * 
* * string job_name = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The jobName. */ public java.lang.String getJobName() { java.lang.Object ref = jobName_; 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(); jobName_ = s; return s; @@ -2575,21 +2234,20 @@ public java.lang.String getJobName() { } } /** - * - * *
        * Required. The name of job to update.
        * 
* * string job_name = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for jobName. */ - public com.google.protobuf.ByteString getJobNameBytes() { + public com.google.protobuf.ByteString + getJobNameBytes() { java.lang.Object ref = jobName_; 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); jobName_ = b; return b; } else { @@ -2597,61 +2255,54 @@ public com.google.protobuf.ByteString getJobNameBytes() { } } /** - * - * *
        * Required. The name of job to update.
        * 
* * string job_name = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The jobName to set. * @return This builder for chaining. */ - public Builder setJobName(java.lang.String value) { + public Builder setJobName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + jobName_ = value; onChanged(); return this; } /** - * - * *
        * Required. The name of job to update.
        * 
* * string job_name = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return This builder for chaining. */ public Builder clearJobName() { - + jobName_ = getDefaultInstance().getJobName(); onChanged(); return this; } /** - * - * *
        * Required. The name of job to update.
        * 
* * string job_name = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The bytes for jobName to set. * @return This builder for chaining. */ - public Builder setJobNameBytes(com.google.protobuf.ByteString value) { + public Builder setJobNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + jobName_ = value; onChanged(); return this; @@ -2659,21 +2310,19 @@ public Builder setJobNameBytes(com.google.protobuf.ByteString value) { private java.lang.Object projectId_ = ""; /** - * - * *
        * Required. The ID of the Google Cloud project that owns the
        * job.
        * 
* * string project_id = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The projectId. */ public java.lang.String getProjectId() { java.lang.Object ref = projectId_; 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(); projectId_ = s; return s; @@ -2682,22 +2331,21 @@ public java.lang.String getProjectId() { } } /** - * - * *
        * Required. The ID of the Google Cloud project that owns the
        * job.
        * 
* * string project_id = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for projectId. */ - public com.google.protobuf.ByteString getProjectIdBytes() { + public com.google.protobuf.ByteString + getProjectIdBytes() { java.lang.Object ref = projectId_; 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); projectId_ = b; return b; } else { @@ -2705,64 +2353,57 @@ public com.google.protobuf.ByteString getProjectIdBytes() { } } /** - * - * *
        * Required. The ID of the Google Cloud project that owns the
        * job.
        * 
* * string project_id = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The projectId to set. * @return This builder for chaining. */ - public Builder setProjectId(java.lang.String value) { + public Builder setProjectId( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + projectId_ = value; onChanged(); return this; } /** - * - * *
        * Required. The ID of the Google Cloud project that owns the
        * job.
        * 
* * string project_id = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return This builder for chaining. */ public Builder clearProjectId() { - + projectId_ = getDefaultInstance().getProjectId(); onChanged(); return this; } /** - * - * *
        * Required. The ID of the Google Cloud project that owns the
        * job.
        * 
* * string project_id = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The bytes for projectId to set. * @return This builder for chaining. */ - public Builder setProjectIdBytes(com.google.protobuf.ByteString value) { + public Builder setProjectIdBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + projectId_ = value; onChanged(); return this; @@ -2770,13 +2411,8 @@ public Builder setProjectIdBytes(com.google.protobuf.ByteString value) { private com.google.storagetransfer.v1.proto.TransferTypes.TransferJob transferJob_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.storagetransfer.v1.proto.TransferTypes.TransferJob, - com.google.storagetransfer.v1.proto.TransferTypes.TransferJob.Builder, - com.google.storagetransfer.v1.proto.TransferTypes.TransferJobOrBuilder> - transferJobBuilder_; + com.google.storagetransfer.v1.proto.TransferTypes.TransferJob, com.google.storagetransfer.v1.proto.TransferTypes.TransferJob.Builder, com.google.storagetransfer.v1.proto.TransferTypes.TransferJobOrBuilder> transferJobBuilder_; /** - * - * *
        * Required. The job to update. `transferJob` is expected to specify one or more of
        * five fields: [description][google.storagetransfer.v1.TransferJob.description],
@@ -2787,21 +2423,16 @@ public Builder setProjectIdBytes(com.google.protobuf.ByteString value) {
        * other fields are rejected with the error
        * [INVALID_ARGUMENT][google.rpc.Code.INVALID_ARGUMENT]. Updating a job status
        * to [DELETED][google.storagetransfer.v1.TransferJob.Status.DELETED] requires
-       * `storagetransfer.jobs.delete` permissions.
+       * `storagetransfer.jobs.delete` permission.
        * 
* - * - * .google.storagetransfer.v1.TransferJob transfer_job = 3 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.storagetransfer.v1.TransferJob transfer_job = 3 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the transferJob field is set. */ public boolean hasTransferJob() { return transferJobBuilder_ != null || transferJob_ != null; } /** - * - * *
        * Required. The job to update. `transferJob` is expected to specify one or more of
        * five fields: [description][google.storagetransfer.v1.TransferJob.description],
@@ -2812,27 +2443,20 @@ public boolean hasTransferJob() {
        * other fields are rejected with the error
        * [INVALID_ARGUMENT][google.rpc.Code.INVALID_ARGUMENT]. Updating a job status
        * to [DELETED][google.storagetransfer.v1.TransferJob.Status.DELETED] requires
-       * `storagetransfer.jobs.delete` permissions.
+       * `storagetransfer.jobs.delete` permission.
        * 
* - * - * .google.storagetransfer.v1.TransferJob transfer_job = 3 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.storagetransfer.v1.TransferJob transfer_job = 3 [(.google.api.field_behavior) = REQUIRED]; * @return The transferJob. */ public com.google.storagetransfer.v1.proto.TransferTypes.TransferJob getTransferJob() { if (transferJobBuilder_ == null) { - return transferJob_ == null - ? com.google.storagetransfer.v1.proto.TransferTypes.TransferJob.getDefaultInstance() - : transferJob_; + return transferJob_ == null ? com.google.storagetransfer.v1.proto.TransferTypes.TransferJob.getDefaultInstance() : transferJob_; } else { return transferJobBuilder_.getMessage(); } } /** - * - * *
        * Required. The job to update. `transferJob` is expected to specify one or more of
        * five fields: [description][google.storagetransfer.v1.TransferJob.description],
@@ -2843,15 +2467,12 @@ public com.google.storagetransfer.v1.proto.TransferTypes.TransferJob getTransfer
        * other fields are rejected with the error
        * [INVALID_ARGUMENT][google.rpc.Code.INVALID_ARGUMENT]. Updating a job status
        * to [DELETED][google.storagetransfer.v1.TransferJob.Status.DELETED] requires
-       * `storagetransfer.jobs.delete` permissions.
+       * `storagetransfer.jobs.delete` permission.
        * 
* - * - * .google.storagetransfer.v1.TransferJob transfer_job = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.storagetransfer.v1.TransferJob transfer_job = 3 [(.google.api.field_behavior) = REQUIRED]; */ - public Builder setTransferJob( - com.google.storagetransfer.v1.proto.TransferTypes.TransferJob value) { + public Builder setTransferJob(com.google.storagetransfer.v1.proto.TransferTypes.TransferJob value) { if (transferJobBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -2865,8 +2486,6 @@ public Builder setTransferJob( return this; } /** - * - * *
        * Required. The job to update. `transferJob` is expected to specify one or more of
        * five fields: [description][google.storagetransfer.v1.TransferJob.description],
@@ -2877,12 +2496,10 @@ public Builder setTransferJob(
        * other fields are rejected with the error
        * [INVALID_ARGUMENT][google.rpc.Code.INVALID_ARGUMENT]. Updating a job status
        * to [DELETED][google.storagetransfer.v1.TransferJob.Status.DELETED] requires
-       * `storagetransfer.jobs.delete` permissions.
+       * `storagetransfer.jobs.delete` permission.
        * 
* - * - * .google.storagetransfer.v1.TransferJob transfer_job = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.storagetransfer.v1.TransferJob transfer_job = 3 [(.google.api.field_behavior) = REQUIRED]; */ public Builder setTransferJob( com.google.storagetransfer.v1.proto.TransferTypes.TransferJob.Builder builderForValue) { @@ -2896,8 +2513,6 @@ public Builder setTransferJob( return this; } /** - * - * *
        * Required. The job to update. `transferJob` is expected to specify one or more of
        * five fields: [description][google.storagetransfer.v1.TransferJob.description],
@@ -2908,22 +2523,16 @@ public Builder setTransferJob(
        * other fields are rejected with the error
        * [INVALID_ARGUMENT][google.rpc.Code.INVALID_ARGUMENT]. Updating a job status
        * to [DELETED][google.storagetransfer.v1.TransferJob.Status.DELETED] requires
-       * `storagetransfer.jobs.delete` permissions.
+       * `storagetransfer.jobs.delete` permission.
        * 
* - * - * .google.storagetransfer.v1.TransferJob transfer_job = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.storagetransfer.v1.TransferJob transfer_job = 3 [(.google.api.field_behavior) = REQUIRED]; */ - public Builder mergeTransferJob( - com.google.storagetransfer.v1.proto.TransferTypes.TransferJob value) { + public Builder mergeTransferJob(com.google.storagetransfer.v1.proto.TransferTypes.TransferJob value) { if (transferJobBuilder_ == null) { if (transferJob_ != null) { transferJob_ = - com.google.storagetransfer.v1.proto.TransferTypes.TransferJob.newBuilder( - transferJob_) - .mergeFrom(value) - .buildPartial(); + com.google.storagetransfer.v1.proto.TransferTypes.TransferJob.newBuilder(transferJob_).mergeFrom(value).buildPartial(); } else { transferJob_ = value; } @@ -2935,8 +2544,6 @@ public Builder mergeTransferJob( return this; } /** - * - * *
        * Required. The job to update. `transferJob` is expected to specify one or more of
        * five fields: [description][google.storagetransfer.v1.TransferJob.description],
@@ -2947,12 +2554,10 @@ public Builder mergeTransferJob(
        * other fields are rejected with the error
        * [INVALID_ARGUMENT][google.rpc.Code.INVALID_ARGUMENT]. Updating a job status
        * to [DELETED][google.storagetransfer.v1.TransferJob.Status.DELETED] requires
-       * `storagetransfer.jobs.delete` permissions.
+       * `storagetransfer.jobs.delete` permission.
        * 
* - * - * .google.storagetransfer.v1.TransferJob transfer_job = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.storagetransfer.v1.TransferJob transfer_job = 3 [(.google.api.field_behavior) = REQUIRED]; */ public Builder clearTransferJob() { if (transferJobBuilder_ == null) { @@ -2966,8 +2571,6 @@ public Builder clearTransferJob() { return this; } /** - * - * *
        * Required. The job to update. `transferJob` is expected to specify one or more of
        * five fields: [description][google.storagetransfer.v1.TransferJob.description],
@@ -2978,22 +2581,17 @@ public Builder clearTransferJob() {
        * other fields are rejected with the error
        * [INVALID_ARGUMENT][google.rpc.Code.INVALID_ARGUMENT]. Updating a job status
        * to [DELETED][google.storagetransfer.v1.TransferJob.Status.DELETED] requires
-       * `storagetransfer.jobs.delete` permissions.
+       * `storagetransfer.jobs.delete` permission.
        * 
* - * - * .google.storagetransfer.v1.TransferJob transfer_job = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.storagetransfer.v1.TransferJob transfer_job = 3 [(.google.api.field_behavior) = REQUIRED]; */ - public com.google.storagetransfer.v1.proto.TransferTypes.TransferJob.Builder - getTransferJobBuilder() { - + public com.google.storagetransfer.v1.proto.TransferTypes.TransferJob.Builder getTransferJobBuilder() { + onChanged(); return getTransferJobFieldBuilder().getBuilder(); } /** - * - * *
        * Required. The job to update. `transferJob` is expected to specify one or more of
        * five fields: [description][google.storagetransfer.v1.TransferJob.description],
@@ -3004,26 +2602,20 @@ public Builder clearTransferJob() {
        * other fields are rejected with the error
        * [INVALID_ARGUMENT][google.rpc.Code.INVALID_ARGUMENT]. Updating a job status
        * to [DELETED][google.storagetransfer.v1.TransferJob.Status.DELETED] requires
-       * `storagetransfer.jobs.delete` permissions.
+       * `storagetransfer.jobs.delete` permission.
        * 
* - * - * .google.storagetransfer.v1.TransferJob transfer_job = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.storagetransfer.v1.TransferJob transfer_job = 3 [(.google.api.field_behavior) = REQUIRED]; */ - public com.google.storagetransfer.v1.proto.TransferTypes.TransferJobOrBuilder - getTransferJobOrBuilder() { + public com.google.storagetransfer.v1.proto.TransferTypes.TransferJobOrBuilder getTransferJobOrBuilder() { if (transferJobBuilder_ != null) { return transferJobBuilder_.getMessageOrBuilder(); } else { - return transferJob_ == null - ? com.google.storagetransfer.v1.proto.TransferTypes.TransferJob.getDefaultInstance() - : transferJob_; + return transferJob_ == null ? + com.google.storagetransfer.v1.proto.TransferTypes.TransferJob.getDefaultInstance() : transferJob_; } } /** - * - * *
        * Required. The job to update. `transferJob` is expected to specify one or more of
        * five fields: [description][google.storagetransfer.v1.TransferJob.description],
@@ -3034,25 +2626,20 @@ public Builder clearTransferJob() {
        * other fields are rejected with the error
        * [INVALID_ARGUMENT][google.rpc.Code.INVALID_ARGUMENT]. Updating a job status
        * to [DELETED][google.storagetransfer.v1.TransferJob.Status.DELETED] requires
-       * `storagetransfer.jobs.delete` permissions.
+       * `storagetransfer.jobs.delete` permission.
        * 
* - * - * .google.storagetransfer.v1.TransferJob transfer_job = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.storagetransfer.v1.TransferJob transfer_job = 3 [(.google.api.field_behavior) = REQUIRED]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.storagetransfer.v1.proto.TransferTypes.TransferJob, - com.google.storagetransfer.v1.proto.TransferTypes.TransferJob.Builder, - com.google.storagetransfer.v1.proto.TransferTypes.TransferJobOrBuilder> + com.google.storagetransfer.v1.proto.TransferTypes.TransferJob, com.google.storagetransfer.v1.proto.TransferTypes.TransferJob.Builder, com.google.storagetransfer.v1.proto.TransferTypes.TransferJobOrBuilder> getTransferJobFieldBuilder() { if (transferJobBuilder_ == null) { - transferJobBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.storagetransfer.v1.proto.TransferTypes.TransferJob, - com.google.storagetransfer.v1.proto.TransferTypes.TransferJob.Builder, - com.google.storagetransfer.v1.proto.TransferTypes.TransferJobOrBuilder>( - getTransferJob(), getParentForChildren(), isClean()); + transferJobBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.storagetransfer.v1.proto.TransferTypes.TransferJob, com.google.storagetransfer.v1.proto.TransferTypes.TransferJob.Builder, com.google.storagetransfer.v1.proto.TransferTypes.TransferJobOrBuilder>( + getTransferJob(), + getParentForChildren(), + isClean()); transferJob_ = null; } return transferJobBuilder_; @@ -3060,13 +2647,8 @@ public Builder clearTransferJob() { private com.google.protobuf.FieldMask updateTransferJobFieldMask_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.FieldMask, - com.google.protobuf.FieldMask.Builder, - com.google.protobuf.FieldMaskOrBuilder> - updateTransferJobFieldMaskBuilder_; + com.google.protobuf.FieldMask, com.google.protobuf.FieldMask.Builder, com.google.protobuf.FieldMaskOrBuilder> updateTransferJobFieldMaskBuilder_; /** - * - * *
        * The field mask of the fields in `transferJob` that are to be updated in
        * this request.  Fields in `transferJob` that can be updated are:
@@ -3081,15 +2663,12 @@ public Builder clearTransferJob() {
        * 
* * .google.protobuf.FieldMask update_transfer_job_field_mask = 4; - * * @return Whether the updateTransferJobFieldMask field is set. */ public boolean hasUpdateTransferJobFieldMask() { return updateTransferJobFieldMaskBuilder_ != null || updateTransferJobFieldMask_ != null; } /** - * - * *
        * The field mask of the fields in `transferJob` that are to be updated in
        * this request.  Fields in `transferJob` that can be updated are:
@@ -3104,21 +2683,16 @@ public boolean hasUpdateTransferJobFieldMask() {
        * 
* * .google.protobuf.FieldMask update_transfer_job_field_mask = 4; - * * @return The updateTransferJobFieldMask. */ public com.google.protobuf.FieldMask getUpdateTransferJobFieldMask() { if (updateTransferJobFieldMaskBuilder_ == null) { - return updateTransferJobFieldMask_ == null - ? com.google.protobuf.FieldMask.getDefaultInstance() - : updateTransferJobFieldMask_; + return updateTransferJobFieldMask_ == null ? com.google.protobuf.FieldMask.getDefaultInstance() : updateTransferJobFieldMask_; } else { return updateTransferJobFieldMaskBuilder_.getMessage(); } } /** - * - * *
        * The field mask of the fields in `transferJob` that are to be updated in
        * this request.  Fields in `transferJob` that can be updated are:
@@ -3148,8 +2722,6 @@ public Builder setUpdateTransferJobFieldMask(com.google.protobuf.FieldMask value
         return this;
       }
       /**
-       *
-       *
        * 
        * The field mask of the fields in `transferJob` that are to be updated in
        * this request.  Fields in `transferJob` that can be updated are:
@@ -3177,8 +2749,6 @@ public Builder setUpdateTransferJobFieldMask(
         return this;
       }
       /**
-       *
-       *
        * 
        * The field mask of the fields in `transferJob` that are to be updated in
        * this request.  Fields in `transferJob` that can be updated are:
@@ -3198,9 +2768,7 @@ public Builder mergeUpdateTransferJobFieldMask(com.google.protobuf.FieldMask val
         if (updateTransferJobFieldMaskBuilder_ == null) {
           if (updateTransferJobFieldMask_ != null) {
             updateTransferJobFieldMask_ =
-                com.google.protobuf.FieldMask.newBuilder(updateTransferJobFieldMask_)
-                    .mergeFrom(value)
-                    .buildPartial();
+              com.google.protobuf.FieldMask.newBuilder(updateTransferJobFieldMask_).mergeFrom(value).buildPartial();
           } else {
             updateTransferJobFieldMask_ = value;
           }
@@ -3212,8 +2780,6 @@ public Builder mergeUpdateTransferJobFieldMask(com.google.protobuf.FieldMask val
         return this;
       }
       /**
-       *
-       *
        * 
        * The field mask of the fields in `transferJob` that are to be updated in
        * this request.  Fields in `transferJob` that can be updated are:
@@ -3241,8 +2807,6 @@ public Builder clearUpdateTransferJobFieldMask() {
         return this;
       }
       /**
-       *
-       *
        * 
        * The field mask of the fields in `transferJob` that are to be updated in
        * this request.  Fields in `transferJob` that can be updated are:
@@ -3259,13 +2823,11 @@ public Builder clearUpdateTransferJobFieldMask() {
        * .google.protobuf.FieldMask update_transfer_job_field_mask = 4;
        */
       public com.google.protobuf.FieldMask.Builder getUpdateTransferJobFieldMaskBuilder() {
-
+        
         onChanged();
         return getUpdateTransferJobFieldMaskFieldBuilder().getBuilder();
       }
       /**
-       *
-       *
        * 
        * The field mask of the fields in `transferJob` that are to be updated in
        * this request.  Fields in `transferJob` that can be updated are:
@@ -3285,14 +2847,11 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateTransferJobFieldMaskOrBui
         if (updateTransferJobFieldMaskBuilder_ != null) {
           return updateTransferJobFieldMaskBuilder_.getMessageOrBuilder();
         } else {
-          return updateTransferJobFieldMask_ == null
-              ? com.google.protobuf.FieldMask.getDefaultInstance()
-              : updateTransferJobFieldMask_;
+          return updateTransferJobFieldMask_ == null ?
+              com.google.protobuf.FieldMask.getDefaultInstance() : updateTransferJobFieldMask_;
         }
       }
       /**
-       *
-       *
        * 
        * The field mask of the fields in `transferJob` that are to be updated in
        * this request.  Fields in `transferJob` that can be updated are:
@@ -3309,22 +2868,18 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateTransferJobFieldMaskOrBui
        * .google.protobuf.FieldMask update_transfer_job_field_mask = 4;
        */
       private com.google.protobuf.SingleFieldBuilderV3<
-              com.google.protobuf.FieldMask,
-              com.google.protobuf.FieldMask.Builder,
-              com.google.protobuf.FieldMaskOrBuilder>
+          com.google.protobuf.FieldMask, com.google.protobuf.FieldMask.Builder, com.google.protobuf.FieldMaskOrBuilder> 
           getUpdateTransferJobFieldMaskFieldBuilder() {
         if (updateTransferJobFieldMaskBuilder_ == null) {
-          updateTransferJobFieldMaskBuilder_ =
-              new com.google.protobuf.SingleFieldBuilderV3<
-                  com.google.protobuf.FieldMask,
-                  com.google.protobuf.FieldMask.Builder,
-                  com.google.protobuf.FieldMaskOrBuilder>(
-                  getUpdateTransferJobFieldMask(), getParentForChildren(), isClean());
+          updateTransferJobFieldMaskBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+              com.google.protobuf.FieldMask, com.google.protobuf.FieldMask.Builder, com.google.protobuf.FieldMaskOrBuilder>(
+                  getUpdateTransferJobFieldMask(),
+                  getParentForChildren(),
+                  isClean());
           updateTransferJobFieldMask_ = null;
         }
         return updateTransferJobFieldMaskBuilder_;
       }
-
       @java.lang.Override
       public final Builder setUnknownFields(
           final com.google.protobuf.UnknownFieldSet unknownFields) {
@@ -3337,33 +2892,30 @@ public final Builder mergeUnknownFields(
         return super.mergeUnknownFields(unknownFields);
       }
 
+
       // @@protoc_insertion_point(builder_scope:google.storagetransfer.v1.UpdateTransferJobRequest)
     }
 
     // @@protoc_insertion_point(class_scope:google.storagetransfer.v1.UpdateTransferJobRequest)
-    private static final com.google.storagetransfer.v1.proto.TransferProto.UpdateTransferJobRequest
-        DEFAULT_INSTANCE;
-
+    private static final com.google.storagetransfer.v1.proto.TransferProto.UpdateTransferJobRequest DEFAULT_INSTANCE;
     static {
-      DEFAULT_INSTANCE =
-          new com.google.storagetransfer.v1.proto.TransferProto.UpdateTransferJobRequest();
+      DEFAULT_INSTANCE = new com.google.storagetransfer.v1.proto.TransferProto.UpdateTransferJobRequest();
     }
 
-    public static com.google.storagetransfer.v1.proto.TransferProto.UpdateTransferJobRequest
-        getDefaultInstance() {
+    public static com.google.storagetransfer.v1.proto.TransferProto.UpdateTransferJobRequest getDefaultInstance() {
       return DEFAULT_INSTANCE;
     }
 
-    private static final com.google.protobuf.Parser PARSER =
-        new com.google.protobuf.AbstractParser() {
-          @java.lang.Override
-          public UpdateTransferJobRequest parsePartialFrom(
-              com.google.protobuf.CodedInputStream input,
-              com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-              throws com.google.protobuf.InvalidProtocolBufferException {
-            return new UpdateTransferJobRequest(input, extensionRegistry);
-          }
-        };
+    private static final com.google.protobuf.Parser
+        PARSER = new com.google.protobuf.AbstractParser() {
+      @java.lang.Override
+      public UpdateTransferJobRequest parsePartialFrom(
+          com.google.protobuf.CodedInputStream input,
+          com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+          throws com.google.protobuf.InvalidProtocolBufferException {
+        return new UpdateTransferJobRequest(input, extensionRegistry);
+      }
+    };
 
     public static com.google.protobuf.Parser parser() {
       return PARSER;
@@ -3375,88 +2927,74 @@ public com.google.protobuf.Parser getParserForType() {
     }
 
     @java.lang.Override
-    public com.google.storagetransfer.v1.proto.TransferProto.UpdateTransferJobRequest
-        getDefaultInstanceForType() {
+    public com.google.storagetransfer.v1.proto.TransferProto.UpdateTransferJobRequest getDefaultInstanceForType() {
       return DEFAULT_INSTANCE;
     }
+
   }
 
-  public interface GetTransferJobRequestOrBuilder
-      extends
+  public interface GetTransferJobRequestOrBuilder extends
       // @@protoc_insertion_point(interface_extends:google.storagetransfer.v1.GetTransferJobRequest)
       com.google.protobuf.MessageOrBuilder {
 
     /**
-     *
-     *
      * 
      * Required. The job to get.
      * 
* * string job_name = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The jobName. */ java.lang.String getJobName(); /** - * - * *
      * Required. The job to get.
      * 
* * string job_name = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for jobName. */ - com.google.protobuf.ByteString getJobNameBytes(); + com.google.protobuf.ByteString + getJobNameBytes(); /** - * - * *
      * Required. The ID of the Google Cloud project that owns the
      * job.
      * 
* * string project_id = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The projectId. */ java.lang.String getProjectId(); /** - * - * *
      * Required. The ID of the Google Cloud project that owns the
      * job.
      * 
* * string project_id = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for projectId. */ - com.google.protobuf.ByteString getProjectIdBytes(); + com.google.protobuf.ByteString + getProjectIdBytes(); } /** - * - * *
    * Request passed to GetTransferJob.
    * 
* * Protobuf type {@code google.storagetransfer.v1.GetTransferJobRequest} */ - public static final class GetTransferJobRequest extends com.google.protobuf.GeneratedMessageV3 - implements + public static final class GetTransferJobRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.storagetransfer.v1.GetTransferJobRequest) GetTransferJobRequestOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use GetTransferJobRequest.newBuilder() to construct. private GetTransferJobRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private GetTransferJobRequest() { jobName_ = ""; projectId_ = ""; @@ -3464,15 +3002,16 @@ private GetTransferJobRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new GetTransferJobRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private GetTransferJobRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -3491,27 +3030,25 @@ private GetTransferJobRequest( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - jobName_ = s; - break; - } - case 18: - { - java.lang.String s = input.readStringRequireUtf8(); + jobName_ = s; + break; + } + case 18: { + java.lang.String s = input.readStringRequireUtf8(); - projectId_ = s; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + projectId_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -3519,40 +3056,34 @@ private GetTransferJobRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.storagetransfer.v1.proto.TransferProto - .internal_static_google_storagetransfer_v1_GetTransferJobRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.storagetransfer.v1.proto.TransferProto.internal_static_google_storagetransfer_v1_GetTransferJobRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.storagetransfer.v1.proto.TransferProto - .internal_static_google_storagetransfer_v1_GetTransferJobRequest_fieldAccessorTable + return com.google.storagetransfer.v1.proto.TransferProto.internal_static_google_storagetransfer_v1_GetTransferJobRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.storagetransfer.v1.proto.TransferProto.GetTransferJobRequest.class, - com.google.storagetransfer.v1.proto.TransferProto.GetTransferJobRequest.Builder - .class); + com.google.storagetransfer.v1.proto.TransferProto.GetTransferJobRequest.class, com.google.storagetransfer.v1.proto.TransferProto.GetTransferJobRequest.Builder.class); } public static final int JOB_NAME_FIELD_NUMBER = 1; private volatile java.lang.Object jobName_; /** - * - * *
      * Required. The job to get.
      * 
* * string job_name = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The jobName. */ @java.lang.Override @@ -3561,29 +3092,29 @@ public java.lang.String getJobName() { 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(); jobName_ = s; return s; } } /** - * - * *
      * Required. The job to get.
      * 
* * string job_name = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for jobName. */ @java.lang.Override - public com.google.protobuf.ByteString getJobNameBytes() { + public com.google.protobuf.ByteString + getJobNameBytes() { java.lang.Object ref = jobName_; 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); jobName_ = b; return b; } else { @@ -3594,15 +3125,12 @@ public com.google.protobuf.ByteString getJobNameBytes() { public static final int PROJECT_ID_FIELD_NUMBER = 2; private volatile java.lang.Object projectId_; /** - * - * *
      * Required. The ID of the Google Cloud project that owns the
      * job.
      * 
* * string project_id = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The projectId. */ @java.lang.Override @@ -3611,30 +3139,30 @@ public java.lang.String getProjectId() { 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(); projectId_ = s; return s; } } /** - * - * *
      * Required. The ID of the Google Cloud project that owns the
      * job.
      * 
* * string project_id = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for projectId. */ @java.lang.Override - public com.google.protobuf.ByteString getProjectIdBytes() { + public com.google.protobuf.ByteString + getProjectIdBytes() { java.lang.Object ref = projectId_; 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); projectId_ = b; return b; } else { @@ -3643,7 +3171,6 @@ public com.google.protobuf.ByteString getProjectIdBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -3655,7 +3182,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 (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(jobName_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, jobName_); } @@ -3685,17 +3213,17 @@ 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.storagetransfer.v1.proto.TransferProto.GetTransferJobRequest)) { + if (!(obj instanceof com.google.storagetransfer.v1.proto.TransferProto.GetTransferJobRequest)) { return super.equals(obj); } - com.google.storagetransfer.v1.proto.TransferProto.GetTransferJobRequest other = - (com.google.storagetransfer.v1.proto.TransferProto.GetTransferJobRequest) obj; + com.google.storagetransfer.v1.proto.TransferProto.GetTransferJobRequest other = (com.google.storagetransfer.v1.proto.TransferProto.GetTransferJobRequest) obj; - if (!getJobName().equals(other.getJobName())) return false; - if (!getProjectId().equals(other.getProjectId())) return false; + if (!getJobName() + .equals(other.getJobName())) return false; + if (!getProjectId() + .equals(other.getProjectId())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -3717,95 +3245,896 @@ public int hashCode() { } public static com.google.storagetransfer.v1.proto.TransferProto.GetTransferJobRequest parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.storagetransfer.v1.proto.TransferProto.GetTransferJobRequest 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.storagetransfer.v1.proto.TransferProto.GetTransferJobRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.storagetransfer.v1.proto.TransferProto.GetTransferJobRequest 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.storagetransfer.v1.proto.TransferProto.GetTransferJobRequest parseFrom( - byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.storagetransfer.v1.proto.TransferProto.GetTransferJobRequest parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.storagetransfer.v1.proto.TransferProto.GetTransferJobRequest 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.storagetransfer.v1.proto.TransferProto.GetTransferJobRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.storagetransfer.v1.proto.TransferProto.GetTransferJobRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static com.google.storagetransfer.v1.proto.TransferProto.GetTransferJobRequest parseFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + public static com.google.storagetransfer.v1.proto.TransferProto.GetTransferJobRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); + } + public static com.google.storagetransfer.v1.proto.TransferProto.GetTransferJobRequest parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + } + public static com.google.storagetransfer.v1.proto.TransferProto.GetTransferJobRequest parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static com.google.storagetransfer.v1.proto.TransferProto.GetTransferJobRequest parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + + @java.lang.Override + public Builder newBuilderForType() { return newBuilder(); } + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + public static Builder newBuilder(com.google.storagetransfer.v1.proto.TransferProto.GetTransferJobRequest prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); + } + + @java.lang.Override + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + /** + *
+     * Request passed to GetTransferJob.
+     * 
+ * + * Protobuf type {@code google.storagetransfer.v1.GetTransferJobRequest} + */ + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements + // @@protoc_insertion_point(builder_implements:google.storagetransfer.v1.GetTransferJobRequest) + com.google.storagetransfer.v1.proto.TransferProto.GetTransferJobRequestOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.storagetransfer.v1.proto.TransferProto.internal_static_google_storagetransfer_v1_GetTransferJobRequest_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.storagetransfer.v1.proto.TransferProto.internal_static_google_storagetransfer_v1_GetTransferJobRequest_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.storagetransfer.v1.proto.TransferProto.GetTransferJobRequest.class, com.google.storagetransfer.v1.proto.TransferProto.GetTransferJobRequest.Builder.class); + } + + // Construct using com.google.storagetransfer.v1.proto.TransferProto.GetTransferJobRequest.newBuilder() + private Builder() { + maybeForceBuilderInitialization(); + } + + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + maybeForceBuilderInitialization(); + } + private void maybeForceBuilderInitialization() { + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } + } + @java.lang.Override + public Builder clear() { + super.clear(); + jobName_ = ""; + + projectId_ = ""; + + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.storagetransfer.v1.proto.TransferProto.internal_static_google_storagetransfer_v1_GetTransferJobRequest_descriptor; + } + + @java.lang.Override + public com.google.storagetransfer.v1.proto.TransferProto.GetTransferJobRequest getDefaultInstanceForType() { + return com.google.storagetransfer.v1.proto.TransferProto.GetTransferJobRequest.getDefaultInstance(); + } + + @java.lang.Override + public com.google.storagetransfer.v1.proto.TransferProto.GetTransferJobRequest build() { + com.google.storagetransfer.v1.proto.TransferProto.GetTransferJobRequest result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.google.storagetransfer.v1.proto.TransferProto.GetTransferJobRequest buildPartial() { + com.google.storagetransfer.v1.proto.TransferProto.GetTransferJobRequest result = new com.google.storagetransfer.v1.proto.TransferProto.GetTransferJobRequest(this); + result.jobName_ = jobName_; + result.projectId_ = projectId_; + onBuilt(); + return result; + } + + @java.lang.Override + public Builder clone() { + return super.clone(); + } + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.setField(field, value); + } + @java.lang.Override + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { + return super.clearField(field); + } + @java.lang.Override + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return super.clearOneof(oneof); + } + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { + return super.setRepeatedField(field, index, value); + } + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.addRepeatedField(field, value); + } + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof com.google.storagetransfer.v1.proto.TransferProto.GetTransferJobRequest) { + return mergeFrom((com.google.storagetransfer.v1.proto.TransferProto.GetTransferJobRequest)other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(com.google.storagetransfer.v1.proto.TransferProto.GetTransferJobRequest other) { + if (other == com.google.storagetransfer.v1.proto.TransferProto.GetTransferJobRequest.getDefaultInstance()) return this; + if (!other.getJobName().isEmpty()) { + jobName_ = other.jobName_; + onChanged(); + } + if (!other.getProjectId().isEmpty()) { + projectId_ = other.projectId_; + onChanged(); + } + this.mergeUnknownFields(other.unknownFields); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + com.google.storagetransfer.v1.proto.TransferProto.GetTransferJobRequest parsedMessage = null; + try { + parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + parsedMessage = (com.google.storagetransfer.v1.proto.TransferProto.GetTransferJobRequest) e.getUnfinishedMessage(); + throw e.unwrapIOException(); + } finally { + if (parsedMessage != null) { + mergeFrom(parsedMessage); + } + } + return this; + } + + private java.lang.Object jobName_ = ""; + /** + *
+       * Required. The job to get.
+       * 
+ * + * string job_name = 1 [(.google.api.field_behavior) = REQUIRED]; + * @return The jobName. + */ + public java.lang.String getJobName() { + java.lang.Object ref = jobName_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + jobName_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + *
+       * Required. The job to get.
+       * 
+ * + * string job_name = 1 [(.google.api.field_behavior) = REQUIRED]; + * @return The bytes for jobName. + */ + public com.google.protobuf.ByteString + getJobNameBytes() { + java.lang.Object ref = jobName_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + jobName_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + *
+       * Required. The job to get.
+       * 
+ * + * string job_name = 1 [(.google.api.field_behavior) = REQUIRED]; + * @param value The jobName to set. + * @return This builder for chaining. + */ + public Builder setJobName( + java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + + jobName_ = value; + onChanged(); + return this; + } + /** + *
+       * Required. The job to get.
+       * 
+ * + * string job_name = 1 [(.google.api.field_behavior) = REQUIRED]; + * @return This builder for chaining. + */ + public Builder clearJobName() { + + jobName_ = getDefaultInstance().getJobName(); + onChanged(); + return this; + } + /** + *
+       * Required. The job to get.
+       * 
+ * + * string job_name = 1 [(.google.api.field_behavior) = REQUIRED]; + * @param value The bytes for jobName to set. + * @return This builder for chaining. + */ + public Builder setJobNameBytes( + com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + + jobName_ = value; + onChanged(); + return this; + } + + private java.lang.Object projectId_ = ""; + /** + *
+       * Required. The ID of the Google Cloud project that owns the
+       * job.
+       * 
+ * + * string project_id = 2 [(.google.api.field_behavior) = REQUIRED]; + * @return The projectId. + */ + public java.lang.String getProjectId() { + java.lang.Object ref = projectId_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + projectId_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + *
+       * Required. The ID of the Google Cloud project that owns the
+       * job.
+       * 
+ * + * string project_id = 2 [(.google.api.field_behavior) = REQUIRED]; + * @return The bytes for projectId. + */ + public com.google.protobuf.ByteString + getProjectIdBytes() { + java.lang.Object ref = projectId_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + projectId_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + *
+       * Required. The ID of the Google Cloud project that owns the
+       * job.
+       * 
+ * + * string project_id = 2 [(.google.api.field_behavior) = REQUIRED]; + * @param value The projectId to set. + * @return This builder for chaining. + */ + public Builder setProjectId( + java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + + projectId_ = value; + onChanged(); + return this; + } + /** + *
+       * Required. The ID of the Google Cloud project that owns the
+       * job.
+       * 
+ * + * string project_id = 2 [(.google.api.field_behavior) = REQUIRED]; + * @return This builder for chaining. + */ + public Builder clearProjectId() { + + projectId_ = getDefaultInstance().getProjectId(); + onChanged(); + return this; + } + /** + *
+       * Required. The ID of the Google Cloud project that owns the
+       * job.
+       * 
+ * + * string project_id = 2 [(.google.api.field_behavior) = REQUIRED]; + * @param value The bytes for projectId to set. + * @return This builder for chaining. + */ + public Builder setProjectIdBytes( + com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + + projectId_ = value; + onChanged(); + return this; + } + @java.lang.Override + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + + + // @@protoc_insertion_point(builder_scope:google.storagetransfer.v1.GetTransferJobRequest) + } + + // @@protoc_insertion_point(class_scope:google.storagetransfer.v1.GetTransferJobRequest) + private static final com.google.storagetransfer.v1.proto.TransferProto.GetTransferJobRequest DEFAULT_INSTANCE; + static { + DEFAULT_INSTANCE = new com.google.storagetransfer.v1.proto.TransferProto.GetTransferJobRequest(); + } + + public static com.google.storagetransfer.v1.proto.TransferProto.GetTransferJobRequest getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public GetTransferJobRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new GetTransferJobRequest(input, extensionRegistry); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public com.google.storagetransfer.v1.proto.TransferProto.GetTransferJobRequest getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } + + } + + public interface DeleteTransferJobRequestOrBuilder extends + // @@protoc_insertion_point(interface_extends:google.storagetransfer.v1.DeleteTransferJobRequest) + com.google.protobuf.MessageOrBuilder { + + /** + *
+     * Required. The job to delete.
+     * 
+ * + * string job_name = 1 [(.google.api.field_behavior) = REQUIRED]; + * @return The jobName. + */ + java.lang.String getJobName(); + /** + *
+     * Required. The job to delete.
+     * 
+ * + * string job_name = 1 [(.google.api.field_behavior) = REQUIRED]; + * @return The bytes for jobName. + */ + com.google.protobuf.ByteString + getJobNameBytes(); + + /** + *
+     * Required. The ID of the Google Cloud project that owns the
+     * job.
+     * 
+ * + * string project_id = 2 [(.google.api.field_behavior) = REQUIRED]; + * @return The projectId. + */ + java.lang.String getProjectId(); + /** + *
+     * Required. The ID of the Google Cloud project that owns the
+     * job.
+     * 
+ * + * string project_id = 2 [(.google.api.field_behavior) = REQUIRED]; + * @return The bytes for projectId. + */ + com.google.protobuf.ByteString + getProjectIdBytes(); + } + /** + *
+   * Request passed to DeleteTransferJob.
+   * 
+ * + * Protobuf type {@code google.storagetransfer.v1.DeleteTransferJobRequest} + */ + public static final class DeleteTransferJobRequest extends + com.google.protobuf.GeneratedMessageV3 implements + // @@protoc_insertion_point(message_implements:google.storagetransfer.v1.DeleteTransferJobRequest) + DeleteTransferJobRequestOrBuilder { + private static final long serialVersionUID = 0L; + // Use DeleteTransferJobRequest.newBuilder() to construct. + private DeleteTransferJobRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + private DeleteTransferJobRequest() { + jobName_ = ""; + projectId_ = ""; + } + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { + return new DeleteTransferJobRequest(); + } + + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { + return this.unknownFields; + } + private DeleteTransferJobRequest( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + com.google.protobuf.UnknownFieldSet.Builder unknownFields = + com.google.protobuf.UnknownFieldSet.newBuilder(); + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 10: { + java.lang.String s = input.readStringRequireUtf8(); + + jobName_ = s; + break; + } + case 18: { + java.lang.String s = input.readStringRequireUtf8(); + + projectId_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; + } + } + } + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(this); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); + } finally { + this.unknownFields = unknownFields.build(); + makeExtensionsImmutable(); + } + } + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.storagetransfer.v1.proto.TransferProto.internal_static_google_storagetransfer_v1_DeleteTransferJobRequest_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.storagetransfer.v1.proto.TransferProto.internal_static_google_storagetransfer_v1_DeleteTransferJobRequest_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.storagetransfer.v1.proto.TransferProto.DeleteTransferJobRequest.class, com.google.storagetransfer.v1.proto.TransferProto.DeleteTransferJobRequest.Builder.class); + } + + public static final int JOB_NAME_FIELD_NUMBER = 1; + private volatile java.lang.Object jobName_; + /** + *
+     * Required. The job to delete.
+     * 
+ * + * string job_name = 1 [(.google.api.field_behavior) = REQUIRED]; + * @return The jobName. + */ + @java.lang.Override + public java.lang.String getJobName() { + java.lang.Object ref = jobName_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + jobName_ = s; + return s; + } + } + /** + *
+     * Required. The job to delete.
+     * 
+ * + * string job_name = 1 [(.google.api.field_behavior) = REQUIRED]; + * @return The bytes for jobName. + */ + @java.lang.Override + public com.google.protobuf.ByteString + getJobNameBytes() { + java.lang.Object ref = jobName_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + jobName_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int PROJECT_ID_FIELD_NUMBER = 2; + private volatile java.lang.Object projectId_; + /** + *
+     * Required. The ID of the Google Cloud project that owns the
+     * job.
+     * 
+ * + * string project_id = 2 [(.google.api.field_behavior) = REQUIRED]; + * @return The projectId. + */ + @java.lang.Override + public java.lang.String getProjectId() { + java.lang.Object ref = projectId_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + projectId_ = s; + return s; + } + } + /** + *
+     * Required. The ID of the Google Cloud project that owns the
+     * job.
+     * 
+ * + * string project_id = 2 [(.google.api.field_behavior) = REQUIRED]; + * @return The bytes for projectId. + */ + @java.lang.Override + public com.google.protobuf.ByteString + getProjectIdBytes() { + java.lang.Object ref = projectId_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + projectId_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + private byte memoizedIsInitialized = -1; + @java.lang.Override + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; + + memoizedIsInitialized = 1; + return true; + } + + @java.lang.Override + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(jobName_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 1, jobName_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(projectId_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 2, projectId_); + } + unknownFields.writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(jobName_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, jobName_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(projectId_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, projectId_); + } + size += unknownFields.getSerializedSize(); + memoizedSize = size; + return size; + } + + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof com.google.storagetransfer.v1.proto.TransferProto.DeleteTransferJobRequest)) { + return super.equals(obj); + } + com.google.storagetransfer.v1.proto.TransferProto.DeleteTransferJobRequest other = (com.google.storagetransfer.v1.proto.TransferProto.DeleteTransferJobRequest) obj; + + if (!getJobName() + .equals(other.getJobName())) return false; + if (!getProjectId() + .equals(other.getProjectId())) return false; + if (!unknownFields.equals(other.unknownFields)) return false; + return true; } - public static com.google.storagetransfer.v1.proto.TransferProto.GetTransferJobRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + hash = (37 * hash) + JOB_NAME_FIELD_NUMBER; + hash = (53 * hash) + getJobName().hashCode(); + hash = (37 * hash) + PROJECT_ID_FIELD_NUMBER; + hash = (53 * hash) + getProjectId().hashCode(); + hash = (29 * hash) + unknownFields.hashCode(); + memoizedHashCode = hash; + return hash; } - public static com.google.storagetransfer.v1.proto.TransferProto.GetTransferJobRequest - parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.storagetransfer.v1.proto.TransferProto.DeleteTransferJobRequest parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); } - - public static com.google.storagetransfer.v1.proto.TransferProto.GetTransferJobRequest - parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + public static com.google.storagetransfer.v1.proto.TransferProto.DeleteTransferJobRequest parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.storagetransfer.v1.proto.TransferProto.GetTransferJobRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.storagetransfer.v1.proto.TransferProto.DeleteTransferJobRequest parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); } - - public static com.google.storagetransfer.v1.proto.TransferProto.GetTransferJobRequest parseFrom( + public static com.google.storagetransfer.v1.proto.TransferProto.DeleteTransferJobRequest 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.storagetransfer.v1.proto.TransferProto.DeleteTransferJobRequest parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.google.storagetransfer.v1.proto.TransferProto.DeleteTransferJobRequest parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.google.storagetransfer.v1.proto.TransferProto.DeleteTransferJobRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static com.google.storagetransfer.v1.proto.TransferProto.DeleteTransferJobRequest parseFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + public static com.google.storagetransfer.v1.proto.TransferProto.DeleteTransferJobRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); + } + public static com.google.storagetransfer.v1.proto.TransferProto.DeleteTransferJobRequest parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + } + public static com.google.storagetransfer.v1.proto.TransferProto.DeleteTransferJobRequest parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static com.google.storagetransfer.v1.proto.TransferProto.DeleteTransferJobRequest 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.storagetransfer.v1.proto.TransferProto.GetTransferJobRequest prototype) { + public static Builder newBuilder(com.google.storagetransfer.v1.proto.TransferProto.DeleteTransferJobRequest 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 @@ -3815,50 +4144,44 @@ protected Builder newBuilderForType( return builder; } /** - * - * *
-     * Request passed to GetTransferJob.
+     * Request passed to DeleteTransferJob.
      * 
* - * Protobuf type {@code google.storagetransfer.v1.GetTransferJobRequest} + * Protobuf type {@code google.storagetransfer.v1.DeleteTransferJobRequest} */ - public static final class Builder - extends com.google.protobuf.GeneratedMessageV3.Builder - implements - // @@protoc_insertion_point(builder_implements:google.storagetransfer.v1.GetTransferJobRequest) - com.google.storagetransfer.v1.proto.TransferProto.GetTransferJobRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.storagetransfer.v1.proto.TransferProto - .internal_static_google_storagetransfer_v1_GetTransferJobRequest_descriptor; + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements + // @@protoc_insertion_point(builder_implements:google.storagetransfer.v1.DeleteTransferJobRequest) + com.google.storagetransfer.v1.proto.TransferProto.DeleteTransferJobRequestOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.storagetransfer.v1.proto.TransferProto.internal_static_google_storagetransfer_v1_DeleteTransferJobRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.storagetransfer.v1.proto.TransferProto - .internal_static_google_storagetransfer_v1_GetTransferJobRequest_fieldAccessorTable + return com.google.storagetransfer.v1.proto.TransferProto.internal_static_google_storagetransfer_v1_DeleteTransferJobRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.storagetransfer.v1.proto.TransferProto.GetTransferJobRequest.class, - com.google.storagetransfer.v1.proto.TransferProto.GetTransferJobRequest.Builder - .class); + com.google.storagetransfer.v1.proto.TransferProto.DeleteTransferJobRequest.class, com.google.storagetransfer.v1.proto.TransferProto.DeleteTransferJobRequest.Builder.class); } - // Construct using - // com.google.storagetransfer.v1.proto.TransferProto.GetTransferJobRequest.newBuilder() + // Construct using com.google.storagetransfer.v1.proto.TransferProto.DeleteTransferJobRequest.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -3870,22 +4193,19 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.storagetransfer.v1.proto.TransferProto - .internal_static_google_storagetransfer_v1_GetTransferJobRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.storagetransfer.v1.proto.TransferProto.internal_static_google_storagetransfer_v1_DeleteTransferJobRequest_descriptor; } @java.lang.Override - public com.google.storagetransfer.v1.proto.TransferProto.GetTransferJobRequest - getDefaultInstanceForType() { - return com.google.storagetransfer.v1.proto.TransferProto.GetTransferJobRequest - .getDefaultInstance(); + public com.google.storagetransfer.v1.proto.TransferProto.DeleteTransferJobRequest getDefaultInstanceForType() { + return com.google.storagetransfer.v1.proto.TransferProto.DeleteTransferJobRequest.getDefaultInstance(); } @java.lang.Override - public com.google.storagetransfer.v1.proto.TransferProto.GetTransferJobRequest build() { - com.google.storagetransfer.v1.proto.TransferProto.GetTransferJobRequest result = - buildPartial(); + public com.google.storagetransfer.v1.proto.TransferProto.DeleteTransferJobRequest build() { + com.google.storagetransfer.v1.proto.TransferProto.DeleteTransferJobRequest result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } @@ -3893,10 +4213,8 @@ public com.google.storagetransfer.v1.proto.TransferProto.GetTransferJobRequest b } @java.lang.Override - public com.google.storagetransfer.v1.proto.TransferProto.GetTransferJobRequest - buildPartial() { - com.google.storagetransfer.v1.proto.TransferProto.GetTransferJobRequest result = - new com.google.storagetransfer.v1.proto.TransferProto.GetTransferJobRequest(this); + public com.google.storagetransfer.v1.proto.TransferProto.DeleteTransferJobRequest buildPartial() { + com.google.storagetransfer.v1.proto.TransferProto.DeleteTransferJobRequest result = new com.google.storagetransfer.v1.proto.TransferProto.DeleteTransferJobRequest(this); result.jobName_ = jobName_; result.projectId_ = projectId_; onBuilt(); @@ -3907,54 +4225,46 @@ public com.google.storagetransfer.v1.proto.TransferProto.GetTransferJobRequest b public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, - int index, - java.lang.Object value) { + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { - if (other - instanceof com.google.storagetransfer.v1.proto.TransferProto.GetTransferJobRequest) { - return mergeFrom( - (com.google.storagetransfer.v1.proto.TransferProto.GetTransferJobRequest) other); + if (other instanceof com.google.storagetransfer.v1.proto.TransferProto.DeleteTransferJobRequest) { + return mergeFrom((com.google.storagetransfer.v1.proto.TransferProto.DeleteTransferJobRequest)other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom( - com.google.storagetransfer.v1.proto.TransferProto.GetTransferJobRequest other) { - if (other - == com.google.storagetransfer.v1.proto.TransferProto.GetTransferJobRequest - .getDefaultInstance()) return this; + public Builder mergeFrom(com.google.storagetransfer.v1.proto.TransferProto.DeleteTransferJobRequest other) { + if (other == com.google.storagetransfer.v1.proto.TransferProto.DeleteTransferJobRequest.getDefaultInstance()) return this; if (!other.getJobName().isEmpty()) { jobName_ = other.jobName_; onChanged(); @@ -3978,14 +4288,11 @@ public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - com.google.storagetransfer.v1.proto.TransferProto.GetTransferJobRequest parsedMessage = - null; + com.google.storagetransfer.v1.proto.TransferProto.DeleteTransferJobRequest parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.storagetransfer.v1.proto.TransferProto.GetTransferJobRequest) - e.getUnfinishedMessage(); + parsedMessage = (com.google.storagetransfer.v1.proto.TransferProto.DeleteTransferJobRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -3997,20 +4304,18 @@ public Builder mergeFrom( private java.lang.Object jobName_ = ""; /** - * - * *
-       * Required. The job to get.
+       * Required. The job to delete.
        * 
* * string job_name = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The jobName. */ public java.lang.String getJobName() { java.lang.Object ref = jobName_; 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(); jobName_ = s; return s; @@ -4019,21 +4324,20 @@ public java.lang.String getJobName() { } } /** - * - * *
-       * Required. The job to get.
+       * Required. The job to delete.
        * 
* * string job_name = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for jobName. */ - public com.google.protobuf.ByteString getJobNameBytes() { + public com.google.protobuf.ByteString + getJobNameBytes() { java.lang.Object ref = jobName_; 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); jobName_ = b; return b; } else { @@ -4041,61 +4345,54 @@ public com.google.protobuf.ByteString getJobNameBytes() { } } /** - * - * *
-       * Required. The job to get.
+       * Required. The job to delete.
        * 
* * string job_name = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The jobName to set. * @return This builder for chaining. */ - public Builder setJobName(java.lang.String value) { + public Builder setJobName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + jobName_ = value; onChanged(); return this; } /** - * - * *
-       * Required. The job to get.
+       * Required. The job to delete.
        * 
* * string job_name = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return This builder for chaining. */ public Builder clearJobName() { - + jobName_ = getDefaultInstance().getJobName(); onChanged(); return this; } /** - * - * *
-       * Required. The job to get.
+       * Required. The job to delete.
        * 
* * string job_name = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The bytes for jobName to set. * @return This builder for chaining. */ - public Builder setJobNameBytes(com.google.protobuf.ByteString value) { + public Builder setJobNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + jobName_ = value; onChanged(); return this; @@ -4103,21 +4400,19 @@ public Builder setJobNameBytes(com.google.protobuf.ByteString value) { private java.lang.Object projectId_ = ""; /** - * - * *
        * Required. The ID of the Google Cloud project that owns the
        * job.
        * 
* * string project_id = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The projectId. */ public java.lang.String getProjectId() { java.lang.Object ref = projectId_; 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(); projectId_ = s; return s; @@ -4126,22 +4421,21 @@ public java.lang.String getProjectId() { } } /** - * - * *
        * Required. The ID of the Google Cloud project that owns the
        * job.
        * 
* * string project_id = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for projectId. */ - public com.google.protobuf.ByteString getProjectIdBytes() { + public com.google.protobuf.ByteString + getProjectIdBytes() { java.lang.Object ref = projectId_; 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); projectId_ = b; return b; } else { @@ -4149,69 +4443,61 @@ public com.google.protobuf.ByteString getProjectIdBytes() { } } /** - * - * *
        * Required. The ID of the Google Cloud project that owns the
        * job.
        * 
* * string project_id = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The projectId to set. * @return This builder for chaining. */ - public Builder setProjectId(java.lang.String value) { + public Builder setProjectId( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + projectId_ = value; onChanged(); return this; } /** - * - * *
        * Required. The ID of the Google Cloud project that owns the
        * job.
        * 
* * string project_id = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return This builder for chaining. */ public Builder clearProjectId() { - + projectId_ = getDefaultInstance().getProjectId(); onChanged(); return this; } /** - * - * *
        * Required. The ID of the Google Cloud project that owns the
        * job.
        * 
* * string project_id = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The bytes for projectId to set. * @return This builder for chaining. */ - public Builder setProjectIdBytes(com.google.protobuf.ByteString value) { + public Builder setProjectIdBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + projectId_ = value; onChanged(); return this; } - @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -4224,58 +4510,52 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.storagetransfer.v1.GetTransferJobRequest) - } - // @@protoc_insertion_point(class_scope:google.storagetransfer.v1.GetTransferJobRequest) - private static final com.google.storagetransfer.v1.proto.TransferProto.GetTransferJobRequest - DEFAULT_INSTANCE; + // @@protoc_insertion_point(builder_scope:google.storagetransfer.v1.DeleteTransferJobRequest) + } + // @@protoc_insertion_point(class_scope:google.storagetransfer.v1.DeleteTransferJobRequest) + private static final com.google.storagetransfer.v1.proto.TransferProto.DeleteTransferJobRequest DEFAULT_INSTANCE; static { - DEFAULT_INSTANCE = - new com.google.storagetransfer.v1.proto.TransferProto.GetTransferJobRequest(); + DEFAULT_INSTANCE = new com.google.storagetransfer.v1.proto.TransferProto.DeleteTransferJobRequest(); } - public static com.google.storagetransfer.v1.proto.TransferProto.GetTransferJobRequest - getDefaultInstance() { + public static com.google.storagetransfer.v1.proto.TransferProto.DeleteTransferJobRequest getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public GetTransferJobRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new GetTransferJobRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public DeleteTransferJobRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new DeleteTransferJobRequest(input, extensionRegistry); + } + }; - public static com.google.protobuf.Parser parser() { + public static com.google.protobuf.Parser parser() { return PARSER; } @java.lang.Override - public com.google.protobuf.Parser getParserForType() { + public com.google.protobuf.Parser getParserForType() { return PARSER; } @java.lang.Override - public com.google.storagetransfer.v1.proto.TransferProto.GetTransferJobRequest - getDefaultInstanceForType() { + public com.google.storagetransfer.v1.proto.TransferProto.DeleteTransferJobRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } - public interface ListTransferJobsRequestOrBuilder - extends + public interface ListTransferJobsRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.storagetransfer.v1.ListTransferJobsRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
      * Required. A list of query parameters specified as JSON text in the form of:
      * `{"projectId":"my_project_id",
@@ -4291,13 +4571,10 @@ public interface ListTransferJobsRequestOrBuilder
      * 
* * string filter = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The filter. */ java.lang.String getFilter(); /** - * - * *
      * Required. A list of query parameters specified as JSON text in the form of:
      * `{"projectId":"my_project_id",
@@ -4313,52 +4590,42 @@ public interface ListTransferJobsRequestOrBuilder
      * 
* * string filter = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for filter. */ - com.google.protobuf.ByteString getFilterBytes(); + com.google.protobuf.ByteString + getFilterBytes(); /** - * - * *
      * The list page size. The max allowed value is 256.
      * 
* * int32 page_size = 4; - * * @return The pageSize. */ int getPageSize(); /** - * - * *
      * The list page token.
      * 
* * string page_token = 5; - * * @return The pageToken. */ java.lang.String getPageToken(); /** - * - * *
      * The list page token.
      * 
* * string page_token = 5; - * * @return The bytes for pageToken. */ - com.google.protobuf.ByteString getPageTokenBytes(); + com.google.protobuf.ByteString + getPageTokenBytes(); } /** - * - * *
    * `projectId`, `jobNames`, and `jobStatuses` are query parameters that can
    * be specified when listing transfer jobs.
@@ -4366,16 +4633,15 @@ public interface ListTransferJobsRequestOrBuilder
    *
    * Protobuf type {@code google.storagetransfer.v1.ListTransferJobsRequest}
    */
-  public static final class ListTransferJobsRequest extends com.google.protobuf.GeneratedMessageV3
-      implements
+  public static final class ListTransferJobsRequest extends
+      com.google.protobuf.GeneratedMessageV3 implements
       // @@protoc_insertion_point(message_implements:google.storagetransfer.v1.ListTransferJobsRequest)
       ListTransferJobsRequestOrBuilder {
-    private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
     // Use ListTransferJobsRequest.newBuilder() to construct.
     private ListTransferJobsRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) {
       super(builder);
     }
-
     private ListTransferJobsRequest() {
       filter_ = "";
       pageToken_ = "";
@@ -4383,15 +4649,16 @@ private ListTransferJobsRequest() {
 
     @java.lang.Override
     @SuppressWarnings({"unused"})
-    protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+    protected java.lang.Object newInstance(
+        UnusedPrivateParameter unused) {
       return new ListTransferJobsRequest();
     }
 
     @java.lang.Override
-    public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+    public final com.google.protobuf.UnknownFieldSet
+    getUnknownFields() {
       return this.unknownFields;
     }
-
     private ListTransferJobsRequest(
         com.google.protobuf.CodedInputStream input,
         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -4410,32 +4677,30 @@ private ListTransferJobsRequest(
             case 0:
               done = true;
               break;
-            case 10:
-              {
-                java.lang.String s = input.readStringRequireUtf8();
+            case 10: {
+              java.lang.String s = input.readStringRequireUtf8();
 
-                filter_ = s;
-                break;
-              }
-            case 32:
-              {
-                pageSize_ = input.readInt32();
-                break;
-              }
-            case 42:
-              {
-                java.lang.String s = input.readStringRequireUtf8();
+              filter_ = s;
+              break;
+            }
+            case 32: {
 
-                pageToken_ = s;
-                break;
-              }
-            default:
-              {
-                if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
-                  done = true;
-                }
-                break;
+              pageSize_ = input.readInt32();
+              break;
+            }
+            case 42: {
+              java.lang.String s = input.readStringRequireUtf8();
+
+              pageToken_ = s;
+              break;
+            }
+            default: {
+              if (!parseUnknownField(
+                  input, unknownFields, extensionRegistry, tag)) {
+                done = true;
               }
+              break;
+            }
           }
         }
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -4443,34 +4708,29 @@ private ListTransferJobsRequest(
       } catch (com.google.protobuf.UninitializedMessageException e) {
         throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
       } catch (java.io.IOException e) {
-        throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
+        throw new com.google.protobuf.InvalidProtocolBufferException(
+            e).setUnfinishedMessage(this);
       } finally {
         this.unknownFields = unknownFields.build();
         makeExtensionsImmutable();
       }
     }
-
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.storagetransfer.v1.proto.TransferProto
-          .internal_static_google_storagetransfer_v1_ListTransferJobsRequest_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.storagetransfer.v1.proto.TransferProto.internal_static_google_storagetransfer_v1_ListTransferJobsRequest_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.storagetransfer.v1.proto.TransferProto
-          .internal_static_google_storagetransfer_v1_ListTransferJobsRequest_fieldAccessorTable
+      return com.google.storagetransfer.v1.proto.TransferProto.internal_static_google_storagetransfer_v1_ListTransferJobsRequest_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.storagetransfer.v1.proto.TransferProto.ListTransferJobsRequest.class,
-              com.google.storagetransfer.v1.proto.TransferProto.ListTransferJobsRequest.Builder
-                  .class);
+              com.google.storagetransfer.v1.proto.TransferProto.ListTransferJobsRequest.class, com.google.storagetransfer.v1.proto.TransferProto.ListTransferJobsRequest.Builder.class);
     }
 
     public static final int FILTER_FIELD_NUMBER = 1;
     private volatile java.lang.Object filter_;
     /**
-     *
-     *
      * 
      * Required. A list of query parameters specified as JSON text in the form of:
      * `{"projectId":"my_project_id",
@@ -4486,7 +4746,6 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
      * 
* * string filter = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The filter. */ @java.lang.Override @@ -4495,15 +4754,14 @@ public java.lang.String getFilter() { 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(); filter_ = s; return s; } } /** - * - * *
      * Required. A list of query parameters specified as JSON text in the form of:
      * `{"projectId":"my_project_id",
@@ -4519,15 +4777,16 @@ public java.lang.String getFilter() {
      * 
* * string filter = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for filter. */ @java.lang.Override - public com.google.protobuf.ByteString getFilterBytes() { + public com.google.protobuf.ByteString + getFilterBytes() { java.lang.Object ref = filter_; 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); filter_ = b; return b; } else { @@ -4538,14 +4797,11 @@ public com.google.protobuf.ByteString getFilterBytes() { public static final int PAGE_SIZE_FIELD_NUMBER = 4; private int pageSize_; /** - * - * *
      * The list page size. The max allowed value is 256.
      * 
* * int32 page_size = 4; - * * @return The pageSize. */ @java.lang.Override @@ -4556,14 +4812,11 @@ public int getPageSize() { public static final int PAGE_TOKEN_FIELD_NUMBER = 5; private volatile java.lang.Object pageToken_; /** - * - * *
      * The list page token.
      * 
* * string page_token = 5; - * * @return The pageToken. */ @java.lang.Override @@ -4572,29 +4825,29 @@ public java.lang.String getPageToken() { 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(); pageToken_ = s; return s; } } /** - * - * *
      * The list page token.
      * 
* * string page_token = 5; - * * @return The bytes for pageToken. */ @java.lang.Override - public com.google.protobuf.ByteString getPageTokenBytes() { + public com.google.protobuf.ByteString + getPageTokenBytes() { java.lang.Object ref = pageToken_; 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); pageToken_ = b; return b; } else { @@ -4603,7 +4856,6 @@ public com.google.protobuf.ByteString getPageTokenBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -4615,7 +4867,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 (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(filter_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, filter_); } @@ -4638,7 +4891,8 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, filter_); } if (pageSize_ != 0) { - size += com.google.protobuf.CodedOutputStream.computeInt32Size(4, pageSize_); + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(4, pageSize_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(pageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(5, pageToken_); @@ -4651,18 +4905,19 @@ 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.storagetransfer.v1.proto.TransferProto.ListTransferJobsRequest)) { + if (!(obj instanceof com.google.storagetransfer.v1.proto.TransferProto.ListTransferJobsRequest)) { return super.equals(obj); } - com.google.storagetransfer.v1.proto.TransferProto.ListTransferJobsRequest other = - (com.google.storagetransfer.v1.proto.TransferProto.ListTransferJobsRequest) obj; + com.google.storagetransfer.v1.proto.TransferProto.ListTransferJobsRequest other = (com.google.storagetransfer.v1.proto.TransferProto.ListTransferJobsRequest) obj; - if (!getFilter().equals(other.getFilter())) return false; - if (getPageSize() != other.getPageSize()) return false; - if (!getPageToken().equals(other.getPageToken())) return false; + if (!getFilter() + .equals(other.getFilter())) return false; + if (getPageSize() + != other.getPageSize()) return false; + if (!getPageToken() + .equals(other.getPageToken())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -4685,101 +4940,88 @@ public int hashCode() { return hash; } - public static com.google.storagetransfer.v1.proto.TransferProto.ListTransferJobsRequest - parseFrom(java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.storagetransfer.v1.proto.TransferProto.ListTransferJobsRequest parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - - public static com.google.storagetransfer.v1.proto.TransferProto.ListTransferJobsRequest - parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.storagetransfer.v1.proto.TransferProto.ListTransferJobsRequest parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.storagetransfer.v1.proto.TransferProto.ListTransferJobsRequest - parseFrom(com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.storagetransfer.v1.proto.TransferProto.ListTransferJobsRequest parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - - public static com.google.storagetransfer.v1.proto.TransferProto.ListTransferJobsRequest - parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.storagetransfer.v1.proto.TransferProto.ListTransferJobsRequest 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.storagetransfer.v1.proto.TransferProto.ListTransferJobsRequest - parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.storagetransfer.v1.proto.TransferProto.ListTransferJobsRequest parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - - public static com.google.storagetransfer.v1.proto.TransferProto.ListTransferJobsRequest - parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.storagetransfer.v1.proto.TransferProto.ListTransferJobsRequest parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.storagetransfer.v1.proto.TransferProto.ListTransferJobsRequest - parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.storagetransfer.v1.proto.TransferProto.ListTransferJobsRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - - public static com.google.storagetransfer.v1.proto.TransferProto.ListTransferJobsRequest - parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + public static com.google.storagetransfer.v1.proto.TransferProto.ListTransferJobsRequest parseFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.storagetransfer.v1.proto.TransferProto.ListTransferJobsRequest - parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.storagetransfer.v1.proto.TransferProto.ListTransferJobsRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - - public static com.google.storagetransfer.v1.proto.TransferProto.ListTransferJobsRequest - parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + public static com.google.storagetransfer.v1.proto.TransferProto.ListTransferJobsRequest parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.storagetransfer.v1.proto.TransferProto.ListTransferJobsRequest - parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.storagetransfer.v1.proto.TransferProto.ListTransferJobsRequest parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - - public static com.google.storagetransfer.v1.proto.TransferProto.ListTransferJobsRequest - parseFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + public static com.google.storagetransfer.v1.proto.TransferProto.ListTransferJobsRequest parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + 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.storagetransfer.v1.proto.TransferProto.ListTransferJobsRequest prototype) { + public static Builder newBuilder(com.google.storagetransfer.v1.proto.TransferProto.ListTransferJobsRequest 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 @@ -4789,8 +5031,6 @@ protected Builder newBuilderForType( return builder; } /** - * - * *
      * `projectId`, `jobNames`, and `jobStatuses` are query parameters that can
      * be specified when listing transfer jobs.
@@ -4798,42 +5038,38 @@ protected Builder newBuilderForType(
      *
      * Protobuf type {@code google.storagetransfer.v1.ListTransferJobsRequest}
      */
-    public static final class Builder
-        extends com.google.protobuf.GeneratedMessageV3.Builder
-        implements
+    public static final class Builder extends
+        com.google.protobuf.GeneratedMessageV3.Builder implements
         // @@protoc_insertion_point(builder_implements:google.storagetransfer.v1.ListTransferJobsRequest)
         com.google.storagetransfer.v1.proto.TransferProto.ListTransferJobsRequestOrBuilder {
-      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-        return com.google.storagetransfer.v1.proto.TransferProto
-            .internal_static_google_storagetransfer_v1_ListTransferJobsRequest_descriptor;
+      public static final com.google.protobuf.Descriptors.Descriptor
+          getDescriptor() {
+        return com.google.storagetransfer.v1.proto.TransferProto.internal_static_google_storagetransfer_v1_ListTransferJobsRequest_descriptor;
       }
 
       @java.lang.Override
       protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
           internalGetFieldAccessorTable() {
-        return com.google.storagetransfer.v1.proto.TransferProto
-            .internal_static_google_storagetransfer_v1_ListTransferJobsRequest_fieldAccessorTable
+        return com.google.storagetransfer.v1.proto.TransferProto.internal_static_google_storagetransfer_v1_ListTransferJobsRequest_fieldAccessorTable
             .ensureFieldAccessorsInitialized(
-                com.google.storagetransfer.v1.proto.TransferProto.ListTransferJobsRequest.class,
-                com.google.storagetransfer.v1.proto.TransferProto.ListTransferJobsRequest.Builder
-                    .class);
+                com.google.storagetransfer.v1.proto.TransferProto.ListTransferJobsRequest.class, com.google.storagetransfer.v1.proto.TransferProto.ListTransferJobsRequest.Builder.class);
       }
 
-      // Construct using
-      // com.google.storagetransfer.v1.proto.TransferProto.ListTransferJobsRequest.newBuilder()
+      // Construct using com.google.storagetransfer.v1.proto.TransferProto.ListTransferJobsRequest.newBuilder()
       private Builder() {
         maybeForceBuilderInitialization();
       }
 
-      private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+      private Builder(
+          com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
         super(parent);
         maybeForceBuilderInitialization();
       }
-
       private void maybeForceBuilderInitialization() {
-        if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {}
+        if (com.google.protobuf.GeneratedMessageV3
+                .alwaysUseFieldBuilders) {
+        }
       }
-
       @java.lang.Override
       public Builder clear() {
         super.clear();
@@ -4847,22 +5083,19 @@ public Builder clear() {
       }
 
       @java.lang.Override
-      public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-        return com.google.storagetransfer.v1.proto.TransferProto
-            .internal_static_google_storagetransfer_v1_ListTransferJobsRequest_descriptor;
+      public com.google.protobuf.Descriptors.Descriptor
+          getDescriptorForType() {
+        return com.google.storagetransfer.v1.proto.TransferProto.internal_static_google_storagetransfer_v1_ListTransferJobsRequest_descriptor;
       }
 
       @java.lang.Override
-      public com.google.storagetransfer.v1.proto.TransferProto.ListTransferJobsRequest
-          getDefaultInstanceForType() {
-        return com.google.storagetransfer.v1.proto.TransferProto.ListTransferJobsRequest
-            .getDefaultInstance();
+      public com.google.storagetransfer.v1.proto.TransferProto.ListTransferJobsRequest getDefaultInstanceForType() {
+        return com.google.storagetransfer.v1.proto.TransferProto.ListTransferJobsRequest.getDefaultInstance();
       }
 
       @java.lang.Override
       public com.google.storagetransfer.v1.proto.TransferProto.ListTransferJobsRequest build() {
-        com.google.storagetransfer.v1.proto.TransferProto.ListTransferJobsRequest result =
-            buildPartial();
+        com.google.storagetransfer.v1.proto.TransferProto.ListTransferJobsRequest result = buildPartial();
         if (!result.isInitialized()) {
           throw newUninitializedMessageException(result);
         }
@@ -4870,10 +5103,8 @@ public com.google.storagetransfer.v1.proto.TransferProto.ListTransferJobsRequest
       }
 
       @java.lang.Override
-      public com.google.storagetransfer.v1.proto.TransferProto.ListTransferJobsRequest
-          buildPartial() {
-        com.google.storagetransfer.v1.proto.TransferProto.ListTransferJobsRequest result =
-            new com.google.storagetransfer.v1.proto.TransferProto.ListTransferJobsRequest(this);
+      public com.google.storagetransfer.v1.proto.TransferProto.ListTransferJobsRequest buildPartial() {
+        com.google.storagetransfer.v1.proto.TransferProto.ListTransferJobsRequest result = new com.google.storagetransfer.v1.proto.TransferProto.ListTransferJobsRequest(this);
         result.filter_ = filter_;
         result.pageSize_ = pageSize_;
         result.pageToken_ = pageToken_;
@@ -4885,54 +5116,46 @@ public com.google.storagetransfer.v1.proto.TransferProto.ListTransferJobsRequest
       public Builder clone() {
         return super.clone();
       }
-
       @java.lang.Override
       public Builder setField(
-          com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+          com.google.protobuf.Descriptors.FieldDescriptor field,
+          java.lang.Object value) {
         return super.setField(field, value);
       }
-
       @java.lang.Override
-      public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+      public Builder clearField(
+          com.google.protobuf.Descriptors.FieldDescriptor field) {
         return super.clearField(field);
       }
-
       @java.lang.Override
-      public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+      public Builder clearOneof(
+          com.google.protobuf.Descriptors.OneofDescriptor oneof) {
         return super.clearOneof(oneof);
       }
-
       @java.lang.Override
       public Builder setRepeatedField(
           com.google.protobuf.Descriptors.FieldDescriptor field,
-          int index,
-          java.lang.Object value) {
+          int index, java.lang.Object value) {
         return super.setRepeatedField(field, index, value);
       }
-
       @java.lang.Override
       public Builder addRepeatedField(
-          com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+          com.google.protobuf.Descriptors.FieldDescriptor field,
+          java.lang.Object value) {
         return super.addRepeatedField(field, value);
       }
-
       @java.lang.Override
       public Builder mergeFrom(com.google.protobuf.Message other) {
-        if (other
-            instanceof com.google.storagetransfer.v1.proto.TransferProto.ListTransferJobsRequest) {
-          return mergeFrom(
-              (com.google.storagetransfer.v1.proto.TransferProto.ListTransferJobsRequest) other);
+        if (other instanceof com.google.storagetransfer.v1.proto.TransferProto.ListTransferJobsRequest) {
+          return mergeFrom((com.google.storagetransfer.v1.proto.TransferProto.ListTransferJobsRequest)other);
         } else {
           super.mergeFrom(other);
           return this;
         }
       }
 
-      public Builder mergeFrom(
-          com.google.storagetransfer.v1.proto.TransferProto.ListTransferJobsRequest other) {
-        if (other
-            == com.google.storagetransfer.v1.proto.TransferProto.ListTransferJobsRequest
-                .getDefaultInstance()) return this;
+      public Builder mergeFrom(com.google.storagetransfer.v1.proto.TransferProto.ListTransferJobsRequest other) {
+        if (other == com.google.storagetransfer.v1.proto.TransferProto.ListTransferJobsRequest.getDefaultInstance()) return this;
         if (!other.getFilter().isEmpty()) {
           filter_ = other.filter_;
           onChanged();
@@ -4959,14 +5182,11 @@ public Builder mergeFrom(
           com.google.protobuf.CodedInputStream input,
           com.google.protobuf.ExtensionRegistryLite extensionRegistry)
           throws java.io.IOException {
-        com.google.storagetransfer.v1.proto.TransferProto.ListTransferJobsRequest parsedMessage =
-            null;
+        com.google.storagetransfer.v1.proto.TransferProto.ListTransferJobsRequest parsedMessage = null;
         try {
           parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
         } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-          parsedMessage =
-              (com.google.storagetransfer.v1.proto.TransferProto.ListTransferJobsRequest)
-                  e.getUnfinishedMessage();
+          parsedMessage = (com.google.storagetransfer.v1.proto.TransferProto.ListTransferJobsRequest) e.getUnfinishedMessage();
           throw e.unwrapIOException();
         } finally {
           if (parsedMessage != null) {
@@ -4978,8 +5198,6 @@ public Builder mergeFrom(
 
       private java.lang.Object filter_ = "";
       /**
-       *
-       *
        * 
        * Required. A list of query parameters specified as JSON text in the form of:
        * `{"projectId":"my_project_id",
@@ -4995,13 +5213,13 @@ public Builder mergeFrom(
        * 
* * string filter = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The filter. */ public java.lang.String getFilter() { java.lang.Object ref = filter_; 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(); filter_ = s; return s; @@ -5010,8 +5228,6 @@ public java.lang.String getFilter() { } } /** - * - * *
        * Required. A list of query parameters specified as JSON text in the form of:
        * `{"projectId":"my_project_id",
@@ -5027,14 +5243,15 @@ public java.lang.String getFilter() {
        * 
* * string filter = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for filter. */ - public com.google.protobuf.ByteString getFilterBytes() { + public com.google.protobuf.ByteString + getFilterBytes() { java.lang.Object ref = filter_; 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); filter_ = b; return b; } else { @@ -5042,8 +5259,6 @@ public com.google.protobuf.ByteString getFilterBytes() { } } /** - * - * *
        * Required. A list of query parameters specified as JSON text in the form of:
        * `{"projectId":"my_project_id",
@@ -5059,22 +5274,20 @@ public com.google.protobuf.ByteString getFilterBytes() {
        * 
* * string filter = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The filter to set. * @return This builder for chaining. */ - public Builder setFilter(java.lang.String value) { + public Builder setFilter( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + filter_ = value; onChanged(); return this; } /** - * - * *
        * Required. A list of query parameters specified as JSON text in the form of:
        * `{"projectId":"my_project_id",
@@ -5090,18 +5303,15 @@ public Builder setFilter(java.lang.String value) {
        * 
* * string filter = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return This builder for chaining. */ public Builder clearFilter() { - + filter_ = getDefaultInstance().getFilter(); onChanged(); return this; } /** - * - * *
        * Required. A list of query parameters specified as JSON text in the form of:
        * `{"projectId":"my_project_id",
@@ -5117,31 +5327,28 @@ public Builder clearFilter() {
        * 
* * string filter = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The bytes for filter to set. * @return This builder for chaining. */ - public Builder setFilterBytes(com.google.protobuf.ByteString value) { + public Builder setFilterBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + filter_ = value; onChanged(); return this; } - private int pageSize_; + private int pageSize_ ; /** - * - * *
        * The list page size. The max allowed value is 256.
        * 
* * int32 page_size = 4; - * * @return The pageSize. */ @java.lang.Override @@ -5149,36 +5356,30 @@ public int getPageSize() { return pageSize_; } /** - * - * *
        * The list page size. The max allowed value is 256.
        * 
* * int32 page_size = 4; - * * @param value The pageSize to set. * @return This builder for chaining. */ public Builder setPageSize(int value) { - + pageSize_ = value; onChanged(); return this; } /** - * - * *
        * The list page size. The max allowed value is 256.
        * 
* * int32 page_size = 4; - * * @return This builder for chaining. */ public Builder clearPageSize() { - + pageSize_ = 0; onChanged(); return this; @@ -5186,20 +5387,18 @@ public Builder clearPageSize() { private java.lang.Object pageToken_ = ""; /** - * - * *
        * The list page token.
        * 
* * string page_token = 5; - * * @return The pageToken. */ public java.lang.String getPageToken() { java.lang.Object ref = pageToken_; 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(); pageToken_ = s; return s; @@ -5208,21 +5407,20 @@ public java.lang.String getPageToken() { } } /** - * - * *
        * The list page token.
        * 
* * string page_token = 5; - * * @return The bytes for pageToken. */ - public com.google.protobuf.ByteString getPageTokenBytes() { + public com.google.protobuf.ByteString + getPageTokenBytes() { java.lang.Object ref = pageToken_; 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); pageToken_ = b; return b; } else { @@ -5230,66 +5428,58 @@ public com.google.protobuf.ByteString getPageTokenBytes() { } } /** - * - * *
        * The list page token.
        * 
* * string page_token = 5; - * * @param value The pageToken to set. * @return This builder for chaining. */ - public Builder setPageToken(java.lang.String value) { + public Builder setPageToken( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + pageToken_ = value; onChanged(); return this; } /** - * - * *
        * The list page token.
        * 
* * string page_token = 5; - * * @return This builder for chaining. */ public Builder clearPageToken() { - + pageToken_ = getDefaultInstance().getPageToken(); onChanged(); return this; } /** - * - * *
        * The list page token.
        * 
* * string page_token = 5; - * * @param value The bytes for pageToken to set. * @return This builder for chaining. */ - public Builder setPageTokenBytes(com.google.protobuf.ByteString value) { + public Builder setPageTokenBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + pageToken_ = value; onChanged(); return this; } - @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -5302,33 +5492,30 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.storagetransfer.v1.ListTransferJobsRequest) } // @@protoc_insertion_point(class_scope:google.storagetransfer.v1.ListTransferJobsRequest) - private static final com.google.storagetransfer.v1.proto.TransferProto.ListTransferJobsRequest - DEFAULT_INSTANCE; - + private static final com.google.storagetransfer.v1.proto.TransferProto.ListTransferJobsRequest DEFAULT_INSTANCE; static { - DEFAULT_INSTANCE = - new com.google.storagetransfer.v1.proto.TransferProto.ListTransferJobsRequest(); + DEFAULT_INSTANCE = new com.google.storagetransfer.v1.proto.TransferProto.ListTransferJobsRequest(); } - public static com.google.storagetransfer.v1.proto.TransferProto.ListTransferJobsRequest - getDefaultInstance() { + public static com.google.storagetransfer.v1.proto.TransferProto.ListTransferJobsRequest getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListTransferJobsRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ListTransferJobsRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListTransferJobsRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ListTransferJobsRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -5340,31 +5527,26 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.storagetransfer.v1.proto.TransferProto.ListTransferJobsRequest - getDefaultInstanceForType() { + public com.google.storagetransfer.v1.proto.TransferProto.ListTransferJobsRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } - public interface ListTransferJobsResponseOrBuilder - extends + public interface ListTransferJobsResponseOrBuilder extends // @@protoc_insertion_point(interface_extends:google.storagetransfer.v1.ListTransferJobsResponse) com.google.protobuf.MessageOrBuilder { /** - * - * *
      * A list of transfer jobs.
      * 
* * repeated .google.storagetransfer.v1.TransferJob transfer_jobs = 1; */ - java.util.List + java.util.List getTransferJobsList(); /** - * - * *
      * A list of transfer jobs.
      * 
@@ -5373,8 +5555,6 @@ public interface ListTransferJobsResponseOrBuilder */ com.google.storagetransfer.v1.proto.TransferTypes.TransferJob getTransferJobs(int index); /** - * - * *
      * A list of transfer jobs.
      * 
@@ -5383,19 +5563,15 @@ public interface ListTransferJobsResponseOrBuilder */ int getTransferJobsCount(); /** - * - * *
      * A list of transfer jobs.
      * 
* * repeated .google.storagetransfer.v1.TransferJob transfer_jobs = 1; */ - java.util.List + java.util.List getTransferJobsOrBuilderList(); /** - * - * *
      * A list of transfer jobs.
      * 
@@ -5406,49 +5582,41 @@ com.google.storagetransfer.v1.proto.TransferTypes.TransferJobOrBuilder getTransf int index); /** - * - * *
      * The list next page token.
      * 
* * string next_page_token = 2; - * * @return The nextPageToken. */ java.lang.String getNextPageToken(); /** - * - * *
      * The list next page token.
      * 
* * string next_page_token = 2; - * * @return The bytes for nextPageToken. */ - com.google.protobuf.ByteString getNextPageTokenBytes(); + com.google.protobuf.ByteString + getNextPageTokenBytes(); } /** - * - * *
    * Response from ListTransferJobs.
    * 
* * Protobuf type {@code google.storagetransfer.v1.ListTransferJobsResponse} */ - public static final class ListTransferJobsResponse extends com.google.protobuf.GeneratedMessageV3 - implements + public static final class ListTransferJobsResponse extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.storagetransfer.v1.ListTransferJobsResponse) ListTransferJobsResponseOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use ListTransferJobsResponse.newBuilder() to construct. private ListTransferJobsResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private ListTransferJobsResponse() { transferJobs_ = java.util.Collections.emptyList(); nextPageToken_ = ""; @@ -5456,15 +5624,16 @@ private ListTransferJobsResponse() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new ListTransferJobsResponse(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private ListTransferJobsResponse( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -5484,34 +5653,28 @@ private ListTransferJobsResponse( case 0: done = true; break; - case 10: - { - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - transferJobs_ = - new java.util.ArrayList< - com.google.storagetransfer.v1.proto.TransferTypes.TransferJob>(); - mutable_bitField0_ |= 0x00000001; - } - transferJobs_.add( - input.readMessage( - com.google.storagetransfer.v1.proto.TransferTypes.TransferJob.parser(), - extensionRegistry)); - break; + case 10: { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + transferJobs_ = new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000001; } - case 18: - { - java.lang.String s = input.readStringRequireUtf8(); + transferJobs_.add( + input.readMessage(com.google.storagetransfer.v1.proto.TransferTypes.TransferJob.parser(), extensionRegistry)); + break; + } + case 18: { + java.lang.String s = input.readStringRequireUtf8(); - nextPageToken_ = s; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + nextPageToken_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -5519,7 +5682,8 @@ private ListTransferJobsResponse( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000001) != 0)) { transferJobs_ = java.util.Collections.unmodifiableList(transferJobs_); @@ -5528,29 +5692,22 @@ private ListTransferJobsResponse( makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.storagetransfer.v1.proto.TransferProto - .internal_static_google_storagetransfer_v1_ListTransferJobsResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.storagetransfer.v1.proto.TransferProto.internal_static_google_storagetransfer_v1_ListTransferJobsResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.storagetransfer.v1.proto.TransferProto - .internal_static_google_storagetransfer_v1_ListTransferJobsResponse_fieldAccessorTable + return com.google.storagetransfer.v1.proto.TransferProto.internal_static_google_storagetransfer_v1_ListTransferJobsResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.storagetransfer.v1.proto.TransferProto.ListTransferJobsResponse.class, - com.google.storagetransfer.v1.proto.TransferProto.ListTransferJobsResponse.Builder - .class); + com.google.storagetransfer.v1.proto.TransferProto.ListTransferJobsResponse.class, com.google.storagetransfer.v1.proto.TransferProto.ListTransferJobsResponse.Builder.class); } public static final int TRANSFER_JOBS_FIELD_NUMBER = 1; - private java.util.List - transferJobs_; + private java.util.List transferJobs_; /** - * - * *
      * A list of transfer jobs.
      * 
@@ -5558,13 +5715,10 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * repeated .google.storagetransfer.v1.TransferJob transfer_jobs = 1; */ @java.lang.Override - public java.util.List - getTransferJobsList() { + public java.util.List getTransferJobsList() { return transferJobs_; } /** - * - * *
      * A list of transfer jobs.
      * 
@@ -5572,14 +5726,11 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * repeated .google.storagetransfer.v1.TransferJob transfer_jobs = 1; */ @java.lang.Override - public java.util.List< - ? extends com.google.storagetransfer.v1.proto.TransferTypes.TransferJobOrBuilder> + public java.util.List getTransferJobsOrBuilderList() { return transferJobs_; } /** - * - * *
      * A list of transfer jobs.
      * 
@@ -5591,8 +5742,6 @@ public int getTransferJobsCount() { return transferJobs_.size(); } /** - * - * *
      * A list of transfer jobs.
      * 
@@ -5600,13 +5749,10 @@ public int getTransferJobsCount() { * repeated .google.storagetransfer.v1.TransferJob transfer_jobs = 1; */ @java.lang.Override - public com.google.storagetransfer.v1.proto.TransferTypes.TransferJob getTransferJobs( - int index) { + public com.google.storagetransfer.v1.proto.TransferTypes.TransferJob getTransferJobs(int index) { return transferJobs_.get(index); } /** - * - * *
      * A list of transfer jobs.
      * 
@@ -5614,22 +5760,19 @@ public com.google.storagetransfer.v1.proto.TransferTypes.TransferJob getTransfer * repeated .google.storagetransfer.v1.TransferJob transfer_jobs = 1; */ @java.lang.Override - public com.google.storagetransfer.v1.proto.TransferTypes.TransferJobOrBuilder - getTransferJobsOrBuilder(int index) { + public com.google.storagetransfer.v1.proto.TransferTypes.TransferJobOrBuilder getTransferJobsOrBuilder( + int index) { return transferJobs_.get(index); } public static final int NEXT_PAGE_TOKEN_FIELD_NUMBER = 2; private volatile java.lang.Object nextPageToken_; /** - * - * *
      * The list next page token.
      * 
* * string next_page_token = 2; - * * @return The nextPageToken. */ @java.lang.Override @@ -5638,29 +5781,29 @@ public java.lang.String getNextPageToken() { 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(); nextPageToken_ = s; return s; } } /** - * - * *
      * The list next page token.
      * 
* * string next_page_token = 2; - * * @return The bytes for nextPageToken. */ @java.lang.Override - public com.google.protobuf.ByteString getNextPageTokenBytes() { + public com.google.protobuf.ByteString + getNextPageTokenBytes() { java.lang.Object ref = nextPageToken_; 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); nextPageToken_ = b; return b; } else { @@ -5669,7 +5812,6 @@ public com.google.protobuf.ByteString getNextPageTokenBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -5681,7 +5823,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 { for (int i = 0; i < transferJobs_.size(); i++) { output.writeMessage(1, transferJobs_.get(i)); } @@ -5698,7 +5841,8 @@ public int getSerializedSize() { size = 0; for (int i = 0; i < transferJobs_.size(); i++) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, transferJobs_.get(i)); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, transferJobs_.get(i)); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(nextPageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, nextPageToken_); @@ -5711,17 +5855,17 @@ 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.storagetransfer.v1.proto.TransferProto.ListTransferJobsResponse)) { + if (!(obj instanceof com.google.storagetransfer.v1.proto.TransferProto.ListTransferJobsResponse)) { return super.equals(obj); } - com.google.storagetransfer.v1.proto.TransferProto.ListTransferJobsResponse other = - (com.google.storagetransfer.v1.proto.TransferProto.ListTransferJobsResponse) obj; + com.google.storagetransfer.v1.proto.TransferProto.ListTransferJobsResponse other = (com.google.storagetransfer.v1.proto.TransferProto.ListTransferJobsResponse) obj; - if (!getTransferJobsList().equals(other.getTransferJobsList())) return false; - if (!getNextPageToken().equals(other.getNextPageToken())) return false; + if (!getTransferJobsList() + .equals(other.getTransferJobsList())) return false; + if (!getNextPageToken() + .equals(other.getNextPageToken())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -5744,101 +5888,88 @@ public int hashCode() { return hash; } - public static com.google.storagetransfer.v1.proto.TransferProto.ListTransferJobsResponse - parseFrom(java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.storagetransfer.v1.proto.TransferProto.ListTransferJobsResponse parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - - public static com.google.storagetransfer.v1.proto.TransferProto.ListTransferJobsResponse - parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.storagetransfer.v1.proto.TransferProto.ListTransferJobsResponse parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.storagetransfer.v1.proto.TransferProto.ListTransferJobsResponse - parseFrom(com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.storagetransfer.v1.proto.TransferProto.ListTransferJobsResponse parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - - public static com.google.storagetransfer.v1.proto.TransferProto.ListTransferJobsResponse - parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.storagetransfer.v1.proto.TransferProto.ListTransferJobsResponse 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.storagetransfer.v1.proto.TransferProto.ListTransferJobsResponse - parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.storagetransfer.v1.proto.TransferProto.ListTransferJobsResponse parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - - public static com.google.storagetransfer.v1.proto.TransferProto.ListTransferJobsResponse - parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.storagetransfer.v1.proto.TransferProto.ListTransferJobsResponse parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.storagetransfer.v1.proto.TransferProto.ListTransferJobsResponse - parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.storagetransfer.v1.proto.TransferProto.ListTransferJobsResponse parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - - public static com.google.storagetransfer.v1.proto.TransferProto.ListTransferJobsResponse - parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + public static com.google.storagetransfer.v1.proto.TransferProto.ListTransferJobsResponse parseFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.storagetransfer.v1.proto.TransferProto.ListTransferJobsResponse - parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.storagetransfer.v1.proto.TransferProto.ListTransferJobsResponse parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - - public static com.google.storagetransfer.v1.proto.TransferProto.ListTransferJobsResponse - parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + public static com.google.storagetransfer.v1.proto.TransferProto.ListTransferJobsResponse parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.storagetransfer.v1.proto.TransferProto.ListTransferJobsResponse - parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.storagetransfer.v1.proto.TransferProto.ListTransferJobsResponse parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - - public static com.google.storagetransfer.v1.proto.TransferProto.ListTransferJobsResponse - parseFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + public static com.google.storagetransfer.v1.proto.TransferProto.ListTransferJobsResponse parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + 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.storagetransfer.v1.proto.TransferProto.ListTransferJobsResponse prototype) { + public static Builder newBuilder(com.google.storagetransfer.v1.proto.TransferProto.ListTransferJobsResponse 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 @@ -5848,52 +5979,45 @@ protected Builder newBuilderForType( return builder; } /** - * - * *
      * Response from ListTransferJobs.
      * 
* * Protobuf type {@code google.storagetransfer.v1.ListTransferJobsResponse} */ - public static final class Builder - extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.storagetransfer.v1.ListTransferJobsResponse) com.google.storagetransfer.v1.proto.TransferProto.ListTransferJobsResponseOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.storagetransfer.v1.proto.TransferProto - .internal_static_google_storagetransfer_v1_ListTransferJobsResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.storagetransfer.v1.proto.TransferProto.internal_static_google_storagetransfer_v1_ListTransferJobsResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.storagetransfer.v1.proto.TransferProto - .internal_static_google_storagetransfer_v1_ListTransferJobsResponse_fieldAccessorTable + return com.google.storagetransfer.v1.proto.TransferProto.internal_static_google_storagetransfer_v1_ListTransferJobsResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.storagetransfer.v1.proto.TransferProto.ListTransferJobsResponse.class, - com.google.storagetransfer.v1.proto.TransferProto.ListTransferJobsResponse.Builder - .class); + com.google.storagetransfer.v1.proto.TransferProto.ListTransferJobsResponse.class, com.google.storagetransfer.v1.proto.TransferProto.ListTransferJobsResponse.Builder.class); } - // Construct using - // com.google.storagetransfer.v1.proto.TransferProto.ListTransferJobsResponse.newBuilder() + // Construct using com.google.storagetransfer.v1.proto.TransferProto.ListTransferJobsResponse.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { getTransferJobsFieldBuilder(); } } - @java.lang.Override public Builder clear() { super.clear(); @@ -5909,22 +6033,19 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.storagetransfer.v1.proto.TransferProto - .internal_static_google_storagetransfer_v1_ListTransferJobsResponse_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.storagetransfer.v1.proto.TransferProto.internal_static_google_storagetransfer_v1_ListTransferJobsResponse_descriptor; } @java.lang.Override - public com.google.storagetransfer.v1.proto.TransferProto.ListTransferJobsResponse - getDefaultInstanceForType() { - return com.google.storagetransfer.v1.proto.TransferProto.ListTransferJobsResponse - .getDefaultInstance(); + public com.google.storagetransfer.v1.proto.TransferProto.ListTransferJobsResponse getDefaultInstanceForType() { + return com.google.storagetransfer.v1.proto.TransferProto.ListTransferJobsResponse.getDefaultInstance(); } @java.lang.Override public com.google.storagetransfer.v1.proto.TransferProto.ListTransferJobsResponse build() { - com.google.storagetransfer.v1.proto.TransferProto.ListTransferJobsResponse result = - buildPartial(); + com.google.storagetransfer.v1.proto.TransferProto.ListTransferJobsResponse result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } @@ -5932,10 +6053,8 @@ public com.google.storagetransfer.v1.proto.TransferProto.ListTransferJobsRespons } @java.lang.Override - public com.google.storagetransfer.v1.proto.TransferProto.ListTransferJobsResponse - buildPartial() { - com.google.storagetransfer.v1.proto.TransferProto.ListTransferJobsResponse result = - new com.google.storagetransfer.v1.proto.TransferProto.ListTransferJobsResponse(this); + public com.google.storagetransfer.v1.proto.TransferProto.ListTransferJobsResponse buildPartial() { + com.google.storagetransfer.v1.proto.TransferProto.ListTransferJobsResponse result = new com.google.storagetransfer.v1.proto.TransferProto.ListTransferJobsResponse(this); int from_bitField0_ = bitField0_; if (transferJobsBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { @@ -5955,54 +6074,46 @@ public com.google.storagetransfer.v1.proto.TransferProto.ListTransferJobsRespons public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, - int index, - java.lang.Object value) { + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { - if (other - instanceof com.google.storagetransfer.v1.proto.TransferProto.ListTransferJobsResponse) { - return mergeFrom( - (com.google.storagetransfer.v1.proto.TransferProto.ListTransferJobsResponse) other); + if (other instanceof com.google.storagetransfer.v1.proto.TransferProto.ListTransferJobsResponse) { + return mergeFrom((com.google.storagetransfer.v1.proto.TransferProto.ListTransferJobsResponse)other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom( - com.google.storagetransfer.v1.proto.TransferProto.ListTransferJobsResponse other) { - if (other - == com.google.storagetransfer.v1.proto.TransferProto.ListTransferJobsResponse - .getDefaultInstance()) return this; + public Builder mergeFrom(com.google.storagetransfer.v1.proto.TransferProto.ListTransferJobsResponse other) { + if (other == com.google.storagetransfer.v1.proto.TransferProto.ListTransferJobsResponse.getDefaultInstance()) return this; if (transferJobsBuilder_ == null) { if (!other.transferJobs_.isEmpty()) { if (transferJobs_.isEmpty()) { @@ -6021,10 +6132,9 @@ public Builder mergeFrom( transferJobsBuilder_ = null; transferJobs_ = other.transferJobs_; bitField0_ = (bitField0_ & ~0x00000001); - transferJobsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders - ? getTransferJobsFieldBuilder() - : null; + transferJobsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getTransferJobsFieldBuilder() : null; } else { transferJobsBuilder_.addAllMessages(other.transferJobs_); } @@ -6049,14 +6159,11 @@ public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - com.google.storagetransfer.v1.proto.TransferProto.ListTransferJobsResponse parsedMessage = - null; + com.google.storagetransfer.v1.proto.TransferProto.ListTransferJobsResponse parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.storagetransfer.v1.proto.TransferProto.ListTransferJobsResponse) - e.getUnfinishedMessage(); + parsedMessage = (com.google.storagetransfer.v1.proto.TransferProto.ListTransferJobsResponse) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -6065,38 +6172,28 @@ public Builder mergeFrom( } return this; } - private int bitField0_; - private java.util.List - transferJobs_ = java.util.Collections.emptyList(); - + private java.util.List transferJobs_ = + java.util.Collections.emptyList(); private void ensureTransferJobsIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { - transferJobs_ = - new java.util.ArrayList< - com.google.storagetransfer.v1.proto.TransferTypes.TransferJob>(transferJobs_); + transferJobs_ = new java.util.ArrayList(transferJobs_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.storagetransfer.v1.proto.TransferTypes.TransferJob, - com.google.storagetransfer.v1.proto.TransferTypes.TransferJob.Builder, - com.google.storagetransfer.v1.proto.TransferTypes.TransferJobOrBuilder> - transferJobsBuilder_; + com.google.storagetransfer.v1.proto.TransferTypes.TransferJob, com.google.storagetransfer.v1.proto.TransferTypes.TransferJob.Builder, com.google.storagetransfer.v1.proto.TransferTypes.TransferJobOrBuilder> transferJobsBuilder_; /** - * - * *
        * A list of transfer jobs.
        * 
* * repeated .google.storagetransfer.v1.TransferJob transfer_jobs = 1; */ - public java.util.List - getTransferJobsList() { + public java.util.List getTransferJobsList() { if (transferJobsBuilder_ == null) { return java.util.Collections.unmodifiableList(transferJobs_); } else { @@ -6104,8 +6201,6 @@ private void ensureTransferJobsIsMutable() { } } /** - * - * *
        * A list of transfer jobs.
        * 
@@ -6120,16 +6215,13 @@ public int getTransferJobsCount() { } } /** - * - * *
        * A list of transfer jobs.
        * 
* * repeated .google.storagetransfer.v1.TransferJob transfer_jobs = 1; */ - public com.google.storagetransfer.v1.proto.TransferTypes.TransferJob getTransferJobs( - int index) { + public com.google.storagetransfer.v1.proto.TransferTypes.TransferJob getTransferJobs(int index) { if (transferJobsBuilder_ == null) { return transferJobs_.get(index); } else { @@ -6137,8 +6229,6 @@ public com.google.storagetransfer.v1.proto.TransferTypes.TransferJob getTransfer } } /** - * - * *
        * A list of transfer jobs.
        * 
@@ -6160,8 +6250,6 @@ public Builder setTransferJobs( return this; } /** - * - * *
        * A list of transfer jobs.
        * 
@@ -6169,8 +6257,7 @@ public Builder setTransferJobs( * repeated .google.storagetransfer.v1.TransferJob transfer_jobs = 1; */ public Builder setTransferJobs( - int index, - com.google.storagetransfer.v1.proto.TransferTypes.TransferJob.Builder builderForValue) { + int index, com.google.storagetransfer.v1.proto.TransferTypes.TransferJob.Builder builderForValue) { if (transferJobsBuilder_ == null) { ensureTransferJobsIsMutable(); transferJobs_.set(index, builderForValue.build()); @@ -6181,16 +6268,13 @@ public Builder setTransferJobs( return this; } /** - * - * *
        * A list of transfer jobs.
        * 
* * repeated .google.storagetransfer.v1.TransferJob transfer_jobs = 1; */ - public Builder addTransferJobs( - com.google.storagetransfer.v1.proto.TransferTypes.TransferJob value) { + public Builder addTransferJobs(com.google.storagetransfer.v1.proto.TransferTypes.TransferJob value) { if (transferJobsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -6204,8 +6288,6 @@ public Builder addTransferJobs( return this; } /** - * - * *
        * A list of transfer jobs.
        * 
@@ -6227,8 +6309,6 @@ public Builder addTransferJobs( return this; } /** - * - * *
        * A list of transfer jobs.
        * 
@@ -6247,8 +6327,6 @@ public Builder addTransferJobs( return this; } /** - * - * *
        * A list of transfer jobs.
        * 
@@ -6256,8 +6334,7 @@ public Builder addTransferJobs( * repeated .google.storagetransfer.v1.TransferJob transfer_jobs = 1; */ public Builder addTransferJobs( - int index, - com.google.storagetransfer.v1.proto.TransferTypes.TransferJob.Builder builderForValue) { + int index, com.google.storagetransfer.v1.proto.TransferTypes.TransferJob.Builder builderForValue) { if (transferJobsBuilder_ == null) { ensureTransferJobsIsMutable(); transferJobs_.add(index, builderForValue.build()); @@ -6268,8 +6345,6 @@ public Builder addTransferJobs( return this; } /** - * - * *
        * A list of transfer jobs.
        * 
@@ -6277,12 +6352,11 @@ public Builder addTransferJobs( * repeated .google.storagetransfer.v1.TransferJob transfer_jobs = 1; */ public Builder addAllTransferJobs( - java.lang.Iterable< - ? extends com.google.storagetransfer.v1.proto.TransferTypes.TransferJob> - values) { + java.lang.Iterable values) { if (transferJobsBuilder_ == null) { ensureTransferJobsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, transferJobs_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, transferJobs_); onChanged(); } else { transferJobsBuilder_.addAllMessages(values); @@ -6290,8 +6364,6 @@ public Builder addAllTransferJobs( return this; } /** - * - * *
        * A list of transfer jobs.
        * 
@@ -6309,8 +6381,6 @@ public Builder clearTransferJobs() { return this; } /** - * - * *
        * A list of transfer jobs.
        * 
@@ -6328,47 +6398,39 @@ public Builder removeTransferJobs(int index) { return this; } /** - * - * *
        * A list of transfer jobs.
        * 
* * repeated .google.storagetransfer.v1.TransferJob transfer_jobs = 1; */ - public com.google.storagetransfer.v1.proto.TransferTypes.TransferJob.Builder - getTransferJobsBuilder(int index) { + public com.google.storagetransfer.v1.proto.TransferTypes.TransferJob.Builder getTransferJobsBuilder( + int index) { return getTransferJobsFieldBuilder().getBuilder(index); } /** - * - * *
        * A list of transfer jobs.
        * 
* * repeated .google.storagetransfer.v1.TransferJob transfer_jobs = 1; */ - public com.google.storagetransfer.v1.proto.TransferTypes.TransferJobOrBuilder - getTransferJobsOrBuilder(int index) { + public com.google.storagetransfer.v1.proto.TransferTypes.TransferJobOrBuilder getTransferJobsOrBuilder( + int index) { if (transferJobsBuilder_ == null) { - return transferJobs_.get(index); - } else { + return transferJobs_.get(index); } else { return transferJobsBuilder_.getMessageOrBuilder(index); } } /** - * - * *
        * A list of transfer jobs.
        * 
* * repeated .google.storagetransfer.v1.TransferJob transfer_jobs = 1; */ - public java.util.List< - ? extends com.google.storagetransfer.v1.proto.TransferTypes.TransferJobOrBuilder> - getTransferJobsOrBuilderList() { + public java.util.List + getTransferJobsOrBuilderList() { if (transferJobsBuilder_ != null) { return transferJobsBuilder_.getMessageOrBuilderList(); } else { @@ -6376,61 +6438,45 @@ public Builder removeTransferJobs(int index) { } } /** - * - * *
        * A list of transfer jobs.
        * 
* * repeated .google.storagetransfer.v1.TransferJob transfer_jobs = 1; */ - public com.google.storagetransfer.v1.proto.TransferTypes.TransferJob.Builder - addTransferJobsBuilder() { - return getTransferJobsFieldBuilder() - .addBuilder( - com.google.storagetransfer.v1.proto.TransferTypes.TransferJob.getDefaultInstance()); + public com.google.storagetransfer.v1.proto.TransferTypes.TransferJob.Builder addTransferJobsBuilder() { + return getTransferJobsFieldBuilder().addBuilder( + com.google.storagetransfer.v1.proto.TransferTypes.TransferJob.getDefaultInstance()); } /** - * - * *
        * A list of transfer jobs.
        * 
* * repeated .google.storagetransfer.v1.TransferJob transfer_jobs = 1; */ - public com.google.storagetransfer.v1.proto.TransferTypes.TransferJob.Builder - addTransferJobsBuilder(int index) { - return getTransferJobsFieldBuilder() - .addBuilder( - index, - com.google.storagetransfer.v1.proto.TransferTypes.TransferJob.getDefaultInstance()); + public com.google.storagetransfer.v1.proto.TransferTypes.TransferJob.Builder addTransferJobsBuilder( + int index) { + return getTransferJobsFieldBuilder().addBuilder( + index, com.google.storagetransfer.v1.proto.TransferTypes.TransferJob.getDefaultInstance()); } /** - * - * *
        * A list of transfer jobs.
        * 
* * repeated .google.storagetransfer.v1.TransferJob transfer_jobs = 1; */ - public java.util.List - getTransferJobsBuilderList() { + public java.util.List + getTransferJobsBuilderList() { return getTransferJobsFieldBuilder().getBuilderList(); } - private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.storagetransfer.v1.proto.TransferTypes.TransferJob, - com.google.storagetransfer.v1.proto.TransferTypes.TransferJob.Builder, - com.google.storagetransfer.v1.proto.TransferTypes.TransferJobOrBuilder> + com.google.storagetransfer.v1.proto.TransferTypes.TransferJob, com.google.storagetransfer.v1.proto.TransferTypes.TransferJob.Builder, com.google.storagetransfer.v1.proto.TransferTypes.TransferJobOrBuilder> getTransferJobsFieldBuilder() { if (transferJobsBuilder_ == null) { - transferJobsBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.storagetransfer.v1.proto.TransferTypes.TransferJob, - com.google.storagetransfer.v1.proto.TransferTypes.TransferJob.Builder, - com.google.storagetransfer.v1.proto.TransferTypes.TransferJobOrBuilder>( + transferJobsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.storagetransfer.v1.proto.TransferTypes.TransferJob, com.google.storagetransfer.v1.proto.TransferTypes.TransferJob.Builder, com.google.storagetransfer.v1.proto.TransferTypes.TransferJobOrBuilder>( transferJobs_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), @@ -6442,20 +6488,18 @@ public Builder removeTransferJobs(int index) { private java.lang.Object nextPageToken_ = ""; /** - * - * *
        * The list next page token.
        * 
* * string next_page_token = 2; - * * @return The nextPageToken. */ public java.lang.String getNextPageToken() { java.lang.Object ref = nextPageToken_; 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(); nextPageToken_ = s; return s; @@ -6464,21 +6508,20 @@ public java.lang.String getNextPageToken() { } } /** - * - * *
        * The list next page token.
        * 
* * string next_page_token = 2; - * * @return The bytes for nextPageToken. */ - public com.google.protobuf.ByteString getNextPageTokenBytes() { + public com.google.protobuf.ByteString + getNextPageTokenBytes() { java.lang.Object ref = nextPageToken_; 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); nextPageToken_ = b; return b; } else { @@ -6486,66 +6529,58 @@ public com.google.protobuf.ByteString getNextPageTokenBytes() { } } /** - * - * *
        * The list next page token.
        * 
* * string next_page_token = 2; - * * @param value The nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageToken(java.lang.String value) { + public Builder setNextPageToken( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + nextPageToken_ = value; onChanged(); return this; } /** - * - * *
        * The list next page token.
        * 
* * string next_page_token = 2; - * * @return This builder for chaining. */ public Builder clearNextPageToken() { - + nextPageToken_ = getDefaultInstance().getNextPageToken(); onChanged(); return this; } /** - * - * *
        * The list next page token.
        * 
* * string next_page_token = 2; - * * @param value The bytes for nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageTokenBytes(com.google.protobuf.ByteString value) { + public Builder setNextPageTokenBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + nextPageToken_ = value; onChanged(); return this; } - @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -6558,33 +6593,30 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.storagetransfer.v1.ListTransferJobsResponse) } // @@protoc_insertion_point(class_scope:google.storagetransfer.v1.ListTransferJobsResponse) - private static final com.google.storagetransfer.v1.proto.TransferProto.ListTransferJobsResponse - DEFAULT_INSTANCE; - + private static final com.google.storagetransfer.v1.proto.TransferProto.ListTransferJobsResponse DEFAULT_INSTANCE; static { - DEFAULT_INSTANCE = - new com.google.storagetransfer.v1.proto.TransferProto.ListTransferJobsResponse(); + DEFAULT_INSTANCE = new com.google.storagetransfer.v1.proto.TransferProto.ListTransferJobsResponse(); } - public static com.google.storagetransfer.v1.proto.TransferProto.ListTransferJobsResponse - getDefaultInstance() { + public static com.google.storagetransfer.v1.proto.TransferProto.ListTransferJobsResponse getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListTransferJobsResponse parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ListTransferJobsResponse(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListTransferJobsResponse parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ListTransferJobsResponse(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -6596,78 +6628,68 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.storagetransfer.v1.proto.TransferProto.ListTransferJobsResponse - getDefaultInstanceForType() { + public com.google.storagetransfer.v1.proto.TransferProto.ListTransferJobsResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } - public interface PauseTransferOperationRequestOrBuilder - extends + public interface PauseTransferOperationRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.storagetransfer.v1.PauseTransferOperationRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
      * Required. The name of the transfer operation.
      * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The name. */ java.lang.String getName(); /** - * - * *
      * Required. The name of the transfer operation.
      * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for name. */ - com.google.protobuf.ByteString getNameBytes(); + com.google.protobuf.ByteString + getNameBytes(); } /** - * - * *
    * Request passed to PauseTransferOperation.
    * 
* * Protobuf type {@code google.storagetransfer.v1.PauseTransferOperationRequest} */ - public static final class PauseTransferOperationRequest - extends com.google.protobuf.GeneratedMessageV3 - implements + public static final class PauseTransferOperationRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.storagetransfer.v1.PauseTransferOperationRequest) PauseTransferOperationRequestOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use PauseTransferOperationRequest.newBuilder() to construct. - private PauseTransferOperationRequest( - com.google.protobuf.GeneratedMessageV3.Builder builder) { + private PauseTransferOperationRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private PauseTransferOperationRequest() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new PauseTransferOperationRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private PauseTransferOperationRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -6686,20 +6708,19 @@ private PauseTransferOperationRequest( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - name_ = s; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + name_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -6707,40 +6728,34 @@ private PauseTransferOperationRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.storagetransfer.v1.proto.TransferProto - .internal_static_google_storagetransfer_v1_PauseTransferOperationRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.storagetransfer.v1.proto.TransferProto.internal_static_google_storagetransfer_v1_PauseTransferOperationRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.storagetransfer.v1.proto.TransferProto - .internal_static_google_storagetransfer_v1_PauseTransferOperationRequest_fieldAccessorTable + return com.google.storagetransfer.v1.proto.TransferProto.internal_static_google_storagetransfer_v1_PauseTransferOperationRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.storagetransfer.v1.proto.TransferProto.PauseTransferOperationRequest.class, - com.google.storagetransfer.v1.proto.TransferProto.PauseTransferOperationRequest - .Builder.class); + com.google.storagetransfer.v1.proto.TransferProto.PauseTransferOperationRequest.class, com.google.storagetransfer.v1.proto.TransferProto.PauseTransferOperationRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; private volatile java.lang.Object name_; /** - * - * *
      * Required. The name of the transfer operation.
      * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The name. */ @java.lang.Override @@ -6749,29 +6764,29 @@ public java.lang.String getName() { 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(); name_ = s; return s; } } /** - * - * *
      * Required. The name of the transfer operation.
      * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; 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); name_ = b; return b; } else { @@ -6780,7 +6795,6 @@ public com.google.protobuf.ByteString getNameBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -6792,7 +6806,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 (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -6816,17 +6831,15 @@ 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.storagetransfer.v1.proto.TransferProto.PauseTransferOperationRequest)) { + if (!(obj instanceof com.google.storagetransfer.v1.proto.TransferProto.PauseTransferOperationRequest)) { return super.equals(obj); } - com.google.storagetransfer.v1.proto.TransferProto.PauseTransferOperationRequest other = - (com.google.storagetransfer.v1.proto.TransferProto.PauseTransferOperationRequest) obj; + com.google.storagetransfer.v1.proto.TransferProto.PauseTransferOperationRequest other = (com.google.storagetransfer.v1.proto.TransferProto.PauseTransferOperationRequest) obj; - if (!getName().equals(other.getName())) return false; + if (!getName() + .equals(other.getName())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -6845,101 +6858,88 @@ public int hashCode() { return hash; } - public static com.google.storagetransfer.v1.proto.TransferProto.PauseTransferOperationRequest - parseFrom(java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.storagetransfer.v1.proto.TransferProto.PauseTransferOperationRequest parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - - public static com.google.storagetransfer.v1.proto.TransferProto.PauseTransferOperationRequest - parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.storagetransfer.v1.proto.TransferProto.PauseTransferOperationRequest parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.storagetransfer.v1.proto.TransferProto.PauseTransferOperationRequest - parseFrom(com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.storagetransfer.v1.proto.TransferProto.PauseTransferOperationRequest parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - - public static com.google.storagetransfer.v1.proto.TransferProto.PauseTransferOperationRequest - parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.storagetransfer.v1.proto.TransferProto.PauseTransferOperationRequest 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.storagetransfer.v1.proto.TransferProto.PauseTransferOperationRequest - parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.storagetransfer.v1.proto.TransferProto.PauseTransferOperationRequest parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - - public static com.google.storagetransfer.v1.proto.TransferProto.PauseTransferOperationRequest - parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.storagetransfer.v1.proto.TransferProto.PauseTransferOperationRequest parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.storagetransfer.v1.proto.TransferProto.PauseTransferOperationRequest - parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.storagetransfer.v1.proto.TransferProto.PauseTransferOperationRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - - public static com.google.storagetransfer.v1.proto.TransferProto.PauseTransferOperationRequest - parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + public static com.google.storagetransfer.v1.proto.TransferProto.PauseTransferOperationRequest parseFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.storagetransfer.v1.proto.TransferProto.PauseTransferOperationRequest - parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.storagetransfer.v1.proto.TransferProto.PauseTransferOperationRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - - public static com.google.storagetransfer.v1.proto.TransferProto.PauseTransferOperationRequest - parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + public static com.google.storagetransfer.v1.proto.TransferProto.PauseTransferOperationRequest parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.storagetransfer.v1.proto.TransferProto.PauseTransferOperationRequest - parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.storagetransfer.v1.proto.TransferProto.PauseTransferOperationRequest parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - - public static com.google.storagetransfer.v1.proto.TransferProto.PauseTransferOperationRequest - parseFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + public static com.google.storagetransfer.v1.proto.TransferProto.PauseTransferOperationRequest parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + 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.storagetransfer.v1.proto.TransferProto.PauseTransferOperationRequest prototype) { + public static Builder newBuilder(com.google.storagetransfer.v1.proto.TransferProto.PauseTransferOperationRequest 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 @@ -6949,51 +6949,44 @@ protected Builder newBuilderForType( return builder; } /** - * - * *
      * Request passed to PauseTransferOperation.
      * 
* * Protobuf type {@code google.storagetransfer.v1.PauseTransferOperationRequest} */ - public static final class Builder - extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.storagetransfer.v1.PauseTransferOperationRequest) com.google.storagetransfer.v1.proto.TransferProto.PauseTransferOperationRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.storagetransfer.v1.proto.TransferProto - .internal_static_google_storagetransfer_v1_PauseTransferOperationRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.storagetransfer.v1.proto.TransferProto.internal_static_google_storagetransfer_v1_PauseTransferOperationRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.storagetransfer.v1.proto.TransferProto - .internal_static_google_storagetransfer_v1_PauseTransferOperationRequest_fieldAccessorTable + return com.google.storagetransfer.v1.proto.TransferProto.internal_static_google_storagetransfer_v1_PauseTransferOperationRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.storagetransfer.v1.proto.TransferProto.PauseTransferOperationRequest - .class, - com.google.storagetransfer.v1.proto.TransferProto.PauseTransferOperationRequest - .Builder.class); + com.google.storagetransfer.v1.proto.TransferProto.PauseTransferOperationRequest.class, com.google.storagetransfer.v1.proto.TransferProto.PauseTransferOperationRequest.Builder.class); } - // Construct using - // com.google.storagetransfer.v1.proto.TransferProto.PauseTransferOperationRequest.newBuilder() + // Construct using com.google.storagetransfer.v1.proto.TransferProto.PauseTransferOperationRequest.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -7003,23 +6996,19 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.storagetransfer.v1.proto.TransferProto - .internal_static_google_storagetransfer_v1_PauseTransferOperationRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.storagetransfer.v1.proto.TransferProto.internal_static_google_storagetransfer_v1_PauseTransferOperationRequest_descriptor; } @java.lang.Override - public com.google.storagetransfer.v1.proto.TransferProto.PauseTransferOperationRequest - getDefaultInstanceForType() { - return com.google.storagetransfer.v1.proto.TransferProto.PauseTransferOperationRequest - .getDefaultInstance(); + public com.google.storagetransfer.v1.proto.TransferProto.PauseTransferOperationRequest getDefaultInstanceForType() { + return com.google.storagetransfer.v1.proto.TransferProto.PauseTransferOperationRequest.getDefaultInstance(); } @java.lang.Override - public com.google.storagetransfer.v1.proto.TransferProto.PauseTransferOperationRequest - build() { - com.google.storagetransfer.v1.proto.TransferProto.PauseTransferOperationRequest result = - buildPartial(); + public com.google.storagetransfer.v1.proto.TransferProto.PauseTransferOperationRequest build() { + com.google.storagetransfer.v1.proto.TransferProto.PauseTransferOperationRequest result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } @@ -7027,11 +7016,8 @@ public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { } @java.lang.Override - public com.google.storagetransfer.v1.proto.TransferProto.PauseTransferOperationRequest - buildPartial() { - com.google.storagetransfer.v1.proto.TransferProto.PauseTransferOperationRequest result = - new com.google.storagetransfer.v1.proto.TransferProto.PauseTransferOperationRequest( - this); + public com.google.storagetransfer.v1.proto.TransferProto.PauseTransferOperationRequest buildPartial() { + com.google.storagetransfer.v1.proto.TransferProto.PauseTransferOperationRequest result = new com.google.storagetransfer.v1.proto.TransferProto.PauseTransferOperationRequest(this); result.name_ = name_; onBuilt(); return result; @@ -7041,56 +7027,46 @@ public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, - int index, - java.lang.Object value) { + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { - if (other - instanceof - com.google.storagetransfer.v1.proto.TransferProto.PauseTransferOperationRequest) { - return mergeFrom( - (com.google.storagetransfer.v1.proto.TransferProto.PauseTransferOperationRequest) - other); + if (other instanceof com.google.storagetransfer.v1.proto.TransferProto.PauseTransferOperationRequest) { + return mergeFrom((com.google.storagetransfer.v1.proto.TransferProto.PauseTransferOperationRequest)other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom( - com.google.storagetransfer.v1.proto.TransferProto.PauseTransferOperationRequest other) { - if (other - == com.google.storagetransfer.v1.proto.TransferProto.PauseTransferOperationRequest - .getDefaultInstance()) return this; + public Builder mergeFrom(com.google.storagetransfer.v1.proto.TransferProto.PauseTransferOperationRequest other) { + if (other == com.google.storagetransfer.v1.proto.TransferProto.PauseTransferOperationRequest.getDefaultInstance()) return this; if (!other.getName().isEmpty()) { name_ = other.name_; onChanged(); @@ -7110,14 +7086,11 @@ public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - com.google.storagetransfer.v1.proto.TransferProto.PauseTransferOperationRequest - parsedMessage = null; + com.google.storagetransfer.v1.proto.TransferProto.PauseTransferOperationRequest parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.storagetransfer.v1.proto.TransferProto.PauseTransferOperationRequest) - e.getUnfinishedMessage(); + parsedMessage = (com.google.storagetransfer.v1.proto.TransferProto.PauseTransferOperationRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -7129,20 +7102,18 @@ public Builder mergeFrom( private java.lang.Object name_ = ""; /** - * - * *
        * Required. The name of the transfer operation.
        * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; 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(); name_ = s; return s; @@ -7151,21 +7122,20 @@ public java.lang.String getName() { } } /** - * - * *
        * Required. The name of the transfer operation.
        * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for name. */ - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; 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); name_ = b; return b; } else { @@ -7173,66 +7143,58 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
        * Required. The name of the transfer operation.
        * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName(java.lang.String value) { + public Builder setName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** - * - * *
        * Required. The name of the transfer operation.
        * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** - * - * *
        * Required. The name of the transfer operation.
        * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { + public Builder setNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; } - @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -7245,34 +7207,30 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.storagetransfer.v1.PauseTransferOperationRequest) } // @@protoc_insertion_point(class_scope:google.storagetransfer.v1.PauseTransferOperationRequest) - private static final com.google.storagetransfer.v1.proto.TransferProto - .PauseTransferOperationRequest - DEFAULT_INSTANCE; - + private static final com.google.storagetransfer.v1.proto.TransferProto.PauseTransferOperationRequest DEFAULT_INSTANCE; static { - DEFAULT_INSTANCE = - new com.google.storagetransfer.v1.proto.TransferProto.PauseTransferOperationRequest(); + DEFAULT_INSTANCE = new com.google.storagetransfer.v1.proto.TransferProto.PauseTransferOperationRequest(); } - public static com.google.storagetransfer.v1.proto.TransferProto.PauseTransferOperationRequest - getDefaultInstance() { + public static com.google.storagetransfer.v1.proto.TransferProto.PauseTransferOperationRequest getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public PauseTransferOperationRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new PauseTransferOperationRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public PauseTransferOperationRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new PauseTransferOperationRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -7284,78 +7242,68 @@ public com.google.protobuf.Parser getParserForTyp } @java.lang.Override - public com.google.storagetransfer.v1.proto.TransferProto.PauseTransferOperationRequest - getDefaultInstanceForType() { + public com.google.storagetransfer.v1.proto.TransferProto.PauseTransferOperationRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } - public interface ResumeTransferOperationRequestOrBuilder - extends + public interface ResumeTransferOperationRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.storagetransfer.v1.ResumeTransferOperationRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
      * Required. The name of the transfer operation.
      * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The name. */ java.lang.String getName(); /** - * - * *
      * Required. The name of the transfer operation.
      * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for name. */ - com.google.protobuf.ByteString getNameBytes(); + com.google.protobuf.ByteString + getNameBytes(); } /** - * - * *
    * Request passed to ResumeTransferOperation.
    * 
* * Protobuf type {@code google.storagetransfer.v1.ResumeTransferOperationRequest} */ - public static final class ResumeTransferOperationRequest - extends com.google.protobuf.GeneratedMessageV3 - implements + public static final class ResumeTransferOperationRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.storagetransfer.v1.ResumeTransferOperationRequest) ResumeTransferOperationRequestOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use ResumeTransferOperationRequest.newBuilder() to construct. - private ResumeTransferOperationRequest( - com.google.protobuf.GeneratedMessageV3.Builder builder) { + private ResumeTransferOperationRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private ResumeTransferOperationRequest() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new ResumeTransferOperationRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private ResumeTransferOperationRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -7374,20 +7322,19 @@ private ResumeTransferOperationRequest( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - name_ = s; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + name_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -7395,41 +7342,34 @@ private ResumeTransferOperationRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.storagetransfer.v1.proto.TransferProto - .internal_static_google_storagetransfer_v1_ResumeTransferOperationRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.storagetransfer.v1.proto.TransferProto.internal_static_google_storagetransfer_v1_ResumeTransferOperationRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.storagetransfer.v1.proto.TransferProto - .internal_static_google_storagetransfer_v1_ResumeTransferOperationRequest_fieldAccessorTable + return com.google.storagetransfer.v1.proto.TransferProto.internal_static_google_storagetransfer_v1_ResumeTransferOperationRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.storagetransfer.v1.proto.TransferProto.ResumeTransferOperationRequest - .class, - com.google.storagetransfer.v1.proto.TransferProto.ResumeTransferOperationRequest - .Builder.class); + com.google.storagetransfer.v1.proto.TransferProto.ResumeTransferOperationRequest.class, com.google.storagetransfer.v1.proto.TransferProto.ResumeTransferOperationRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; private volatile java.lang.Object name_; /** - * - * *
      * Required. The name of the transfer operation.
      * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The name. */ @java.lang.Override @@ -7438,29 +7378,29 @@ public java.lang.String getName() { 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(); name_ = s; return s; } } /** - * - * *
      * Required. The name of the transfer operation.
      * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; 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); name_ = b; return b; } else { @@ -7469,7 +7409,6 @@ public com.google.protobuf.ByteString getNameBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -7481,7 +7420,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 (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -7505,17 +7445,15 @@ 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.storagetransfer.v1.proto.TransferProto.ResumeTransferOperationRequest)) { + if (!(obj instanceof com.google.storagetransfer.v1.proto.TransferProto.ResumeTransferOperationRequest)) { return super.equals(obj); } - com.google.storagetransfer.v1.proto.TransferProto.ResumeTransferOperationRequest other = - (com.google.storagetransfer.v1.proto.TransferProto.ResumeTransferOperationRequest) obj; + com.google.storagetransfer.v1.proto.TransferProto.ResumeTransferOperationRequest other = (com.google.storagetransfer.v1.proto.TransferProto.ResumeTransferOperationRequest) obj; - if (!getName().equals(other.getName())) return false; + if (!getName() + .equals(other.getName())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -7534,102 +7472,88 @@ public int hashCode() { return hash; } - public static com.google.storagetransfer.v1.proto.TransferProto.ResumeTransferOperationRequest - parseFrom(java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.storagetransfer.v1.proto.TransferProto.ResumeTransferOperationRequest parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - - public static com.google.storagetransfer.v1.proto.TransferProto.ResumeTransferOperationRequest - parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.storagetransfer.v1.proto.TransferProto.ResumeTransferOperationRequest parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.storagetransfer.v1.proto.TransferProto.ResumeTransferOperationRequest - parseFrom(com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.storagetransfer.v1.proto.TransferProto.ResumeTransferOperationRequest parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - - public static com.google.storagetransfer.v1.proto.TransferProto.ResumeTransferOperationRequest - parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.storagetransfer.v1.proto.TransferProto.ResumeTransferOperationRequest 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.storagetransfer.v1.proto.TransferProto.ResumeTransferOperationRequest - parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.storagetransfer.v1.proto.TransferProto.ResumeTransferOperationRequest parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - - public static com.google.storagetransfer.v1.proto.TransferProto.ResumeTransferOperationRequest - parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.storagetransfer.v1.proto.TransferProto.ResumeTransferOperationRequest parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.storagetransfer.v1.proto.TransferProto.ResumeTransferOperationRequest - parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.storagetransfer.v1.proto.TransferProto.ResumeTransferOperationRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - - public static com.google.storagetransfer.v1.proto.TransferProto.ResumeTransferOperationRequest - parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + public static com.google.storagetransfer.v1.proto.TransferProto.ResumeTransferOperationRequest parseFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.storagetransfer.v1.proto.TransferProto.ResumeTransferOperationRequest - parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.storagetransfer.v1.proto.TransferProto.ResumeTransferOperationRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - - public static com.google.storagetransfer.v1.proto.TransferProto.ResumeTransferOperationRequest - parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + public static com.google.storagetransfer.v1.proto.TransferProto.ResumeTransferOperationRequest parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.storagetransfer.v1.proto.TransferProto.ResumeTransferOperationRequest - parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.storagetransfer.v1.proto.TransferProto.ResumeTransferOperationRequest parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - - public static com.google.storagetransfer.v1.proto.TransferProto.ResumeTransferOperationRequest - parseFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + public static com.google.storagetransfer.v1.proto.TransferProto.ResumeTransferOperationRequest parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + 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.storagetransfer.v1.proto.TransferProto.ResumeTransferOperationRequest - prototype) { + public static Builder newBuilder(com.google.storagetransfer.v1.proto.TransferProto.ResumeTransferOperationRequest 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 @@ -7639,51 +7563,44 @@ protected Builder newBuilderForType( return builder; } /** - * - * *
      * Request passed to ResumeTransferOperation.
      * 
* * Protobuf type {@code google.storagetransfer.v1.ResumeTransferOperationRequest} */ - public static final class Builder - extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.storagetransfer.v1.ResumeTransferOperationRequest) com.google.storagetransfer.v1.proto.TransferProto.ResumeTransferOperationRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.storagetransfer.v1.proto.TransferProto - .internal_static_google_storagetransfer_v1_ResumeTransferOperationRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.storagetransfer.v1.proto.TransferProto.internal_static_google_storagetransfer_v1_ResumeTransferOperationRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.storagetransfer.v1.proto.TransferProto - .internal_static_google_storagetransfer_v1_ResumeTransferOperationRequest_fieldAccessorTable + return com.google.storagetransfer.v1.proto.TransferProto.internal_static_google_storagetransfer_v1_ResumeTransferOperationRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.storagetransfer.v1.proto.TransferProto.ResumeTransferOperationRequest - .class, - com.google.storagetransfer.v1.proto.TransferProto.ResumeTransferOperationRequest - .Builder.class); + com.google.storagetransfer.v1.proto.TransferProto.ResumeTransferOperationRequest.class, com.google.storagetransfer.v1.proto.TransferProto.ResumeTransferOperationRequest.Builder.class); } - // Construct using - // com.google.storagetransfer.v1.proto.TransferProto.ResumeTransferOperationRequest.newBuilder() + // Construct using com.google.storagetransfer.v1.proto.TransferProto.ResumeTransferOperationRequest.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -7693,23 +7610,19 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.storagetransfer.v1.proto.TransferProto - .internal_static_google_storagetransfer_v1_ResumeTransferOperationRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.storagetransfer.v1.proto.TransferProto.internal_static_google_storagetransfer_v1_ResumeTransferOperationRequest_descriptor; } @java.lang.Override - public com.google.storagetransfer.v1.proto.TransferProto.ResumeTransferOperationRequest - getDefaultInstanceForType() { - return com.google.storagetransfer.v1.proto.TransferProto.ResumeTransferOperationRequest - .getDefaultInstance(); + public com.google.storagetransfer.v1.proto.TransferProto.ResumeTransferOperationRequest getDefaultInstanceForType() { + return com.google.storagetransfer.v1.proto.TransferProto.ResumeTransferOperationRequest.getDefaultInstance(); } @java.lang.Override - public com.google.storagetransfer.v1.proto.TransferProto.ResumeTransferOperationRequest - build() { - com.google.storagetransfer.v1.proto.TransferProto.ResumeTransferOperationRequest result = - buildPartial(); + public com.google.storagetransfer.v1.proto.TransferProto.ResumeTransferOperationRequest build() { + com.google.storagetransfer.v1.proto.TransferProto.ResumeTransferOperationRequest result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } @@ -7717,11 +7630,8 @@ public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { } @java.lang.Override - public com.google.storagetransfer.v1.proto.TransferProto.ResumeTransferOperationRequest - buildPartial() { - com.google.storagetransfer.v1.proto.TransferProto.ResumeTransferOperationRequest result = - new com.google.storagetransfer.v1.proto.TransferProto.ResumeTransferOperationRequest( - this); + public com.google.storagetransfer.v1.proto.TransferProto.ResumeTransferOperationRequest buildPartial() { + com.google.storagetransfer.v1.proto.TransferProto.ResumeTransferOperationRequest result = new com.google.storagetransfer.v1.proto.TransferProto.ResumeTransferOperationRequest(this); result.name_ = name_; onBuilt(); return result; @@ -7731,56 +7641,46 @@ public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, - int index, - java.lang.Object value) { + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { - if (other - instanceof - com.google.storagetransfer.v1.proto.TransferProto.ResumeTransferOperationRequest) { - return mergeFrom( - (com.google.storagetransfer.v1.proto.TransferProto.ResumeTransferOperationRequest) - other); + if (other instanceof com.google.storagetransfer.v1.proto.TransferProto.ResumeTransferOperationRequest) { + return mergeFrom((com.google.storagetransfer.v1.proto.TransferProto.ResumeTransferOperationRequest)other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom( - com.google.storagetransfer.v1.proto.TransferProto.ResumeTransferOperationRequest other) { - if (other - == com.google.storagetransfer.v1.proto.TransferProto.ResumeTransferOperationRequest - .getDefaultInstance()) return this; + public Builder mergeFrom(com.google.storagetransfer.v1.proto.TransferProto.ResumeTransferOperationRequest other) { + if (other == com.google.storagetransfer.v1.proto.TransferProto.ResumeTransferOperationRequest.getDefaultInstance()) return this; if (!other.getName().isEmpty()) { name_ = other.name_; onChanged(); @@ -7800,14 +7700,11 @@ public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - com.google.storagetransfer.v1.proto.TransferProto.ResumeTransferOperationRequest - parsedMessage = null; + com.google.storagetransfer.v1.proto.TransferProto.ResumeTransferOperationRequest parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.storagetransfer.v1.proto.TransferProto.ResumeTransferOperationRequest) - e.getUnfinishedMessage(); + parsedMessage = (com.google.storagetransfer.v1.proto.TransferProto.ResumeTransferOperationRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -7819,20 +7716,18 @@ public Builder mergeFrom( private java.lang.Object name_ = ""; /** - * - * *
        * Required. The name of the transfer operation.
        * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; 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(); name_ = s; return s; @@ -7841,21 +7736,20 @@ public java.lang.String getName() { } } /** - * - * *
        * Required. The name of the transfer operation.
        * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for name. */ - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; 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); name_ = b; return b; } else { @@ -7863,66 +7757,58 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
        * Required. The name of the transfer operation.
        * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName(java.lang.String value) { + public Builder setName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** - * - * *
        * Required. The name of the transfer operation.
        * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** - * - * *
        * Required. The name of the transfer operation.
        * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { + public Builder setNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; } - @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -7935,34 +7821,30 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.storagetransfer.v1.ResumeTransferOperationRequest) } // @@protoc_insertion_point(class_scope:google.storagetransfer.v1.ResumeTransferOperationRequest) - private static final com.google.storagetransfer.v1.proto.TransferProto - .ResumeTransferOperationRequest - DEFAULT_INSTANCE; - + private static final com.google.storagetransfer.v1.proto.TransferProto.ResumeTransferOperationRequest DEFAULT_INSTANCE; static { - DEFAULT_INSTANCE = - new com.google.storagetransfer.v1.proto.TransferProto.ResumeTransferOperationRequest(); + DEFAULT_INSTANCE = new com.google.storagetransfer.v1.proto.TransferProto.ResumeTransferOperationRequest(); } - public static com.google.storagetransfer.v1.proto.TransferProto.ResumeTransferOperationRequest - getDefaultInstance() { + public static com.google.storagetransfer.v1.proto.TransferProto.ResumeTransferOperationRequest getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ResumeTransferOperationRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ResumeTransferOperationRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ResumeTransferOperationRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ResumeTransferOperationRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -7974,88 +7856,74 @@ public com.google.protobuf.Parser getParserForTy } @java.lang.Override - public com.google.storagetransfer.v1.proto.TransferProto.ResumeTransferOperationRequest - getDefaultInstanceForType() { + public com.google.storagetransfer.v1.proto.TransferProto.ResumeTransferOperationRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } - public interface RunTransferJobRequestOrBuilder - extends + public interface RunTransferJobRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.storagetransfer.v1.RunTransferJobRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
      * Required. The name of the transfer job.
      * 
* * string job_name = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The jobName. */ java.lang.String getJobName(); /** - * - * *
      * Required. The name of the transfer job.
      * 
* * string job_name = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for jobName. */ - com.google.protobuf.ByteString getJobNameBytes(); + com.google.protobuf.ByteString + getJobNameBytes(); /** - * - * *
      * Required. The ID of the Google Cloud project that owns the transfer
      * job.
      * 
* * string project_id = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The projectId. */ java.lang.String getProjectId(); /** - * - * *
      * Required. The ID of the Google Cloud project that owns the transfer
      * job.
      * 
* * string project_id = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for projectId. */ - com.google.protobuf.ByteString getProjectIdBytes(); + com.google.protobuf.ByteString + getProjectIdBytes(); } /** - * - * *
    * Request passed to RunTransferJob.
    * 
* * Protobuf type {@code google.storagetransfer.v1.RunTransferJobRequest} */ - public static final class RunTransferJobRequest extends com.google.protobuf.GeneratedMessageV3 - implements + public static final class RunTransferJobRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.storagetransfer.v1.RunTransferJobRequest) RunTransferJobRequestOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use RunTransferJobRequest.newBuilder() to construct. private RunTransferJobRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private RunTransferJobRequest() { jobName_ = ""; projectId_ = ""; @@ -8063,15 +7931,16 @@ private RunTransferJobRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new RunTransferJobRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private RunTransferJobRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -8090,27 +7959,25 @@ private RunTransferJobRequest( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - jobName_ = s; - break; - } - case 18: - { - java.lang.String s = input.readStringRequireUtf8(); + jobName_ = s; + break; + } + case 18: { + java.lang.String s = input.readStringRequireUtf8(); - projectId_ = s; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + projectId_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -8118,40 +7985,34 @@ private RunTransferJobRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.storagetransfer.v1.proto.TransferProto - .internal_static_google_storagetransfer_v1_RunTransferJobRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.storagetransfer.v1.proto.TransferProto.internal_static_google_storagetransfer_v1_RunTransferJobRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.storagetransfer.v1.proto.TransferProto - .internal_static_google_storagetransfer_v1_RunTransferJobRequest_fieldAccessorTable + return com.google.storagetransfer.v1.proto.TransferProto.internal_static_google_storagetransfer_v1_RunTransferJobRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.storagetransfer.v1.proto.TransferProto.RunTransferJobRequest.class, - com.google.storagetransfer.v1.proto.TransferProto.RunTransferJobRequest.Builder - .class); + com.google.storagetransfer.v1.proto.TransferProto.RunTransferJobRequest.class, com.google.storagetransfer.v1.proto.TransferProto.RunTransferJobRequest.Builder.class); } public static final int JOB_NAME_FIELD_NUMBER = 1; private volatile java.lang.Object jobName_; /** - * - * *
      * Required. The name of the transfer job.
      * 
* * string job_name = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The jobName. */ @java.lang.Override @@ -8160,29 +8021,29 @@ public java.lang.String getJobName() { 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(); jobName_ = s; return s; } } /** - * - * *
      * Required. The name of the transfer job.
      * 
* * string job_name = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for jobName. */ @java.lang.Override - public com.google.protobuf.ByteString getJobNameBytes() { + public com.google.protobuf.ByteString + getJobNameBytes() { java.lang.Object ref = jobName_; 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); jobName_ = b; return b; } else { @@ -8193,15 +8054,12 @@ public com.google.protobuf.ByteString getJobNameBytes() { public static final int PROJECT_ID_FIELD_NUMBER = 2; private volatile java.lang.Object projectId_; /** - * - * *
      * Required. The ID of the Google Cloud project that owns the transfer
      * job.
      * 
* * string project_id = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The projectId. */ @java.lang.Override @@ -8210,30 +8068,30 @@ public java.lang.String getProjectId() { 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(); projectId_ = s; return s; } } /** - * - * *
      * Required. The ID of the Google Cloud project that owns the transfer
      * job.
      * 
* * string project_id = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for projectId. */ @java.lang.Override - public com.google.protobuf.ByteString getProjectIdBytes() { + public com.google.protobuf.ByteString + getProjectIdBytes() { java.lang.Object ref = projectId_; 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); projectId_ = b; return b; } else { @@ -8242,7 +8100,6 @@ public com.google.protobuf.ByteString getProjectIdBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -8254,7 +8111,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 (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(jobName_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, jobName_); } @@ -8284,17 +8142,17 @@ 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.storagetransfer.v1.proto.TransferProto.RunTransferJobRequest)) { + if (!(obj instanceof com.google.storagetransfer.v1.proto.TransferProto.RunTransferJobRequest)) { return super.equals(obj); } - com.google.storagetransfer.v1.proto.TransferProto.RunTransferJobRequest other = - (com.google.storagetransfer.v1.proto.TransferProto.RunTransferJobRequest) obj; + com.google.storagetransfer.v1.proto.TransferProto.RunTransferJobRequest other = (com.google.storagetransfer.v1.proto.TransferProto.RunTransferJobRequest) obj; - if (!getJobName().equals(other.getJobName())) return false; - if (!getProjectId().equals(other.getProjectId())) return false; + if (!getJobName() + .equals(other.getJobName())) return false; + if (!getProjectId() + .equals(other.getProjectId())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -8316,95 +8174,87 @@ public int hashCode() { } public static com.google.storagetransfer.v1.proto.TransferProto.RunTransferJobRequest parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.storagetransfer.v1.proto.TransferProto.RunTransferJobRequest 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.storagetransfer.v1.proto.TransferProto.RunTransferJobRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.storagetransfer.v1.proto.TransferProto.RunTransferJobRequest 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.storagetransfer.v1.proto.TransferProto.RunTransferJobRequest parseFrom( - byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.storagetransfer.v1.proto.TransferProto.RunTransferJobRequest parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.storagetransfer.v1.proto.TransferProto.RunTransferJobRequest 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.storagetransfer.v1.proto.TransferProto.RunTransferJobRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.storagetransfer.v1.proto.TransferProto.RunTransferJobRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.storagetransfer.v1.proto.TransferProto.RunTransferJobRequest 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.storagetransfer.v1.proto.TransferProto.RunTransferJobRequest - parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.storagetransfer.v1.proto.TransferProto.RunTransferJobRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - - public static com.google.storagetransfer.v1.proto.TransferProto.RunTransferJobRequest - parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + public static com.google.storagetransfer.v1.proto.TransferProto.RunTransferJobRequest parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.storagetransfer.v1.proto.TransferProto.RunTransferJobRequest 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.storagetransfer.v1.proto.TransferProto.RunTransferJobRequest 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.storagetransfer.v1.proto.TransferProto.RunTransferJobRequest prototype) { + public static Builder newBuilder(com.google.storagetransfer.v1.proto.TransferProto.RunTransferJobRequest 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 @@ -8414,50 +8264,44 @@ protected Builder newBuilderForType( return builder; } /** - * - * *
      * Request passed to RunTransferJob.
      * 
* * Protobuf type {@code google.storagetransfer.v1.RunTransferJobRequest} */ - public static final class Builder - extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.storagetransfer.v1.RunTransferJobRequest) com.google.storagetransfer.v1.proto.TransferProto.RunTransferJobRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.storagetransfer.v1.proto.TransferProto - .internal_static_google_storagetransfer_v1_RunTransferJobRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.storagetransfer.v1.proto.TransferProto.internal_static_google_storagetransfer_v1_RunTransferJobRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.storagetransfer.v1.proto.TransferProto - .internal_static_google_storagetransfer_v1_RunTransferJobRequest_fieldAccessorTable + return com.google.storagetransfer.v1.proto.TransferProto.internal_static_google_storagetransfer_v1_RunTransferJobRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.storagetransfer.v1.proto.TransferProto.RunTransferJobRequest.class, - com.google.storagetransfer.v1.proto.TransferProto.RunTransferJobRequest.Builder - .class); + com.google.storagetransfer.v1.proto.TransferProto.RunTransferJobRequest.class, com.google.storagetransfer.v1.proto.TransferProto.RunTransferJobRequest.Builder.class); } - // Construct using - // com.google.storagetransfer.v1.proto.TransferProto.RunTransferJobRequest.newBuilder() + // Construct using com.google.storagetransfer.v1.proto.TransferProto.RunTransferJobRequest.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -8469,22 +8313,19 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.storagetransfer.v1.proto.TransferProto - .internal_static_google_storagetransfer_v1_RunTransferJobRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.storagetransfer.v1.proto.TransferProto.internal_static_google_storagetransfer_v1_RunTransferJobRequest_descriptor; } @java.lang.Override - public com.google.storagetransfer.v1.proto.TransferProto.RunTransferJobRequest - getDefaultInstanceForType() { - return com.google.storagetransfer.v1.proto.TransferProto.RunTransferJobRequest - .getDefaultInstance(); + public com.google.storagetransfer.v1.proto.TransferProto.RunTransferJobRequest getDefaultInstanceForType() { + return com.google.storagetransfer.v1.proto.TransferProto.RunTransferJobRequest.getDefaultInstance(); } @java.lang.Override public com.google.storagetransfer.v1.proto.TransferProto.RunTransferJobRequest build() { - com.google.storagetransfer.v1.proto.TransferProto.RunTransferJobRequest result = - buildPartial(); + com.google.storagetransfer.v1.proto.TransferProto.RunTransferJobRequest result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } @@ -8492,10 +8333,8 @@ public com.google.storagetransfer.v1.proto.TransferProto.RunTransferJobRequest b } @java.lang.Override - public com.google.storagetransfer.v1.proto.TransferProto.RunTransferJobRequest - buildPartial() { - com.google.storagetransfer.v1.proto.TransferProto.RunTransferJobRequest result = - new com.google.storagetransfer.v1.proto.TransferProto.RunTransferJobRequest(this); + public com.google.storagetransfer.v1.proto.TransferProto.RunTransferJobRequest buildPartial() { + com.google.storagetransfer.v1.proto.TransferProto.RunTransferJobRequest result = new com.google.storagetransfer.v1.proto.TransferProto.RunTransferJobRequest(this); result.jobName_ = jobName_; result.projectId_ = projectId_; onBuilt(); @@ -8506,54 +8345,46 @@ public com.google.storagetransfer.v1.proto.TransferProto.RunTransferJobRequest b public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, - int index, - java.lang.Object value) { + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { - if (other - instanceof com.google.storagetransfer.v1.proto.TransferProto.RunTransferJobRequest) { - return mergeFrom( - (com.google.storagetransfer.v1.proto.TransferProto.RunTransferJobRequest) other); + if (other instanceof com.google.storagetransfer.v1.proto.TransferProto.RunTransferJobRequest) { + return mergeFrom((com.google.storagetransfer.v1.proto.TransferProto.RunTransferJobRequest)other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom( - com.google.storagetransfer.v1.proto.TransferProto.RunTransferJobRequest other) { - if (other - == com.google.storagetransfer.v1.proto.TransferProto.RunTransferJobRequest - .getDefaultInstance()) return this; + public Builder mergeFrom(com.google.storagetransfer.v1.proto.TransferProto.RunTransferJobRequest other) { + if (other == com.google.storagetransfer.v1.proto.TransferProto.RunTransferJobRequest.getDefaultInstance()) return this; if (!other.getJobName().isEmpty()) { jobName_ = other.jobName_; onChanged(); @@ -8577,14 +8408,11 @@ public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - com.google.storagetransfer.v1.proto.TransferProto.RunTransferJobRequest parsedMessage = - null; + com.google.storagetransfer.v1.proto.TransferProto.RunTransferJobRequest parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.storagetransfer.v1.proto.TransferProto.RunTransferJobRequest) - e.getUnfinishedMessage(); + parsedMessage = (com.google.storagetransfer.v1.proto.TransferProto.RunTransferJobRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -8596,20 +8424,18 @@ public Builder mergeFrom( private java.lang.Object jobName_ = ""; /** - * - * *
        * Required. The name of the transfer job.
        * 
* * string job_name = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The jobName. */ public java.lang.String getJobName() { java.lang.Object ref = jobName_; 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(); jobName_ = s; return s; @@ -8618,21 +8444,20 @@ public java.lang.String getJobName() { } } /** - * - * *
        * Required. The name of the transfer job.
        * 
* * string job_name = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for jobName. */ - public com.google.protobuf.ByteString getJobNameBytes() { + public com.google.protobuf.ByteString + getJobNameBytes() { java.lang.Object ref = jobName_; 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); jobName_ = b; return b; } else { @@ -8640,61 +8465,54 @@ public com.google.protobuf.ByteString getJobNameBytes() { } } /** - * - * *
        * Required. The name of the transfer job.
        * 
* * string job_name = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The jobName to set. * @return This builder for chaining. */ - public Builder setJobName(java.lang.String value) { + public Builder setJobName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + jobName_ = value; onChanged(); return this; } /** - * - * *
        * Required. The name of the transfer job.
        * 
* * string job_name = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return This builder for chaining. */ public Builder clearJobName() { - + jobName_ = getDefaultInstance().getJobName(); onChanged(); return this; } /** - * - * *
        * Required. The name of the transfer job.
        * 
* * string job_name = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The bytes for jobName to set. * @return This builder for chaining. */ - public Builder setJobNameBytes(com.google.protobuf.ByteString value) { + public Builder setJobNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + jobName_ = value; onChanged(); return this; @@ -8702,21 +8520,19 @@ public Builder setJobNameBytes(com.google.protobuf.ByteString value) { private java.lang.Object projectId_ = ""; /** - * - * *
        * Required. The ID of the Google Cloud project that owns the transfer
        * job.
        * 
* * string project_id = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The projectId. */ public java.lang.String getProjectId() { java.lang.Object ref = projectId_; 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(); projectId_ = s; return s; @@ -8725,22 +8541,21 @@ public java.lang.String getProjectId() { } } /** - * - * *
        * Required. The ID of the Google Cloud project that owns the transfer
        * job.
        * 
* * string project_id = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for projectId. */ - public com.google.protobuf.ByteString getProjectIdBytes() { + public com.google.protobuf.ByteString + getProjectIdBytes() { java.lang.Object ref = projectId_; 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); projectId_ = b; return b; } else { @@ -8748,69 +8563,61 @@ public com.google.protobuf.ByteString getProjectIdBytes() { } } /** - * - * *
        * Required. The ID of the Google Cloud project that owns the transfer
        * job.
        * 
* * string project_id = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The projectId to set. * @return This builder for chaining. */ - public Builder setProjectId(java.lang.String value) { + public Builder setProjectId( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + projectId_ = value; onChanged(); return this; } /** - * - * *
        * Required. The ID of the Google Cloud project that owns the transfer
        * job.
        * 
* * string project_id = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return This builder for chaining. */ public Builder clearProjectId() { - + projectId_ = getDefaultInstance().getProjectId(); onChanged(); return this; } /** - * - * *
        * Required. The ID of the Google Cloud project that owns the transfer
        * job.
        * 
* * string project_id = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The bytes for projectId to set. * @return This builder for chaining. */ - public Builder setProjectIdBytes(com.google.protobuf.ByteString value) { + public Builder setProjectIdBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + projectId_ = value; onChanged(); return this; } - @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -8823,33 +8630,30 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.storagetransfer.v1.RunTransferJobRequest) } // @@protoc_insertion_point(class_scope:google.storagetransfer.v1.RunTransferJobRequest) - private static final com.google.storagetransfer.v1.proto.TransferProto.RunTransferJobRequest - DEFAULT_INSTANCE; - + private static final com.google.storagetransfer.v1.proto.TransferProto.RunTransferJobRequest DEFAULT_INSTANCE; static { - DEFAULT_INSTANCE = - new com.google.storagetransfer.v1.proto.TransferProto.RunTransferJobRequest(); + DEFAULT_INSTANCE = new com.google.storagetransfer.v1.proto.TransferProto.RunTransferJobRequest(); } - public static com.google.storagetransfer.v1.proto.TransferProto.RunTransferJobRequest - getDefaultInstance() { + public static com.google.storagetransfer.v1.proto.TransferProto.RunTransferJobRequest getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public RunTransferJobRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new RunTransferJobRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public RunTransferJobRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new RunTransferJobRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -8861,88 +8665,66 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.storagetransfer.v1.proto.TransferProto.RunTransferJobRequest - getDefaultInstanceForType() { + public com.google.storagetransfer.v1.proto.TransferProto.RunTransferJobRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } - public interface CreateAgentPoolRequestOrBuilder - extends + public interface CreateAgentPoolRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.storagetransfer.v1.CreateAgentPoolRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
      * Required. The ID of the Google Cloud project that owns the
      * agent pool.
      * 
* * string project_id = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The projectId. */ java.lang.String getProjectId(); /** - * - * *
      * Required. The ID of the Google Cloud project that owns the
      * agent pool.
      * 
* * string project_id = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for projectId. */ - com.google.protobuf.ByteString getProjectIdBytes(); + com.google.protobuf.ByteString + getProjectIdBytes(); /** - * - * *
      * Required. The agent pool to create.
      * 
* - * - * .google.storagetransfer.v1.AgentPool agent_pool = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.storagetransfer.v1.AgentPool agent_pool = 2 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the agentPool field is set. */ boolean hasAgentPool(); /** - * - * *
      * Required. The agent pool to create.
      * 
* - * - * .google.storagetransfer.v1.AgentPool agent_pool = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.storagetransfer.v1.AgentPool agent_pool = 2 [(.google.api.field_behavior) = REQUIRED]; * @return The agentPool. */ com.google.storagetransfer.v1.proto.TransferTypes.AgentPool getAgentPool(); /** - * - * *
      * Required. The agent pool to create.
      * 
* - * - * .google.storagetransfer.v1.AgentPool agent_pool = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.storagetransfer.v1.AgentPool agent_pool = 2 [(.google.api.field_behavior) = REQUIRED]; */ com.google.storagetransfer.v1.proto.TransferTypes.AgentPoolOrBuilder getAgentPoolOrBuilder(); /** - * - * *
      * Required. The ID of the agent pool to create.
      * The `agent_pool_id` must meet the following requirements:
@@ -8957,13 +8739,10 @@ public interface CreateAgentPoolRequestOrBuilder
      * 
* * string agent_pool_id = 3 [(.google.api.field_behavior) = REQUIRED]; - * * @return The agentPoolId. */ java.lang.String getAgentPoolId(); /** - * - * *
      * Required. The ID of the agent pool to create.
      * The `agent_pool_id` must meet the following requirements:
@@ -8978,30 +8757,27 @@ public interface CreateAgentPoolRequestOrBuilder
      * 
* * string agent_pool_id = 3 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for agentPoolId. */ - com.google.protobuf.ByteString getAgentPoolIdBytes(); + com.google.protobuf.ByteString + getAgentPoolIdBytes(); } /** - * - * *
    * Specifies the request passed to CreateAgentPool.
    * 
* * Protobuf type {@code google.storagetransfer.v1.CreateAgentPoolRequest} */ - public static final class CreateAgentPoolRequest extends com.google.protobuf.GeneratedMessageV3 - implements + public static final class CreateAgentPoolRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.storagetransfer.v1.CreateAgentPoolRequest) CreateAgentPoolRequestOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use CreateAgentPoolRequest.newBuilder() to construct. private CreateAgentPoolRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private CreateAgentPoolRequest() { projectId_ = ""; agentPoolId_ = ""; @@ -9009,15 +8785,16 @@ private CreateAgentPoolRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new CreateAgentPoolRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private CreateAgentPoolRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -9036,45 +8813,38 @@ private CreateAgentPoolRequest( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - projectId_ = s; - break; + projectId_ = s; + break; + } + case 18: { + com.google.storagetransfer.v1.proto.TransferTypes.AgentPool.Builder subBuilder = null; + if (agentPool_ != null) { + subBuilder = agentPool_.toBuilder(); } - case 18: - { - com.google.storagetransfer.v1.proto.TransferTypes.AgentPool.Builder subBuilder = - null; - if (agentPool_ != null) { - subBuilder = agentPool_.toBuilder(); - } - agentPool_ = - input.readMessage( - com.google.storagetransfer.v1.proto.TransferTypes.AgentPool.parser(), - extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(agentPool_); - agentPool_ = subBuilder.buildPartial(); - } - - break; + agentPool_ = input.readMessage(com.google.storagetransfer.v1.proto.TransferTypes.AgentPool.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(agentPool_); + agentPool_ = subBuilder.buildPartial(); } - case 26: - { - java.lang.String s = input.readStringRequireUtf8(); - agentPoolId_ = s; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + break; + } + case 26: { + java.lang.String s = input.readStringRequireUtf8(); + + agentPoolId_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -9082,41 +8852,35 @@ private CreateAgentPoolRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.storagetransfer.v1.proto.TransferProto - .internal_static_google_storagetransfer_v1_CreateAgentPoolRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.storagetransfer.v1.proto.TransferProto.internal_static_google_storagetransfer_v1_CreateAgentPoolRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.storagetransfer.v1.proto.TransferProto - .internal_static_google_storagetransfer_v1_CreateAgentPoolRequest_fieldAccessorTable + return com.google.storagetransfer.v1.proto.TransferProto.internal_static_google_storagetransfer_v1_CreateAgentPoolRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.storagetransfer.v1.proto.TransferProto.CreateAgentPoolRequest.class, - com.google.storagetransfer.v1.proto.TransferProto.CreateAgentPoolRequest.Builder - .class); + com.google.storagetransfer.v1.proto.TransferProto.CreateAgentPoolRequest.class, com.google.storagetransfer.v1.proto.TransferProto.CreateAgentPoolRequest.Builder.class); } public static final int PROJECT_ID_FIELD_NUMBER = 1; private volatile java.lang.Object projectId_; /** - * - * *
      * Required. The ID of the Google Cloud project that owns the
      * agent pool.
      * 
* * string project_id = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The projectId. */ @java.lang.Override @@ -9125,30 +8889,30 @@ public java.lang.String getProjectId() { 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(); projectId_ = s; return s; } } /** - * - * *
      * Required. The ID of the Google Cloud project that owns the
      * agent pool.
      * 
* * string project_id = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for projectId. */ @java.lang.Override - public com.google.protobuf.ByteString getProjectIdBytes() { + public com.google.protobuf.ByteString + getProjectIdBytes() { java.lang.Object ref = projectId_; 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); projectId_ = b; return b; } else { @@ -9159,16 +8923,11 @@ public com.google.protobuf.ByteString getProjectIdBytes() { public static final int AGENT_POOL_FIELD_NUMBER = 2; private com.google.storagetransfer.v1.proto.TransferTypes.AgentPool agentPool_; /** - * - * *
      * Required. The agent pool to create.
      * 
* - * - * .google.storagetransfer.v1.AgentPool agent_pool = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.storagetransfer.v1.AgentPool agent_pool = 2 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the agentPool field is set. */ @java.lang.Override @@ -9176,46 +8935,32 @@ public boolean hasAgentPool() { return agentPool_ != null; } /** - * - * *
      * Required. The agent pool to create.
      * 
* - * - * .google.storagetransfer.v1.AgentPool agent_pool = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.storagetransfer.v1.AgentPool agent_pool = 2 [(.google.api.field_behavior) = REQUIRED]; * @return The agentPool. */ @java.lang.Override public com.google.storagetransfer.v1.proto.TransferTypes.AgentPool getAgentPool() { - return agentPool_ == null - ? com.google.storagetransfer.v1.proto.TransferTypes.AgentPool.getDefaultInstance() - : agentPool_; + return agentPool_ == null ? com.google.storagetransfer.v1.proto.TransferTypes.AgentPool.getDefaultInstance() : agentPool_; } /** - * - * *
      * Required. The agent pool to create.
      * 
* - * - * .google.storagetransfer.v1.AgentPool agent_pool = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.storagetransfer.v1.AgentPool agent_pool = 2 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override - public com.google.storagetransfer.v1.proto.TransferTypes.AgentPoolOrBuilder - getAgentPoolOrBuilder() { + public com.google.storagetransfer.v1.proto.TransferTypes.AgentPoolOrBuilder getAgentPoolOrBuilder() { return getAgentPool(); } public static final int AGENT_POOL_ID_FIELD_NUMBER = 3; private volatile java.lang.Object agentPoolId_; /** - * - * *
      * Required. The ID of the agent pool to create.
      * The `agent_pool_id` must meet the following requirements:
@@ -9230,7 +8975,6 @@ public com.google.storagetransfer.v1.proto.TransferTypes.AgentPool getAgentPool(
      * 
* * string agent_pool_id = 3 [(.google.api.field_behavior) = REQUIRED]; - * * @return The agentPoolId. */ @java.lang.Override @@ -9239,15 +8983,14 @@ public java.lang.String getAgentPoolId() { 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(); agentPoolId_ = s; return s; } } /** - * - * *
      * Required. The ID of the agent pool to create.
      * The `agent_pool_id` must meet the following requirements:
@@ -9262,15 +9005,16 @@ public java.lang.String getAgentPoolId() {
      * 
* * string agent_pool_id = 3 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for agentPoolId. */ @java.lang.Override - public com.google.protobuf.ByteString getAgentPoolIdBytes() { + public com.google.protobuf.ByteString + getAgentPoolIdBytes() { java.lang.Object ref = agentPoolId_; 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); agentPoolId_ = b; return b; } else { @@ -9279,7 +9023,6 @@ public com.google.protobuf.ByteString getAgentPoolIdBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -9291,7 +9034,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 (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(projectId_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, projectId_); } @@ -9314,7 +9058,8 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, projectId_); } if (agentPool_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getAgentPool()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, getAgentPool()); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(agentPoolId_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, agentPoolId_); @@ -9327,21 +9072,22 @@ 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.storagetransfer.v1.proto.TransferProto.CreateAgentPoolRequest)) { + if (!(obj instanceof com.google.storagetransfer.v1.proto.TransferProto.CreateAgentPoolRequest)) { return super.equals(obj); } - com.google.storagetransfer.v1.proto.TransferProto.CreateAgentPoolRequest other = - (com.google.storagetransfer.v1.proto.TransferProto.CreateAgentPoolRequest) obj; + com.google.storagetransfer.v1.proto.TransferProto.CreateAgentPoolRequest other = (com.google.storagetransfer.v1.proto.TransferProto.CreateAgentPoolRequest) obj; - if (!getProjectId().equals(other.getProjectId())) return false; + if (!getProjectId() + .equals(other.getProjectId())) return false; if (hasAgentPool() != other.hasAgentPool()) return false; if (hasAgentPool()) { - if (!getAgentPool().equals(other.getAgentPool())) return false; + if (!getAgentPool() + .equals(other.getAgentPool())) return false; } - if (!getAgentPoolId().equals(other.getAgentPoolId())) return false; + if (!getAgentPoolId() + .equals(other.getAgentPoolId())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -9366,101 +9112,88 @@ public int hashCode() { return hash; } - public static com.google.storagetransfer.v1.proto.TransferProto.CreateAgentPoolRequest - parseFrom(java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.storagetransfer.v1.proto.TransferProto.CreateAgentPoolRequest parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - - public static com.google.storagetransfer.v1.proto.TransferProto.CreateAgentPoolRequest - parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.storagetransfer.v1.proto.TransferProto.CreateAgentPoolRequest parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.storagetransfer.v1.proto.TransferProto.CreateAgentPoolRequest - parseFrom(com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.storagetransfer.v1.proto.TransferProto.CreateAgentPoolRequest parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - - public static com.google.storagetransfer.v1.proto.TransferProto.CreateAgentPoolRequest - parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.storagetransfer.v1.proto.TransferProto.CreateAgentPoolRequest 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.storagetransfer.v1.proto.TransferProto.CreateAgentPoolRequest - parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.storagetransfer.v1.proto.TransferProto.CreateAgentPoolRequest parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - - public static com.google.storagetransfer.v1.proto.TransferProto.CreateAgentPoolRequest - parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.storagetransfer.v1.proto.TransferProto.CreateAgentPoolRequest parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.storagetransfer.v1.proto.TransferProto.CreateAgentPoolRequest - parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.storagetransfer.v1.proto.TransferProto.CreateAgentPoolRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - - public static com.google.storagetransfer.v1.proto.TransferProto.CreateAgentPoolRequest - parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + public static com.google.storagetransfer.v1.proto.TransferProto.CreateAgentPoolRequest parseFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.storagetransfer.v1.proto.TransferProto.CreateAgentPoolRequest - parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.storagetransfer.v1.proto.TransferProto.CreateAgentPoolRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - - public static com.google.storagetransfer.v1.proto.TransferProto.CreateAgentPoolRequest - parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + public static com.google.storagetransfer.v1.proto.TransferProto.CreateAgentPoolRequest parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.storagetransfer.v1.proto.TransferProto.CreateAgentPoolRequest - parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.storagetransfer.v1.proto.TransferProto.CreateAgentPoolRequest parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - - public static com.google.storagetransfer.v1.proto.TransferProto.CreateAgentPoolRequest - parseFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + public static com.google.storagetransfer.v1.proto.TransferProto.CreateAgentPoolRequest parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + 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.storagetransfer.v1.proto.TransferProto.CreateAgentPoolRequest prototype) { + public static Builder newBuilder(com.google.storagetransfer.v1.proto.TransferProto.CreateAgentPoolRequest 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 @@ -9470,50 +9203,44 @@ protected Builder newBuilderForType( return builder; } /** - * - * *
      * Specifies the request passed to CreateAgentPool.
      * 
* * Protobuf type {@code google.storagetransfer.v1.CreateAgentPoolRequest} */ - public static final class Builder - extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.storagetransfer.v1.CreateAgentPoolRequest) com.google.storagetransfer.v1.proto.TransferProto.CreateAgentPoolRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.storagetransfer.v1.proto.TransferProto - .internal_static_google_storagetransfer_v1_CreateAgentPoolRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.storagetransfer.v1.proto.TransferProto.internal_static_google_storagetransfer_v1_CreateAgentPoolRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.storagetransfer.v1.proto.TransferProto - .internal_static_google_storagetransfer_v1_CreateAgentPoolRequest_fieldAccessorTable + return com.google.storagetransfer.v1.proto.TransferProto.internal_static_google_storagetransfer_v1_CreateAgentPoolRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.storagetransfer.v1.proto.TransferProto.CreateAgentPoolRequest.class, - com.google.storagetransfer.v1.proto.TransferProto.CreateAgentPoolRequest.Builder - .class); + com.google.storagetransfer.v1.proto.TransferProto.CreateAgentPoolRequest.class, com.google.storagetransfer.v1.proto.TransferProto.CreateAgentPoolRequest.Builder.class); } - // Construct using - // com.google.storagetransfer.v1.proto.TransferProto.CreateAgentPoolRequest.newBuilder() + // Construct using com.google.storagetransfer.v1.proto.TransferProto.CreateAgentPoolRequest.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -9531,22 +9258,19 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.storagetransfer.v1.proto.TransferProto - .internal_static_google_storagetransfer_v1_CreateAgentPoolRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.storagetransfer.v1.proto.TransferProto.internal_static_google_storagetransfer_v1_CreateAgentPoolRequest_descriptor; } @java.lang.Override - public com.google.storagetransfer.v1.proto.TransferProto.CreateAgentPoolRequest - getDefaultInstanceForType() { - return com.google.storagetransfer.v1.proto.TransferProto.CreateAgentPoolRequest - .getDefaultInstance(); + public com.google.storagetransfer.v1.proto.TransferProto.CreateAgentPoolRequest getDefaultInstanceForType() { + return com.google.storagetransfer.v1.proto.TransferProto.CreateAgentPoolRequest.getDefaultInstance(); } @java.lang.Override public com.google.storagetransfer.v1.proto.TransferProto.CreateAgentPoolRequest build() { - com.google.storagetransfer.v1.proto.TransferProto.CreateAgentPoolRequest result = - buildPartial(); + com.google.storagetransfer.v1.proto.TransferProto.CreateAgentPoolRequest result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } @@ -9554,10 +9278,8 @@ public com.google.storagetransfer.v1.proto.TransferProto.CreateAgentPoolRequest } @java.lang.Override - public com.google.storagetransfer.v1.proto.TransferProto.CreateAgentPoolRequest - buildPartial() { - com.google.storagetransfer.v1.proto.TransferProto.CreateAgentPoolRequest result = - new com.google.storagetransfer.v1.proto.TransferProto.CreateAgentPoolRequest(this); + public com.google.storagetransfer.v1.proto.TransferProto.CreateAgentPoolRequest buildPartial() { + com.google.storagetransfer.v1.proto.TransferProto.CreateAgentPoolRequest result = new com.google.storagetransfer.v1.proto.TransferProto.CreateAgentPoolRequest(this); result.projectId_ = projectId_; if (agentPoolBuilder_ == null) { result.agentPool_ = agentPool_; @@ -9573,54 +9295,46 @@ public com.google.storagetransfer.v1.proto.TransferProto.CreateAgentPoolRequest public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, - int index, - java.lang.Object value) { + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { - if (other - instanceof com.google.storagetransfer.v1.proto.TransferProto.CreateAgentPoolRequest) { - return mergeFrom( - (com.google.storagetransfer.v1.proto.TransferProto.CreateAgentPoolRequest) other); + if (other instanceof com.google.storagetransfer.v1.proto.TransferProto.CreateAgentPoolRequest) { + return mergeFrom((com.google.storagetransfer.v1.proto.TransferProto.CreateAgentPoolRequest)other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom( - com.google.storagetransfer.v1.proto.TransferProto.CreateAgentPoolRequest other) { - if (other - == com.google.storagetransfer.v1.proto.TransferProto.CreateAgentPoolRequest - .getDefaultInstance()) return this; + public Builder mergeFrom(com.google.storagetransfer.v1.proto.TransferProto.CreateAgentPoolRequest other) { + if (other == com.google.storagetransfer.v1.proto.TransferProto.CreateAgentPoolRequest.getDefaultInstance()) return this; if (!other.getProjectId().isEmpty()) { projectId_ = other.projectId_; onChanged(); @@ -9647,14 +9361,11 @@ public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - com.google.storagetransfer.v1.proto.TransferProto.CreateAgentPoolRequest parsedMessage = - null; + com.google.storagetransfer.v1.proto.TransferProto.CreateAgentPoolRequest parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.storagetransfer.v1.proto.TransferProto.CreateAgentPoolRequest) - e.getUnfinishedMessage(); + parsedMessage = (com.google.storagetransfer.v1.proto.TransferProto.CreateAgentPoolRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -9666,21 +9377,19 @@ public Builder mergeFrom( private java.lang.Object projectId_ = ""; /** - * - * *
        * Required. The ID of the Google Cloud project that owns the
        * agent pool.
        * 
* * string project_id = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The projectId. */ public java.lang.String getProjectId() { java.lang.Object ref = projectId_; 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(); projectId_ = s; return s; @@ -9689,22 +9398,21 @@ public java.lang.String getProjectId() { } } /** - * - * *
        * Required. The ID of the Google Cloud project that owns the
        * agent pool.
        * 
* * string project_id = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for projectId. */ - public com.google.protobuf.ByteString getProjectIdBytes() { + public com.google.protobuf.ByteString + getProjectIdBytes() { java.lang.Object ref = projectId_; 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); projectId_ = b; return b; } else { @@ -9712,64 +9420,57 @@ public com.google.protobuf.ByteString getProjectIdBytes() { } } /** - * - * *
        * Required. The ID of the Google Cloud project that owns the
        * agent pool.
        * 
* * string project_id = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The projectId to set. * @return This builder for chaining. */ - public Builder setProjectId(java.lang.String value) { + public Builder setProjectId( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + projectId_ = value; onChanged(); return this; } /** - * - * *
        * Required. The ID of the Google Cloud project that owns the
        * agent pool.
        * 
* * string project_id = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return This builder for chaining. */ public Builder clearProjectId() { - + projectId_ = getDefaultInstance().getProjectId(); onChanged(); return this; } /** - * - * *
        * Required. The ID of the Google Cloud project that owns the
        * agent pool.
        * 
* * string project_id = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The bytes for projectId to set. * @return This builder for chaining. */ - public Builder setProjectIdBytes(com.google.protobuf.ByteString value) { + public Builder setProjectIdBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + projectId_ = value; onChanged(); return this; @@ -9777,61 +9478,41 @@ public Builder setProjectIdBytes(com.google.protobuf.ByteString value) { private com.google.storagetransfer.v1.proto.TransferTypes.AgentPool agentPool_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.storagetransfer.v1.proto.TransferTypes.AgentPool, - com.google.storagetransfer.v1.proto.TransferTypes.AgentPool.Builder, - com.google.storagetransfer.v1.proto.TransferTypes.AgentPoolOrBuilder> - agentPoolBuilder_; + com.google.storagetransfer.v1.proto.TransferTypes.AgentPool, com.google.storagetransfer.v1.proto.TransferTypes.AgentPool.Builder, com.google.storagetransfer.v1.proto.TransferTypes.AgentPoolOrBuilder> agentPoolBuilder_; /** - * - * *
        * Required. The agent pool to create.
        * 
* - * - * .google.storagetransfer.v1.AgentPool agent_pool = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.storagetransfer.v1.AgentPool agent_pool = 2 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the agentPool field is set. */ public boolean hasAgentPool() { return agentPoolBuilder_ != null || agentPool_ != null; } /** - * - * *
        * Required. The agent pool to create.
        * 
* - * - * .google.storagetransfer.v1.AgentPool agent_pool = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.storagetransfer.v1.AgentPool agent_pool = 2 [(.google.api.field_behavior) = REQUIRED]; * @return The agentPool. */ public com.google.storagetransfer.v1.proto.TransferTypes.AgentPool getAgentPool() { if (agentPoolBuilder_ == null) { - return agentPool_ == null - ? com.google.storagetransfer.v1.proto.TransferTypes.AgentPool.getDefaultInstance() - : agentPool_; + return agentPool_ == null ? com.google.storagetransfer.v1.proto.TransferTypes.AgentPool.getDefaultInstance() : agentPool_; } else { return agentPoolBuilder_.getMessage(); } } /** - * - * *
        * Required. The agent pool to create.
        * 
* - * - * .google.storagetransfer.v1.AgentPool agent_pool = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.storagetransfer.v1.AgentPool agent_pool = 2 [(.google.api.field_behavior) = REQUIRED]; */ - public Builder setAgentPool( - com.google.storagetransfer.v1.proto.TransferTypes.AgentPool value) { + public Builder setAgentPool(com.google.storagetransfer.v1.proto.TransferTypes.AgentPool value) { if (agentPoolBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -9845,15 +9526,11 @@ public Builder setAgentPool( return this; } /** - * - * *
        * Required. The agent pool to create.
        * 
* - * - * .google.storagetransfer.v1.AgentPool agent_pool = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.storagetransfer.v1.AgentPool agent_pool = 2 [(.google.api.field_behavior) = REQUIRED]; */ public Builder setAgentPool( com.google.storagetransfer.v1.proto.TransferTypes.AgentPool.Builder builderForValue) { @@ -9867,24 +9544,17 @@ public Builder setAgentPool( return this; } /** - * - * *
        * Required. The agent pool to create.
        * 
* - * - * .google.storagetransfer.v1.AgentPool agent_pool = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.storagetransfer.v1.AgentPool agent_pool = 2 [(.google.api.field_behavior) = REQUIRED]; */ - public Builder mergeAgentPool( - com.google.storagetransfer.v1.proto.TransferTypes.AgentPool value) { + public Builder mergeAgentPool(com.google.storagetransfer.v1.proto.TransferTypes.AgentPool value) { if (agentPoolBuilder_ == null) { if (agentPool_ != null) { agentPool_ = - com.google.storagetransfer.v1.proto.TransferTypes.AgentPool.newBuilder(agentPool_) - .mergeFrom(value) - .buildPartial(); + com.google.storagetransfer.v1.proto.TransferTypes.AgentPool.newBuilder(agentPool_).mergeFrom(value).buildPartial(); } else { agentPool_ = value; } @@ -9896,15 +9566,11 @@ public Builder mergeAgentPool( return this; } /** - * - * *
        * Required. The agent pool to create.
        * 
* - * - * .google.storagetransfer.v1.AgentPool agent_pool = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.storagetransfer.v1.AgentPool agent_pool = 2 [(.google.api.field_behavior) = REQUIRED]; */ public Builder clearAgentPool() { if (agentPoolBuilder_ == null) { @@ -9918,66 +9584,48 @@ public Builder clearAgentPool() { return this; } /** - * - * *
        * Required. The agent pool to create.
        * 
* - * - * .google.storagetransfer.v1.AgentPool agent_pool = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.storagetransfer.v1.AgentPool agent_pool = 2 [(.google.api.field_behavior) = REQUIRED]; */ - public com.google.storagetransfer.v1.proto.TransferTypes.AgentPool.Builder - getAgentPoolBuilder() { - + public com.google.storagetransfer.v1.proto.TransferTypes.AgentPool.Builder getAgentPoolBuilder() { + onChanged(); return getAgentPoolFieldBuilder().getBuilder(); } /** - * - * *
        * Required. The agent pool to create.
        * 
* - * - * .google.storagetransfer.v1.AgentPool agent_pool = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.storagetransfer.v1.AgentPool agent_pool = 2 [(.google.api.field_behavior) = REQUIRED]; */ - public com.google.storagetransfer.v1.proto.TransferTypes.AgentPoolOrBuilder - getAgentPoolOrBuilder() { + public com.google.storagetransfer.v1.proto.TransferTypes.AgentPoolOrBuilder getAgentPoolOrBuilder() { if (agentPoolBuilder_ != null) { return agentPoolBuilder_.getMessageOrBuilder(); } else { - return agentPool_ == null - ? com.google.storagetransfer.v1.proto.TransferTypes.AgentPool.getDefaultInstance() - : agentPool_; + return agentPool_ == null ? + com.google.storagetransfer.v1.proto.TransferTypes.AgentPool.getDefaultInstance() : agentPool_; } } /** - * - * *
        * Required. The agent pool to create.
        * 
* - * - * .google.storagetransfer.v1.AgentPool agent_pool = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.storagetransfer.v1.AgentPool agent_pool = 2 [(.google.api.field_behavior) = REQUIRED]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.storagetransfer.v1.proto.TransferTypes.AgentPool, - com.google.storagetransfer.v1.proto.TransferTypes.AgentPool.Builder, - com.google.storagetransfer.v1.proto.TransferTypes.AgentPoolOrBuilder> + com.google.storagetransfer.v1.proto.TransferTypes.AgentPool, com.google.storagetransfer.v1.proto.TransferTypes.AgentPool.Builder, com.google.storagetransfer.v1.proto.TransferTypes.AgentPoolOrBuilder> getAgentPoolFieldBuilder() { if (agentPoolBuilder_ == null) { - agentPoolBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.storagetransfer.v1.proto.TransferTypes.AgentPool, - com.google.storagetransfer.v1.proto.TransferTypes.AgentPool.Builder, - com.google.storagetransfer.v1.proto.TransferTypes.AgentPoolOrBuilder>( - getAgentPool(), getParentForChildren(), isClean()); + agentPoolBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.storagetransfer.v1.proto.TransferTypes.AgentPool, com.google.storagetransfer.v1.proto.TransferTypes.AgentPool.Builder, com.google.storagetransfer.v1.proto.TransferTypes.AgentPoolOrBuilder>( + getAgentPool(), + getParentForChildren(), + isClean()); agentPool_ = null; } return agentPoolBuilder_; @@ -9985,8 +9633,6 @@ public Builder clearAgentPool() { private java.lang.Object agentPoolId_ = ""; /** - * - * *
        * Required. The ID of the agent pool to create.
        * The `agent_pool_id` must meet the following requirements:
@@ -10001,13 +9647,13 @@ public Builder clearAgentPool() {
        * 
* * string agent_pool_id = 3 [(.google.api.field_behavior) = REQUIRED]; - * * @return The agentPoolId. */ public java.lang.String getAgentPoolId() { java.lang.Object ref = agentPoolId_; 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(); agentPoolId_ = s; return s; @@ -10016,8 +9662,6 @@ public java.lang.String getAgentPoolId() { } } /** - * - * *
        * Required. The ID of the agent pool to create.
        * The `agent_pool_id` must meet the following requirements:
@@ -10032,14 +9676,15 @@ public java.lang.String getAgentPoolId() {
        * 
* * string agent_pool_id = 3 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for agentPoolId. */ - public com.google.protobuf.ByteString getAgentPoolIdBytes() { + public com.google.protobuf.ByteString + getAgentPoolIdBytes() { java.lang.Object ref = agentPoolId_; 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); agentPoolId_ = b; return b; } else { @@ -10047,8 +9692,6 @@ public com.google.protobuf.ByteString getAgentPoolIdBytes() { } } /** - * - * *
        * Required. The ID of the agent pool to create.
        * The `agent_pool_id` must meet the following requirements:
@@ -10063,22 +9706,20 @@ public com.google.protobuf.ByteString getAgentPoolIdBytes() {
        * 
* * string agent_pool_id = 3 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The agentPoolId to set. * @return This builder for chaining. */ - public Builder setAgentPoolId(java.lang.String value) { + public Builder setAgentPoolId( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + agentPoolId_ = value; onChanged(); return this; } /** - * - * *
        * Required. The ID of the agent pool to create.
        * The `agent_pool_id` must meet the following requirements:
@@ -10093,18 +9734,15 @@ public Builder setAgentPoolId(java.lang.String value) {
        * 
* * string agent_pool_id = 3 [(.google.api.field_behavior) = REQUIRED]; - * * @return This builder for chaining. */ public Builder clearAgentPoolId() { - + agentPoolId_ = getDefaultInstance().getAgentPoolId(); onChanged(); return this; } - /** - * - * + /** *
        * Required. The ID of the agent pool to create.
        * The `agent_pool_id` must meet the following requirements:
@@ -10119,21 +9757,20 @@ public Builder clearAgentPoolId() {
        * 
* * string agent_pool_id = 3 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The bytes for agentPoolId to set. * @return This builder for chaining. */ - public Builder setAgentPoolIdBytes(com.google.protobuf.ByteString value) { + public Builder setAgentPoolIdBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + agentPoolId_ = value; onChanged(); return this; } - @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -10146,33 +9783,30 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.storagetransfer.v1.CreateAgentPoolRequest) } // @@protoc_insertion_point(class_scope:google.storagetransfer.v1.CreateAgentPoolRequest) - private static final com.google.storagetransfer.v1.proto.TransferProto.CreateAgentPoolRequest - DEFAULT_INSTANCE; - + private static final com.google.storagetransfer.v1.proto.TransferProto.CreateAgentPoolRequest DEFAULT_INSTANCE; static { - DEFAULT_INSTANCE = - new com.google.storagetransfer.v1.proto.TransferProto.CreateAgentPoolRequest(); + DEFAULT_INSTANCE = new com.google.storagetransfer.v1.proto.TransferProto.CreateAgentPoolRequest(); } - public static com.google.storagetransfer.v1.proto.TransferProto.CreateAgentPoolRequest - getDefaultInstance() { + public static com.google.storagetransfer.v1.proto.TransferProto.CreateAgentPoolRequest getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public CreateAgentPoolRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new CreateAgentPoolRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public CreateAgentPoolRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new CreateAgentPoolRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -10184,20 +9818,17 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.storagetransfer.v1.proto.TransferProto.CreateAgentPoolRequest - getDefaultInstanceForType() { + public com.google.storagetransfer.v1.proto.TransferProto.CreateAgentPoolRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } - public interface UpdateAgentPoolRequestOrBuilder - extends + public interface UpdateAgentPoolRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.storagetransfer.v1.UpdateAgentPoolRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
      * Required. The agent pool to update. `agent_pool` is expected to specify following
      * fields:
@@ -10208,16 +9839,11 @@ public interface UpdateAgentPoolRequestOrBuilder
      * with the error [INVALID_ARGUMENT][google.rpc.Code.INVALID_ARGUMENT].
      * 
* - * - * .google.storagetransfer.v1.AgentPool agent_pool = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.storagetransfer.v1.AgentPool agent_pool = 1 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the agentPool field is set. */ boolean hasAgentPool(); /** - * - * *
      * Required. The agent pool to update. `agent_pool` is expected to specify following
      * fields:
@@ -10228,16 +9854,11 @@ public interface UpdateAgentPoolRequestOrBuilder
      * with the error [INVALID_ARGUMENT][google.rpc.Code.INVALID_ARGUMENT].
      * 
* - * - * .google.storagetransfer.v1.AgentPool agent_pool = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.storagetransfer.v1.AgentPool agent_pool = 1 [(.google.api.field_behavior) = REQUIRED]; * @return The agentPool. */ com.google.storagetransfer.v1.proto.TransferTypes.AgentPool getAgentPool(); /** - * - * *
      * Required. The agent pool to update. `agent_pool` is expected to specify following
      * fields:
@@ -10248,15 +9869,11 @@ public interface UpdateAgentPoolRequestOrBuilder
      * with the error [INVALID_ARGUMENT][google.rpc.Code.INVALID_ARGUMENT].
      * 
* - * - * .google.storagetransfer.v1.AgentPool agent_pool = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.storagetransfer.v1.AgentPool agent_pool = 1 [(.google.api.field_behavior) = REQUIRED]; */ com.google.storagetransfer.v1.proto.TransferTypes.AgentPoolOrBuilder getAgentPoolOrBuilder(); /** - * - * *
      * The [field mask]
      * (https://developers.google.com/protocol-buffers/docs/reference/google.protobuf)
@@ -10267,13 +9884,10 @@ public interface UpdateAgentPoolRequestOrBuilder
      * 
* * .google.protobuf.FieldMask update_mask = 2; - * * @return Whether the updateMask field is set. */ boolean hasUpdateMask(); /** - * - * *
      * The [field mask]
      * (https://developers.google.com/protocol-buffers/docs/reference/google.protobuf)
@@ -10284,13 +9898,10 @@ public interface UpdateAgentPoolRequestOrBuilder
      * 
* * .google.protobuf.FieldMask update_mask = 2; - * * @return The updateMask. */ com.google.protobuf.FieldMask getUpdateMask(); /** - * - * *
      * The [field mask]
      * (https://developers.google.com/protocol-buffers/docs/reference/google.protobuf)
@@ -10305,37 +9916,36 @@ public interface UpdateAgentPoolRequestOrBuilder
     com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder();
   }
   /**
-   *
-   *
    * 
    * Specifies the request passed to UpdateAgentPool.
    * 
* * Protobuf type {@code google.storagetransfer.v1.UpdateAgentPoolRequest} */ - public static final class UpdateAgentPoolRequest extends com.google.protobuf.GeneratedMessageV3 - implements + public static final class UpdateAgentPoolRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.storagetransfer.v1.UpdateAgentPoolRequest) UpdateAgentPoolRequestOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use UpdateAgentPoolRequest.newBuilder() to construct. private UpdateAgentPoolRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - - private UpdateAgentPoolRequest() {} + private UpdateAgentPoolRequest() { + } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new UpdateAgentPoolRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private UpdateAgentPoolRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -10354,46 +9964,39 @@ private UpdateAgentPoolRequest( case 0: done = true; break; - case 10: - { - com.google.storagetransfer.v1.proto.TransferTypes.AgentPool.Builder subBuilder = - null; - if (agentPool_ != null) { - subBuilder = agentPool_.toBuilder(); - } - agentPool_ = - input.readMessage( - com.google.storagetransfer.v1.proto.TransferTypes.AgentPool.parser(), - extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(agentPool_); - agentPool_ = subBuilder.buildPartial(); - } - - break; + case 10: { + com.google.storagetransfer.v1.proto.TransferTypes.AgentPool.Builder subBuilder = null; + if (agentPool_ != null) { + subBuilder = agentPool_.toBuilder(); + } + agentPool_ = input.readMessage(com.google.storagetransfer.v1.proto.TransferTypes.AgentPool.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(agentPool_); + agentPool_ = subBuilder.buildPartial(); + } + + break; + } + case 18: { + com.google.protobuf.FieldMask.Builder subBuilder = null; + if (updateMask_ != null) { + subBuilder = updateMask_.toBuilder(); } - case 18: - { - com.google.protobuf.FieldMask.Builder subBuilder = null; - if (updateMask_ != null) { - subBuilder = updateMask_.toBuilder(); - } - updateMask_ = - input.readMessage(com.google.protobuf.FieldMask.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(updateMask_); - updateMask_ = subBuilder.buildPartial(); - } - - break; + updateMask_ = input.readMessage(com.google.protobuf.FieldMask.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(updateMask_); + updateMask_ = subBuilder.buildPartial(); } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -10401,34 +10004,29 @@ private UpdateAgentPoolRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.storagetransfer.v1.proto.TransferProto - .internal_static_google_storagetransfer_v1_UpdateAgentPoolRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.storagetransfer.v1.proto.TransferProto.internal_static_google_storagetransfer_v1_UpdateAgentPoolRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.storagetransfer.v1.proto.TransferProto - .internal_static_google_storagetransfer_v1_UpdateAgentPoolRequest_fieldAccessorTable + return com.google.storagetransfer.v1.proto.TransferProto.internal_static_google_storagetransfer_v1_UpdateAgentPoolRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.storagetransfer.v1.proto.TransferProto.UpdateAgentPoolRequest.class, - com.google.storagetransfer.v1.proto.TransferProto.UpdateAgentPoolRequest.Builder - .class); + com.google.storagetransfer.v1.proto.TransferProto.UpdateAgentPoolRequest.class, com.google.storagetransfer.v1.proto.TransferProto.UpdateAgentPoolRequest.Builder.class); } public static final int AGENT_POOL_FIELD_NUMBER = 1; private com.google.storagetransfer.v1.proto.TransferTypes.AgentPool agentPool_; /** - * - * *
      * Required. The agent pool to update. `agent_pool` is expected to specify following
      * fields:
@@ -10439,10 +10037,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
      * with the error [INVALID_ARGUMENT][google.rpc.Code.INVALID_ARGUMENT].
      * 
* - * - * .google.storagetransfer.v1.AgentPool agent_pool = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.storagetransfer.v1.AgentPool agent_pool = 1 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the agentPool field is set. */ @java.lang.Override @@ -10450,8 +10045,6 @@ public boolean hasAgentPool() { return agentPool_ != null; } /** - * - * *
      * Required. The agent pool to update. `agent_pool` is expected to specify following
      * fields:
@@ -10462,21 +10055,14 @@ public boolean hasAgentPool() {
      * with the error [INVALID_ARGUMENT][google.rpc.Code.INVALID_ARGUMENT].
      * 
* - * - * .google.storagetransfer.v1.AgentPool agent_pool = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.storagetransfer.v1.AgentPool agent_pool = 1 [(.google.api.field_behavior) = REQUIRED]; * @return The agentPool. */ @java.lang.Override public com.google.storagetransfer.v1.proto.TransferTypes.AgentPool getAgentPool() { - return agentPool_ == null - ? com.google.storagetransfer.v1.proto.TransferTypes.AgentPool.getDefaultInstance() - : agentPool_; + return agentPool_ == null ? com.google.storagetransfer.v1.proto.TransferTypes.AgentPool.getDefaultInstance() : agentPool_; } /** - * - * *
      * Required. The agent pool to update. `agent_pool` is expected to specify following
      * fields:
@@ -10487,21 +10073,16 @@ public com.google.storagetransfer.v1.proto.TransferTypes.AgentPool getAgentPool(
      * with the error [INVALID_ARGUMENT][google.rpc.Code.INVALID_ARGUMENT].
      * 
* - * - * .google.storagetransfer.v1.AgentPool agent_pool = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.storagetransfer.v1.AgentPool agent_pool = 1 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override - public com.google.storagetransfer.v1.proto.TransferTypes.AgentPoolOrBuilder - getAgentPoolOrBuilder() { + public com.google.storagetransfer.v1.proto.TransferTypes.AgentPoolOrBuilder getAgentPoolOrBuilder() { return getAgentPool(); } public static final int UPDATE_MASK_FIELD_NUMBER = 2; private com.google.protobuf.FieldMask updateMask_; /** - * - * *
      * The [field mask]
      * (https://developers.google.com/protocol-buffers/docs/reference/google.protobuf)
@@ -10512,7 +10093,6 @@ public com.google.storagetransfer.v1.proto.TransferTypes.AgentPool getAgentPool(
      * 
* * .google.protobuf.FieldMask update_mask = 2; - * * @return Whether the updateMask field is set. */ @java.lang.Override @@ -10520,8 +10100,6 @@ public boolean hasUpdateMask() { return updateMask_ != null; } /** - * - * *
      * The [field mask]
      * (https://developers.google.com/protocol-buffers/docs/reference/google.protobuf)
@@ -10532,7 +10110,6 @@ public boolean hasUpdateMask() {
      * 
* * .google.protobuf.FieldMask update_mask = 2; - * * @return The updateMask. */ @java.lang.Override @@ -10540,8 +10117,6 @@ public com.google.protobuf.FieldMask getUpdateMask() { return updateMask_ == null ? com.google.protobuf.FieldMask.getDefaultInstance() : updateMask_; } /** - * - * *
      * The [field mask]
      * (https://developers.google.com/protocol-buffers/docs/reference/google.protobuf)
@@ -10559,7 +10134,6 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() {
     }
 
     private byte memoizedIsInitialized = -1;
-
     @java.lang.Override
     public final boolean isInitialized() {
       byte isInitialized = memoizedIsInitialized;
@@ -10571,7 +10145,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 (agentPool_ != null) {
         output.writeMessage(1, getAgentPool());
       }
@@ -10588,10 +10163,12 @@ public int getSerializedSize() {
 
       size = 0;
       if (agentPool_ != null) {
-        size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getAgentPool());
+        size += com.google.protobuf.CodedOutputStream
+          .computeMessageSize(1, getAgentPool());
       }
       if (updateMask_ != null) {
-        size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getUpdateMask());
+        size += com.google.protobuf.CodedOutputStream
+          .computeMessageSize(2, getUpdateMask());
       }
       size += unknownFields.getSerializedSize();
       memoizedSize = size;
@@ -10601,22 +10178,22 @@ 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.storagetransfer.v1.proto.TransferProto.UpdateAgentPoolRequest)) {
+      if (!(obj instanceof com.google.storagetransfer.v1.proto.TransferProto.UpdateAgentPoolRequest)) {
         return super.equals(obj);
       }
-      com.google.storagetransfer.v1.proto.TransferProto.UpdateAgentPoolRequest other =
-          (com.google.storagetransfer.v1.proto.TransferProto.UpdateAgentPoolRequest) obj;
+      com.google.storagetransfer.v1.proto.TransferProto.UpdateAgentPoolRequest other = (com.google.storagetransfer.v1.proto.TransferProto.UpdateAgentPoolRequest) obj;
 
       if (hasAgentPool() != other.hasAgentPool()) return false;
       if (hasAgentPool()) {
-        if (!getAgentPool().equals(other.getAgentPool())) return false;
+        if (!getAgentPool()
+            .equals(other.getAgentPool())) return false;
       }
       if (hasUpdateMask() != other.hasUpdateMask()) return false;
       if (hasUpdateMask()) {
-        if (!getUpdateMask().equals(other.getUpdateMask())) return false;
+        if (!getUpdateMask()
+            .equals(other.getUpdateMask())) return false;
       }
       if (!unknownFields.equals(other.unknownFields)) return false;
       return true;
@@ -10642,101 +10219,88 @@ public int hashCode() {
       return hash;
     }
 
-    public static com.google.storagetransfer.v1.proto.TransferProto.UpdateAgentPoolRequest
-        parseFrom(java.nio.ByteBuffer data)
-            throws com.google.protobuf.InvalidProtocolBufferException {
+    public static com.google.storagetransfer.v1.proto.TransferProto.UpdateAgentPoolRequest parseFrom(
+        java.nio.ByteBuffer data)
+        throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data);
     }
-
-    public static com.google.storagetransfer.v1.proto.TransferProto.UpdateAgentPoolRequest
-        parseFrom(
-            java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-            throws com.google.protobuf.InvalidProtocolBufferException {
+    public static com.google.storagetransfer.v1.proto.TransferProto.UpdateAgentPoolRequest parseFrom(
+        java.nio.ByteBuffer data,
+        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data, extensionRegistry);
     }
-
-    public static com.google.storagetransfer.v1.proto.TransferProto.UpdateAgentPoolRequest
-        parseFrom(com.google.protobuf.ByteString data)
-            throws com.google.protobuf.InvalidProtocolBufferException {
+    public static com.google.storagetransfer.v1.proto.TransferProto.UpdateAgentPoolRequest parseFrom(
+        com.google.protobuf.ByteString data)
+        throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data);
     }
-
-    public static com.google.storagetransfer.v1.proto.TransferProto.UpdateAgentPoolRequest
-        parseFrom(
-            com.google.protobuf.ByteString data,
-            com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-            throws com.google.protobuf.InvalidProtocolBufferException {
+    public static com.google.storagetransfer.v1.proto.TransferProto.UpdateAgentPoolRequest 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.storagetransfer.v1.proto.TransferProto.UpdateAgentPoolRequest
-        parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException {
+    public static com.google.storagetransfer.v1.proto.TransferProto.UpdateAgentPoolRequest parseFrom(byte[] data)
+        throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data);
     }
-
-    public static com.google.storagetransfer.v1.proto.TransferProto.UpdateAgentPoolRequest
-        parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-            throws com.google.protobuf.InvalidProtocolBufferException {
+    public static com.google.storagetransfer.v1.proto.TransferProto.UpdateAgentPoolRequest parseFrom(
+        byte[] data,
+        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data, extensionRegistry);
     }
-
-    public static com.google.storagetransfer.v1.proto.TransferProto.UpdateAgentPoolRequest
-        parseFrom(java.io.InputStream input) throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+    public static com.google.storagetransfer.v1.proto.TransferProto.UpdateAgentPoolRequest parseFrom(java.io.InputStream input)
+        throws java.io.IOException {
+      return com.google.protobuf.GeneratedMessageV3
+          .parseWithIOException(PARSER, input);
     }
-
-    public static com.google.storagetransfer.v1.proto.TransferProto.UpdateAgentPoolRequest
-        parseFrom(
-            java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-            throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
-          PARSER, input, extensionRegistry);
+    public static com.google.storagetransfer.v1.proto.TransferProto.UpdateAgentPoolRequest parseFrom(
+        java.io.InputStream input,
+        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        throws java.io.IOException {
+      return com.google.protobuf.GeneratedMessageV3
+          .parseWithIOException(PARSER, input, extensionRegistry);
     }
-
-    public static com.google.storagetransfer.v1.proto.TransferProto.UpdateAgentPoolRequest
-        parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
+    public static com.google.storagetransfer.v1.proto.TransferProto.UpdateAgentPoolRequest parseDelimitedFrom(java.io.InputStream input)
+        throws java.io.IOException {
+      return com.google.protobuf.GeneratedMessageV3
+          .parseDelimitedWithIOException(PARSER, input);
     }
-
-    public static com.google.storagetransfer.v1.proto.TransferProto.UpdateAgentPoolRequest
-        parseDelimitedFrom(
-            java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-            throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(
-          PARSER, input, extensionRegistry);
+    public static com.google.storagetransfer.v1.proto.TransferProto.UpdateAgentPoolRequest parseDelimitedFrom(
+        java.io.InputStream input,
+        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        throws java.io.IOException {
+      return com.google.protobuf.GeneratedMessageV3
+          .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
     }
-
-    public static com.google.storagetransfer.v1.proto.TransferProto.UpdateAgentPoolRequest
-        parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+    public static com.google.storagetransfer.v1.proto.TransferProto.UpdateAgentPoolRequest parseFrom(
+        com.google.protobuf.CodedInputStream input)
+        throws java.io.IOException {
+      return com.google.protobuf.GeneratedMessageV3
+          .parseWithIOException(PARSER, input);
     }
-
-    public static com.google.storagetransfer.v1.proto.TransferProto.UpdateAgentPoolRequest
-        parseFrom(
-            com.google.protobuf.CodedInputStream input,
-            com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-            throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
-          PARSER, input, extensionRegistry);
+    public static com.google.storagetransfer.v1.proto.TransferProto.UpdateAgentPoolRequest parseFrom(
+        com.google.protobuf.CodedInputStream input,
+        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        throws java.io.IOException {
+      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.storagetransfer.v1.proto.TransferProto.UpdateAgentPoolRequest prototype) {
+    public static Builder newBuilder(com.google.storagetransfer.v1.proto.TransferProto.UpdateAgentPoolRequest 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
@@ -10746,50 +10310,44 @@ protected Builder newBuilderForType(
       return builder;
     }
     /**
-     *
-     *
      * 
      * Specifies the request passed to UpdateAgentPool.
      * 
* * Protobuf type {@code google.storagetransfer.v1.UpdateAgentPoolRequest} */ - public static final class Builder - extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.storagetransfer.v1.UpdateAgentPoolRequest) com.google.storagetransfer.v1.proto.TransferProto.UpdateAgentPoolRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.storagetransfer.v1.proto.TransferProto - .internal_static_google_storagetransfer_v1_UpdateAgentPoolRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.storagetransfer.v1.proto.TransferProto.internal_static_google_storagetransfer_v1_UpdateAgentPoolRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.storagetransfer.v1.proto.TransferProto - .internal_static_google_storagetransfer_v1_UpdateAgentPoolRequest_fieldAccessorTable + return com.google.storagetransfer.v1.proto.TransferProto.internal_static_google_storagetransfer_v1_UpdateAgentPoolRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.storagetransfer.v1.proto.TransferProto.UpdateAgentPoolRequest.class, - com.google.storagetransfer.v1.proto.TransferProto.UpdateAgentPoolRequest.Builder - .class); + com.google.storagetransfer.v1.proto.TransferProto.UpdateAgentPoolRequest.class, com.google.storagetransfer.v1.proto.TransferProto.UpdateAgentPoolRequest.Builder.class); } - // Construct using - // com.google.storagetransfer.v1.proto.TransferProto.UpdateAgentPoolRequest.newBuilder() + // Construct using com.google.storagetransfer.v1.proto.TransferProto.UpdateAgentPoolRequest.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -10809,22 +10367,19 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.storagetransfer.v1.proto.TransferProto - .internal_static_google_storagetransfer_v1_UpdateAgentPoolRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.storagetransfer.v1.proto.TransferProto.internal_static_google_storagetransfer_v1_UpdateAgentPoolRequest_descriptor; } @java.lang.Override - public com.google.storagetransfer.v1.proto.TransferProto.UpdateAgentPoolRequest - getDefaultInstanceForType() { - return com.google.storagetransfer.v1.proto.TransferProto.UpdateAgentPoolRequest - .getDefaultInstance(); + public com.google.storagetransfer.v1.proto.TransferProto.UpdateAgentPoolRequest getDefaultInstanceForType() { + return com.google.storagetransfer.v1.proto.TransferProto.UpdateAgentPoolRequest.getDefaultInstance(); } @java.lang.Override public com.google.storagetransfer.v1.proto.TransferProto.UpdateAgentPoolRequest build() { - com.google.storagetransfer.v1.proto.TransferProto.UpdateAgentPoolRequest result = - buildPartial(); + com.google.storagetransfer.v1.proto.TransferProto.UpdateAgentPoolRequest result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } @@ -10832,10 +10387,8 @@ public com.google.storagetransfer.v1.proto.TransferProto.UpdateAgentPoolRequest } @java.lang.Override - public com.google.storagetransfer.v1.proto.TransferProto.UpdateAgentPoolRequest - buildPartial() { - com.google.storagetransfer.v1.proto.TransferProto.UpdateAgentPoolRequest result = - new com.google.storagetransfer.v1.proto.TransferProto.UpdateAgentPoolRequest(this); + public com.google.storagetransfer.v1.proto.TransferProto.UpdateAgentPoolRequest buildPartial() { + com.google.storagetransfer.v1.proto.TransferProto.UpdateAgentPoolRequest result = new com.google.storagetransfer.v1.proto.TransferProto.UpdateAgentPoolRequest(this); if (agentPoolBuilder_ == null) { result.agentPool_ = agentPool_; } else { @@ -10854,54 +10407,46 @@ public com.google.storagetransfer.v1.proto.TransferProto.UpdateAgentPoolRequest public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, - int index, - java.lang.Object value) { + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { - if (other - instanceof com.google.storagetransfer.v1.proto.TransferProto.UpdateAgentPoolRequest) { - return mergeFrom( - (com.google.storagetransfer.v1.proto.TransferProto.UpdateAgentPoolRequest) other); + if (other instanceof com.google.storagetransfer.v1.proto.TransferProto.UpdateAgentPoolRequest) { + return mergeFrom((com.google.storagetransfer.v1.proto.TransferProto.UpdateAgentPoolRequest)other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom( - com.google.storagetransfer.v1.proto.TransferProto.UpdateAgentPoolRequest other) { - if (other - == com.google.storagetransfer.v1.proto.TransferProto.UpdateAgentPoolRequest - .getDefaultInstance()) return this; + public Builder mergeFrom(com.google.storagetransfer.v1.proto.TransferProto.UpdateAgentPoolRequest other) { + if (other == com.google.storagetransfer.v1.proto.TransferProto.UpdateAgentPoolRequest.getDefaultInstance()) return this; if (other.hasAgentPool()) { mergeAgentPool(other.getAgentPool()); } @@ -10923,14 +10468,11 @@ public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - com.google.storagetransfer.v1.proto.TransferProto.UpdateAgentPoolRequest parsedMessage = - null; + com.google.storagetransfer.v1.proto.TransferProto.UpdateAgentPoolRequest parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.storagetransfer.v1.proto.TransferProto.UpdateAgentPoolRequest) - e.getUnfinishedMessage(); + parsedMessage = (com.google.storagetransfer.v1.proto.TransferProto.UpdateAgentPoolRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -10942,13 +10484,8 @@ public Builder mergeFrom( private com.google.storagetransfer.v1.proto.TransferTypes.AgentPool agentPool_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.storagetransfer.v1.proto.TransferTypes.AgentPool, - com.google.storagetransfer.v1.proto.TransferTypes.AgentPool.Builder, - com.google.storagetransfer.v1.proto.TransferTypes.AgentPoolOrBuilder> - agentPoolBuilder_; + com.google.storagetransfer.v1.proto.TransferTypes.AgentPool, com.google.storagetransfer.v1.proto.TransferTypes.AgentPool.Builder, com.google.storagetransfer.v1.proto.TransferTypes.AgentPoolOrBuilder> agentPoolBuilder_; /** - * - * *
        * Required. The agent pool to update. `agent_pool` is expected to specify following
        * fields:
@@ -10959,18 +10496,13 @@ public Builder mergeFrom(
        * with the error [INVALID_ARGUMENT][google.rpc.Code.INVALID_ARGUMENT].
        * 
* - * - * .google.storagetransfer.v1.AgentPool agent_pool = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.storagetransfer.v1.AgentPool agent_pool = 1 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the agentPool field is set. */ public boolean hasAgentPool() { return agentPoolBuilder_ != null || agentPool_ != null; } /** - * - * *
        * Required. The agent pool to update. `agent_pool` is expected to specify following
        * fields:
@@ -10981,24 +10513,17 @@ public boolean hasAgentPool() {
        * with the error [INVALID_ARGUMENT][google.rpc.Code.INVALID_ARGUMENT].
        * 
* - * - * .google.storagetransfer.v1.AgentPool agent_pool = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.storagetransfer.v1.AgentPool agent_pool = 1 [(.google.api.field_behavior) = REQUIRED]; * @return The agentPool. */ public com.google.storagetransfer.v1.proto.TransferTypes.AgentPool getAgentPool() { if (agentPoolBuilder_ == null) { - return agentPool_ == null - ? com.google.storagetransfer.v1.proto.TransferTypes.AgentPool.getDefaultInstance() - : agentPool_; + return agentPool_ == null ? com.google.storagetransfer.v1.proto.TransferTypes.AgentPool.getDefaultInstance() : agentPool_; } else { return agentPoolBuilder_.getMessage(); } } /** - * - * *
        * Required. The agent pool to update. `agent_pool` is expected to specify following
        * fields:
@@ -11009,12 +10534,9 @@ public com.google.storagetransfer.v1.proto.TransferTypes.AgentPool getAgentPool(
        * with the error [INVALID_ARGUMENT][google.rpc.Code.INVALID_ARGUMENT].
        * 
* - * - * .google.storagetransfer.v1.AgentPool agent_pool = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.storagetransfer.v1.AgentPool agent_pool = 1 [(.google.api.field_behavior) = REQUIRED]; */ - public Builder setAgentPool( - com.google.storagetransfer.v1.proto.TransferTypes.AgentPool value) { + public Builder setAgentPool(com.google.storagetransfer.v1.proto.TransferTypes.AgentPool value) { if (agentPoolBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -11028,8 +10550,6 @@ public Builder setAgentPool( return this; } /** - * - * *
        * Required. The agent pool to update. `agent_pool` is expected to specify following
        * fields:
@@ -11040,9 +10560,7 @@ public Builder setAgentPool(
        * with the error [INVALID_ARGUMENT][google.rpc.Code.INVALID_ARGUMENT].
        * 
* - * - * .google.storagetransfer.v1.AgentPool agent_pool = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.storagetransfer.v1.AgentPool agent_pool = 1 [(.google.api.field_behavior) = REQUIRED]; */ public Builder setAgentPool( com.google.storagetransfer.v1.proto.TransferTypes.AgentPool.Builder builderForValue) { @@ -11056,8 +10574,6 @@ public Builder setAgentPool( return this; } /** - * - * *
        * Required. The agent pool to update. `agent_pool` is expected to specify following
        * fields:
@@ -11068,18 +10584,13 @@ public Builder setAgentPool(
        * with the error [INVALID_ARGUMENT][google.rpc.Code.INVALID_ARGUMENT].
        * 
* - * - * .google.storagetransfer.v1.AgentPool agent_pool = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.storagetransfer.v1.AgentPool agent_pool = 1 [(.google.api.field_behavior) = REQUIRED]; */ - public Builder mergeAgentPool( - com.google.storagetransfer.v1.proto.TransferTypes.AgentPool value) { + public Builder mergeAgentPool(com.google.storagetransfer.v1.proto.TransferTypes.AgentPool value) { if (agentPoolBuilder_ == null) { if (agentPool_ != null) { agentPool_ = - com.google.storagetransfer.v1.proto.TransferTypes.AgentPool.newBuilder(agentPool_) - .mergeFrom(value) - .buildPartial(); + com.google.storagetransfer.v1.proto.TransferTypes.AgentPool.newBuilder(agentPool_).mergeFrom(value).buildPartial(); } else { agentPool_ = value; } @@ -11091,8 +10602,6 @@ public Builder mergeAgentPool( return this; } /** - * - * *
        * Required. The agent pool to update. `agent_pool` is expected to specify following
        * fields:
@@ -11103,9 +10612,7 @@ public Builder mergeAgentPool(
        * with the error [INVALID_ARGUMENT][google.rpc.Code.INVALID_ARGUMENT].
        * 
* - * - * .google.storagetransfer.v1.AgentPool agent_pool = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.storagetransfer.v1.AgentPool agent_pool = 1 [(.google.api.field_behavior) = REQUIRED]; */ public Builder clearAgentPool() { if (agentPoolBuilder_ == null) { @@ -11119,8 +10626,6 @@ public Builder clearAgentPool() { return this; } /** - * - * *
        * Required. The agent pool to update. `agent_pool` is expected to specify following
        * fields:
@@ -11131,19 +10636,14 @@ public Builder clearAgentPool() {
        * with the error [INVALID_ARGUMENT][google.rpc.Code.INVALID_ARGUMENT].
        * 
* - * - * .google.storagetransfer.v1.AgentPool agent_pool = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.storagetransfer.v1.AgentPool agent_pool = 1 [(.google.api.field_behavior) = REQUIRED]; */ - public com.google.storagetransfer.v1.proto.TransferTypes.AgentPool.Builder - getAgentPoolBuilder() { - + public com.google.storagetransfer.v1.proto.TransferTypes.AgentPool.Builder getAgentPoolBuilder() { + onChanged(); return getAgentPoolFieldBuilder().getBuilder(); } /** - * - * *
        * Required. The agent pool to update. `agent_pool` is expected to specify following
        * fields:
@@ -11154,23 +10654,17 @@ public Builder clearAgentPool() {
        * with the error [INVALID_ARGUMENT][google.rpc.Code.INVALID_ARGUMENT].
        * 
* - * - * .google.storagetransfer.v1.AgentPool agent_pool = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.storagetransfer.v1.AgentPool agent_pool = 1 [(.google.api.field_behavior) = REQUIRED]; */ - public com.google.storagetransfer.v1.proto.TransferTypes.AgentPoolOrBuilder - getAgentPoolOrBuilder() { + public com.google.storagetransfer.v1.proto.TransferTypes.AgentPoolOrBuilder getAgentPoolOrBuilder() { if (agentPoolBuilder_ != null) { return agentPoolBuilder_.getMessageOrBuilder(); } else { - return agentPool_ == null - ? com.google.storagetransfer.v1.proto.TransferTypes.AgentPool.getDefaultInstance() - : agentPool_; + return agentPool_ == null ? + com.google.storagetransfer.v1.proto.TransferTypes.AgentPool.getDefaultInstance() : agentPool_; } } /** - * - * *
        * Required. The agent pool to update. `agent_pool` is expected to specify following
        * fields:
@@ -11181,22 +10675,17 @@ public Builder clearAgentPool() {
        * with the error [INVALID_ARGUMENT][google.rpc.Code.INVALID_ARGUMENT].
        * 
* - * - * .google.storagetransfer.v1.AgentPool agent_pool = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.storagetransfer.v1.AgentPool agent_pool = 1 [(.google.api.field_behavior) = REQUIRED]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.storagetransfer.v1.proto.TransferTypes.AgentPool, - com.google.storagetransfer.v1.proto.TransferTypes.AgentPool.Builder, - com.google.storagetransfer.v1.proto.TransferTypes.AgentPoolOrBuilder> + com.google.storagetransfer.v1.proto.TransferTypes.AgentPool, com.google.storagetransfer.v1.proto.TransferTypes.AgentPool.Builder, com.google.storagetransfer.v1.proto.TransferTypes.AgentPoolOrBuilder> getAgentPoolFieldBuilder() { if (agentPoolBuilder_ == null) { - agentPoolBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.storagetransfer.v1.proto.TransferTypes.AgentPool, - com.google.storagetransfer.v1.proto.TransferTypes.AgentPool.Builder, - com.google.storagetransfer.v1.proto.TransferTypes.AgentPoolOrBuilder>( - getAgentPool(), getParentForChildren(), isClean()); + agentPoolBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.storagetransfer.v1.proto.TransferTypes.AgentPool, com.google.storagetransfer.v1.proto.TransferTypes.AgentPool.Builder, com.google.storagetransfer.v1.proto.TransferTypes.AgentPoolOrBuilder>( + getAgentPool(), + getParentForChildren(), + isClean()); agentPool_ = null; } return agentPoolBuilder_; @@ -11204,13 +10693,8 @@ public Builder clearAgentPool() { private com.google.protobuf.FieldMask updateMask_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.FieldMask, - com.google.protobuf.FieldMask.Builder, - com.google.protobuf.FieldMaskOrBuilder> - updateMaskBuilder_; + com.google.protobuf.FieldMask, com.google.protobuf.FieldMask.Builder, com.google.protobuf.FieldMaskOrBuilder> updateMaskBuilder_; /** - * - * *
        * The [field mask]
        * (https://developers.google.com/protocol-buffers/docs/reference/google.protobuf)
@@ -11221,15 +10705,12 @@ public Builder clearAgentPool() {
        * 
* * .google.protobuf.FieldMask update_mask = 2; - * * @return Whether the updateMask field is set. */ public boolean hasUpdateMask() { return updateMaskBuilder_ != null || updateMask_ != null; } /** - * - * *
        * The [field mask]
        * (https://developers.google.com/protocol-buffers/docs/reference/google.protobuf)
@@ -11240,21 +10721,16 @@ public boolean hasUpdateMask() {
        * 
* * .google.protobuf.FieldMask update_mask = 2; - * * @return The updateMask. */ public com.google.protobuf.FieldMask getUpdateMask() { if (updateMaskBuilder_ == null) { - return updateMask_ == null - ? com.google.protobuf.FieldMask.getDefaultInstance() - : updateMask_; + return updateMask_ == null ? com.google.protobuf.FieldMask.getDefaultInstance() : updateMask_; } else { return updateMaskBuilder_.getMessage(); } } /** - * - * *
        * The [field mask]
        * (https://developers.google.com/protocol-buffers/docs/reference/google.protobuf)
@@ -11280,8 +10756,6 @@ public Builder setUpdateMask(com.google.protobuf.FieldMask value) {
         return this;
       }
       /**
-       *
-       *
        * 
        * The [field mask]
        * (https://developers.google.com/protocol-buffers/docs/reference/google.protobuf)
@@ -11293,7 +10767,8 @@ public Builder setUpdateMask(com.google.protobuf.FieldMask value) {
        *
        * .google.protobuf.FieldMask update_mask = 2;
        */
-      public Builder setUpdateMask(com.google.protobuf.FieldMask.Builder builderForValue) {
+      public Builder setUpdateMask(
+          com.google.protobuf.FieldMask.Builder builderForValue) {
         if (updateMaskBuilder_ == null) {
           updateMask_ = builderForValue.build();
           onChanged();
@@ -11304,8 +10779,6 @@ public Builder setUpdateMask(com.google.protobuf.FieldMask.Builder builderForVal
         return this;
       }
       /**
-       *
-       *
        * 
        * The [field mask]
        * (https://developers.google.com/protocol-buffers/docs/reference/google.protobuf)
@@ -11321,9 +10794,7 @@ public Builder mergeUpdateMask(com.google.protobuf.FieldMask value) {
         if (updateMaskBuilder_ == null) {
           if (updateMask_ != null) {
             updateMask_ =
-                com.google.protobuf.FieldMask.newBuilder(updateMask_)
-                    .mergeFrom(value)
-                    .buildPartial();
+              com.google.protobuf.FieldMask.newBuilder(updateMask_).mergeFrom(value).buildPartial();
           } else {
             updateMask_ = value;
           }
@@ -11335,8 +10806,6 @@ public Builder mergeUpdateMask(com.google.protobuf.FieldMask value) {
         return this;
       }
       /**
-       *
-       *
        * 
        * The [field mask]
        * (https://developers.google.com/protocol-buffers/docs/reference/google.protobuf)
@@ -11360,8 +10829,6 @@ public Builder clearUpdateMask() {
         return this;
       }
       /**
-       *
-       *
        * 
        * The [field mask]
        * (https://developers.google.com/protocol-buffers/docs/reference/google.protobuf)
@@ -11374,13 +10841,11 @@ public Builder clearUpdateMask() {
        * .google.protobuf.FieldMask update_mask = 2;
        */
       public com.google.protobuf.FieldMask.Builder getUpdateMaskBuilder() {
-
+        
         onChanged();
         return getUpdateMaskFieldBuilder().getBuilder();
       }
       /**
-       *
-       *
        * 
        * The [field mask]
        * (https://developers.google.com/protocol-buffers/docs/reference/google.protobuf)
@@ -11396,14 +10861,11 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() {
         if (updateMaskBuilder_ != null) {
           return updateMaskBuilder_.getMessageOrBuilder();
         } else {
-          return updateMask_ == null
-              ? com.google.protobuf.FieldMask.getDefaultInstance()
-              : updateMask_;
+          return updateMask_ == null ?
+              com.google.protobuf.FieldMask.getDefaultInstance() : updateMask_;
         }
       }
       /**
-       *
-       *
        * 
        * The [field mask]
        * (https://developers.google.com/protocol-buffers/docs/reference/google.protobuf)
@@ -11416,22 +10878,18 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() {
        * .google.protobuf.FieldMask update_mask = 2;
        */
       private com.google.protobuf.SingleFieldBuilderV3<
-              com.google.protobuf.FieldMask,
-              com.google.protobuf.FieldMask.Builder,
-              com.google.protobuf.FieldMaskOrBuilder>
+          com.google.protobuf.FieldMask, com.google.protobuf.FieldMask.Builder, com.google.protobuf.FieldMaskOrBuilder> 
           getUpdateMaskFieldBuilder() {
         if (updateMaskBuilder_ == null) {
-          updateMaskBuilder_ =
-              new com.google.protobuf.SingleFieldBuilderV3<
-                  com.google.protobuf.FieldMask,
-                  com.google.protobuf.FieldMask.Builder,
-                  com.google.protobuf.FieldMaskOrBuilder>(
-                  getUpdateMask(), getParentForChildren(), isClean());
+          updateMaskBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+              com.google.protobuf.FieldMask, com.google.protobuf.FieldMask.Builder, com.google.protobuf.FieldMaskOrBuilder>(
+                  getUpdateMask(),
+                  getParentForChildren(),
+                  isClean());
           updateMask_ = null;
         }
         return updateMaskBuilder_;
       }
-
       @java.lang.Override
       public final Builder setUnknownFields(
           final com.google.protobuf.UnknownFieldSet unknownFields) {
@@ -11444,33 +10902,30 @@ public final Builder mergeUnknownFields(
         return super.mergeUnknownFields(unknownFields);
       }
 
+
       // @@protoc_insertion_point(builder_scope:google.storagetransfer.v1.UpdateAgentPoolRequest)
     }
 
     // @@protoc_insertion_point(class_scope:google.storagetransfer.v1.UpdateAgentPoolRequest)
-    private static final com.google.storagetransfer.v1.proto.TransferProto.UpdateAgentPoolRequest
-        DEFAULT_INSTANCE;
-
+    private static final com.google.storagetransfer.v1.proto.TransferProto.UpdateAgentPoolRequest DEFAULT_INSTANCE;
     static {
-      DEFAULT_INSTANCE =
-          new com.google.storagetransfer.v1.proto.TransferProto.UpdateAgentPoolRequest();
+      DEFAULT_INSTANCE = new com.google.storagetransfer.v1.proto.TransferProto.UpdateAgentPoolRequest();
     }
 
-    public static com.google.storagetransfer.v1.proto.TransferProto.UpdateAgentPoolRequest
-        getDefaultInstance() {
+    public static com.google.storagetransfer.v1.proto.TransferProto.UpdateAgentPoolRequest getDefaultInstance() {
       return DEFAULT_INSTANCE;
     }
 
-    private static final com.google.protobuf.Parser PARSER =
-        new com.google.protobuf.AbstractParser() {
-          @java.lang.Override
-          public UpdateAgentPoolRequest parsePartialFrom(
-              com.google.protobuf.CodedInputStream input,
-              com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-              throws com.google.protobuf.InvalidProtocolBufferException {
-            return new UpdateAgentPoolRequest(input, extensionRegistry);
-          }
-        };
+    private static final com.google.protobuf.Parser
+        PARSER = new com.google.protobuf.AbstractParser() {
+      @java.lang.Override
+      public UpdateAgentPoolRequest parsePartialFrom(
+          com.google.protobuf.CodedInputStream input,
+          com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+          throws com.google.protobuf.InvalidProtocolBufferException {
+        return new UpdateAgentPoolRequest(input, extensionRegistry);
+      }
+    };
 
     public static com.google.protobuf.Parser parser() {
       return PARSER;
@@ -11482,76 +10937,68 @@ public com.google.protobuf.Parser getParserForType() {
     }
 
     @java.lang.Override
-    public com.google.storagetransfer.v1.proto.TransferProto.UpdateAgentPoolRequest
-        getDefaultInstanceForType() {
+    public com.google.storagetransfer.v1.proto.TransferProto.UpdateAgentPoolRequest getDefaultInstanceForType() {
       return DEFAULT_INSTANCE;
     }
+
   }
 
-  public interface GetAgentPoolRequestOrBuilder
-      extends
+  public interface GetAgentPoolRequestOrBuilder extends
       // @@protoc_insertion_point(interface_extends:google.storagetransfer.v1.GetAgentPoolRequest)
       com.google.protobuf.MessageOrBuilder {
 
     /**
-     *
-     *
      * 
      * Required. The name of the agent pool to get.
      * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The name. */ java.lang.String getName(); /** - * - * *
      * Required. The name of the agent pool to get.
      * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for name. */ - com.google.protobuf.ByteString getNameBytes(); + com.google.protobuf.ByteString + getNameBytes(); } /** - * - * *
    * Specifies the request passed to GetAgentPool.
    * 
* * Protobuf type {@code google.storagetransfer.v1.GetAgentPoolRequest} */ - public static final class GetAgentPoolRequest extends com.google.protobuf.GeneratedMessageV3 - implements + public static final class GetAgentPoolRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.storagetransfer.v1.GetAgentPoolRequest) GetAgentPoolRequestOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use GetAgentPoolRequest.newBuilder() to construct. private GetAgentPoolRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private GetAgentPoolRequest() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new GetAgentPoolRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private GetAgentPoolRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -11570,20 +11017,19 @@ private GetAgentPoolRequest( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - name_ = s; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + name_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -11591,39 +11037,34 @@ private GetAgentPoolRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.storagetransfer.v1.proto.TransferProto - .internal_static_google_storagetransfer_v1_GetAgentPoolRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.storagetransfer.v1.proto.TransferProto.internal_static_google_storagetransfer_v1_GetAgentPoolRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.storagetransfer.v1.proto.TransferProto - .internal_static_google_storagetransfer_v1_GetAgentPoolRequest_fieldAccessorTable + return com.google.storagetransfer.v1.proto.TransferProto.internal_static_google_storagetransfer_v1_GetAgentPoolRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.storagetransfer.v1.proto.TransferProto.GetAgentPoolRequest.class, - com.google.storagetransfer.v1.proto.TransferProto.GetAgentPoolRequest.Builder.class); + com.google.storagetransfer.v1.proto.TransferProto.GetAgentPoolRequest.class, com.google.storagetransfer.v1.proto.TransferProto.GetAgentPoolRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; private volatile java.lang.Object name_; /** - * - * *
      * Required. The name of the agent pool to get.
      * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The name. */ @java.lang.Override @@ -11632,29 +11073,29 @@ public java.lang.String getName() { 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(); name_ = s; return s; } } /** - * - * *
      * Required. The name of the agent pool to get.
      * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; 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); name_ = b; return b; } else { @@ -11663,7 +11104,6 @@ public com.google.protobuf.ByteString getNameBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -11675,7 +11115,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 (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -11699,15 +11140,15 @@ 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.storagetransfer.v1.proto.TransferProto.GetAgentPoolRequest)) { return super.equals(obj); } - com.google.storagetransfer.v1.proto.TransferProto.GetAgentPoolRequest other = - (com.google.storagetransfer.v1.proto.TransferProto.GetAgentPoolRequest) obj; + com.google.storagetransfer.v1.proto.TransferProto.GetAgentPoolRequest other = (com.google.storagetransfer.v1.proto.TransferProto.GetAgentPoolRequest) obj; - if (!getName().equals(other.getName())) return false; + if (!getName() + .equals(other.getName())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -11727,95 +11168,87 @@ public int hashCode() { } public static com.google.storagetransfer.v1.proto.TransferProto.GetAgentPoolRequest parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.storagetransfer.v1.proto.TransferProto.GetAgentPoolRequest 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.storagetransfer.v1.proto.TransferProto.GetAgentPoolRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.storagetransfer.v1.proto.TransferProto.GetAgentPoolRequest 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.storagetransfer.v1.proto.TransferProto.GetAgentPoolRequest parseFrom( - byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.storagetransfer.v1.proto.TransferProto.GetAgentPoolRequest parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.storagetransfer.v1.proto.TransferProto.GetAgentPoolRequest 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.storagetransfer.v1.proto.TransferProto.GetAgentPoolRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.storagetransfer.v1.proto.TransferProto.GetAgentPoolRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.storagetransfer.v1.proto.TransferProto.GetAgentPoolRequest 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.storagetransfer.v1.proto.TransferProto.GetAgentPoolRequest - parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.storagetransfer.v1.proto.TransferProto.GetAgentPoolRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - - public static com.google.storagetransfer.v1.proto.TransferProto.GetAgentPoolRequest - parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + public static com.google.storagetransfer.v1.proto.TransferProto.GetAgentPoolRequest parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.storagetransfer.v1.proto.TransferProto.GetAgentPoolRequest 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.storagetransfer.v1.proto.TransferProto.GetAgentPoolRequest 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.storagetransfer.v1.proto.TransferProto.GetAgentPoolRequest prototype) { + public static Builder newBuilder(com.google.storagetransfer.v1.proto.TransferProto.GetAgentPoolRequest 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 @@ -11825,50 +11258,44 @@ protected Builder newBuilderForType( return builder; } /** - * - * *
      * Specifies the request passed to GetAgentPool.
      * 
* * Protobuf type {@code google.storagetransfer.v1.GetAgentPoolRequest} */ - public static final class Builder - extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.storagetransfer.v1.GetAgentPoolRequest) com.google.storagetransfer.v1.proto.TransferProto.GetAgentPoolRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.storagetransfer.v1.proto.TransferProto - .internal_static_google_storagetransfer_v1_GetAgentPoolRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.storagetransfer.v1.proto.TransferProto.internal_static_google_storagetransfer_v1_GetAgentPoolRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.storagetransfer.v1.proto.TransferProto - .internal_static_google_storagetransfer_v1_GetAgentPoolRequest_fieldAccessorTable + return com.google.storagetransfer.v1.proto.TransferProto.internal_static_google_storagetransfer_v1_GetAgentPoolRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.storagetransfer.v1.proto.TransferProto.GetAgentPoolRequest.class, - com.google.storagetransfer.v1.proto.TransferProto.GetAgentPoolRequest.Builder - .class); + com.google.storagetransfer.v1.proto.TransferProto.GetAgentPoolRequest.class, com.google.storagetransfer.v1.proto.TransferProto.GetAgentPoolRequest.Builder.class); } - // Construct using - // com.google.storagetransfer.v1.proto.TransferProto.GetAgentPoolRequest.newBuilder() + // Construct using com.google.storagetransfer.v1.proto.TransferProto.GetAgentPoolRequest.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -11878,22 +11305,19 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.storagetransfer.v1.proto.TransferProto - .internal_static_google_storagetransfer_v1_GetAgentPoolRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.storagetransfer.v1.proto.TransferProto.internal_static_google_storagetransfer_v1_GetAgentPoolRequest_descriptor; } @java.lang.Override - public com.google.storagetransfer.v1.proto.TransferProto.GetAgentPoolRequest - getDefaultInstanceForType() { - return com.google.storagetransfer.v1.proto.TransferProto.GetAgentPoolRequest - .getDefaultInstance(); + public com.google.storagetransfer.v1.proto.TransferProto.GetAgentPoolRequest getDefaultInstanceForType() { + return com.google.storagetransfer.v1.proto.TransferProto.GetAgentPoolRequest.getDefaultInstance(); } @java.lang.Override public com.google.storagetransfer.v1.proto.TransferProto.GetAgentPoolRequest build() { - com.google.storagetransfer.v1.proto.TransferProto.GetAgentPoolRequest result = - buildPartial(); + com.google.storagetransfer.v1.proto.TransferProto.GetAgentPoolRequest result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } @@ -11902,8 +11326,7 @@ public com.google.storagetransfer.v1.proto.TransferProto.GetAgentPoolRequest bui @java.lang.Override public com.google.storagetransfer.v1.proto.TransferProto.GetAgentPoolRequest buildPartial() { - com.google.storagetransfer.v1.proto.TransferProto.GetAgentPoolRequest result = - new com.google.storagetransfer.v1.proto.TransferProto.GetAgentPoolRequest(this); + com.google.storagetransfer.v1.proto.TransferProto.GetAgentPoolRequest result = new com.google.storagetransfer.v1.proto.TransferProto.GetAgentPoolRequest(this); result.name_ = name_; onBuilt(); return result; @@ -11913,54 +11336,46 @@ public com.google.storagetransfer.v1.proto.TransferProto.GetAgentPoolRequest bui public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, - int index, - java.lang.Object value) { + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { - if (other - instanceof com.google.storagetransfer.v1.proto.TransferProto.GetAgentPoolRequest) { - return mergeFrom( - (com.google.storagetransfer.v1.proto.TransferProto.GetAgentPoolRequest) other); + if (other instanceof com.google.storagetransfer.v1.proto.TransferProto.GetAgentPoolRequest) { + return mergeFrom((com.google.storagetransfer.v1.proto.TransferProto.GetAgentPoolRequest)other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom( - com.google.storagetransfer.v1.proto.TransferProto.GetAgentPoolRequest other) { - if (other - == com.google.storagetransfer.v1.proto.TransferProto.GetAgentPoolRequest - .getDefaultInstance()) return this; + public Builder mergeFrom(com.google.storagetransfer.v1.proto.TransferProto.GetAgentPoolRequest other) { + if (other == com.google.storagetransfer.v1.proto.TransferProto.GetAgentPoolRequest.getDefaultInstance()) return this; if (!other.getName().isEmpty()) { name_ = other.name_; onChanged(); @@ -11984,9 +11399,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.storagetransfer.v1.proto.TransferProto.GetAgentPoolRequest) - e.getUnfinishedMessage(); + parsedMessage = (com.google.storagetransfer.v1.proto.TransferProto.GetAgentPoolRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -11998,20 +11411,18 @@ public Builder mergeFrom( private java.lang.Object name_ = ""; /** - * - * *
        * Required. The name of the agent pool to get.
        * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; 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(); name_ = s; return s; @@ -12020,21 +11431,20 @@ public java.lang.String getName() { } } /** - * - * *
        * Required. The name of the agent pool to get.
        * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for name. */ - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; 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); name_ = b; return b; } else { @@ -12042,66 +11452,58 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
        * Required. The name of the agent pool to get.
        * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName(java.lang.String value) { + public Builder setName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** - * - * *
        * Required. The name of the agent pool to get.
        * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** - * - * *
        * Required. The name of the agent pool to get.
        * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { + public Builder setNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; } - @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -12114,33 +11516,30 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.storagetransfer.v1.GetAgentPoolRequest) } // @@protoc_insertion_point(class_scope:google.storagetransfer.v1.GetAgentPoolRequest) - private static final com.google.storagetransfer.v1.proto.TransferProto.GetAgentPoolRequest - DEFAULT_INSTANCE; - + private static final com.google.storagetransfer.v1.proto.TransferProto.GetAgentPoolRequest DEFAULT_INSTANCE; static { - DEFAULT_INSTANCE = - new com.google.storagetransfer.v1.proto.TransferProto.GetAgentPoolRequest(); + DEFAULT_INSTANCE = new com.google.storagetransfer.v1.proto.TransferProto.GetAgentPoolRequest(); } - public static com.google.storagetransfer.v1.proto.TransferProto.GetAgentPoolRequest - getDefaultInstance() { + public static com.google.storagetransfer.v1.proto.TransferProto.GetAgentPoolRequest getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public GetAgentPoolRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new GetAgentPoolRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public GetAgentPoolRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new GetAgentPoolRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -12152,76 +11551,68 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.storagetransfer.v1.proto.TransferProto.GetAgentPoolRequest - getDefaultInstanceForType() { + public com.google.storagetransfer.v1.proto.TransferProto.GetAgentPoolRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } - public interface DeleteAgentPoolRequestOrBuilder - extends + public interface DeleteAgentPoolRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.storagetransfer.v1.DeleteAgentPoolRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
      * Required. The name of the agent pool to delete.
      * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The name. */ java.lang.String getName(); /** - * - * *
      * Required. The name of the agent pool to delete.
      * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for name. */ - com.google.protobuf.ByteString getNameBytes(); + com.google.protobuf.ByteString + getNameBytes(); } /** - * - * *
    * Specifies the request passed to DeleteAgentPool.
    * 
* * Protobuf type {@code google.storagetransfer.v1.DeleteAgentPoolRequest} */ - public static final class DeleteAgentPoolRequest extends com.google.protobuf.GeneratedMessageV3 - implements + public static final class DeleteAgentPoolRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.storagetransfer.v1.DeleteAgentPoolRequest) DeleteAgentPoolRequestOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use DeleteAgentPoolRequest.newBuilder() to construct. private DeleteAgentPoolRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private DeleteAgentPoolRequest() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new DeleteAgentPoolRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private DeleteAgentPoolRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -12240,20 +11631,19 @@ private DeleteAgentPoolRequest( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - name_ = s; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + name_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -12261,40 +11651,34 @@ private DeleteAgentPoolRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.storagetransfer.v1.proto.TransferProto - .internal_static_google_storagetransfer_v1_DeleteAgentPoolRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.storagetransfer.v1.proto.TransferProto.internal_static_google_storagetransfer_v1_DeleteAgentPoolRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.storagetransfer.v1.proto.TransferProto - .internal_static_google_storagetransfer_v1_DeleteAgentPoolRequest_fieldAccessorTable + return com.google.storagetransfer.v1.proto.TransferProto.internal_static_google_storagetransfer_v1_DeleteAgentPoolRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.storagetransfer.v1.proto.TransferProto.DeleteAgentPoolRequest.class, - com.google.storagetransfer.v1.proto.TransferProto.DeleteAgentPoolRequest.Builder - .class); + com.google.storagetransfer.v1.proto.TransferProto.DeleteAgentPoolRequest.class, com.google.storagetransfer.v1.proto.TransferProto.DeleteAgentPoolRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; private volatile java.lang.Object name_; /** - * - * *
      * Required. The name of the agent pool to delete.
      * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The name. */ @java.lang.Override @@ -12303,29 +11687,29 @@ public java.lang.String getName() { 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(); name_ = s; return s; } } /** - * - * *
      * Required. The name of the agent pool to delete.
      * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; 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); name_ = b; return b; } else { @@ -12334,7 +11718,6 @@ public com.google.protobuf.ByteString getNameBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -12346,7 +11729,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 (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -12370,16 +11754,15 @@ 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.storagetransfer.v1.proto.TransferProto.DeleteAgentPoolRequest)) { + if (!(obj instanceof com.google.storagetransfer.v1.proto.TransferProto.DeleteAgentPoolRequest)) { return super.equals(obj); } - com.google.storagetransfer.v1.proto.TransferProto.DeleteAgentPoolRequest other = - (com.google.storagetransfer.v1.proto.TransferProto.DeleteAgentPoolRequest) obj; + com.google.storagetransfer.v1.proto.TransferProto.DeleteAgentPoolRequest other = (com.google.storagetransfer.v1.proto.TransferProto.DeleteAgentPoolRequest) obj; - if (!getName().equals(other.getName())) return false; + if (!getName() + .equals(other.getName())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -12398,101 +11781,88 @@ public int hashCode() { return hash; } - public static com.google.storagetransfer.v1.proto.TransferProto.DeleteAgentPoolRequest - parseFrom(java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.storagetransfer.v1.proto.TransferProto.DeleteAgentPoolRequest parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - - public static com.google.storagetransfer.v1.proto.TransferProto.DeleteAgentPoolRequest - parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.storagetransfer.v1.proto.TransferProto.DeleteAgentPoolRequest parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.storagetransfer.v1.proto.TransferProto.DeleteAgentPoolRequest - parseFrom(com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.storagetransfer.v1.proto.TransferProto.DeleteAgentPoolRequest parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - - public static com.google.storagetransfer.v1.proto.TransferProto.DeleteAgentPoolRequest - parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.storagetransfer.v1.proto.TransferProto.DeleteAgentPoolRequest 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.storagetransfer.v1.proto.TransferProto.DeleteAgentPoolRequest - parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.storagetransfer.v1.proto.TransferProto.DeleteAgentPoolRequest parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - - public static com.google.storagetransfer.v1.proto.TransferProto.DeleteAgentPoolRequest - parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.storagetransfer.v1.proto.TransferProto.DeleteAgentPoolRequest parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.storagetransfer.v1.proto.TransferProto.DeleteAgentPoolRequest - parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.storagetransfer.v1.proto.TransferProto.DeleteAgentPoolRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - - public static com.google.storagetransfer.v1.proto.TransferProto.DeleteAgentPoolRequest - parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + public static com.google.storagetransfer.v1.proto.TransferProto.DeleteAgentPoolRequest parseFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.storagetransfer.v1.proto.TransferProto.DeleteAgentPoolRequest - parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.storagetransfer.v1.proto.TransferProto.DeleteAgentPoolRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - - public static com.google.storagetransfer.v1.proto.TransferProto.DeleteAgentPoolRequest - parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + public static com.google.storagetransfer.v1.proto.TransferProto.DeleteAgentPoolRequest parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.storagetransfer.v1.proto.TransferProto.DeleteAgentPoolRequest - parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.storagetransfer.v1.proto.TransferProto.DeleteAgentPoolRequest parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - - public static com.google.storagetransfer.v1.proto.TransferProto.DeleteAgentPoolRequest - parseFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + public static com.google.storagetransfer.v1.proto.TransferProto.DeleteAgentPoolRequest parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + 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.storagetransfer.v1.proto.TransferProto.DeleteAgentPoolRequest prototype) { + public static Builder newBuilder(com.google.storagetransfer.v1.proto.TransferProto.DeleteAgentPoolRequest 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 @@ -12502,50 +11872,44 @@ protected Builder newBuilderForType( return builder; } /** - * - * *
      * Specifies the request passed to DeleteAgentPool.
      * 
* * Protobuf type {@code google.storagetransfer.v1.DeleteAgentPoolRequest} */ - public static final class Builder - extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.storagetransfer.v1.DeleteAgentPoolRequest) com.google.storagetransfer.v1.proto.TransferProto.DeleteAgentPoolRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.storagetransfer.v1.proto.TransferProto - .internal_static_google_storagetransfer_v1_DeleteAgentPoolRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.storagetransfer.v1.proto.TransferProto.internal_static_google_storagetransfer_v1_DeleteAgentPoolRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.storagetransfer.v1.proto.TransferProto - .internal_static_google_storagetransfer_v1_DeleteAgentPoolRequest_fieldAccessorTable + return com.google.storagetransfer.v1.proto.TransferProto.internal_static_google_storagetransfer_v1_DeleteAgentPoolRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.storagetransfer.v1.proto.TransferProto.DeleteAgentPoolRequest.class, - com.google.storagetransfer.v1.proto.TransferProto.DeleteAgentPoolRequest.Builder - .class); + com.google.storagetransfer.v1.proto.TransferProto.DeleteAgentPoolRequest.class, com.google.storagetransfer.v1.proto.TransferProto.DeleteAgentPoolRequest.Builder.class); } - // Construct using - // com.google.storagetransfer.v1.proto.TransferProto.DeleteAgentPoolRequest.newBuilder() + // Construct using com.google.storagetransfer.v1.proto.TransferProto.DeleteAgentPoolRequest.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -12555,22 +11919,19 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.storagetransfer.v1.proto.TransferProto - .internal_static_google_storagetransfer_v1_DeleteAgentPoolRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.storagetransfer.v1.proto.TransferProto.internal_static_google_storagetransfer_v1_DeleteAgentPoolRequest_descriptor; } @java.lang.Override - public com.google.storagetransfer.v1.proto.TransferProto.DeleteAgentPoolRequest - getDefaultInstanceForType() { - return com.google.storagetransfer.v1.proto.TransferProto.DeleteAgentPoolRequest - .getDefaultInstance(); + public com.google.storagetransfer.v1.proto.TransferProto.DeleteAgentPoolRequest getDefaultInstanceForType() { + return com.google.storagetransfer.v1.proto.TransferProto.DeleteAgentPoolRequest.getDefaultInstance(); } @java.lang.Override public com.google.storagetransfer.v1.proto.TransferProto.DeleteAgentPoolRequest build() { - com.google.storagetransfer.v1.proto.TransferProto.DeleteAgentPoolRequest result = - buildPartial(); + com.google.storagetransfer.v1.proto.TransferProto.DeleteAgentPoolRequest result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } @@ -12578,10 +11939,8 @@ public com.google.storagetransfer.v1.proto.TransferProto.DeleteAgentPoolRequest } @java.lang.Override - public com.google.storagetransfer.v1.proto.TransferProto.DeleteAgentPoolRequest - buildPartial() { - com.google.storagetransfer.v1.proto.TransferProto.DeleteAgentPoolRequest result = - new com.google.storagetransfer.v1.proto.TransferProto.DeleteAgentPoolRequest(this); + public com.google.storagetransfer.v1.proto.TransferProto.DeleteAgentPoolRequest buildPartial() { + com.google.storagetransfer.v1.proto.TransferProto.DeleteAgentPoolRequest result = new com.google.storagetransfer.v1.proto.TransferProto.DeleteAgentPoolRequest(this); result.name_ = name_; onBuilt(); return result; @@ -12591,54 +11950,46 @@ public com.google.storagetransfer.v1.proto.TransferProto.DeleteAgentPoolRequest public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, - int index, - java.lang.Object value) { + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { - if (other - instanceof com.google.storagetransfer.v1.proto.TransferProto.DeleteAgentPoolRequest) { - return mergeFrom( - (com.google.storagetransfer.v1.proto.TransferProto.DeleteAgentPoolRequest) other); + if (other instanceof com.google.storagetransfer.v1.proto.TransferProto.DeleteAgentPoolRequest) { + return mergeFrom((com.google.storagetransfer.v1.proto.TransferProto.DeleteAgentPoolRequest)other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom( - com.google.storagetransfer.v1.proto.TransferProto.DeleteAgentPoolRequest other) { - if (other - == com.google.storagetransfer.v1.proto.TransferProto.DeleteAgentPoolRequest - .getDefaultInstance()) return this; + public Builder mergeFrom(com.google.storagetransfer.v1.proto.TransferProto.DeleteAgentPoolRequest other) { + if (other == com.google.storagetransfer.v1.proto.TransferProto.DeleteAgentPoolRequest.getDefaultInstance()) return this; if (!other.getName().isEmpty()) { name_ = other.name_; onChanged(); @@ -12658,14 +12009,11 @@ public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - com.google.storagetransfer.v1.proto.TransferProto.DeleteAgentPoolRequest parsedMessage = - null; + com.google.storagetransfer.v1.proto.TransferProto.DeleteAgentPoolRequest parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.storagetransfer.v1.proto.TransferProto.DeleteAgentPoolRequest) - e.getUnfinishedMessage(); + parsedMessage = (com.google.storagetransfer.v1.proto.TransferProto.DeleteAgentPoolRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -12677,20 +12025,18 @@ public Builder mergeFrom( private java.lang.Object name_ = ""; /** - * - * *
        * Required. The name of the agent pool to delete.
        * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; 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(); name_ = s; return s; @@ -12699,21 +12045,20 @@ public java.lang.String getName() { } } /** - * - * *
        * Required. The name of the agent pool to delete.
        * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for name. */ - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; 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); name_ = b; return b; } else { @@ -12721,66 +12066,58 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
        * Required. The name of the agent pool to delete.
        * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName(java.lang.String value) { + public Builder setName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** - * - * *
        * Required. The name of the agent pool to delete.
        * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** - * - * *
        * Required. The name of the agent pool to delete.
        * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { + public Builder setNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; } - @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -12793,33 +12130,30 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.storagetransfer.v1.DeleteAgentPoolRequest) } // @@protoc_insertion_point(class_scope:google.storagetransfer.v1.DeleteAgentPoolRequest) - private static final com.google.storagetransfer.v1.proto.TransferProto.DeleteAgentPoolRequest - DEFAULT_INSTANCE; - + private static final com.google.storagetransfer.v1.proto.TransferProto.DeleteAgentPoolRequest DEFAULT_INSTANCE; static { - DEFAULT_INSTANCE = - new com.google.storagetransfer.v1.proto.TransferProto.DeleteAgentPoolRequest(); + DEFAULT_INSTANCE = new com.google.storagetransfer.v1.proto.TransferProto.DeleteAgentPoolRequest(); } - public static com.google.storagetransfer.v1.proto.TransferProto.DeleteAgentPoolRequest - getDefaultInstance() { + public static com.google.storagetransfer.v1.proto.TransferProto.DeleteAgentPoolRequest getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public DeleteAgentPoolRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new DeleteAgentPoolRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public DeleteAgentPoolRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new DeleteAgentPoolRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -12831,45 +12165,37 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.storagetransfer.v1.proto.TransferProto.DeleteAgentPoolRequest - getDefaultInstanceForType() { + public com.google.storagetransfer.v1.proto.TransferProto.DeleteAgentPoolRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } - public interface ListAgentPoolsRequestOrBuilder - extends + public interface ListAgentPoolsRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.storagetransfer.v1.ListAgentPoolsRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
      * Required. The ID of the Google Cloud project that owns the job.
      * 
* * string project_id = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The projectId. */ java.lang.String getProjectId(); /** - * - * *
      * Required. The ID of the Google Cloud project that owns the job.
      * 
* * string project_id = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for projectId. */ - com.google.protobuf.ByteString getProjectIdBytes(); + com.google.protobuf.ByteString + getProjectIdBytes(); /** - * - * *
      * An optional list of query parameters specified as JSON text in the
      * form of:
@@ -12880,13 +12206,10 @@ public interface ListAgentPoolsRequestOrBuilder
      * 
* * string filter = 2; - * * @return The filter. */ java.lang.String getFilter(); /** - * - * *
      * An optional list of query parameters specified as JSON text in the
      * form of:
@@ -12897,68 +12220,57 @@ public interface ListAgentPoolsRequestOrBuilder
      * 
* * string filter = 2; - * * @return The bytes for filter. */ - com.google.protobuf.ByteString getFilterBytes(); + com.google.protobuf.ByteString + getFilterBytes(); /** - * - * *
      * The list page size. The max allowed value is `256`.
      * 
* * int32 page_size = 3; - * * @return The pageSize. */ int getPageSize(); /** - * - * *
      * The list page token.
      * 
* * string page_token = 4; - * * @return The pageToken. */ java.lang.String getPageToken(); /** - * - * *
      * The list page token.
      * 
* * string page_token = 4; - * * @return The bytes for pageToken. */ - com.google.protobuf.ByteString getPageTokenBytes(); + com.google.protobuf.ByteString + getPageTokenBytes(); } /** - * - * *
    * The request passed to ListAgentPools.
    * 
* * Protobuf type {@code google.storagetransfer.v1.ListAgentPoolsRequest} */ - public static final class ListAgentPoolsRequest extends com.google.protobuf.GeneratedMessageV3 - implements + public static final class ListAgentPoolsRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.storagetransfer.v1.ListAgentPoolsRequest) ListAgentPoolsRequestOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use ListAgentPoolsRequest.newBuilder() to construct. private ListAgentPoolsRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private ListAgentPoolsRequest() { projectId_ = ""; filter_ = ""; @@ -12967,15 +12279,16 @@ private ListAgentPoolsRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new ListAgentPoolsRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private ListAgentPoolsRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -12994,39 +12307,36 @@ private ListAgentPoolsRequest( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - projectId_ = s; - break; - } - case 18: - { - java.lang.String s = input.readStringRequireUtf8(); + projectId_ = s; + break; + } + case 18: { + java.lang.String s = input.readStringRequireUtf8(); - filter_ = s; - break; - } - case 24: - { - pageSize_ = input.readInt32(); - break; - } - case 34: - { - java.lang.String s = input.readStringRequireUtf8(); + filter_ = s; + break; + } + case 24: { - pageToken_ = s; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + pageSize_ = input.readInt32(); + break; + } + case 34: { + java.lang.String s = input.readStringRequireUtf8(); + + pageToken_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -13034,40 +12344,34 @@ private ListAgentPoolsRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.storagetransfer.v1.proto.TransferProto - .internal_static_google_storagetransfer_v1_ListAgentPoolsRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.storagetransfer.v1.proto.TransferProto.internal_static_google_storagetransfer_v1_ListAgentPoolsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.storagetransfer.v1.proto.TransferProto - .internal_static_google_storagetransfer_v1_ListAgentPoolsRequest_fieldAccessorTable + return com.google.storagetransfer.v1.proto.TransferProto.internal_static_google_storagetransfer_v1_ListAgentPoolsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.storagetransfer.v1.proto.TransferProto.ListAgentPoolsRequest.class, - com.google.storagetransfer.v1.proto.TransferProto.ListAgentPoolsRequest.Builder - .class); + com.google.storagetransfer.v1.proto.TransferProto.ListAgentPoolsRequest.class, com.google.storagetransfer.v1.proto.TransferProto.ListAgentPoolsRequest.Builder.class); } public static final int PROJECT_ID_FIELD_NUMBER = 1; private volatile java.lang.Object projectId_; /** - * - * *
      * Required. The ID of the Google Cloud project that owns the job.
      * 
* * string project_id = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The projectId. */ @java.lang.Override @@ -13076,29 +12380,29 @@ public java.lang.String getProjectId() { 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(); projectId_ = s; return s; } } /** - * - * *
      * Required. The ID of the Google Cloud project that owns the job.
      * 
* * string project_id = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for projectId. */ @java.lang.Override - public com.google.protobuf.ByteString getProjectIdBytes() { + public com.google.protobuf.ByteString + getProjectIdBytes() { java.lang.Object ref = projectId_; 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); projectId_ = b; return b; } else { @@ -13109,8 +12413,6 @@ public com.google.protobuf.ByteString getProjectIdBytes() { public static final int FILTER_FIELD_NUMBER = 2; private volatile java.lang.Object filter_; /** - * - * *
      * An optional list of query parameters specified as JSON text in the
      * form of:
@@ -13121,7 +12423,6 @@ public com.google.protobuf.ByteString getProjectIdBytes() {
      * 
* * string filter = 2; - * * @return The filter. */ @java.lang.Override @@ -13130,15 +12431,14 @@ public java.lang.String getFilter() { 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(); filter_ = s; return s; } } /** - * - * *
      * An optional list of query parameters specified as JSON text in the
      * form of:
@@ -13149,15 +12449,16 @@ public java.lang.String getFilter() {
      * 
* * string filter = 2; - * * @return The bytes for filter. */ @java.lang.Override - public com.google.protobuf.ByteString getFilterBytes() { + public com.google.protobuf.ByteString + getFilterBytes() { java.lang.Object ref = filter_; 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); filter_ = b; return b; } else { @@ -13168,14 +12469,11 @@ public com.google.protobuf.ByteString getFilterBytes() { public static final int PAGE_SIZE_FIELD_NUMBER = 3; private int pageSize_; /** - * - * *
      * The list page size. The max allowed value is `256`.
      * 
* * int32 page_size = 3; - * * @return The pageSize. */ @java.lang.Override @@ -13186,14 +12484,11 @@ public int getPageSize() { public static final int PAGE_TOKEN_FIELD_NUMBER = 4; private volatile java.lang.Object pageToken_; /** - * - * *
      * The list page token.
      * 
* * string page_token = 4; - * * @return The pageToken. */ @java.lang.Override @@ -13202,29 +12497,29 @@ public java.lang.String getPageToken() { 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(); pageToken_ = s; return s; } } /** - * - * *
      * The list page token.
      * 
* * string page_token = 4; - * * @return The bytes for pageToken. */ @java.lang.Override - public com.google.protobuf.ByteString getPageTokenBytes() { + public com.google.protobuf.ByteString + getPageTokenBytes() { java.lang.Object ref = pageToken_; 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); pageToken_ = b; return b; } else { @@ -13233,7 +12528,6 @@ public com.google.protobuf.ByteString getPageTokenBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -13245,7 +12539,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 (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(projectId_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, projectId_); } @@ -13274,7 +12569,8 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, filter_); } if (pageSize_ != 0) { - size += com.google.protobuf.CodedOutputStream.computeInt32Size(3, pageSize_); + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(3, pageSize_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(pageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, pageToken_); @@ -13287,19 +12583,21 @@ 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.storagetransfer.v1.proto.TransferProto.ListAgentPoolsRequest)) { + if (!(obj instanceof com.google.storagetransfer.v1.proto.TransferProto.ListAgentPoolsRequest)) { return super.equals(obj); } - com.google.storagetransfer.v1.proto.TransferProto.ListAgentPoolsRequest other = - (com.google.storagetransfer.v1.proto.TransferProto.ListAgentPoolsRequest) obj; + com.google.storagetransfer.v1.proto.TransferProto.ListAgentPoolsRequest other = (com.google.storagetransfer.v1.proto.TransferProto.ListAgentPoolsRequest) obj; - if (!getProjectId().equals(other.getProjectId())) return false; - if (!getFilter().equals(other.getFilter())) return false; - if (getPageSize() != other.getPageSize()) return false; - if (!getPageToken().equals(other.getPageToken())) return false; + if (!getProjectId() + .equals(other.getProjectId())) return false; + if (!getFilter() + .equals(other.getFilter())) return false; + if (getPageSize() + != other.getPageSize()) return false; + if (!getPageToken() + .equals(other.getPageToken())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -13325,95 +12623,87 @@ public int hashCode() { } public static com.google.storagetransfer.v1.proto.TransferProto.ListAgentPoolsRequest parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.storagetransfer.v1.proto.TransferProto.ListAgentPoolsRequest 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.storagetransfer.v1.proto.TransferProto.ListAgentPoolsRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.storagetransfer.v1.proto.TransferProto.ListAgentPoolsRequest 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.storagetransfer.v1.proto.TransferProto.ListAgentPoolsRequest parseFrom( - byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.storagetransfer.v1.proto.TransferProto.ListAgentPoolsRequest parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.storagetransfer.v1.proto.TransferProto.ListAgentPoolsRequest 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.storagetransfer.v1.proto.TransferProto.ListAgentPoolsRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.storagetransfer.v1.proto.TransferProto.ListAgentPoolsRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.storagetransfer.v1.proto.TransferProto.ListAgentPoolsRequest 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.storagetransfer.v1.proto.TransferProto.ListAgentPoolsRequest - parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.storagetransfer.v1.proto.TransferProto.ListAgentPoolsRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - - public static com.google.storagetransfer.v1.proto.TransferProto.ListAgentPoolsRequest - parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + public static com.google.storagetransfer.v1.proto.TransferProto.ListAgentPoolsRequest parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.storagetransfer.v1.proto.TransferProto.ListAgentPoolsRequest 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.storagetransfer.v1.proto.TransferProto.ListAgentPoolsRequest 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.storagetransfer.v1.proto.TransferProto.ListAgentPoolsRequest prototype) { + public static Builder newBuilder(com.google.storagetransfer.v1.proto.TransferProto.ListAgentPoolsRequest 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 @@ -13423,50 +12713,44 @@ protected Builder newBuilderForType( return builder; } /** - * - * *
      * The request passed to ListAgentPools.
      * 
* * Protobuf type {@code google.storagetransfer.v1.ListAgentPoolsRequest} */ - public static final class Builder - extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.storagetransfer.v1.ListAgentPoolsRequest) com.google.storagetransfer.v1.proto.TransferProto.ListAgentPoolsRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.storagetransfer.v1.proto.TransferProto - .internal_static_google_storagetransfer_v1_ListAgentPoolsRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.storagetransfer.v1.proto.TransferProto.internal_static_google_storagetransfer_v1_ListAgentPoolsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.storagetransfer.v1.proto.TransferProto - .internal_static_google_storagetransfer_v1_ListAgentPoolsRequest_fieldAccessorTable + return com.google.storagetransfer.v1.proto.TransferProto.internal_static_google_storagetransfer_v1_ListAgentPoolsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.storagetransfer.v1.proto.TransferProto.ListAgentPoolsRequest.class, - com.google.storagetransfer.v1.proto.TransferProto.ListAgentPoolsRequest.Builder - .class); + com.google.storagetransfer.v1.proto.TransferProto.ListAgentPoolsRequest.class, com.google.storagetransfer.v1.proto.TransferProto.ListAgentPoolsRequest.Builder.class); } - // Construct using - // com.google.storagetransfer.v1.proto.TransferProto.ListAgentPoolsRequest.newBuilder() + // Construct using com.google.storagetransfer.v1.proto.TransferProto.ListAgentPoolsRequest.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -13482,22 +12766,19 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.storagetransfer.v1.proto.TransferProto - .internal_static_google_storagetransfer_v1_ListAgentPoolsRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.storagetransfer.v1.proto.TransferProto.internal_static_google_storagetransfer_v1_ListAgentPoolsRequest_descriptor; } @java.lang.Override - public com.google.storagetransfer.v1.proto.TransferProto.ListAgentPoolsRequest - getDefaultInstanceForType() { - return com.google.storagetransfer.v1.proto.TransferProto.ListAgentPoolsRequest - .getDefaultInstance(); + public com.google.storagetransfer.v1.proto.TransferProto.ListAgentPoolsRequest getDefaultInstanceForType() { + return com.google.storagetransfer.v1.proto.TransferProto.ListAgentPoolsRequest.getDefaultInstance(); } @java.lang.Override public com.google.storagetransfer.v1.proto.TransferProto.ListAgentPoolsRequest build() { - com.google.storagetransfer.v1.proto.TransferProto.ListAgentPoolsRequest result = - buildPartial(); + com.google.storagetransfer.v1.proto.TransferProto.ListAgentPoolsRequest result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } @@ -13505,10 +12786,8 @@ public com.google.storagetransfer.v1.proto.TransferProto.ListAgentPoolsRequest b } @java.lang.Override - public com.google.storagetransfer.v1.proto.TransferProto.ListAgentPoolsRequest - buildPartial() { - com.google.storagetransfer.v1.proto.TransferProto.ListAgentPoolsRequest result = - new com.google.storagetransfer.v1.proto.TransferProto.ListAgentPoolsRequest(this); + public com.google.storagetransfer.v1.proto.TransferProto.ListAgentPoolsRequest buildPartial() { + com.google.storagetransfer.v1.proto.TransferProto.ListAgentPoolsRequest result = new com.google.storagetransfer.v1.proto.TransferProto.ListAgentPoolsRequest(this); result.projectId_ = projectId_; result.filter_ = filter_; result.pageSize_ = pageSize_; @@ -13521,54 +12800,46 @@ public com.google.storagetransfer.v1.proto.TransferProto.ListAgentPoolsRequest b public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, - int index, - java.lang.Object value) { + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { - if (other - instanceof com.google.storagetransfer.v1.proto.TransferProto.ListAgentPoolsRequest) { - return mergeFrom( - (com.google.storagetransfer.v1.proto.TransferProto.ListAgentPoolsRequest) other); + if (other instanceof com.google.storagetransfer.v1.proto.TransferProto.ListAgentPoolsRequest) { + return mergeFrom((com.google.storagetransfer.v1.proto.TransferProto.ListAgentPoolsRequest)other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom( - com.google.storagetransfer.v1.proto.TransferProto.ListAgentPoolsRequest other) { - if (other - == com.google.storagetransfer.v1.proto.TransferProto.ListAgentPoolsRequest - .getDefaultInstance()) return this; + public Builder mergeFrom(com.google.storagetransfer.v1.proto.TransferProto.ListAgentPoolsRequest other) { + if (other == com.google.storagetransfer.v1.proto.TransferProto.ListAgentPoolsRequest.getDefaultInstance()) return this; if (!other.getProjectId().isEmpty()) { projectId_ = other.projectId_; onChanged(); @@ -13599,14 +12870,11 @@ public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - com.google.storagetransfer.v1.proto.TransferProto.ListAgentPoolsRequest parsedMessage = - null; + com.google.storagetransfer.v1.proto.TransferProto.ListAgentPoolsRequest parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.storagetransfer.v1.proto.TransferProto.ListAgentPoolsRequest) - e.getUnfinishedMessage(); + parsedMessage = (com.google.storagetransfer.v1.proto.TransferProto.ListAgentPoolsRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -13618,20 +12886,18 @@ public Builder mergeFrom( private java.lang.Object projectId_ = ""; /** - * - * *
        * Required. The ID of the Google Cloud project that owns the job.
        * 
* * string project_id = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The projectId. */ public java.lang.String getProjectId() { java.lang.Object ref = projectId_; 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(); projectId_ = s; return s; @@ -13640,21 +12906,20 @@ public java.lang.String getProjectId() { } } /** - * - * *
        * Required. The ID of the Google Cloud project that owns the job.
        * 
* * string project_id = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for projectId. */ - public com.google.protobuf.ByteString getProjectIdBytes() { + public com.google.protobuf.ByteString + getProjectIdBytes() { java.lang.Object ref = projectId_; 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); projectId_ = b; return b; } else { @@ -13662,61 +12927,54 @@ public com.google.protobuf.ByteString getProjectIdBytes() { } } /** - * - * *
        * Required. The ID of the Google Cloud project that owns the job.
        * 
* * string project_id = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The projectId to set. * @return This builder for chaining. */ - public Builder setProjectId(java.lang.String value) { + public Builder setProjectId( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + projectId_ = value; onChanged(); return this; } /** - * - * *
        * Required. The ID of the Google Cloud project that owns the job.
        * 
* * string project_id = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return This builder for chaining. */ public Builder clearProjectId() { - + projectId_ = getDefaultInstance().getProjectId(); onChanged(); return this; } - /** - * - * + /** *
        * Required. The ID of the Google Cloud project that owns the job.
        * 
* * string project_id = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The bytes for projectId to set. * @return This builder for chaining. */ - public Builder setProjectIdBytes(com.google.protobuf.ByteString value) { + public Builder setProjectIdBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + projectId_ = value; onChanged(); return this; @@ -13724,8 +12982,6 @@ public Builder setProjectIdBytes(com.google.protobuf.ByteString value) { private java.lang.Object filter_ = ""; /** - * - * *
        * An optional list of query parameters specified as JSON text in the
        * form of:
@@ -13736,13 +12992,13 @@ public Builder setProjectIdBytes(com.google.protobuf.ByteString value) {
        * 
* * string filter = 2; - * * @return The filter. */ public java.lang.String getFilter() { java.lang.Object ref = filter_; 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(); filter_ = s; return s; @@ -13751,8 +13007,6 @@ public java.lang.String getFilter() { } } /** - * - * *
        * An optional list of query parameters specified as JSON text in the
        * form of:
@@ -13763,14 +13017,15 @@ public java.lang.String getFilter() {
        * 
* * string filter = 2; - * * @return The bytes for filter. */ - public com.google.protobuf.ByteString getFilterBytes() { + public com.google.protobuf.ByteString + getFilterBytes() { java.lang.Object ref = filter_; 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); filter_ = b; return b; } else { @@ -13778,8 +13033,6 @@ public com.google.protobuf.ByteString getFilterBytes() { } } /** - * - * *
        * An optional list of query parameters specified as JSON text in the
        * form of:
@@ -13790,22 +13043,20 @@ public com.google.protobuf.ByteString getFilterBytes() {
        * 
* * string filter = 2; - * * @param value The filter to set. * @return This builder for chaining. */ - public Builder setFilter(java.lang.String value) { + public Builder setFilter( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + filter_ = value; onChanged(); return this; } /** - * - * *
        * An optional list of query parameters specified as JSON text in the
        * form of:
@@ -13816,18 +13067,15 @@ public Builder setFilter(java.lang.String value) {
        * 
* * string filter = 2; - * * @return This builder for chaining. */ public Builder clearFilter() { - + filter_ = getDefaultInstance().getFilter(); onChanged(); return this; } /** - * - * *
        * An optional list of query parameters specified as JSON text in the
        * form of:
@@ -13838,31 +13086,28 @@ public Builder clearFilter() {
        * 
* * string filter = 2; - * * @param value The bytes for filter to set. * @return This builder for chaining. */ - public Builder setFilterBytes(com.google.protobuf.ByteString value) { + public Builder setFilterBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + filter_ = value; onChanged(); return this; } - private int pageSize_; + private int pageSize_ ; /** - * - * *
        * The list page size. The max allowed value is `256`.
        * 
* * int32 page_size = 3; - * * @return The pageSize. */ @java.lang.Override @@ -13870,36 +13115,30 @@ public int getPageSize() { return pageSize_; } /** - * - * *
        * The list page size. The max allowed value is `256`.
        * 
* * int32 page_size = 3; - * * @param value The pageSize to set. * @return This builder for chaining. */ public Builder setPageSize(int value) { - + pageSize_ = value; onChanged(); return this; } /** - * - * *
        * The list page size. The max allowed value is `256`.
        * 
* * int32 page_size = 3; - * * @return This builder for chaining. */ public Builder clearPageSize() { - + pageSize_ = 0; onChanged(); return this; @@ -13907,20 +13146,18 @@ public Builder clearPageSize() { private java.lang.Object pageToken_ = ""; /** - * - * *
        * The list page token.
        * 
* * string page_token = 4; - * * @return The pageToken. */ public java.lang.String getPageToken() { java.lang.Object ref = pageToken_; 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(); pageToken_ = s; return s; @@ -13929,21 +13166,20 @@ public java.lang.String getPageToken() { } } /** - * - * *
        * The list page token.
        * 
* * string page_token = 4; - * * @return The bytes for pageToken. */ - public com.google.protobuf.ByteString getPageTokenBytes() { + public com.google.protobuf.ByteString + getPageTokenBytes() { java.lang.Object ref = pageToken_; 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); pageToken_ = b; return b; } else { @@ -13951,66 +13187,58 @@ public com.google.protobuf.ByteString getPageTokenBytes() { } } /** - * - * *
        * The list page token.
        * 
* * string page_token = 4; - * * @param value The pageToken to set. * @return This builder for chaining. */ - public Builder setPageToken(java.lang.String value) { + public Builder setPageToken( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + pageToken_ = value; onChanged(); return this; } /** - * - * *
        * The list page token.
        * 
* * string page_token = 4; - * * @return This builder for chaining. */ public Builder clearPageToken() { - + pageToken_ = getDefaultInstance().getPageToken(); onChanged(); return this; } /** - * - * *
        * The list page token.
        * 
* * string page_token = 4; - * * @param value The bytes for pageToken to set. * @return This builder for chaining. */ - public Builder setPageTokenBytes(com.google.protobuf.ByteString value) { + public Builder setPageTokenBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + pageToken_ = value; onChanged(); return this; } - @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -14023,33 +13251,30 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.storagetransfer.v1.ListAgentPoolsRequest) } // @@protoc_insertion_point(class_scope:google.storagetransfer.v1.ListAgentPoolsRequest) - private static final com.google.storagetransfer.v1.proto.TransferProto.ListAgentPoolsRequest - DEFAULT_INSTANCE; - + private static final com.google.storagetransfer.v1.proto.TransferProto.ListAgentPoolsRequest DEFAULT_INSTANCE; static { - DEFAULT_INSTANCE = - new com.google.storagetransfer.v1.proto.TransferProto.ListAgentPoolsRequest(); + DEFAULT_INSTANCE = new com.google.storagetransfer.v1.proto.TransferProto.ListAgentPoolsRequest(); } - public static com.google.storagetransfer.v1.proto.TransferProto.ListAgentPoolsRequest - getDefaultInstance() { + public static com.google.storagetransfer.v1.proto.TransferProto.ListAgentPoolsRequest getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListAgentPoolsRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ListAgentPoolsRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListAgentPoolsRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ListAgentPoolsRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -14061,30 +13286,26 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.storagetransfer.v1.proto.TransferProto.ListAgentPoolsRequest - getDefaultInstanceForType() { + public com.google.storagetransfer.v1.proto.TransferProto.ListAgentPoolsRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } - public interface ListAgentPoolsResponseOrBuilder - extends + public interface ListAgentPoolsResponseOrBuilder extends // @@protoc_insertion_point(interface_extends:google.storagetransfer.v1.ListAgentPoolsResponse) com.google.protobuf.MessageOrBuilder { /** - * - * *
      * A list of agent pools.
      * 
* * repeated .google.storagetransfer.v1.AgentPool agent_pools = 1; */ - java.util.List getAgentPoolsList(); + java.util.List + getAgentPoolsList(); /** - * - * *
      * A list of agent pools.
      * 
@@ -14093,8 +13314,6 @@ public interface ListAgentPoolsResponseOrBuilder */ com.google.storagetransfer.v1.proto.TransferTypes.AgentPool getAgentPools(int index); /** - * - * *
      * A list of agent pools.
      * 
@@ -14103,19 +13322,15 @@ public interface ListAgentPoolsResponseOrBuilder */ int getAgentPoolsCount(); /** - * - * *
      * A list of agent pools.
      * 
* * repeated .google.storagetransfer.v1.AgentPool agent_pools = 1; */ - java.util.List + java.util.List getAgentPoolsOrBuilderList(); /** - * - * *
      * A list of agent pools.
      * 
@@ -14126,49 +13341,41 @@ com.google.storagetransfer.v1.proto.TransferTypes.AgentPoolOrBuilder getAgentPoo int index); /** - * - * *
      * The list next page token.
      * 
* * string next_page_token = 2; - * * @return The nextPageToken. */ java.lang.String getNextPageToken(); /** - * - * *
      * The list next page token.
      * 
* * string next_page_token = 2; - * * @return The bytes for nextPageToken. */ - com.google.protobuf.ByteString getNextPageTokenBytes(); + com.google.protobuf.ByteString + getNextPageTokenBytes(); } /** - * - * *
    * Response from ListAgentPools.
    * 
* * Protobuf type {@code google.storagetransfer.v1.ListAgentPoolsResponse} */ - public static final class ListAgentPoolsResponse extends com.google.protobuf.GeneratedMessageV3 - implements + public static final class ListAgentPoolsResponse extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.storagetransfer.v1.ListAgentPoolsResponse) ListAgentPoolsResponseOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use ListAgentPoolsResponse.newBuilder() to construct. private ListAgentPoolsResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private ListAgentPoolsResponse() { agentPools_ = java.util.Collections.emptyList(); nextPageToken_ = ""; @@ -14176,15 +13383,16 @@ private ListAgentPoolsResponse() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new ListAgentPoolsResponse(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private ListAgentPoolsResponse( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -14204,34 +13412,28 @@ private ListAgentPoolsResponse( case 0: done = true; break; - case 10: - { - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - agentPools_ = - new java.util.ArrayList< - com.google.storagetransfer.v1.proto.TransferTypes.AgentPool>(); - mutable_bitField0_ |= 0x00000001; - } - agentPools_.add( - input.readMessage( - com.google.storagetransfer.v1.proto.TransferTypes.AgentPool.parser(), - extensionRegistry)); - break; + case 10: { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + agentPools_ = new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000001; } - case 18: - { - java.lang.String s = input.readStringRequireUtf8(); + agentPools_.add( + input.readMessage(com.google.storagetransfer.v1.proto.TransferTypes.AgentPool.parser(), extensionRegistry)); + break; + } + case 18: { + java.lang.String s = input.readStringRequireUtf8(); - nextPageToken_ = s; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + nextPageToken_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -14239,7 +13441,8 @@ private ListAgentPoolsResponse( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000001) != 0)) { agentPools_ = java.util.Collections.unmodifiableList(agentPools_); @@ -14248,28 +13451,22 @@ private ListAgentPoolsResponse( makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.storagetransfer.v1.proto.TransferProto - .internal_static_google_storagetransfer_v1_ListAgentPoolsResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.storagetransfer.v1.proto.TransferProto.internal_static_google_storagetransfer_v1_ListAgentPoolsResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.storagetransfer.v1.proto.TransferProto - .internal_static_google_storagetransfer_v1_ListAgentPoolsResponse_fieldAccessorTable + return com.google.storagetransfer.v1.proto.TransferProto.internal_static_google_storagetransfer_v1_ListAgentPoolsResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.storagetransfer.v1.proto.TransferProto.ListAgentPoolsResponse.class, - com.google.storagetransfer.v1.proto.TransferProto.ListAgentPoolsResponse.Builder - .class); + com.google.storagetransfer.v1.proto.TransferProto.ListAgentPoolsResponse.class, com.google.storagetransfer.v1.proto.TransferProto.ListAgentPoolsResponse.Builder.class); } public static final int AGENT_POOLS_FIELD_NUMBER = 1; private java.util.List agentPools_; /** - * - * *
      * A list of agent pools.
      * 
@@ -14277,13 +13474,10 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * repeated .google.storagetransfer.v1.AgentPool agent_pools = 1; */ @java.lang.Override - public java.util.List - getAgentPoolsList() { + public java.util.List getAgentPoolsList() { return agentPools_; } /** - * - * *
      * A list of agent pools.
      * 
@@ -14291,14 +13485,11 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * repeated .google.storagetransfer.v1.AgentPool agent_pools = 1; */ @java.lang.Override - public java.util.List< - ? extends com.google.storagetransfer.v1.proto.TransferTypes.AgentPoolOrBuilder> + public java.util.List getAgentPoolsOrBuilderList() { return agentPools_; } /** - * - * *
      * A list of agent pools.
      * 
@@ -14310,8 +13501,6 @@ public int getAgentPoolsCount() { return agentPools_.size(); } /** - * - * *
      * A list of agent pools.
      * 
@@ -14323,8 +13512,6 @@ public com.google.storagetransfer.v1.proto.TransferTypes.AgentPool getAgentPools return agentPools_.get(index); } /** - * - * *
      * A list of agent pools.
      * 
@@ -14332,22 +13519,19 @@ public com.google.storagetransfer.v1.proto.TransferTypes.AgentPool getAgentPools * repeated .google.storagetransfer.v1.AgentPool agent_pools = 1; */ @java.lang.Override - public com.google.storagetransfer.v1.proto.TransferTypes.AgentPoolOrBuilder - getAgentPoolsOrBuilder(int index) { + public com.google.storagetransfer.v1.proto.TransferTypes.AgentPoolOrBuilder getAgentPoolsOrBuilder( + int index) { return agentPools_.get(index); } public static final int NEXT_PAGE_TOKEN_FIELD_NUMBER = 2; private volatile java.lang.Object nextPageToken_; /** - * - * *
      * The list next page token.
      * 
* * string next_page_token = 2; - * * @return The nextPageToken. */ @java.lang.Override @@ -14356,29 +13540,29 @@ public java.lang.String getNextPageToken() { 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(); nextPageToken_ = s; return s; } } /** - * - * *
      * The list next page token.
      * 
* * string next_page_token = 2; - * * @return The bytes for nextPageToken. */ @java.lang.Override - public com.google.protobuf.ByteString getNextPageTokenBytes() { + public com.google.protobuf.ByteString + getNextPageTokenBytes() { java.lang.Object ref = nextPageToken_; 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); nextPageToken_ = b; return b; } else { @@ -14387,7 +13571,6 @@ public com.google.protobuf.ByteString getNextPageTokenBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -14399,7 +13582,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 { for (int i = 0; i < agentPools_.size(); i++) { output.writeMessage(1, agentPools_.get(i)); } @@ -14416,7 +13600,8 @@ public int getSerializedSize() { size = 0; for (int i = 0; i < agentPools_.size(); i++) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, agentPools_.get(i)); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, agentPools_.get(i)); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(nextPageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, nextPageToken_); @@ -14429,17 +13614,17 @@ 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.storagetransfer.v1.proto.TransferProto.ListAgentPoolsResponse)) { + if (!(obj instanceof com.google.storagetransfer.v1.proto.TransferProto.ListAgentPoolsResponse)) { return super.equals(obj); } - com.google.storagetransfer.v1.proto.TransferProto.ListAgentPoolsResponse other = - (com.google.storagetransfer.v1.proto.TransferProto.ListAgentPoolsResponse) obj; + com.google.storagetransfer.v1.proto.TransferProto.ListAgentPoolsResponse other = (com.google.storagetransfer.v1.proto.TransferProto.ListAgentPoolsResponse) obj; - if (!getAgentPoolsList().equals(other.getAgentPoolsList())) return false; - if (!getNextPageToken().equals(other.getNextPageToken())) return false; + if (!getAgentPoolsList() + .equals(other.getAgentPoolsList())) return false; + if (!getNextPageToken() + .equals(other.getNextPageToken())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -14462,101 +13647,88 @@ public int hashCode() { return hash; } - public static com.google.storagetransfer.v1.proto.TransferProto.ListAgentPoolsResponse - parseFrom(java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.storagetransfer.v1.proto.TransferProto.ListAgentPoolsResponse parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - - public static com.google.storagetransfer.v1.proto.TransferProto.ListAgentPoolsResponse - parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.storagetransfer.v1.proto.TransferProto.ListAgentPoolsResponse parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.storagetransfer.v1.proto.TransferProto.ListAgentPoolsResponse - parseFrom(com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.storagetransfer.v1.proto.TransferProto.ListAgentPoolsResponse parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - - public static com.google.storagetransfer.v1.proto.TransferProto.ListAgentPoolsResponse - parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.storagetransfer.v1.proto.TransferProto.ListAgentPoolsResponse 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.storagetransfer.v1.proto.TransferProto.ListAgentPoolsResponse - parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.storagetransfer.v1.proto.TransferProto.ListAgentPoolsResponse parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - - public static com.google.storagetransfer.v1.proto.TransferProto.ListAgentPoolsResponse - parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.storagetransfer.v1.proto.TransferProto.ListAgentPoolsResponse parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.storagetransfer.v1.proto.TransferProto.ListAgentPoolsResponse - parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.storagetransfer.v1.proto.TransferProto.ListAgentPoolsResponse parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - - public static com.google.storagetransfer.v1.proto.TransferProto.ListAgentPoolsResponse - parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + public static com.google.storagetransfer.v1.proto.TransferProto.ListAgentPoolsResponse parseFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.storagetransfer.v1.proto.TransferProto.ListAgentPoolsResponse - parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.storagetransfer.v1.proto.TransferProto.ListAgentPoolsResponse parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - - public static com.google.storagetransfer.v1.proto.TransferProto.ListAgentPoolsResponse - parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + public static com.google.storagetransfer.v1.proto.TransferProto.ListAgentPoolsResponse parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.storagetransfer.v1.proto.TransferProto.ListAgentPoolsResponse - parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.storagetransfer.v1.proto.TransferProto.ListAgentPoolsResponse parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - - public static com.google.storagetransfer.v1.proto.TransferProto.ListAgentPoolsResponse - parseFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + public static com.google.storagetransfer.v1.proto.TransferProto.ListAgentPoolsResponse parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + 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.storagetransfer.v1.proto.TransferProto.ListAgentPoolsResponse prototype) { + public static Builder newBuilder(com.google.storagetransfer.v1.proto.TransferProto.ListAgentPoolsResponse 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 @@ -14566,52 +13738,45 @@ protected Builder newBuilderForType( return builder; } /** - * - * *
      * Response from ListAgentPools.
      * 
* * Protobuf type {@code google.storagetransfer.v1.ListAgentPoolsResponse} */ - public static final class Builder - extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.storagetransfer.v1.ListAgentPoolsResponse) com.google.storagetransfer.v1.proto.TransferProto.ListAgentPoolsResponseOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.storagetransfer.v1.proto.TransferProto - .internal_static_google_storagetransfer_v1_ListAgentPoolsResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.storagetransfer.v1.proto.TransferProto.internal_static_google_storagetransfer_v1_ListAgentPoolsResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.storagetransfer.v1.proto.TransferProto - .internal_static_google_storagetransfer_v1_ListAgentPoolsResponse_fieldAccessorTable + return com.google.storagetransfer.v1.proto.TransferProto.internal_static_google_storagetransfer_v1_ListAgentPoolsResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.storagetransfer.v1.proto.TransferProto.ListAgentPoolsResponse.class, - com.google.storagetransfer.v1.proto.TransferProto.ListAgentPoolsResponse.Builder - .class); + com.google.storagetransfer.v1.proto.TransferProto.ListAgentPoolsResponse.class, com.google.storagetransfer.v1.proto.TransferProto.ListAgentPoolsResponse.Builder.class); } - // Construct using - // com.google.storagetransfer.v1.proto.TransferProto.ListAgentPoolsResponse.newBuilder() + // Construct using com.google.storagetransfer.v1.proto.TransferProto.ListAgentPoolsResponse.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { getAgentPoolsFieldBuilder(); } } - @java.lang.Override public Builder clear() { super.clear(); @@ -14627,22 +13792,19 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.storagetransfer.v1.proto.TransferProto - .internal_static_google_storagetransfer_v1_ListAgentPoolsResponse_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.storagetransfer.v1.proto.TransferProto.internal_static_google_storagetransfer_v1_ListAgentPoolsResponse_descriptor; } @java.lang.Override - public com.google.storagetransfer.v1.proto.TransferProto.ListAgentPoolsResponse - getDefaultInstanceForType() { - return com.google.storagetransfer.v1.proto.TransferProto.ListAgentPoolsResponse - .getDefaultInstance(); + public com.google.storagetransfer.v1.proto.TransferProto.ListAgentPoolsResponse getDefaultInstanceForType() { + return com.google.storagetransfer.v1.proto.TransferProto.ListAgentPoolsResponse.getDefaultInstance(); } @java.lang.Override public com.google.storagetransfer.v1.proto.TransferProto.ListAgentPoolsResponse build() { - com.google.storagetransfer.v1.proto.TransferProto.ListAgentPoolsResponse result = - buildPartial(); + com.google.storagetransfer.v1.proto.TransferProto.ListAgentPoolsResponse result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } @@ -14650,10 +13812,8 @@ public com.google.storagetransfer.v1.proto.TransferProto.ListAgentPoolsResponse } @java.lang.Override - public com.google.storagetransfer.v1.proto.TransferProto.ListAgentPoolsResponse - buildPartial() { - com.google.storagetransfer.v1.proto.TransferProto.ListAgentPoolsResponse result = - new com.google.storagetransfer.v1.proto.TransferProto.ListAgentPoolsResponse(this); + public com.google.storagetransfer.v1.proto.TransferProto.ListAgentPoolsResponse buildPartial() { + com.google.storagetransfer.v1.proto.TransferProto.ListAgentPoolsResponse result = new com.google.storagetransfer.v1.proto.TransferProto.ListAgentPoolsResponse(this); int from_bitField0_ = bitField0_; if (agentPoolsBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { @@ -14673,54 +13833,46 @@ public com.google.storagetransfer.v1.proto.TransferProto.ListAgentPoolsResponse public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, - int index, - java.lang.Object value) { + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { - if (other - instanceof com.google.storagetransfer.v1.proto.TransferProto.ListAgentPoolsResponse) { - return mergeFrom( - (com.google.storagetransfer.v1.proto.TransferProto.ListAgentPoolsResponse) other); + if (other instanceof com.google.storagetransfer.v1.proto.TransferProto.ListAgentPoolsResponse) { + return mergeFrom((com.google.storagetransfer.v1.proto.TransferProto.ListAgentPoolsResponse)other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom( - com.google.storagetransfer.v1.proto.TransferProto.ListAgentPoolsResponse other) { - if (other - == com.google.storagetransfer.v1.proto.TransferProto.ListAgentPoolsResponse - .getDefaultInstance()) return this; + public Builder mergeFrom(com.google.storagetransfer.v1.proto.TransferProto.ListAgentPoolsResponse other) { + if (other == com.google.storagetransfer.v1.proto.TransferProto.ListAgentPoolsResponse.getDefaultInstance()) return this; if (agentPoolsBuilder_ == null) { if (!other.agentPools_.isEmpty()) { if (agentPools_.isEmpty()) { @@ -14739,10 +13891,9 @@ public Builder mergeFrom( agentPoolsBuilder_ = null; agentPools_ = other.agentPools_; bitField0_ = (bitField0_ & ~0x00000001); - agentPoolsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders - ? getAgentPoolsFieldBuilder() - : null; + agentPoolsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getAgentPoolsFieldBuilder() : null; } else { agentPoolsBuilder_.addAllMessages(other.agentPools_); } @@ -14767,14 +13918,11 @@ public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - com.google.storagetransfer.v1.proto.TransferProto.ListAgentPoolsResponse parsedMessage = - null; + com.google.storagetransfer.v1.proto.TransferProto.ListAgentPoolsResponse parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.storagetransfer.v1.proto.TransferProto.ListAgentPoolsResponse) - e.getUnfinishedMessage(); + parsedMessage = (com.google.storagetransfer.v1.proto.TransferProto.ListAgentPoolsResponse) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -14783,38 +13931,28 @@ public Builder mergeFrom( } return this; } - private int bitField0_; - private java.util.List - agentPools_ = java.util.Collections.emptyList(); - + private java.util.List agentPools_ = + java.util.Collections.emptyList(); private void ensureAgentPoolsIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { - agentPools_ = - new java.util.ArrayList( - agentPools_); + agentPools_ = new java.util.ArrayList(agentPools_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.storagetransfer.v1.proto.TransferTypes.AgentPool, - com.google.storagetransfer.v1.proto.TransferTypes.AgentPool.Builder, - com.google.storagetransfer.v1.proto.TransferTypes.AgentPoolOrBuilder> - agentPoolsBuilder_; + com.google.storagetransfer.v1.proto.TransferTypes.AgentPool, com.google.storagetransfer.v1.proto.TransferTypes.AgentPool.Builder, com.google.storagetransfer.v1.proto.TransferTypes.AgentPoolOrBuilder> agentPoolsBuilder_; /** - * - * *
        * A list of agent pools.
        * 
* * repeated .google.storagetransfer.v1.AgentPool agent_pools = 1; */ - public java.util.List - getAgentPoolsList() { + public java.util.List getAgentPoolsList() { if (agentPoolsBuilder_ == null) { return java.util.Collections.unmodifiableList(agentPools_); } else { @@ -14822,8 +13960,6 @@ private void ensureAgentPoolsIsMutable() { } } /** - * - * *
        * A list of agent pools.
        * 
@@ -14838,8 +13974,6 @@ public int getAgentPoolsCount() { } } /** - * - * *
        * A list of agent pools.
        * 
@@ -14854,8 +13988,6 @@ public com.google.storagetransfer.v1.proto.TransferTypes.AgentPool getAgentPools } } /** - * - * *
        * A list of agent pools.
        * 
@@ -14877,8 +14009,6 @@ public Builder setAgentPools( return this; } /** - * - * *
        * A list of agent pools.
        * 
@@ -14886,8 +14016,7 @@ public Builder setAgentPools( * repeated .google.storagetransfer.v1.AgentPool agent_pools = 1; */ public Builder setAgentPools( - int index, - com.google.storagetransfer.v1.proto.TransferTypes.AgentPool.Builder builderForValue) { + int index, com.google.storagetransfer.v1.proto.TransferTypes.AgentPool.Builder builderForValue) { if (agentPoolsBuilder_ == null) { ensureAgentPoolsIsMutable(); agentPools_.set(index, builderForValue.build()); @@ -14898,16 +14027,13 @@ public Builder setAgentPools( return this; } /** - * - * *
        * A list of agent pools.
        * 
* * repeated .google.storagetransfer.v1.AgentPool agent_pools = 1; */ - public Builder addAgentPools( - com.google.storagetransfer.v1.proto.TransferTypes.AgentPool value) { + public Builder addAgentPools(com.google.storagetransfer.v1.proto.TransferTypes.AgentPool value) { if (agentPoolsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -14921,8 +14047,6 @@ public Builder addAgentPools( return this; } /** - * - * *
        * A list of agent pools.
        * 
@@ -14944,8 +14068,6 @@ public Builder addAgentPools( return this; } /** - * - * *
        * A list of agent pools.
        * 
@@ -14964,8 +14086,6 @@ public Builder addAgentPools( return this; } /** - * - * *
        * A list of agent pools.
        * 
@@ -14973,8 +14093,7 @@ public Builder addAgentPools( * repeated .google.storagetransfer.v1.AgentPool agent_pools = 1; */ public Builder addAgentPools( - int index, - com.google.storagetransfer.v1.proto.TransferTypes.AgentPool.Builder builderForValue) { + int index, com.google.storagetransfer.v1.proto.TransferTypes.AgentPool.Builder builderForValue) { if (agentPoolsBuilder_ == null) { ensureAgentPoolsIsMutable(); agentPools_.add(index, builderForValue.build()); @@ -14985,8 +14104,6 @@ public Builder addAgentPools( return this; } /** - * - * *
        * A list of agent pools.
        * 
@@ -14994,11 +14111,11 @@ public Builder addAgentPools( * repeated .google.storagetransfer.v1.AgentPool agent_pools = 1; */ public Builder addAllAgentPools( - java.lang.Iterable - values) { + java.lang.Iterable values) { if (agentPoolsBuilder_ == null) { ensureAgentPoolsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, agentPools_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, agentPools_); onChanged(); } else { agentPoolsBuilder_.addAllMessages(values); @@ -15006,8 +14123,6 @@ public Builder addAllAgentPools( return this; } /** - * - * *
        * A list of agent pools.
        * 
@@ -15025,8 +14140,6 @@ public Builder clearAgentPools() { return this; } /** - * - * *
        * A list of agent pools.
        * 
@@ -15044,47 +14157,39 @@ public Builder removeAgentPools(int index) { return this; } /** - * - * *
        * A list of agent pools.
        * 
* * repeated .google.storagetransfer.v1.AgentPool agent_pools = 1; */ - public com.google.storagetransfer.v1.proto.TransferTypes.AgentPool.Builder - getAgentPoolsBuilder(int index) { + public com.google.storagetransfer.v1.proto.TransferTypes.AgentPool.Builder getAgentPoolsBuilder( + int index) { return getAgentPoolsFieldBuilder().getBuilder(index); } /** - * - * *
        * A list of agent pools.
        * 
* * repeated .google.storagetransfer.v1.AgentPool agent_pools = 1; */ - public com.google.storagetransfer.v1.proto.TransferTypes.AgentPoolOrBuilder - getAgentPoolsOrBuilder(int index) { + public com.google.storagetransfer.v1.proto.TransferTypes.AgentPoolOrBuilder getAgentPoolsOrBuilder( + int index) { if (agentPoolsBuilder_ == null) { - return agentPools_.get(index); - } else { + return agentPools_.get(index); } else { return agentPoolsBuilder_.getMessageOrBuilder(index); } } /** - * - * *
        * A list of agent pools.
        * 
* * repeated .google.storagetransfer.v1.AgentPool agent_pools = 1; */ - public java.util.List< - ? extends com.google.storagetransfer.v1.proto.TransferTypes.AgentPoolOrBuilder> - getAgentPoolsOrBuilderList() { + public java.util.List + getAgentPoolsOrBuilderList() { if (agentPoolsBuilder_ != null) { return agentPoolsBuilder_.getMessageOrBuilderList(); } else { @@ -15092,62 +14197,49 @@ public Builder removeAgentPools(int index) { } } /** - * - * *
        * A list of agent pools.
        * 
* * repeated .google.storagetransfer.v1.AgentPool agent_pools = 1; */ - public com.google.storagetransfer.v1.proto.TransferTypes.AgentPool.Builder - addAgentPoolsBuilder() { - return getAgentPoolsFieldBuilder() - .addBuilder( - com.google.storagetransfer.v1.proto.TransferTypes.AgentPool.getDefaultInstance()); + public com.google.storagetransfer.v1.proto.TransferTypes.AgentPool.Builder addAgentPoolsBuilder() { + return getAgentPoolsFieldBuilder().addBuilder( + com.google.storagetransfer.v1.proto.TransferTypes.AgentPool.getDefaultInstance()); } /** - * - * *
        * A list of agent pools.
        * 
* * repeated .google.storagetransfer.v1.AgentPool agent_pools = 1; */ - public com.google.storagetransfer.v1.proto.TransferTypes.AgentPool.Builder - addAgentPoolsBuilder(int index) { - return getAgentPoolsFieldBuilder() - .addBuilder( - index, - com.google.storagetransfer.v1.proto.TransferTypes.AgentPool.getDefaultInstance()); + public com.google.storagetransfer.v1.proto.TransferTypes.AgentPool.Builder addAgentPoolsBuilder( + int index) { + return getAgentPoolsFieldBuilder().addBuilder( + index, com.google.storagetransfer.v1.proto.TransferTypes.AgentPool.getDefaultInstance()); } /** - * - * *
        * A list of agent pools.
        * 
* * repeated .google.storagetransfer.v1.AgentPool agent_pools = 1; */ - public java.util.List - getAgentPoolsBuilderList() { + public java.util.List + getAgentPoolsBuilderList() { return getAgentPoolsFieldBuilder().getBuilderList(); } - private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.storagetransfer.v1.proto.TransferTypes.AgentPool, - com.google.storagetransfer.v1.proto.TransferTypes.AgentPool.Builder, - com.google.storagetransfer.v1.proto.TransferTypes.AgentPoolOrBuilder> + com.google.storagetransfer.v1.proto.TransferTypes.AgentPool, com.google.storagetransfer.v1.proto.TransferTypes.AgentPool.Builder, com.google.storagetransfer.v1.proto.TransferTypes.AgentPoolOrBuilder> getAgentPoolsFieldBuilder() { if (agentPoolsBuilder_ == null) { - agentPoolsBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.storagetransfer.v1.proto.TransferTypes.AgentPool, - com.google.storagetransfer.v1.proto.TransferTypes.AgentPool.Builder, - com.google.storagetransfer.v1.proto.TransferTypes.AgentPoolOrBuilder>( - agentPools_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); + agentPoolsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.storagetransfer.v1.proto.TransferTypes.AgentPool, com.google.storagetransfer.v1.proto.TransferTypes.AgentPool.Builder, com.google.storagetransfer.v1.proto.TransferTypes.AgentPoolOrBuilder>( + agentPools_, + ((bitField0_ & 0x00000001) != 0), + getParentForChildren(), + isClean()); agentPools_ = null; } return agentPoolsBuilder_; @@ -15155,20 +14247,18 @@ public Builder removeAgentPools(int index) { private java.lang.Object nextPageToken_ = ""; /** - * - * *
        * The list next page token.
        * 
* * string next_page_token = 2; - * * @return The nextPageToken. */ public java.lang.String getNextPageToken() { java.lang.Object ref = nextPageToken_; 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(); nextPageToken_ = s; return s; @@ -15177,21 +14267,20 @@ public java.lang.String getNextPageToken() { } } /** - * - * *
        * The list next page token.
        * 
* * string next_page_token = 2; - * * @return The bytes for nextPageToken. */ - public com.google.protobuf.ByteString getNextPageTokenBytes() { + public com.google.protobuf.ByteString + getNextPageTokenBytes() { java.lang.Object ref = nextPageToken_; 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); nextPageToken_ = b; return b; } else { @@ -15199,66 +14288,58 @@ public com.google.protobuf.ByteString getNextPageTokenBytes() { } } /** - * - * *
        * The list next page token.
        * 
* * string next_page_token = 2; - * * @param value The nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageToken(java.lang.String value) { + public Builder setNextPageToken( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + nextPageToken_ = value; onChanged(); return this; } /** - * - * *
        * The list next page token.
        * 
* * string next_page_token = 2; - * * @return This builder for chaining. */ public Builder clearNextPageToken() { - + nextPageToken_ = getDefaultInstance().getNextPageToken(); onChanged(); return this; } /** - * - * *
        * The list next page token.
        * 
* * string next_page_token = 2; - * * @param value The bytes for nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageTokenBytes(com.google.protobuf.ByteString value) { + public Builder setNextPageTokenBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + nextPageToken_ = value; onChanged(); return this; } - @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -15271,33 +14352,30 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.storagetransfer.v1.ListAgentPoolsResponse) } // @@protoc_insertion_point(class_scope:google.storagetransfer.v1.ListAgentPoolsResponse) - private static final com.google.storagetransfer.v1.proto.TransferProto.ListAgentPoolsResponse - DEFAULT_INSTANCE; - + private static final com.google.storagetransfer.v1.proto.TransferProto.ListAgentPoolsResponse DEFAULT_INSTANCE; static { - DEFAULT_INSTANCE = - new com.google.storagetransfer.v1.proto.TransferProto.ListAgentPoolsResponse(); + DEFAULT_INSTANCE = new com.google.storagetransfer.v1.proto.TransferProto.ListAgentPoolsResponse(); } - public static com.google.storagetransfer.v1.proto.TransferProto.ListAgentPoolsResponse - getDefaultInstance() { + public static com.google.storagetransfer.v1.proto.TransferProto.ListAgentPoolsResponse getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListAgentPoolsResponse parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ListAgentPoolsResponse(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListAgentPoolsResponse parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ListAgentPoolsResponse(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -15309,321 +14387,322 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.storagetransfer.v1.proto.TransferProto.ListAgentPoolsResponse - getDefaultInstanceForType() { + public com.google.storagetransfer.v1.proto.TransferProto.ListAgentPoolsResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } private static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_storagetransfer_v1_GetGoogleServiceAccountRequest_descriptor; - private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_storagetransfer_v1_GetGoogleServiceAccountRequest_descriptor; + private static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_google_storagetransfer_v1_GetGoogleServiceAccountRequest_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_storagetransfer_v1_CreateTransferJobRequest_descriptor; - private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_storagetransfer_v1_CreateTransferJobRequest_descriptor; + private static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_google_storagetransfer_v1_CreateTransferJobRequest_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_storagetransfer_v1_UpdateTransferJobRequest_descriptor; - private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_storagetransfer_v1_UpdateTransferJobRequest_descriptor; + private static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_google_storagetransfer_v1_UpdateTransferJobRequest_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_storagetransfer_v1_GetTransferJobRequest_descriptor; - private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_storagetransfer_v1_GetTransferJobRequest_descriptor; + private static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_google_storagetransfer_v1_GetTransferJobRequest_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_storagetransfer_v1_ListTransferJobsRequest_descriptor; - private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_storagetransfer_v1_DeleteTransferJobRequest_descriptor; + private static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_storagetransfer_v1_DeleteTransferJobRequest_fieldAccessorTable; + private static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_storagetransfer_v1_ListTransferJobsRequest_descriptor; + private static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_google_storagetransfer_v1_ListTransferJobsRequest_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_storagetransfer_v1_ListTransferJobsResponse_descriptor; - private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_storagetransfer_v1_ListTransferJobsResponse_descriptor; + private static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_google_storagetransfer_v1_ListTransferJobsResponse_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_storagetransfer_v1_PauseTransferOperationRequest_descriptor; - private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_storagetransfer_v1_PauseTransferOperationRequest_descriptor; + private static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_google_storagetransfer_v1_PauseTransferOperationRequest_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_storagetransfer_v1_ResumeTransferOperationRequest_descriptor; - private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_storagetransfer_v1_ResumeTransferOperationRequest_descriptor; + private static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_google_storagetransfer_v1_ResumeTransferOperationRequest_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_storagetransfer_v1_RunTransferJobRequest_descriptor; - private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_storagetransfer_v1_RunTransferJobRequest_descriptor; + private static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_google_storagetransfer_v1_RunTransferJobRequest_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_storagetransfer_v1_CreateAgentPoolRequest_descriptor; - private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_storagetransfer_v1_CreateAgentPoolRequest_descriptor; + private static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_google_storagetransfer_v1_CreateAgentPoolRequest_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_storagetransfer_v1_UpdateAgentPoolRequest_descriptor; - private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_storagetransfer_v1_UpdateAgentPoolRequest_descriptor; + private static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_google_storagetransfer_v1_UpdateAgentPoolRequest_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_storagetransfer_v1_GetAgentPoolRequest_descriptor; - private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_storagetransfer_v1_GetAgentPoolRequest_descriptor; + private static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_google_storagetransfer_v1_GetAgentPoolRequest_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_storagetransfer_v1_DeleteAgentPoolRequest_descriptor; - private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_storagetransfer_v1_DeleteAgentPoolRequest_descriptor; + private static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_google_storagetransfer_v1_DeleteAgentPoolRequest_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_storagetransfer_v1_ListAgentPoolsRequest_descriptor; - private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_storagetransfer_v1_ListAgentPoolsRequest_descriptor; + private static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_google_storagetransfer_v1_ListAgentPoolsRequest_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_storagetransfer_v1_ListAgentPoolsResponse_descriptor; - private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_storagetransfer_v1_ListAgentPoolsResponse_descriptor; + private static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_google_storagetransfer_v1_ListAgentPoolsResponse_fieldAccessorTable; - public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + public static com.google.protobuf.Descriptors.FileDescriptor + getDescriptor() { return descriptor; } - - private static com.google.protobuf.Descriptors.FileDescriptor descriptor; - + private static com.google.protobuf.Descriptors.FileDescriptor + descriptor; static { java.lang.String[] descriptorData = { - "\n(google/storagetransfer/v1/transfer.pro" - + "to\022\031google.storagetransfer.v1\032\034google/ap" - + "i/annotations.proto\032\027google/api/client.p" - + "roto\032\037google/api/field_behavior.proto\032#g" - + "oogle/longrunning/operations.proto\032\033goog" - + "le/protobuf/empty.proto\032 google/protobuf" - + "/field_mask.proto\032.google/storagetransfe" - + "r/v1/transfer_types.proto\"9\n\036GetGoogleSe" - + "rviceAccountRequest\022\027\n\nproject_id\030\001 \001(\tB" - + "\003\340A\002\"]\n\030CreateTransferJobRequest\022A\n\014tran" - + "sfer_job\030\001 \001(\0132&.google.storagetransfer." - + "v1.TransferJobB\003\340A\002\"\321\001\n\030UpdateTransferJo" - + "bRequest\022\025\n\010job_name\030\001 \001(\tB\003\340A\002\022\027\n\nproje" - + "ct_id\030\002 \001(\tB\003\340A\002\022A\n\014transfer_job\030\003 \001(\0132&" - + ".google.storagetransfer.v1.TransferJobB\003" - + "\340A\002\022B\n\036update_transfer_job_field_mask\030\004 " - + "\001(\0132\032.google.protobuf.FieldMask\"G\n\025GetTr" - + "ansferJobRequest\022\025\n\010job_name\030\001 \001(\tB\003\340A\002\022" - + "\027\n\nproject_id\030\002 \001(\tB\003\340A\002\"U\n\027ListTransfer" - + "JobsRequest\022\023\n\006filter\030\001 \001(\tB\003\340A\002\022\021\n\tpage" - + "_size\030\004 \001(\005\022\022\n\npage_token\030\005 \001(\t\"r\n\030ListT" - + "ransferJobsResponse\022=\n\rtransfer_jobs\030\001 \003" - + "(\0132&.google.storagetransfer.v1.TransferJ" - + "ob\022\027\n\017next_page_token\030\002 \001(\t\"2\n\035PauseTran" - + "sferOperationRequest\022\021\n\004name\030\001 \001(\tB\003\340A\002\"" - + "3\n\036ResumeTransferOperationRequest\022\021\n\004nam" - + "e\030\001 \001(\tB\003\340A\002\"G\n\025RunTransferJobRequest\022\025\n" - + "\010job_name\030\001 \001(\tB\003\340A\002\022\027\n\nproject_id\030\002 \001(\t" - + "B\003\340A\002\"\214\001\n\026CreateAgentPoolRequest\022\027\n\nproj" - + "ect_id\030\001 \001(\tB\003\340A\002\022=\n\nagent_pool\030\002 \001(\0132$." - + "google.storagetransfer.v1.AgentPoolB\003\340A\002" - + "\022\032\n\ragent_pool_id\030\003 \001(\tB\003\340A\002\"\210\001\n\026UpdateA" - + "gentPoolRequest\022=\n\nagent_pool\030\001 \001(\0132$.go" - + "ogle.storagetransfer.v1.AgentPoolB\003\340A\002\022/" - + "\n\013update_mask\030\002 \001(\0132\032.google.protobuf.Fi" - + "eldMask\"(\n\023GetAgentPoolRequest\022\021\n\004name\030\001" - + " \001(\tB\003\340A\002\"+\n\026DeleteAgentPoolRequest\022\021\n\004n" - + "ame\030\001 \001(\tB\003\340A\002\"g\n\025ListAgentPoolsRequest\022" - + "\027\n\nproject_id\030\001 \001(\tB\003\340A\002\022\016\n\006filter\030\002 \001(\t" - + "\022\021\n\tpage_size\030\003 \001(\005\022\022\n\npage_token\030\004 \001(\t\"" - + "l\n\026ListAgentPoolsResponse\0229\n\013agent_pools" - + "\030\001 \003(\0132$.google.storagetransfer.v1.Agent" - + "Pool\022\027\n\017next_page_token\030\002 \001(\t2\206\022\n\026Storag" - + "eTransferService\022\265\001\n\027GetGoogleServiceAcc" - + "ount\0229.google.storagetransfer.v1.GetGoog" - + "leServiceAccountRequest\032/.google.storage" - + "transfer.v1.GoogleServiceAccount\".\202\323\344\223\002(" - + "\022&/v1/googleServiceAccounts/{project_id}" - + "\022\230\001\n\021CreateTransferJob\0223.google.storaget" - + "ransfer.v1.CreateTransferJobRequest\032&.go" - + "ogle.storagetransfer.v1.TransferJob\"&\202\323\344" - + "\223\002 \"\020/v1/transferJobs:\014transfer_job\022\233\001\n\021" - + "UpdateTransferJob\0223.google.storagetransf" - + "er.v1.UpdateTransferJobRequest\032&.google." - + "storagetransfer.v1.TransferJob\")\202\323\344\223\002#2\036" - + "/v1/{job_name=transferJobs/**}:\001*\022\222\001\n\016Ge" - + "tTransferJob\0220.google.storagetransfer.v1" - + ".GetTransferJobRequest\032&.google.storaget" - + "ransfer.v1.TransferJob\"&\202\323\344\223\002 \022\036/v1/{job" - + "_name=transferJobs/**}\022\225\001\n\020ListTransferJ" - + "obs\0222.google.storagetransfer.v1.ListTran" - + "sferJobsRequest\0323.google.storagetransfer" - + ".v1.ListTransferJobsResponse\"\030\202\323\344\223\002\022\022\020/v" - + "1/transferJobs\022\235\001\n\026PauseTransferOperatio" - + "n\0228.google.storagetransfer.v1.PauseTrans" - + "ferOperationRequest\032\026.google.protobuf.Em" - + "pty\"1\202\323\344\223\002+\"&/v1/{name=transferOperation" - + "s/**}:pause:\001*\022\240\001\n\027ResumeTransferOperati" - + "on\0229.google.storagetransfer.v1.ResumeTra" - + "nsferOperationRequest\032\026.google.protobuf." - + "Empty\"2\202\323\344\223\002,\"\'/v1/{name=transferOperati" - + "ons/**}:resume:\001*\022\275\001\n\016RunTransferJob\0220.g" - + "oogle.storagetransfer.v1.RunTransferJobR" - + "equest\032\035.google.longrunning.Operation\"Z\202" - + "\323\344\223\002\'\"\"/v1/{job_name=transferJobs/**}:ru" - + "n:\001*\312A*\n\025google.protobuf.Empty\022\021Transfer" - + "Operation\022\314\001\n\017CreateAgentPool\0221.google.s" - + "toragetransfer.v1.CreateAgentPoolRequest" - + "\032$.google.storagetransfer.v1.AgentPool\"`" - + "\202\323\344\223\0024\"&/v1/projects/{project_id=*}/agen" - + "tPools:\nagent_pool\332A#project_id,agent_po" - + "ol,agent_pool_id\022\306\001\n\017UpdateAgentPool\0221.g" - + "oogle.storagetransfer.v1.UpdateAgentPool" - + "Request\032$.google.storagetransfer.v1.Agen" - + "tPool\"Z\202\323\344\223\002;2-/v1/{agent_pool.name=proj" - + "ects/*/agentPools/*}:\nagent_pool\332A\026agent" - + "_pool,update_mask\022\227\001\n\014GetAgentPool\022..goo" - + "gle.storagetransfer.v1.GetAgentPoolReque" - + "st\032$.google.storagetransfer.v1.AgentPool" - + "\"1\202\323\344\223\002$\022\"/v1/{name=projects/*/agentPool" - + "s/*}\332A\004name\022\262\001\n\016ListAgentPools\0220.google." - + "storagetransfer.v1.ListAgentPoolsRequest" - + "\0321.google.storagetransfer.v1.ListAgentPo" - + "olsResponse\";\202\323\344\223\002(\022&/v1/projects/{proje" - + "ct_id=*}/agentPools\332A\nproject_id\022\217\001\n\017Del" - + "eteAgentPool\0221.google.storagetransfer.v1" - + ".DeleteAgentPoolRequest\032\026.google.protobu" - + "f.Empty\"1\202\323\344\223\002$*\"/v1/{name=projects/*/ag" - + "entPools/*}\332A\004name\032R\312A\036storagetransfer.g" - + "oogleapis.com\322A.https://www.googleapis.c" - + "om/auth/cloud-platformB\352\001\n#com.google.st" - + "oragetransfer.v1.protoB\rTransferProtoZHg" - + "oogle.golang.org/genproto/googleapis/sto" - + "ragetransfer/v1;storagetransfer\370\001\001\252\002\037Goo" - + "gle.Cloud.StorageTransfer.V1\312\002\037Google\\Cl" - + "oud\\StorageTransfer\\V1\352\002\"Google::Cloud::" - + "StorageTransfer::V1b\006proto3" + "\n(google/storagetransfer/v1/transfer.pro" + + "to\022\031google.storagetransfer.v1\032\034google/ap" + + "i/annotations.proto\032\027google/api/client.p" + + "roto\032\037google/api/field_behavior.proto\032#g" + + "oogle/longrunning/operations.proto\032\033goog" + + "le/protobuf/empty.proto\032 google/protobuf" + + "/field_mask.proto\032.google/storagetransfe" + + "r/v1/transfer_types.proto\"9\n\036GetGoogleSe" + + "rviceAccountRequest\022\027\n\nproject_id\030\001 \001(\tB" + + "\003\340A\002\"]\n\030CreateTransferJobRequest\022A\n\014tran" + + "sfer_job\030\001 \001(\0132&.google.storagetransfer." + + "v1.TransferJobB\003\340A\002\"\321\001\n\030UpdateTransferJo" + + "bRequest\022\025\n\010job_name\030\001 \001(\tB\003\340A\002\022\027\n\nproje" + + "ct_id\030\002 \001(\tB\003\340A\002\022A\n\014transfer_job\030\003 \001(\0132&" + + ".google.storagetransfer.v1.TransferJobB\003" + + "\340A\002\022B\n\036update_transfer_job_field_mask\030\004 " + + "\001(\0132\032.google.protobuf.FieldMask\"G\n\025GetTr" + + "ansferJobRequest\022\025\n\010job_name\030\001 \001(\tB\003\340A\002\022" + + "\027\n\nproject_id\030\002 \001(\tB\003\340A\002\"J\n\030DeleteTransf" + + "erJobRequest\022\025\n\010job_name\030\001 \001(\tB\003\340A\002\022\027\n\np" + + "roject_id\030\002 \001(\tB\003\340A\002\"U\n\027ListTransferJobs" + + "Request\022\023\n\006filter\030\001 \001(\tB\003\340A\002\022\021\n\tpage_siz" + + "e\030\004 \001(\005\022\022\n\npage_token\030\005 \001(\t\"r\n\030ListTrans" + + "ferJobsResponse\022=\n\rtransfer_jobs\030\001 \003(\0132&" + + ".google.storagetransfer.v1.TransferJob\022\027" + + "\n\017next_page_token\030\002 \001(\t\"2\n\035PauseTransfer" + + "OperationRequest\022\021\n\004name\030\001 \001(\tB\003\340A\002\"3\n\036R" + + "esumeTransferOperationRequest\022\021\n\004name\030\001 " + + "\001(\tB\003\340A\002\"G\n\025RunTransferJobRequest\022\025\n\010job" + + "_name\030\001 \001(\tB\003\340A\002\022\027\n\nproject_id\030\002 \001(\tB\003\340A" + + "\002\"\214\001\n\026CreateAgentPoolRequest\022\027\n\nproject_" + + "id\030\001 \001(\tB\003\340A\002\022=\n\nagent_pool\030\002 \001(\0132$.goog" + + "le.storagetransfer.v1.AgentPoolB\003\340A\002\022\032\n\r" + + "agent_pool_id\030\003 \001(\tB\003\340A\002\"\210\001\n\026UpdateAgent" + + "PoolRequest\022=\n\nagent_pool\030\001 \001(\0132$.google" + + ".storagetransfer.v1.AgentPoolB\003\340A\002\022/\n\013up" + + "date_mask\030\002 \001(\0132\032.google.protobuf.FieldM" + + "ask\"(\n\023GetAgentPoolRequest\022\021\n\004name\030\001 \001(\t" + + "B\003\340A\002\"+\n\026DeleteAgentPoolRequest\022\021\n\004name\030" + + "\001 \001(\tB\003\340A\002\"g\n\025ListAgentPoolsRequest\022\027\n\np" + + "roject_id\030\001 \001(\tB\003\340A\002\022\016\n\006filter\030\002 \001(\t\022\021\n\t" + + "page_size\030\003 \001(\005\022\022\n\npage_token\030\004 \001(\t\"l\n\026L" + + "istAgentPoolsResponse\0229\n\013agent_pools\030\001 \003" + + "(\0132$.google.storagetransfer.v1.AgentPool" + + "\022\027\n\017next_page_token\030\002 \001(\t2\221\023\n\026StorageTra" + + "nsferService\022\265\001\n\027GetGoogleServiceAccount" + + "\0229.google.storagetransfer.v1.GetGoogleSe" + + "rviceAccountRequest\032/.google.storagetran" + + "sfer.v1.GoogleServiceAccount\".\202\323\344\223\002(\022&/v" + + "1/googleServiceAccounts/{project_id}\022\230\001\n" + + "\021CreateTransferJob\0223.google.storagetrans" + + "fer.v1.CreateTransferJobRequest\032&.google" + + ".storagetransfer.v1.TransferJob\"&\202\323\344\223\002 \"" + + "\020/v1/transferJobs:\014transfer_job\022\233\001\n\021Upda" + + "teTransferJob\0223.google.storagetransfer.v" + + "1.UpdateTransferJobRequest\032&.google.stor" + + "agetransfer.v1.TransferJob\")\202\323\344\223\002#2\036/v1/" + + "{job_name=transferJobs/**}:\001*\022\222\001\n\016GetTra" + + "nsferJob\0220.google.storagetransfer.v1.Get" + + "TransferJobRequest\032&.google.storagetrans" + + "fer.v1.TransferJob\"&\202\323\344\223\002 \022\036/v1/{job_nam" + + "e=transferJobs/**}\022\225\001\n\020ListTransferJobs\022" + + "2.google.storagetransfer.v1.ListTransfer" + + "JobsRequest\0323.google.storagetransfer.v1." + + "ListTransferJobsResponse\"\030\202\323\344\223\002\022\022\020/v1/tr" + + "ansferJobs\022\235\001\n\026PauseTransferOperation\0228." + + "google.storagetransfer.v1.PauseTransferO" + + "perationRequest\032\026.google.protobuf.Empty\"" + + "1\202\323\344\223\002+\"&/v1/{name=transferOperations/**" + + "}:pause:\001*\022\240\001\n\027ResumeTransferOperation\0229" + + ".google.storagetransfer.v1.ResumeTransfe" + + "rOperationRequest\032\026.google.protobuf.Empt" + + "y\"2\202\323\344\223\002,\"\'/v1/{name=transferOperations/" + + "**}:resume:\001*\022\275\001\n\016RunTransferJob\0220.googl" + + "e.storagetransfer.v1.RunTransferJobReque" + + "st\032\035.google.longrunning.Operation\"Z\202\323\344\223\002" + + "\'\"\"/v1/{job_name=transferJobs/**}:run:\001*" + + "\312A*\n\025google.protobuf.Empty\022\021TransferOper" + + "ation\022\210\001\n\021DeleteTransferJob\0223.google.sto" + + "ragetransfer.v1.DeleteTransferJobRequest" + + "\032\026.google.protobuf.Empty\"&\202\323\344\223\002 *\036/v1/{j" + + "ob_name=transferJobs/**}\022\314\001\n\017CreateAgent" + + "Pool\0221.google.storagetransfer.v1.CreateA" + + "gentPoolRequest\032$.google.storagetransfer" + + ".v1.AgentPool\"`\202\323\344\223\0024\"&/v1/projects/{pro" + + "ject_id=*}/agentPools:\nagent_pool\332A#proj" + + "ect_id,agent_pool,agent_pool_id\022\306\001\n\017Upda" + + "teAgentPool\0221.google.storagetransfer.v1." + + "UpdateAgentPoolRequest\032$.google.storaget" + + "ransfer.v1.AgentPool\"Z\202\323\344\223\002;2-/v1/{agent" + + "_pool.name=projects/*/agentPools/*}:\nage" + + "nt_pool\332A\026agent_pool,update_mask\022\227\001\n\014Get" + + "AgentPool\022..google.storagetransfer.v1.Ge" + + "tAgentPoolRequest\032$.google.storagetransf" + + "er.v1.AgentPool\"1\202\323\344\223\002$\022\"/v1/{name=proje" + + "cts/*/agentPools/*}\332A\004name\022\262\001\n\016ListAgent" + + "Pools\0220.google.storagetransfer.v1.ListAg" + + "entPoolsRequest\0321.google.storagetransfer" + + ".v1.ListAgentPoolsResponse\";\202\323\344\223\002(\022&/v1/" + + "projects/{project_id=*}/agentPools\332A\npro" + + "ject_id\022\217\001\n\017DeleteAgentPool\0221.google.sto" + + "ragetransfer.v1.DeleteAgentPoolRequest\032\026" + + ".google.protobuf.Empty\"1\202\323\344\223\002$*\"/v1/{nam" + + "e=projects/*/agentPools/*}\332A\004name\032R\312A\036st" + + "oragetransfer.googleapis.com\322A.https://w" + + "ww.googleapis.com/auth/cloud-platformB\352\001" + + "\n#com.google.storagetransfer.v1.protoB\rT" + + "ransferProtoZHgoogle.golang.org/genproto" + + "/googleapis/storagetransfer/v1;storagetr" + + "ansfer\370\001\001\252\002\037Google.Cloud.StorageTransfer" + + ".V1\312\002\037Google\\Cloud\\StorageTransfer\\V1\352\002\"" + + "Google::Cloud::StorageTransfer::V1b\006prot" + + "o3" }; - descriptor = - com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( - descriptorData, - new com.google.protobuf.Descriptors.FileDescriptor[] { - com.google.api.AnnotationsProto.getDescriptor(), - com.google.api.ClientProto.getDescriptor(), - com.google.api.FieldBehaviorProto.getDescriptor(), - com.google.longrunning.OperationsProto.getDescriptor(), - com.google.protobuf.EmptyProto.getDescriptor(), - com.google.protobuf.FieldMaskProto.getDescriptor(), - com.google.storagetransfer.v1.proto.TransferTypes.getDescriptor(), - }); + descriptor = com.google.protobuf.Descriptors.FileDescriptor + .internalBuildGeneratedFileFrom(descriptorData, + new com.google.protobuf.Descriptors.FileDescriptor[] { + com.google.api.AnnotationsProto.getDescriptor(), + com.google.api.ClientProto.getDescriptor(), + com.google.api.FieldBehaviorProto.getDescriptor(), + com.google.longrunning.OperationsProto.getDescriptor(), + com.google.protobuf.EmptyProto.getDescriptor(), + com.google.protobuf.FieldMaskProto.getDescriptor(), + com.google.storagetransfer.v1.proto.TransferTypes.getDescriptor(), + }); internal_static_google_storagetransfer_v1_GetGoogleServiceAccountRequest_descriptor = - getDescriptor().getMessageTypes().get(0); - internal_static_google_storagetransfer_v1_GetGoogleServiceAccountRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_storagetransfer_v1_GetGoogleServiceAccountRequest_descriptor, - new java.lang.String[] { - "ProjectId", - }); + getDescriptor().getMessageTypes().get(0); + internal_static_google_storagetransfer_v1_GetGoogleServiceAccountRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_storagetransfer_v1_GetGoogleServiceAccountRequest_descriptor, + new java.lang.String[] { "ProjectId", }); internal_static_google_storagetransfer_v1_CreateTransferJobRequest_descriptor = - getDescriptor().getMessageTypes().get(1); - internal_static_google_storagetransfer_v1_CreateTransferJobRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_storagetransfer_v1_CreateTransferJobRequest_descriptor, - new java.lang.String[] { - "TransferJob", - }); + getDescriptor().getMessageTypes().get(1); + internal_static_google_storagetransfer_v1_CreateTransferJobRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_storagetransfer_v1_CreateTransferJobRequest_descriptor, + new java.lang.String[] { "TransferJob", }); internal_static_google_storagetransfer_v1_UpdateTransferJobRequest_descriptor = - getDescriptor().getMessageTypes().get(2); - internal_static_google_storagetransfer_v1_UpdateTransferJobRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_storagetransfer_v1_UpdateTransferJobRequest_descriptor, - new java.lang.String[] { - "JobName", "ProjectId", "TransferJob", "UpdateTransferJobFieldMask", - }); + getDescriptor().getMessageTypes().get(2); + internal_static_google_storagetransfer_v1_UpdateTransferJobRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_storagetransfer_v1_UpdateTransferJobRequest_descriptor, + new java.lang.String[] { "JobName", "ProjectId", "TransferJob", "UpdateTransferJobFieldMask", }); internal_static_google_storagetransfer_v1_GetTransferJobRequest_descriptor = - getDescriptor().getMessageTypes().get(3); - internal_static_google_storagetransfer_v1_GetTransferJobRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_storagetransfer_v1_GetTransferJobRequest_descriptor, - new java.lang.String[] { - "JobName", "ProjectId", - }); + getDescriptor().getMessageTypes().get(3); + internal_static_google_storagetransfer_v1_GetTransferJobRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_storagetransfer_v1_GetTransferJobRequest_descriptor, + new java.lang.String[] { "JobName", "ProjectId", }); + internal_static_google_storagetransfer_v1_DeleteTransferJobRequest_descriptor = + getDescriptor().getMessageTypes().get(4); + internal_static_google_storagetransfer_v1_DeleteTransferJobRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_storagetransfer_v1_DeleteTransferJobRequest_descriptor, + new java.lang.String[] { "JobName", "ProjectId", }); internal_static_google_storagetransfer_v1_ListTransferJobsRequest_descriptor = - getDescriptor().getMessageTypes().get(4); - internal_static_google_storagetransfer_v1_ListTransferJobsRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_storagetransfer_v1_ListTransferJobsRequest_descriptor, - new java.lang.String[] { - "Filter", "PageSize", "PageToken", - }); + getDescriptor().getMessageTypes().get(5); + internal_static_google_storagetransfer_v1_ListTransferJobsRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_storagetransfer_v1_ListTransferJobsRequest_descriptor, + new java.lang.String[] { "Filter", "PageSize", "PageToken", }); internal_static_google_storagetransfer_v1_ListTransferJobsResponse_descriptor = - getDescriptor().getMessageTypes().get(5); - internal_static_google_storagetransfer_v1_ListTransferJobsResponse_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_storagetransfer_v1_ListTransferJobsResponse_descriptor, - new java.lang.String[] { - "TransferJobs", "NextPageToken", - }); + getDescriptor().getMessageTypes().get(6); + internal_static_google_storagetransfer_v1_ListTransferJobsResponse_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_storagetransfer_v1_ListTransferJobsResponse_descriptor, + new java.lang.String[] { "TransferJobs", "NextPageToken", }); internal_static_google_storagetransfer_v1_PauseTransferOperationRequest_descriptor = - getDescriptor().getMessageTypes().get(6); - internal_static_google_storagetransfer_v1_PauseTransferOperationRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_storagetransfer_v1_PauseTransferOperationRequest_descriptor, - new java.lang.String[] { - "Name", - }); + getDescriptor().getMessageTypes().get(7); + internal_static_google_storagetransfer_v1_PauseTransferOperationRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_storagetransfer_v1_PauseTransferOperationRequest_descriptor, + new java.lang.String[] { "Name", }); internal_static_google_storagetransfer_v1_ResumeTransferOperationRequest_descriptor = - getDescriptor().getMessageTypes().get(7); - internal_static_google_storagetransfer_v1_ResumeTransferOperationRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_storagetransfer_v1_ResumeTransferOperationRequest_descriptor, - new java.lang.String[] { - "Name", - }); + getDescriptor().getMessageTypes().get(8); + internal_static_google_storagetransfer_v1_ResumeTransferOperationRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_storagetransfer_v1_ResumeTransferOperationRequest_descriptor, + new java.lang.String[] { "Name", }); internal_static_google_storagetransfer_v1_RunTransferJobRequest_descriptor = - getDescriptor().getMessageTypes().get(8); - internal_static_google_storagetransfer_v1_RunTransferJobRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_storagetransfer_v1_RunTransferJobRequest_descriptor, - new java.lang.String[] { - "JobName", "ProjectId", - }); + getDescriptor().getMessageTypes().get(9); + internal_static_google_storagetransfer_v1_RunTransferJobRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_storagetransfer_v1_RunTransferJobRequest_descriptor, + new java.lang.String[] { "JobName", "ProjectId", }); internal_static_google_storagetransfer_v1_CreateAgentPoolRequest_descriptor = - getDescriptor().getMessageTypes().get(9); - internal_static_google_storagetransfer_v1_CreateAgentPoolRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_storagetransfer_v1_CreateAgentPoolRequest_descriptor, - new java.lang.String[] { - "ProjectId", "AgentPool", "AgentPoolId", - }); + getDescriptor().getMessageTypes().get(10); + internal_static_google_storagetransfer_v1_CreateAgentPoolRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_storagetransfer_v1_CreateAgentPoolRequest_descriptor, + new java.lang.String[] { "ProjectId", "AgentPool", "AgentPoolId", }); internal_static_google_storagetransfer_v1_UpdateAgentPoolRequest_descriptor = - getDescriptor().getMessageTypes().get(10); - internal_static_google_storagetransfer_v1_UpdateAgentPoolRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_storagetransfer_v1_UpdateAgentPoolRequest_descriptor, - new java.lang.String[] { - "AgentPool", "UpdateMask", - }); + getDescriptor().getMessageTypes().get(11); + internal_static_google_storagetransfer_v1_UpdateAgentPoolRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_storagetransfer_v1_UpdateAgentPoolRequest_descriptor, + new java.lang.String[] { "AgentPool", "UpdateMask", }); internal_static_google_storagetransfer_v1_GetAgentPoolRequest_descriptor = - getDescriptor().getMessageTypes().get(11); - internal_static_google_storagetransfer_v1_GetAgentPoolRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_storagetransfer_v1_GetAgentPoolRequest_descriptor, - new java.lang.String[] { - "Name", - }); + getDescriptor().getMessageTypes().get(12); + internal_static_google_storagetransfer_v1_GetAgentPoolRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_storagetransfer_v1_GetAgentPoolRequest_descriptor, + new java.lang.String[] { "Name", }); internal_static_google_storagetransfer_v1_DeleteAgentPoolRequest_descriptor = - getDescriptor().getMessageTypes().get(12); - internal_static_google_storagetransfer_v1_DeleteAgentPoolRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_storagetransfer_v1_DeleteAgentPoolRequest_descriptor, - new java.lang.String[] { - "Name", - }); + getDescriptor().getMessageTypes().get(13); + internal_static_google_storagetransfer_v1_DeleteAgentPoolRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_storagetransfer_v1_DeleteAgentPoolRequest_descriptor, + new java.lang.String[] { "Name", }); internal_static_google_storagetransfer_v1_ListAgentPoolsRequest_descriptor = - getDescriptor().getMessageTypes().get(13); - internal_static_google_storagetransfer_v1_ListAgentPoolsRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_storagetransfer_v1_ListAgentPoolsRequest_descriptor, - new java.lang.String[] { - "ProjectId", "Filter", "PageSize", "PageToken", - }); + getDescriptor().getMessageTypes().get(14); + internal_static_google_storagetransfer_v1_ListAgentPoolsRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_storagetransfer_v1_ListAgentPoolsRequest_descriptor, + new java.lang.String[] { "ProjectId", "Filter", "PageSize", "PageToken", }); internal_static_google_storagetransfer_v1_ListAgentPoolsResponse_descriptor = - getDescriptor().getMessageTypes().get(14); - internal_static_google_storagetransfer_v1_ListAgentPoolsResponse_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_storagetransfer_v1_ListAgentPoolsResponse_descriptor, - new java.lang.String[] { - "AgentPools", "NextPageToken", - }); + getDescriptor().getMessageTypes().get(15); + internal_static_google_storagetransfer_v1_ListAgentPoolsResponse_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_storagetransfer_v1_ListAgentPoolsResponse_descriptor, + new java.lang.String[] { "AgentPools", "NextPageToken", }); com.google.protobuf.ExtensionRegistry registry = com.google.protobuf.ExtensionRegistry.newInstance(); registry.add(com.google.api.ClientProto.defaultHost); @@ -15632,8 +14711,8 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { registry.add(com.google.api.ClientProto.methodSignature); registry.add(com.google.api.ClientProto.oauthScopes); registry.add(com.google.longrunning.OperationsProto.operationInfo); - com.google.protobuf.Descriptors.FileDescriptor.internalUpdateFileDescriptor( - descriptor, registry); + com.google.protobuf.Descriptors.FileDescriptor + .internalUpdateFileDescriptor(descriptor, registry); com.google.api.AnnotationsProto.getDescriptor(); com.google.api.ClientProto.getDescriptor(); com.google.api.FieldBehaviorProto.getDescriptor(); diff --git a/proto-google-cloud-storage-transfer-v1/src/main/java/com/google/storagetransfer/v1/proto/TransferTypes.java b/owl-bot-staging/v1/proto-google-cloud-storage-transfer-v1/src/main/java/com/google/storagetransfer/v1/proto/TransferTypes.java similarity index 71% rename from proto-google-cloud-storage-transfer-v1/src/main/java/com/google/storagetransfer/v1/proto/TransferTypes.java rename to owl-bot-staging/v1/proto-google-cloud-storage-transfer-v1/src/main/java/com/google/storagetransfer/v1/proto/TransferTypes.java index 3c031df..5158536 100644 --- a/proto-google-cloud-storage-transfer-v1/src/main/java/com/google/storagetransfer/v1/proto/TransferTypes.java +++ b/owl-bot-staging/v1/proto-google-cloud-storage-transfer-v1/src/main/java/com/google/storagetransfer/v1/proto/TransferTypes.java @@ -1,18 +1,3 @@ -/* - * 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/storagetransfer/v1/transfer_types.proto @@ -20,87 +5,75 @@ public final class TransferTypes { private TransferTypes() {} - - public static void registerAllExtensions(com.google.protobuf.ExtensionRegistryLite registry) {} - - public static void registerAllExtensions(com.google.protobuf.ExtensionRegistry registry) { - registerAllExtensions((com.google.protobuf.ExtensionRegistryLite) registry); + public static void registerAllExtensions( + com.google.protobuf.ExtensionRegistryLite registry) { } - public interface GoogleServiceAccountOrBuilder - extends + public static void registerAllExtensions( + com.google.protobuf.ExtensionRegistry registry) { + registerAllExtensions( + (com.google.protobuf.ExtensionRegistryLite) registry); + } + public interface GoogleServiceAccountOrBuilder extends // @@protoc_insertion_point(interface_extends:google.storagetransfer.v1.GoogleServiceAccount) com.google.protobuf.MessageOrBuilder { /** - * - * *
      * Email address of the service account.
      * 
* * string account_email = 1; - * * @return The accountEmail. */ java.lang.String getAccountEmail(); /** - * - * *
      * Email address of the service account.
      * 
* * string account_email = 1; - * * @return The bytes for accountEmail. */ - com.google.protobuf.ByteString getAccountEmailBytes(); + com.google.protobuf.ByteString + getAccountEmailBytes(); /** - * - * *
      * Unique identifier for the service account.
      * 
* * string subject_id = 2; - * * @return The subjectId. */ java.lang.String getSubjectId(); /** - * - * *
      * Unique identifier for the service account.
      * 
* * string subject_id = 2; - * * @return The bytes for subjectId. */ - com.google.protobuf.ByteString getSubjectIdBytes(); + com.google.protobuf.ByteString + getSubjectIdBytes(); } /** - * - * *
    * Google service account
    * 
* * Protobuf type {@code google.storagetransfer.v1.GoogleServiceAccount} */ - public static final class GoogleServiceAccount extends com.google.protobuf.GeneratedMessageV3 - implements + public static final class GoogleServiceAccount extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.storagetransfer.v1.GoogleServiceAccount) GoogleServiceAccountOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use GoogleServiceAccount.newBuilder() to construct. private GoogleServiceAccount(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private GoogleServiceAccount() { accountEmail_ = ""; subjectId_ = ""; @@ -108,15 +81,16 @@ private GoogleServiceAccount() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new GoogleServiceAccount(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private GoogleServiceAccount( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -135,27 +109,25 @@ private GoogleServiceAccount( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - accountEmail_ = s; - break; - } - case 18: - { - java.lang.String s = input.readStringRequireUtf8(); + accountEmail_ = s; + break; + } + case 18: { + java.lang.String s = input.readStringRequireUtf8(); - subjectId_ = s; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + subjectId_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -163,39 +135,34 @@ private GoogleServiceAccount( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.storagetransfer.v1.proto.TransferTypes - .internal_static_google_storagetransfer_v1_GoogleServiceAccount_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.storagetransfer.v1.proto.TransferTypes.internal_static_google_storagetransfer_v1_GoogleServiceAccount_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.storagetransfer.v1.proto.TransferTypes - .internal_static_google_storagetransfer_v1_GoogleServiceAccount_fieldAccessorTable + return com.google.storagetransfer.v1.proto.TransferTypes.internal_static_google_storagetransfer_v1_GoogleServiceAccount_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.storagetransfer.v1.proto.TransferTypes.GoogleServiceAccount.class, - com.google.storagetransfer.v1.proto.TransferTypes.GoogleServiceAccount.Builder.class); + com.google.storagetransfer.v1.proto.TransferTypes.GoogleServiceAccount.class, com.google.storagetransfer.v1.proto.TransferTypes.GoogleServiceAccount.Builder.class); } public static final int ACCOUNT_EMAIL_FIELD_NUMBER = 1; private volatile java.lang.Object accountEmail_; /** - * - * *
      * Email address of the service account.
      * 
* * string account_email = 1; - * * @return The accountEmail. */ @java.lang.Override @@ -204,29 +171,29 @@ public java.lang.String getAccountEmail() { 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(); accountEmail_ = s; return s; } } /** - * - * *
      * Email address of the service account.
      * 
* * string account_email = 1; - * * @return The bytes for accountEmail. */ @java.lang.Override - public com.google.protobuf.ByteString getAccountEmailBytes() { + public com.google.protobuf.ByteString + getAccountEmailBytes() { java.lang.Object ref = accountEmail_; 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); accountEmail_ = b; return b; } else { @@ -237,14 +204,11 @@ public com.google.protobuf.ByteString getAccountEmailBytes() { public static final int SUBJECT_ID_FIELD_NUMBER = 2; private volatile java.lang.Object subjectId_; /** - * - * *
      * Unique identifier for the service account.
      * 
* * string subject_id = 2; - * * @return The subjectId. */ @java.lang.Override @@ -253,29 +217,29 @@ public java.lang.String getSubjectId() { 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(); subjectId_ = s; return s; } } /** - * - * *
      * Unique identifier for the service account.
      * 
* * string subject_id = 2; - * * @return The bytes for subjectId. */ @java.lang.Override - public com.google.protobuf.ByteString getSubjectIdBytes() { + public com.google.protobuf.ByteString + getSubjectIdBytes() { java.lang.Object ref = subjectId_; 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); subjectId_ = b; return b; } else { @@ -284,7 +248,6 @@ public com.google.protobuf.ByteString getSubjectIdBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -296,7 +259,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 (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(accountEmail_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, accountEmail_); } @@ -326,17 +290,17 @@ 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.storagetransfer.v1.proto.TransferTypes.GoogleServiceAccount)) { + if (!(obj instanceof com.google.storagetransfer.v1.proto.TransferTypes.GoogleServiceAccount)) { return super.equals(obj); } - com.google.storagetransfer.v1.proto.TransferTypes.GoogleServiceAccount other = - (com.google.storagetransfer.v1.proto.TransferTypes.GoogleServiceAccount) obj; + com.google.storagetransfer.v1.proto.TransferTypes.GoogleServiceAccount other = (com.google.storagetransfer.v1.proto.TransferTypes.GoogleServiceAccount) obj; - if (!getAccountEmail().equals(other.getAccountEmail())) return false; - if (!getSubjectId().equals(other.getSubjectId())) return false; + if (!getAccountEmail() + .equals(other.getAccountEmail())) return false; + if (!getSubjectId() + .equals(other.getSubjectId())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -358,95 +322,87 @@ public int hashCode() { } public static com.google.storagetransfer.v1.proto.TransferTypes.GoogleServiceAccount parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.storagetransfer.v1.proto.TransferTypes.GoogleServiceAccount 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.storagetransfer.v1.proto.TransferTypes.GoogleServiceAccount parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.storagetransfer.v1.proto.TransferTypes.GoogleServiceAccount 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.storagetransfer.v1.proto.TransferTypes.GoogleServiceAccount parseFrom( - byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.storagetransfer.v1.proto.TransferTypes.GoogleServiceAccount parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.storagetransfer.v1.proto.TransferTypes.GoogleServiceAccount 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.storagetransfer.v1.proto.TransferTypes.GoogleServiceAccount parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.storagetransfer.v1.proto.TransferTypes.GoogleServiceAccount parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.storagetransfer.v1.proto.TransferTypes.GoogleServiceAccount 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.storagetransfer.v1.proto.TransferTypes.GoogleServiceAccount - parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.storagetransfer.v1.proto.TransferTypes.GoogleServiceAccount parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - - public static com.google.storagetransfer.v1.proto.TransferTypes.GoogleServiceAccount - parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + public static com.google.storagetransfer.v1.proto.TransferTypes.GoogleServiceAccount parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.storagetransfer.v1.proto.TransferTypes.GoogleServiceAccount 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.storagetransfer.v1.proto.TransferTypes.GoogleServiceAccount 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.storagetransfer.v1.proto.TransferTypes.GoogleServiceAccount prototype) { + public static Builder newBuilder(com.google.storagetransfer.v1.proto.TransferTypes.GoogleServiceAccount 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 @@ -456,50 +412,44 @@ protected Builder newBuilderForType( return builder; } /** - * - * *
      * Google service account
      * 
* * Protobuf type {@code google.storagetransfer.v1.GoogleServiceAccount} */ - public static final class Builder - extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.storagetransfer.v1.GoogleServiceAccount) com.google.storagetransfer.v1.proto.TransferTypes.GoogleServiceAccountOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.storagetransfer.v1.proto.TransferTypes - .internal_static_google_storagetransfer_v1_GoogleServiceAccount_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.storagetransfer.v1.proto.TransferTypes.internal_static_google_storagetransfer_v1_GoogleServiceAccount_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.storagetransfer.v1.proto.TransferTypes - .internal_static_google_storagetransfer_v1_GoogleServiceAccount_fieldAccessorTable + return com.google.storagetransfer.v1.proto.TransferTypes.internal_static_google_storagetransfer_v1_GoogleServiceAccount_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.storagetransfer.v1.proto.TransferTypes.GoogleServiceAccount.class, - com.google.storagetransfer.v1.proto.TransferTypes.GoogleServiceAccount.Builder - .class); + com.google.storagetransfer.v1.proto.TransferTypes.GoogleServiceAccount.class, com.google.storagetransfer.v1.proto.TransferTypes.GoogleServiceAccount.Builder.class); } - // Construct using - // com.google.storagetransfer.v1.proto.TransferTypes.GoogleServiceAccount.newBuilder() + // Construct using com.google.storagetransfer.v1.proto.TransferTypes.GoogleServiceAccount.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -511,22 +461,19 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.storagetransfer.v1.proto.TransferTypes - .internal_static_google_storagetransfer_v1_GoogleServiceAccount_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.storagetransfer.v1.proto.TransferTypes.internal_static_google_storagetransfer_v1_GoogleServiceAccount_descriptor; } @java.lang.Override - public com.google.storagetransfer.v1.proto.TransferTypes.GoogleServiceAccount - getDefaultInstanceForType() { - return com.google.storagetransfer.v1.proto.TransferTypes.GoogleServiceAccount - .getDefaultInstance(); + public com.google.storagetransfer.v1.proto.TransferTypes.GoogleServiceAccount getDefaultInstanceForType() { + return com.google.storagetransfer.v1.proto.TransferTypes.GoogleServiceAccount.getDefaultInstance(); } @java.lang.Override public com.google.storagetransfer.v1.proto.TransferTypes.GoogleServiceAccount build() { - com.google.storagetransfer.v1.proto.TransferTypes.GoogleServiceAccount result = - buildPartial(); + com.google.storagetransfer.v1.proto.TransferTypes.GoogleServiceAccount result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } @@ -535,8 +482,7 @@ public com.google.storagetransfer.v1.proto.TransferTypes.GoogleServiceAccount bu @java.lang.Override public com.google.storagetransfer.v1.proto.TransferTypes.GoogleServiceAccount buildPartial() { - com.google.storagetransfer.v1.proto.TransferTypes.GoogleServiceAccount result = - new com.google.storagetransfer.v1.proto.TransferTypes.GoogleServiceAccount(this); + com.google.storagetransfer.v1.proto.TransferTypes.GoogleServiceAccount result = new com.google.storagetransfer.v1.proto.TransferTypes.GoogleServiceAccount(this); result.accountEmail_ = accountEmail_; result.subjectId_ = subjectId_; onBuilt(); @@ -547,54 +493,46 @@ public com.google.storagetransfer.v1.proto.TransferTypes.GoogleServiceAccount bu public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, - int index, - java.lang.Object value) { + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { - if (other - instanceof com.google.storagetransfer.v1.proto.TransferTypes.GoogleServiceAccount) { - return mergeFrom( - (com.google.storagetransfer.v1.proto.TransferTypes.GoogleServiceAccount) other); + if (other instanceof com.google.storagetransfer.v1.proto.TransferTypes.GoogleServiceAccount) { + return mergeFrom((com.google.storagetransfer.v1.proto.TransferTypes.GoogleServiceAccount)other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom( - com.google.storagetransfer.v1.proto.TransferTypes.GoogleServiceAccount other) { - if (other - == com.google.storagetransfer.v1.proto.TransferTypes.GoogleServiceAccount - .getDefaultInstance()) return this; + public Builder mergeFrom(com.google.storagetransfer.v1.proto.TransferTypes.GoogleServiceAccount other) { + if (other == com.google.storagetransfer.v1.proto.TransferTypes.GoogleServiceAccount.getDefaultInstance()) return this; if (!other.getAccountEmail().isEmpty()) { accountEmail_ = other.accountEmail_; onChanged(); @@ -622,9 +560,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.storagetransfer.v1.proto.TransferTypes.GoogleServiceAccount) - e.getUnfinishedMessage(); + parsedMessage = (com.google.storagetransfer.v1.proto.TransferTypes.GoogleServiceAccount) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -636,20 +572,18 @@ public Builder mergeFrom( private java.lang.Object accountEmail_ = ""; /** - * - * *
        * Email address of the service account.
        * 
* * string account_email = 1; - * * @return The accountEmail. */ public java.lang.String getAccountEmail() { java.lang.Object ref = accountEmail_; 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(); accountEmail_ = s; return s; @@ -658,21 +592,20 @@ public java.lang.String getAccountEmail() { } } /** - * - * *
        * Email address of the service account.
        * 
* * string account_email = 1; - * * @return The bytes for accountEmail. */ - public com.google.protobuf.ByteString getAccountEmailBytes() { + public com.google.protobuf.ByteString + getAccountEmailBytes() { java.lang.Object ref = accountEmail_; 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); accountEmail_ = b; return b; } else { @@ -680,61 +613,54 @@ public com.google.protobuf.ByteString getAccountEmailBytes() { } } /** - * - * *
        * Email address of the service account.
        * 
* * string account_email = 1; - * * @param value The accountEmail to set. * @return This builder for chaining. */ - public Builder setAccountEmail(java.lang.String value) { + public Builder setAccountEmail( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + accountEmail_ = value; onChanged(); return this; } /** - * - * *
        * Email address of the service account.
        * 
* * string account_email = 1; - * * @return This builder for chaining. */ public Builder clearAccountEmail() { - + accountEmail_ = getDefaultInstance().getAccountEmail(); onChanged(); return this; } /** - * - * *
        * Email address of the service account.
        * 
* * string account_email = 1; - * * @param value The bytes for accountEmail to set. * @return This builder for chaining. */ - public Builder setAccountEmailBytes(com.google.protobuf.ByteString value) { + public Builder setAccountEmailBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + accountEmail_ = value; onChanged(); return this; @@ -742,20 +668,18 @@ public Builder setAccountEmailBytes(com.google.protobuf.ByteString value) { private java.lang.Object subjectId_ = ""; /** - * - * *
        * Unique identifier for the service account.
        * 
* * string subject_id = 2; - * * @return The subjectId. */ public java.lang.String getSubjectId() { java.lang.Object ref = subjectId_; 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(); subjectId_ = s; return s; @@ -764,21 +688,20 @@ public java.lang.String getSubjectId() { } } /** - * - * *
        * Unique identifier for the service account.
        * 
* * string subject_id = 2; - * * @return The bytes for subjectId. */ - public com.google.protobuf.ByteString getSubjectIdBytes() { + public com.google.protobuf.ByteString + getSubjectIdBytes() { java.lang.Object ref = subjectId_; 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); subjectId_ = b; return b; } else { @@ -786,66 +709,58 @@ public com.google.protobuf.ByteString getSubjectIdBytes() { } } /** - * - * *
        * Unique identifier for the service account.
        * 
* * string subject_id = 2; - * * @param value The subjectId to set. * @return This builder for chaining. */ - public Builder setSubjectId(java.lang.String value) { + public Builder setSubjectId( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + subjectId_ = value; onChanged(); return this; } /** - * - * *
        * Unique identifier for the service account.
        * 
* * string subject_id = 2; - * * @return This builder for chaining. */ public Builder clearSubjectId() { - + subjectId_ = getDefaultInstance().getSubjectId(); onChanged(); return this; } /** - * - * *
        * Unique identifier for the service account.
        * 
* * string subject_id = 2; - * * @param value The bytes for subjectId to set. * @return This builder for chaining. */ - public Builder setSubjectIdBytes(com.google.protobuf.ByteString value) { + public Builder setSubjectIdBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + subjectId_ = value; onChanged(); return this; } - @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -858,33 +773,30 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.storagetransfer.v1.GoogleServiceAccount) } // @@protoc_insertion_point(class_scope:google.storagetransfer.v1.GoogleServiceAccount) - private static final com.google.storagetransfer.v1.proto.TransferTypes.GoogleServiceAccount - DEFAULT_INSTANCE; - + private static final com.google.storagetransfer.v1.proto.TransferTypes.GoogleServiceAccount DEFAULT_INSTANCE; static { - DEFAULT_INSTANCE = - new com.google.storagetransfer.v1.proto.TransferTypes.GoogleServiceAccount(); + DEFAULT_INSTANCE = new com.google.storagetransfer.v1.proto.TransferTypes.GoogleServiceAccount(); } - public static com.google.storagetransfer.v1.proto.TransferTypes.GoogleServiceAccount - getDefaultInstance() { + public static com.google.storagetransfer.v1.proto.TransferTypes.GoogleServiceAccount getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public GoogleServiceAccount parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new GoogleServiceAccount(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public GoogleServiceAccount parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new GoogleServiceAccount(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -896,72 +808,59 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.storagetransfer.v1.proto.TransferTypes.GoogleServiceAccount - getDefaultInstanceForType() { + public com.google.storagetransfer.v1.proto.TransferTypes.GoogleServiceAccount getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } - public interface AwsAccessKeyOrBuilder - extends + public interface AwsAccessKeyOrBuilder extends // @@protoc_insertion_point(interface_extends:google.storagetransfer.v1.AwsAccessKey) com.google.protobuf.MessageOrBuilder { /** - * - * *
      * Required. AWS access key ID.
      * 
* * string access_key_id = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The accessKeyId. */ java.lang.String getAccessKeyId(); /** - * - * *
      * Required. AWS access key ID.
      * 
* * string access_key_id = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for accessKeyId. */ - com.google.protobuf.ByteString getAccessKeyIdBytes(); + com.google.protobuf.ByteString + getAccessKeyIdBytes(); /** - * - * *
      * Required. AWS secret access key. This field is not returned in RPC
      * responses.
      * 
* * string secret_access_key = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The secretAccessKey. */ java.lang.String getSecretAccessKey(); /** - * - * *
      * Required. AWS secret access key. This field is not returned in RPC
      * responses.
      * 
* * string secret_access_key = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for secretAccessKey. */ - com.google.protobuf.ByteString getSecretAccessKeyBytes(); + com.google.protobuf.ByteString + getSecretAccessKeyBytes(); } /** - * - * *
    * AWS access key (see
    * [AWS Security
@@ -972,16 +871,15 @@ public interface AwsAccessKeyOrBuilder
    *
    * Protobuf type {@code google.storagetransfer.v1.AwsAccessKey}
    */
-  public static final class AwsAccessKey extends com.google.protobuf.GeneratedMessageV3
-      implements
+  public static final class AwsAccessKey extends
+      com.google.protobuf.GeneratedMessageV3 implements
       // @@protoc_insertion_point(message_implements:google.storagetransfer.v1.AwsAccessKey)
       AwsAccessKeyOrBuilder {
-    private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
     // Use AwsAccessKey.newBuilder() to construct.
     private AwsAccessKey(com.google.protobuf.GeneratedMessageV3.Builder builder) {
       super(builder);
     }
-
     private AwsAccessKey() {
       accessKeyId_ = "";
       secretAccessKey_ = "";
@@ -989,15 +887,16 @@ private AwsAccessKey() {
 
     @java.lang.Override
     @SuppressWarnings({"unused"})
-    protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+    protected java.lang.Object newInstance(
+        UnusedPrivateParameter unused) {
       return new AwsAccessKey();
     }
 
     @java.lang.Override
-    public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+    public final com.google.protobuf.UnknownFieldSet
+    getUnknownFields() {
       return this.unknownFields;
     }
-
     private AwsAccessKey(
         com.google.protobuf.CodedInputStream input,
         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -1016,27 +915,25 @@ private AwsAccessKey(
             case 0:
               done = true;
               break;
-            case 10:
-              {
-                java.lang.String s = input.readStringRequireUtf8();
+            case 10: {
+              java.lang.String s = input.readStringRequireUtf8();
 
-                accessKeyId_ = s;
-                break;
-              }
-            case 18:
-              {
-                java.lang.String s = input.readStringRequireUtf8();
+              accessKeyId_ = s;
+              break;
+            }
+            case 18: {
+              java.lang.String s = input.readStringRequireUtf8();
 
-                secretAccessKey_ = s;
-                break;
-              }
-            default:
-              {
-                if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
-                  done = true;
-                }
-                break;
+              secretAccessKey_ = s;
+              break;
+            }
+            default: {
+              if (!parseUnknownField(
+                  input, unknownFields, extensionRegistry, tag)) {
+                done = true;
               }
+              break;
+            }
           }
         }
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -1044,39 +941,34 @@ private AwsAccessKey(
       } catch (com.google.protobuf.UninitializedMessageException e) {
         throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
       } catch (java.io.IOException e) {
-        throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
+        throw new com.google.protobuf.InvalidProtocolBufferException(
+            e).setUnfinishedMessage(this);
       } finally {
         this.unknownFields = unknownFields.build();
         makeExtensionsImmutable();
       }
     }
-
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.storagetransfer.v1.proto.TransferTypes
-          .internal_static_google_storagetransfer_v1_AwsAccessKey_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.storagetransfer.v1.proto.TransferTypes.internal_static_google_storagetransfer_v1_AwsAccessKey_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.storagetransfer.v1.proto.TransferTypes
-          .internal_static_google_storagetransfer_v1_AwsAccessKey_fieldAccessorTable
+      return com.google.storagetransfer.v1.proto.TransferTypes.internal_static_google_storagetransfer_v1_AwsAccessKey_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.storagetransfer.v1.proto.TransferTypes.AwsAccessKey.class,
-              com.google.storagetransfer.v1.proto.TransferTypes.AwsAccessKey.Builder.class);
+              com.google.storagetransfer.v1.proto.TransferTypes.AwsAccessKey.class, com.google.storagetransfer.v1.proto.TransferTypes.AwsAccessKey.Builder.class);
     }
 
     public static final int ACCESS_KEY_ID_FIELD_NUMBER = 1;
     private volatile java.lang.Object accessKeyId_;
     /**
-     *
-     *
      * 
      * Required. AWS access key ID.
      * 
* * string access_key_id = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The accessKeyId. */ @java.lang.Override @@ -1085,29 +977,29 @@ public java.lang.String getAccessKeyId() { 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(); accessKeyId_ = s; return s; } } /** - * - * *
      * Required. AWS access key ID.
      * 
* * string access_key_id = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for accessKeyId. */ @java.lang.Override - public com.google.protobuf.ByteString getAccessKeyIdBytes() { + public com.google.protobuf.ByteString + getAccessKeyIdBytes() { java.lang.Object ref = accessKeyId_; 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); accessKeyId_ = b; return b; } else { @@ -1118,15 +1010,12 @@ public com.google.protobuf.ByteString getAccessKeyIdBytes() { public static final int SECRET_ACCESS_KEY_FIELD_NUMBER = 2; private volatile java.lang.Object secretAccessKey_; /** - * - * *
      * Required. AWS secret access key. This field is not returned in RPC
      * responses.
      * 
* * string secret_access_key = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The secretAccessKey. */ @java.lang.Override @@ -1135,30 +1024,30 @@ public java.lang.String getSecretAccessKey() { 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(); secretAccessKey_ = s; return s; } } /** - * - * *
      * Required. AWS secret access key. This field is not returned in RPC
      * responses.
      * 
* * string secret_access_key = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for secretAccessKey. */ @java.lang.Override - public com.google.protobuf.ByteString getSecretAccessKeyBytes() { + public com.google.protobuf.ByteString + getSecretAccessKeyBytes() { java.lang.Object ref = secretAccessKey_; 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); secretAccessKey_ = b; return b; } else { @@ -1167,7 +1056,6 @@ public com.google.protobuf.ByteString getSecretAccessKeyBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -1179,7 +1067,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 (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(accessKeyId_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, accessKeyId_); } @@ -1209,16 +1098,17 @@ 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.storagetransfer.v1.proto.TransferTypes.AwsAccessKey)) { return super.equals(obj); } - com.google.storagetransfer.v1.proto.TransferTypes.AwsAccessKey other = - (com.google.storagetransfer.v1.proto.TransferTypes.AwsAccessKey) obj; + com.google.storagetransfer.v1.proto.TransferTypes.AwsAccessKey other = (com.google.storagetransfer.v1.proto.TransferTypes.AwsAccessKey) obj; - if (!getAccessKeyId().equals(other.getAccessKeyId())) return false; - if (!getSecretAccessKey().equals(other.getSecretAccessKey())) return false; + if (!getAccessKeyId() + .equals(other.getAccessKeyId())) return false; + if (!getSecretAccessKey() + .equals(other.getSecretAccessKey())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -1240,94 +1130,87 @@ public int hashCode() { } public static com.google.storagetransfer.v1.proto.TransferTypes.AwsAccessKey parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.storagetransfer.v1.proto.TransferTypes.AwsAccessKey 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.storagetransfer.v1.proto.TransferTypes.AwsAccessKey parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.storagetransfer.v1.proto.TransferTypes.AwsAccessKey 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.storagetransfer.v1.proto.TransferTypes.AwsAccessKey parseFrom( - byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.storagetransfer.v1.proto.TransferTypes.AwsAccessKey parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.storagetransfer.v1.proto.TransferTypes.AwsAccessKey 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.storagetransfer.v1.proto.TransferTypes.AwsAccessKey parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.storagetransfer.v1.proto.TransferTypes.AwsAccessKey parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.storagetransfer.v1.proto.TransferTypes.AwsAccessKey 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.storagetransfer.v1.proto.TransferTypes.AwsAccessKey parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.storagetransfer.v1.proto.TransferTypes.AwsAccessKey parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.storagetransfer.v1.proto.TransferTypes.AwsAccessKey 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.storagetransfer.v1.proto.TransferTypes.AwsAccessKey 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.storagetransfer.v1.proto.TransferTypes.AwsAccessKey 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.storagetransfer.v1.proto.TransferTypes.AwsAccessKey prototype) { + public static Builder newBuilder(com.google.storagetransfer.v1.proto.TransferTypes.AwsAccessKey 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 @@ -1337,8 +1220,6 @@ protected Builder newBuilderForType( return builder; } /** - * - * *
      * AWS access key (see
      * [AWS Security
@@ -1349,24 +1230,21 @@ protected Builder newBuilderForType(
      *
      * Protobuf type {@code google.storagetransfer.v1.AwsAccessKey}
      */
-    public static final class Builder
-        extends com.google.protobuf.GeneratedMessageV3.Builder
-        implements
+    public static final class Builder extends
+        com.google.protobuf.GeneratedMessageV3.Builder implements
         // @@protoc_insertion_point(builder_implements:google.storagetransfer.v1.AwsAccessKey)
         com.google.storagetransfer.v1.proto.TransferTypes.AwsAccessKeyOrBuilder {
-      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-        return com.google.storagetransfer.v1.proto.TransferTypes
-            .internal_static_google_storagetransfer_v1_AwsAccessKey_descriptor;
+      public static final com.google.protobuf.Descriptors.Descriptor
+          getDescriptor() {
+        return com.google.storagetransfer.v1.proto.TransferTypes.internal_static_google_storagetransfer_v1_AwsAccessKey_descriptor;
       }
 
       @java.lang.Override
       protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
           internalGetFieldAccessorTable() {
-        return com.google.storagetransfer.v1.proto.TransferTypes
-            .internal_static_google_storagetransfer_v1_AwsAccessKey_fieldAccessorTable
+        return com.google.storagetransfer.v1.proto.TransferTypes.internal_static_google_storagetransfer_v1_AwsAccessKey_fieldAccessorTable
             .ensureFieldAccessorsInitialized(
-                com.google.storagetransfer.v1.proto.TransferTypes.AwsAccessKey.class,
-                com.google.storagetransfer.v1.proto.TransferTypes.AwsAccessKey.Builder.class);
+                com.google.storagetransfer.v1.proto.TransferTypes.AwsAccessKey.class, com.google.storagetransfer.v1.proto.TransferTypes.AwsAccessKey.Builder.class);
       }
 
       // Construct using com.google.storagetransfer.v1.proto.TransferTypes.AwsAccessKey.newBuilder()
@@ -1374,15 +1252,16 @@ private Builder() {
         maybeForceBuilderInitialization();
       }
 
-      private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+      private Builder(
+          com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
         super(parent);
         maybeForceBuilderInitialization();
       }
-
       private void maybeForceBuilderInitialization() {
-        if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {}
+        if (com.google.protobuf.GeneratedMessageV3
+                .alwaysUseFieldBuilders) {
+        }
       }
-
       @java.lang.Override
       public Builder clear() {
         super.clear();
@@ -1394,14 +1273,13 @@ public Builder clear() {
       }
 
       @java.lang.Override
-      public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-        return com.google.storagetransfer.v1.proto.TransferTypes
-            .internal_static_google_storagetransfer_v1_AwsAccessKey_descriptor;
+      public com.google.protobuf.Descriptors.Descriptor
+          getDescriptorForType() {
+        return com.google.storagetransfer.v1.proto.TransferTypes.internal_static_google_storagetransfer_v1_AwsAccessKey_descriptor;
       }
 
       @java.lang.Override
-      public com.google.storagetransfer.v1.proto.TransferTypes.AwsAccessKey
-          getDefaultInstanceForType() {
+      public com.google.storagetransfer.v1.proto.TransferTypes.AwsAccessKey getDefaultInstanceForType() {
         return com.google.storagetransfer.v1.proto.TransferTypes.AwsAccessKey.getDefaultInstance();
       }
 
@@ -1416,8 +1294,7 @@ public com.google.storagetransfer.v1.proto.TransferTypes.AwsAccessKey build() {
 
       @java.lang.Override
       public com.google.storagetransfer.v1.proto.TransferTypes.AwsAccessKey buildPartial() {
-        com.google.storagetransfer.v1.proto.TransferTypes.AwsAccessKey result =
-            new com.google.storagetransfer.v1.proto.TransferTypes.AwsAccessKey(this);
+        com.google.storagetransfer.v1.proto.TransferTypes.AwsAccessKey result = new com.google.storagetransfer.v1.proto.TransferTypes.AwsAccessKey(this);
         result.accessKeyId_ = accessKeyId_;
         result.secretAccessKey_ = secretAccessKey_;
         onBuilt();
@@ -1428,52 +1305,46 @@ public com.google.storagetransfer.v1.proto.TransferTypes.AwsAccessKey buildParti
       public Builder clone() {
         return super.clone();
       }
-
       @java.lang.Override
       public Builder setField(
-          com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+          com.google.protobuf.Descriptors.FieldDescriptor field,
+          java.lang.Object value) {
         return super.setField(field, value);
       }
-
       @java.lang.Override
-      public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+      public Builder clearField(
+          com.google.protobuf.Descriptors.FieldDescriptor field) {
         return super.clearField(field);
       }
-
       @java.lang.Override
-      public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+      public Builder clearOneof(
+          com.google.protobuf.Descriptors.OneofDescriptor oneof) {
         return super.clearOneof(oneof);
       }
-
       @java.lang.Override
       public Builder setRepeatedField(
           com.google.protobuf.Descriptors.FieldDescriptor field,
-          int index,
-          java.lang.Object value) {
+          int index, java.lang.Object value) {
         return super.setRepeatedField(field, index, value);
       }
-
       @java.lang.Override
       public Builder addRepeatedField(
-          com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+          com.google.protobuf.Descriptors.FieldDescriptor field,
+          java.lang.Object value) {
         return super.addRepeatedField(field, value);
       }
-
       @java.lang.Override
       public Builder mergeFrom(com.google.protobuf.Message other) {
         if (other instanceof com.google.storagetransfer.v1.proto.TransferTypes.AwsAccessKey) {
-          return mergeFrom((com.google.storagetransfer.v1.proto.TransferTypes.AwsAccessKey) other);
+          return mergeFrom((com.google.storagetransfer.v1.proto.TransferTypes.AwsAccessKey)other);
         } else {
           super.mergeFrom(other);
           return this;
         }
       }
 
-      public Builder mergeFrom(
-          com.google.storagetransfer.v1.proto.TransferTypes.AwsAccessKey other) {
-        if (other
-            == com.google.storagetransfer.v1.proto.TransferTypes.AwsAccessKey.getDefaultInstance())
-          return this;
+      public Builder mergeFrom(com.google.storagetransfer.v1.proto.TransferTypes.AwsAccessKey other) {
+        if (other == com.google.storagetransfer.v1.proto.TransferTypes.AwsAccessKey.getDefaultInstance()) return this;
         if (!other.getAccessKeyId().isEmpty()) {
           accessKeyId_ = other.accessKeyId_;
           onChanged();
@@ -1501,9 +1372,7 @@ public Builder mergeFrom(
         try {
           parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
         } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-          parsedMessage =
-              (com.google.storagetransfer.v1.proto.TransferTypes.AwsAccessKey)
-                  e.getUnfinishedMessage();
+          parsedMessage = (com.google.storagetransfer.v1.proto.TransferTypes.AwsAccessKey) e.getUnfinishedMessage();
           throw e.unwrapIOException();
         } finally {
           if (parsedMessage != null) {
@@ -1515,20 +1384,18 @@ public Builder mergeFrom(
 
       private java.lang.Object accessKeyId_ = "";
       /**
-       *
-       *
        * 
        * Required. AWS access key ID.
        * 
* * string access_key_id = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The accessKeyId. */ public java.lang.String getAccessKeyId() { java.lang.Object ref = accessKeyId_; 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(); accessKeyId_ = s; return s; @@ -1537,21 +1404,20 @@ public java.lang.String getAccessKeyId() { } } /** - * - * *
        * Required. AWS access key ID.
        * 
* * string access_key_id = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for accessKeyId. */ - public com.google.protobuf.ByteString getAccessKeyIdBytes() { + public com.google.protobuf.ByteString + getAccessKeyIdBytes() { java.lang.Object ref = accessKeyId_; 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); accessKeyId_ = b; return b; } else { @@ -1559,61 +1425,54 @@ public com.google.protobuf.ByteString getAccessKeyIdBytes() { } } /** - * - * *
        * Required. AWS access key ID.
        * 
* * string access_key_id = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The accessKeyId to set. * @return This builder for chaining. */ - public Builder setAccessKeyId(java.lang.String value) { + public Builder setAccessKeyId( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + accessKeyId_ = value; onChanged(); return this; } /** - * - * *
        * Required. AWS access key ID.
        * 
* * string access_key_id = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return This builder for chaining. */ public Builder clearAccessKeyId() { - + accessKeyId_ = getDefaultInstance().getAccessKeyId(); onChanged(); return this; } /** - * - * *
        * Required. AWS access key ID.
        * 
* * string access_key_id = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The bytes for accessKeyId to set. * @return This builder for chaining. */ - public Builder setAccessKeyIdBytes(com.google.protobuf.ByteString value) { + public Builder setAccessKeyIdBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + accessKeyId_ = value; onChanged(); return this; @@ -1621,21 +1480,19 @@ public Builder setAccessKeyIdBytes(com.google.protobuf.ByteString value) { private java.lang.Object secretAccessKey_ = ""; /** - * - * *
        * Required. AWS secret access key. This field is not returned in RPC
        * responses.
        * 
* * string secret_access_key = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The secretAccessKey. */ public java.lang.String getSecretAccessKey() { java.lang.Object ref = secretAccessKey_; 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(); secretAccessKey_ = s; return s; @@ -1644,22 +1501,21 @@ public java.lang.String getSecretAccessKey() { } } /** - * - * *
        * Required. AWS secret access key. This field is not returned in RPC
        * responses.
        * 
* * string secret_access_key = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for secretAccessKey. */ - public com.google.protobuf.ByteString getSecretAccessKeyBytes() { + public com.google.protobuf.ByteString + getSecretAccessKeyBytes() { java.lang.Object ref = secretAccessKey_; 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); secretAccessKey_ = b; return b; } else { @@ -1667,69 +1523,61 @@ public com.google.protobuf.ByteString getSecretAccessKeyBytes() { } } /** - * - * *
        * Required. AWS secret access key. This field is not returned in RPC
        * responses.
        * 
* * string secret_access_key = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The secretAccessKey to set. * @return This builder for chaining. */ - public Builder setSecretAccessKey(java.lang.String value) { + public Builder setSecretAccessKey( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + secretAccessKey_ = value; onChanged(); return this; } /** - * - * *
        * Required. AWS secret access key. This field is not returned in RPC
        * responses.
        * 
* * string secret_access_key = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return This builder for chaining. */ public Builder clearSecretAccessKey() { - + secretAccessKey_ = getDefaultInstance().getSecretAccessKey(); onChanged(); return this; } /** - * - * *
        * Required. AWS secret access key. This field is not returned in RPC
        * responses.
        * 
* * string secret_access_key = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The bytes for secretAccessKey to set. * @return This builder for chaining. */ - public Builder setSecretAccessKeyBytes(com.google.protobuf.ByteString value) { + public Builder setSecretAccessKeyBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + secretAccessKey_ = value; onChanged(); return this; } - @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -1742,32 +1590,30 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.storagetransfer.v1.AwsAccessKey) } // @@protoc_insertion_point(class_scope:google.storagetransfer.v1.AwsAccessKey) - private static final com.google.storagetransfer.v1.proto.TransferTypes.AwsAccessKey - DEFAULT_INSTANCE; - + private static final com.google.storagetransfer.v1.proto.TransferTypes.AwsAccessKey DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.storagetransfer.v1.proto.TransferTypes.AwsAccessKey(); } - public static com.google.storagetransfer.v1.proto.TransferTypes.AwsAccessKey - getDefaultInstance() { + public static com.google.storagetransfer.v1.proto.TransferTypes.AwsAccessKey getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public AwsAccessKey parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new AwsAccessKey(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public AwsAccessKey parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new AwsAccessKey(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1779,20 +1625,17 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.storagetransfer.v1.proto.TransferTypes.AwsAccessKey - getDefaultInstanceForType() { + public com.google.storagetransfer.v1.proto.TransferTypes.AwsAccessKey getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } - public interface AzureCredentialsOrBuilder - extends + public interface AzureCredentialsOrBuilder extends // @@protoc_insertion_point(interface_extends:google.storagetransfer.v1.AzureCredentials) com.google.protobuf.MessageOrBuilder { /** - * - * *
      * Required. Azure shared access signature (SAS).
      * For more information about SAS, see
@@ -1802,13 +1645,10 @@ public interface AzureCredentialsOrBuilder
      * 
* * string sas_token = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The sasToken. */ java.lang.String getSasToken(); /** - * - * *
      * Required. Azure shared access signature (SAS).
      * For more information about SAS, see
@@ -1818,14 +1658,12 @@ public interface AzureCredentialsOrBuilder
      * 
* * string sas_token = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for sasToken. */ - com.google.protobuf.ByteString getSasTokenBytes(); + com.google.protobuf.ByteString + getSasTokenBytes(); } /** - * - * *
    * Azure credentials
    * For information on our data retention policy for user credentials, see
@@ -1834,31 +1672,31 @@ public interface AzureCredentialsOrBuilder
    *
    * Protobuf type {@code google.storagetransfer.v1.AzureCredentials}
    */
-  public static final class AzureCredentials extends com.google.protobuf.GeneratedMessageV3
-      implements
+  public static final class AzureCredentials extends
+      com.google.protobuf.GeneratedMessageV3 implements
       // @@protoc_insertion_point(message_implements:google.storagetransfer.v1.AzureCredentials)
       AzureCredentialsOrBuilder {
-    private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
     // Use AzureCredentials.newBuilder() to construct.
     private AzureCredentials(com.google.protobuf.GeneratedMessageV3.Builder builder) {
       super(builder);
     }
-
     private AzureCredentials() {
       sasToken_ = "";
     }
 
     @java.lang.Override
     @SuppressWarnings({"unused"})
-    protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+    protected java.lang.Object newInstance(
+        UnusedPrivateParameter unused) {
       return new AzureCredentials();
     }
 
     @java.lang.Override
-    public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+    public final com.google.protobuf.UnknownFieldSet
+    getUnknownFields() {
       return this.unknownFields;
     }
-
     private AzureCredentials(
         com.google.protobuf.CodedInputStream input,
         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -1877,20 +1715,19 @@ private AzureCredentials(
             case 0:
               done = true;
               break;
-            case 18:
-              {
-                java.lang.String s = input.readStringRequireUtf8();
+            case 18: {
+              java.lang.String s = input.readStringRequireUtf8();
 
-                sasToken_ = s;
-                break;
-              }
-            default:
-              {
-                if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
-                  done = true;
-                }
-                break;
+              sasToken_ = s;
+              break;
+            }
+            default: {
+              if (!parseUnknownField(
+                  input, unknownFields, extensionRegistry, tag)) {
+                done = true;
               }
+              break;
+            }
           }
         }
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -1898,33 +1735,29 @@ private AzureCredentials(
       } catch (com.google.protobuf.UninitializedMessageException e) {
         throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
       } catch (java.io.IOException e) {
-        throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
+        throw new com.google.protobuf.InvalidProtocolBufferException(
+            e).setUnfinishedMessage(this);
       } finally {
         this.unknownFields = unknownFields.build();
         makeExtensionsImmutable();
       }
     }
-
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.storagetransfer.v1.proto.TransferTypes
-          .internal_static_google_storagetransfer_v1_AzureCredentials_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.storagetransfer.v1.proto.TransferTypes.internal_static_google_storagetransfer_v1_AzureCredentials_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.storagetransfer.v1.proto.TransferTypes
-          .internal_static_google_storagetransfer_v1_AzureCredentials_fieldAccessorTable
+      return com.google.storagetransfer.v1.proto.TransferTypes.internal_static_google_storagetransfer_v1_AzureCredentials_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.storagetransfer.v1.proto.TransferTypes.AzureCredentials.class,
-              com.google.storagetransfer.v1.proto.TransferTypes.AzureCredentials.Builder.class);
+              com.google.storagetransfer.v1.proto.TransferTypes.AzureCredentials.class, com.google.storagetransfer.v1.proto.TransferTypes.AzureCredentials.Builder.class);
     }
 
     public static final int SAS_TOKEN_FIELD_NUMBER = 2;
     private volatile java.lang.Object sasToken_;
     /**
-     *
-     *
      * 
      * Required. Azure shared access signature (SAS).
      * For more information about SAS, see
@@ -1934,7 +1767,6 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
      * 
* * string sas_token = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The sasToken. */ @java.lang.Override @@ -1943,15 +1775,14 @@ public java.lang.String getSasToken() { 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(); sasToken_ = s; return s; } } /** - * - * *
      * Required. Azure shared access signature (SAS).
      * For more information about SAS, see
@@ -1961,15 +1792,16 @@ public java.lang.String getSasToken() {
      * 
* * string sas_token = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for sasToken. */ @java.lang.Override - public com.google.protobuf.ByteString getSasTokenBytes() { + public com.google.protobuf.ByteString + getSasTokenBytes() { java.lang.Object ref = sasToken_; 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); sasToken_ = b; return b; } else { @@ -1978,7 +1810,6 @@ public com.google.protobuf.ByteString getSasTokenBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -1990,7 +1821,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 (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(sasToken_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 2, sasToken_); } @@ -2014,15 +1846,15 @@ 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.storagetransfer.v1.proto.TransferTypes.AzureCredentials)) { return super.equals(obj); } - com.google.storagetransfer.v1.proto.TransferTypes.AzureCredentials other = - (com.google.storagetransfer.v1.proto.TransferTypes.AzureCredentials) obj; + com.google.storagetransfer.v1.proto.TransferTypes.AzureCredentials other = (com.google.storagetransfer.v1.proto.TransferTypes.AzureCredentials) obj; - if (!getSasToken().equals(other.getSasToken())) return false; + if (!getSasToken() + .equals(other.getSasToken())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -2042,95 +1874,87 @@ public int hashCode() { } public static com.google.storagetransfer.v1.proto.TransferTypes.AzureCredentials parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.storagetransfer.v1.proto.TransferTypes.AzureCredentials 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.storagetransfer.v1.proto.TransferTypes.AzureCredentials parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.storagetransfer.v1.proto.TransferTypes.AzureCredentials 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.storagetransfer.v1.proto.TransferTypes.AzureCredentials parseFrom( - byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.storagetransfer.v1.proto.TransferTypes.AzureCredentials parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.storagetransfer.v1.proto.TransferTypes.AzureCredentials 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.storagetransfer.v1.proto.TransferTypes.AzureCredentials parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.storagetransfer.v1.proto.TransferTypes.AzureCredentials parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.storagetransfer.v1.proto.TransferTypes.AzureCredentials 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.storagetransfer.v1.proto.TransferTypes.AzureCredentials - parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.storagetransfer.v1.proto.TransferTypes.AzureCredentials parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - - public static com.google.storagetransfer.v1.proto.TransferTypes.AzureCredentials - parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + public static com.google.storagetransfer.v1.proto.TransferTypes.AzureCredentials parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.storagetransfer.v1.proto.TransferTypes.AzureCredentials 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.storagetransfer.v1.proto.TransferTypes.AzureCredentials 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.storagetransfer.v1.proto.TransferTypes.AzureCredentials prototype) { + public static Builder newBuilder(com.google.storagetransfer.v1.proto.TransferTypes.AzureCredentials 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 @@ -2140,8 +1964,6 @@ protected Builder newBuilderForType( return builder; } /** - * - * *
      * Azure credentials
      * For information on our data retention policy for user credentials, see
@@ -2150,41 +1972,38 @@ protected Builder newBuilderForType(
      *
      * Protobuf type {@code google.storagetransfer.v1.AzureCredentials}
      */
-    public static final class Builder
-        extends com.google.protobuf.GeneratedMessageV3.Builder
-        implements
+    public static final class Builder extends
+        com.google.protobuf.GeneratedMessageV3.Builder implements
         // @@protoc_insertion_point(builder_implements:google.storagetransfer.v1.AzureCredentials)
         com.google.storagetransfer.v1.proto.TransferTypes.AzureCredentialsOrBuilder {
-      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-        return com.google.storagetransfer.v1.proto.TransferTypes
-            .internal_static_google_storagetransfer_v1_AzureCredentials_descriptor;
+      public static final com.google.protobuf.Descriptors.Descriptor
+          getDescriptor() {
+        return com.google.storagetransfer.v1.proto.TransferTypes.internal_static_google_storagetransfer_v1_AzureCredentials_descriptor;
       }
 
       @java.lang.Override
       protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
           internalGetFieldAccessorTable() {
-        return com.google.storagetransfer.v1.proto.TransferTypes
-            .internal_static_google_storagetransfer_v1_AzureCredentials_fieldAccessorTable
+        return com.google.storagetransfer.v1.proto.TransferTypes.internal_static_google_storagetransfer_v1_AzureCredentials_fieldAccessorTable
             .ensureFieldAccessorsInitialized(
-                com.google.storagetransfer.v1.proto.TransferTypes.AzureCredentials.class,
-                com.google.storagetransfer.v1.proto.TransferTypes.AzureCredentials.Builder.class);
+                com.google.storagetransfer.v1.proto.TransferTypes.AzureCredentials.class, com.google.storagetransfer.v1.proto.TransferTypes.AzureCredentials.Builder.class);
       }
 
-      // Construct using
-      // com.google.storagetransfer.v1.proto.TransferTypes.AzureCredentials.newBuilder()
+      // Construct using com.google.storagetransfer.v1.proto.TransferTypes.AzureCredentials.newBuilder()
       private Builder() {
         maybeForceBuilderInitialization();
       }
 
-      private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+      private Builder(
+          com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
         super(parent);
         maybeForceBuilderInitialization();
       }
-
       private void maybeForceBuilderInitialization() {
-        if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {}
+        if (com.google.protobuf.GeneratedMessageV3
+                .alwaysUseFieldBuilders) {
+        }
       }
-
       @java.lang.Override
       public Builder clear() {
         super.clear();
@@ -2194,16 +2013,14 @@ public Builder clear() {
       }
 
       @java.lang.Override
-      public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-        return com.google.storagetransfer.v1.proto.TransferTypes
-            .internal_static_google_storagetransfer_v1_AzureCredentials_descriptor;
+      public com.google.protobuf.Descriptors.Descriptor
+          getDescriptorForType() {
+        return com.google.storagetransfer.v1.proto.TransferTypes.internal_static_google_storagetransfer_v1_AzureCredentials_descriptor;
       }
 
       @java.lang.Override
-      public com.google.storagetransfer.v1.proto.TransferTypes.AzureCredentials
-          getDefaultInstanceForType() {
-        return com.google.storagetransfer.v1.proto.TransferTypes.AzureCredentials
-            .getDefaultInstance();
+      public com.google.storagetransfer.v1.proto.TransferTypes.AzureCredentials getDefaultInstanceForType() {
+        return com.google.storagetransfer.v1.proto.TransferTypes.AzureCredentials.getDefaultInstance();
       }
 
       @java.lang.Override
@@ -2217,8 +2034,7 @@ public com.google.storagetransfer.v1.proto.TransferTypes.AzureCredentials build(
 
       @java.lang.Override
       public com.google.storagetransfer.v1.proto.TransferTypes.AzureCredentials buildPartial() {
-        com.google.storagetransfer.v1.proto.TransferTypes.AzureCredentials result =
-            new com.google.storagetransfer.v1.proto.TransferTypes.AzureCredentials(this);
+        com.google.storagetransfer.v1.proto.TransferTypes.AzureCredentials result = new com.google.storagetransfer.v1.proto.TransferTypes.AzureCredentials(this);
         result.sasToken_ = sasToken_;
         onBuilt();
         return result;
@@ -2228,53 +2044,46 @@ public com.google.storagetransfer.v1.proto.TransferTypes.AzureCredentials buildP
       public Builder clone() {
         return super.clone();
       }
-
       @java.lang.Override
       public Builder setField(
-          com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+          com.google.protobuf.Descriptors.FieldDescriptor field,
+          java.lang.Object value) {
         return super.setField(field, value);
       }
-
       @java.lang.Override
-      public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+      public Builder clearField(
+          com.google.protobuf.Descriptors.FieldDescriptor field) {
         return super.clearField(field);
       }
-
       @java.lang.Override
-      public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+      public Builder clearOneof(
+          com.google.protobuf.Descriptors.OneofDescriptor oneof) {
         return super.clearOneof(oneof);
       }
-
       @java.lang.Override
       public Builder setRepeatedField(
           com.google.protobuf.Descriptors.FieldDescriptor field,
-          int index,
-          java.lang.Object value) {
+          int index, java.lang.Object value) {
         return super.setRepeatedField(field, index, value);
       }
-
       @java.lang.Override
       public Builder addRepeatedField(
-          com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+          com.google.protobuf.Descriptors.FieldDescriptor field,
+          java.lang.Object value) {
         return super.addRepeatedField(field, value);
       }
-
       @java.lang.Override
       public Builder mergeFrom(com.google.protobuf.Message other) {
         if (other instanceof com.google.storagetransfer.v1.proto.TransferTypes.AzureCredentials) {
-          return mergeFrom(
-              (com.google.storagetransfer.v1.proto.TransferTypes.AzureCredentials) other);
+          return mergeFrom((com.google.storagetransfer.v1.proto.TransferTypes.AzureCredentials)other);
         } else {
           super.mergeFrom(other);
           return this;
         }
       }
 
-      public Builder mergeFrom(
-          com.google.storagetransfer.v1.proto.TransferTypes.AzureCredentials other) {
-        if (other
-            == com.google.storagetransfer.v1.proto.TransferTypes.AzureCredentials
-                .getDefaultInstance()) return this;
+      public Builder mergeFrom(com.google.storagetransfer.v1.proto.TransferTypes.AzureCredentials other) {
+        if (other == com.google.storagetransfer.v1.proto.TransferTypes.AzureCredentials.getDefaultInstance()) return this;
         if (!other.getSasToken().isEmpty()) {
           sasToken_ = other.sasToken_;
           onChanged();
@@ -2298,9 +2107,7 @@ public Builder mergeFrom(
         try {
           parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
         } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-          parsedMessage =
-              (com.google.storagetransfer.v1.proto.TransferTypes.AzureCredentials)
-                  e.getUnfinishedMessage();
+          parsedMessage = (com.google.storagetransfer.v1.proto.TransferTypes.AzureCredentials) e.getUnfinishedMessage();
           throw e.unwrapIOException();
         } finally {
           if (parsedMessage != null) {
@@ -2312,8 +2119,6 @@ public Builder mergeFrom(
 
       private java.lang.Object sasToken_ = "";
       /**
-       *
-       *
        * 
        * Required. Azure shared access signature (SAS).
        * For more information about SAS, see
@@ -2323,13 +2128,13 @@ public Builder mergeFrom(
        * 
* * string sas_token = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The sasToken. */ public java.lang.String getSasToken() { java.lang.Object ref = sasToken_; 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(); sasToken_ = s; return s; @@ -2338,8 +2143,6 @@ public java.lang.String getSasToken() { } } /** - * - * *
        * Required. Azure shared access signature (SAS).
        * For more information about SAS, see
@@ -2349,14 +2152,15 @@ public java.lang.String getSasToken() {
        * 
* * string sas_token = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for sasToken. */ - public com.google.protobuf.ByteString getSasTokenBytes() { + public com.google.protobuf.ByteString + getSasTokenBytes() { java.lang.Object ref = sasToken_; 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); sasToken_ = b; return b; } else { @@ -2364,8 +2168,6 @@ public com.google.protobuf.ByteString getSasTokenBytes() { } } /** - * - * *
        * Required. Azure shared access signature (SAS).
        * For more information about SAS, see
@@ -2375,22 +2177,20 @@ public com.google.protobuf.ByteString getSasTokenBytes() {
        * 
* * string sas_token = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The sasToken to set. * @return This builder for chaining. */ - public Builder setSasToken(java.lang.String value) { + public Builder setSasToken( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + sasToken_ = value; onChanged(); return this; } /** - * - * *
        * Required. Azure shared access signature (SAS).
        * For more information about SAS, see
@@ -2400,18 +2200,15 @@ public Builder setSasToken(java.lang.String value) {
        * 
* * string sas_token = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return This builder for chaining. */ public Builder clearSasToken() { - + sasToken_ = getDefaultInstance().getSasToken(); onChanged(); return this; } /** - * - * *
        * Required. Azure shared access signature (SAS).
        * For more information about SAS, see
@@ -2421,21 +2218,20 @@ public Builder clearSasToken() {
        * 
* * string sas_token = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The bytes for sasToken to set. * @return This builder for chaining. */ - public Builder setSasTokenBytes(com.google.protobuf.ByteString value) { + public Builder setSasTokenBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + sasToken_ = value; onChanged(); return this; } - @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -2448,32 +2244,30 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.storagetransfer.v1.AzureCredentials) } // @@protoc_insertion_point(class_scope:google.storagetransfer.v1.AzureCredentials) - private static final com.google.storagetransfer.v1.proto.TransferTypes.AzureCredentials - DEFAULT_INSTANCE; - + private static final com.google.storagetransfer.v1.proto.TransferTypes.AzureCredentials DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.storagetransfer.v1.proto.TransferTypes.AzureCredentials(); } - public static com.google.storagetransfer.v1.proto.TransferTypes.AzureCredentials - getDefaultInstance() { + public static com.google.storagetransfer.v1.proto.TransferTypes.AzureCredentials getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public AzureCredentials parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new AzureCredentials(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public AzureCredentials parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new AzureCredentials(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -2485,20 +2279,17 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.storagetransfer.v1.proto.TransferTypes.AzureCredentials - getDefaultInstanceForType() { + public com.google.storagetransfer.v1.proto.TransferTypes.AzureCredentials getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } - public interface ObjectConditionsOrBuilder - extends + public interface ObjectConditionsOrBuilder extends // @@protoc_insertion_point(interface_extends:google.storagetransfer.v1.ObjectConditions) com.google.protobuf.MessageOrBuilder { /** - * - * *
      * Ensures that objects are not transferred until a specific minimum time
      * has elapsed after the "last modification time". When a
@@ -2511,13 +2302,10 @@ public interface ObjectConditionsOrBuilder
      * 
* * .google.protobuf.Duration min_time_elapsed_since_last_modification = 1; - * * @return Whether the minTimeElapsedSinceLastModification field is set. */ boolean hasMinTimeElapsedSinceLastModification(); /** - * - * *
      * Ensures that objects are not transferred until a specific minimum time
      * has elapsed after the "last modification time". When a
@@ -2530,13 +2318,10 @@ public interface ObjectConditionsOrBuilder
      * 
* * .google.protobuf.Duration min_time_elapsed_since_last_modification = 1; - * * @return The minTimeElapsedSinceLastModification. */ com.google.protobuf.Duration getMinTimeElapsedSinceLastModification(); /** - * - * *
      * Ensures that objects are not transferred until a specific minimum time
      * has elapsed after the "last modification time". When a
@@ -2553,8 +2338,6 @@ public interface ObjectConditionsOrBuilder
     com.google.protobuf.DurationOrBuilder getMinTimeElapsedSinceLastModificationOrBuilder();
 
     /**
-     *
-     *
      * 
      * Ensures that objects are not transferred if a specific maximum time
      * has elapsed since the "last modification time".
@@ -2567,13 +2350,10 @@ public interface ObjectConditionsOrBuilder
      * 
* * .google.protobuf.Duration max_time_elapsed_since_last_modification = 2; - * * @return Whether the maxTimeElapsedSinceLastModification field is set. */ boolean hasMaxTimeElapsedSinceLastModification(); /** - * - * *
      * Ensures that objects are not transferred if a specific maximum time
      * has elapsed since the "last modification time".
@@ -2586,13 +2366,10 @@ public interface ObjectConditionsOrBuilder
      * 
* * .google.protobuf.Duration max_time_elapsed_since_last_modification = 2; - * * @return The maxTimeElapsedSinceLastModification. */ com.google.protobuf.Duration getMaxTimeElapsedSinceLastModification(); /** - * - * *
      * Ensures that objects are not transferred if a specific maximum time
      * has elapsed since the "last modification time".
@@ -2609,8 +2386,6 @@ public interface ObjectConditionsOrBuilder
     com.google.protobuf.DurationOrBuilder getMaxTimeElapsedSinceLastModificationOrBuilder();
 
     /**
-     *
-     *
      * 
      * If you specify `include_prefixes`, Storage Transfer Service uses the items
      * in the `include_prefixes` array to determine which objects to include in a
@@ -2636,13 +2411,11 @@ public interface ObjectConditionsOrBuilder
      * 
* * repeated string include_prefixes = 3; - * * @return A list containing the includePrefixes. */ - java.util.List getIncludePrefixesList(); + java.util.List + getIncludePrefixesList(); /** - * - * *
      * If you specify `include_prefixes`, Storage Transfer Service uses the items
      * in the `include_prefixes` array to determine which objects to include in a
@@ -2668,13 +2441,10 @@ public interface ObjectConditionsOrBuilder
      * 
* * repeated string include_prefixes = 3; - * * @return The count of includePrefixes. */ int getIncludePrefixesCount(); /** - * - * *
      * If you specify `include_prefixes`, Storage Transfer Service uses the items
      * in the `include_prefixes` array to determine which objects to include in a
@@ -2700,14 +2470,11 @@ public interface ObjectConditionsOrBuilder
      * 
* * repeated string include_prefixes = 3; - * * @param index The index of the element to return. * @return The includePrefixes at the given index. */ java.lang.String getIncludePrefixes(int index); /** - * - * *
      * If you specify `include_prefixes`, Storage Transfer Service uses the items
      * in the `include_prefixes` array to determine which objects to include in a
@@ -2733,15 +2500,13 @@ public interface ObjectConditionsOrBuilder
      * 
* * repeated string include_prefixes = 3; - * * @param index The index of the value to return. * @return The bytes of the includePrefixes at the given index. */ - com.google.protobuf.ByteString getIncludePrefixesBytes(int index); + com.google.protobuf.ByteString + getIncludePrefixesBytes(int index); /** - * - * *
      * If you specify `exclude_prefixes`, Storage Transfer Service uses the items
      * in the `exclude_prefixes` array to determine which objects to exclude from
@@ -2767,13 +2532,11 @@ public interface ObjectConditionsOrBuilder
      * 
* * repeated string exclude_prefixes = 4; - * * @return A list containing the excludePrefixes. */ - java.util.List getExcludePrefixesList(); + java.util.List + getExcludePrefixesList(); /** - * - * *
      * If you specify `exclude_prefixes`, Storage Transfer Service uses the items
      * in the `exclude_prefixes` array to determine which objects to exclude from
@@ -2799,13 +2562,10 @@ public interface ObjectConditionsOrBuilder
      * 
* * repeated string exclude_prefixes = 4; - * * @return The count of excludePrefixes. */ int getExcludePrefixesCount(); /** - * - * *
      * If you specify `exclude_prefixes`, Storage Transfer Service uses the items
      * in the `exclude_prefixes` array to determine which objects to exclude from
@@ -2831,14 +2591,11 @@ public interface ObjectConditionsOrBuilder
      * 
* * repeated string exclude_prefixes = 4; - * * @param index The index of the element to return. * @return The excludePrefixes at the given index. */ java.lang.String getExcludePrefixes(int index); /** - * - * *
      * If you specify `exclude_prefixes`, Storage Transfer Service uses the items
      * in the `exclude_prefixes` array to determine which objects to exclude from
@@ -2864,15 +2621,13 @@ public interface ObjectConditionsOrBuilder
      * 
* * repeated string exclude_prefixes = 4; - * * @param index The index of the value to return. * @return The bytes of the excludePrefixes at the given index. */ - com.google.protobuf.ByteString getExcludePrefixesBytes(int index); + com.google.protobuf.ByteString + getExcludePrefixesBytes(int index); /** - * - * *
      * If specified, only objects with a "last modification time" on or after
      * this timestamp and objects that don't have a "last modification time" are
@@ -2886,13 +2641,10 @@ public interface ObjectConditionsOrBuilder
      * 
* * .google.protobuf.Timestamp last_modified_since = 5; - * * @return Whether the lastModifiedSince field is set. */ boolean hasLastModifiedSince(); /** - * - * *
      * If specified, only objects with a "last modification time" on or after
      * this timestamp and objects that don't have a "last modification time" are
@@ -2906,13 +2658,10 @@ public interface ObjectConditionsOrBuilder
      * 
* * .google.protobuf.Timestamp last_modified_since = 5; - * * @return The lastModifiedSince. */ com.google.protobuf.Timestamp getLastModifiedSince(); /** - * - * *
      * If specified, only objects with a "last modification time" on or after
      * this timestamp and objects that don't have a "last modification time" are
@@ -2930,8 +2679,6 @@ public interface ObjectConditionsOrBuilder
     com.google.protobuf.TimestampOrBuilder getLastModifiedSinceOrBuilder();
 
     /**
-     *
-     *
      * 
      * If specified, only objects with a "last modification time" before this
      * timestamp and objects that don't have a "last modification time" are
@@ -2939,13 +2686,10 @@ public interface ObjectConditionsOrBuilder
      * 
* * .google.protobuf.Timestamp last_modified_before = 6; - * * @return Whether the lastModifiedBefore field is set. */ boolean hasLastModifiedBefore(); /** - * - * *
      * If specified, only objects with a "last modification time" before this
      * timestamp and objects that don't have a "last modification time" are
@@ -2953,13 +2697,10 @@ public interface ObjectConditionsOrBuilder
      * 
* * .google.protobuf.Timestamp last_modified_before = 6; - * * @return The lastModifiedBefore. */ com.google.protobuf.Timestamp getLastModifiedBefore(); /** - * - * *
      * If specified, only objects with a "last modification time" before this
      * timestamp and objects that don't have a "last modification time" are
@@ -2971,8 +2712,6 @@ public interface ObjectConditionsOrBuilder
     com.google.protobuf.TimestampOrBuilder getLastModifiedBeforeOrBuilder();
   }
   /**
-   *
-   *
    * 
    * Conditions that determine which objects are transferred. Applies only
    * to Cloud Data Sources such as S3, Azure, and Cloud Storage.
@@ -2986,16 +2725,15 @@ public interface ObjectConditionsOrBuilder
    *
    * Protobuf type {@code google.storagetransfer.v1.ObjectConditions}
    */
-  public static final class ObjectConditions extends com.google.protobuf.GeneratedMessageV3
-      implements
+  public static final class ObjectConditions extends
+      com.google.protobuf.GeneratedMessageV3 implements
       // @@protoc_insertion_point(message_implements:google.storagetransfer.v1.ObjectConditions)
       ObjectConditionsOrBuilder {
-    private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
     // Use ObjectConditions.newBuilder() to construct.
     private ObjectConditions(com.google.protobuf.GeneratedMessageV3.Builder builder) {
       super(builder);
     }
-
     private ObjectConditions() {
       includePrefixes_ = com.google.protobuf.LazyStringArrayList.EMPTY;
       excludePrefixes_ = com.google.protobuf.LazyStringArrayList.EMPTY;
@@ -3003,15 +2741,16 @@ private ObjectConditions() {
 
     @java.lang.Override
     @SuppressWarnings({"unused"})
-    protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+    protected java.lang.Object newInstance(
+        UnusedPrivateParameter unused) {
       return new ObjectConditions();
     }
 
     @java.lang.Override
-    public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+    public final com.google.protobuf.UnknownFieldSet
+    getUnknownFields() {
       return this.unknownFields;
     }
-
     private ObjectConditions(
         com.google.protobuf.CodedInputStream input,
         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -3031,93 +2770,83 @@ private ObjectConditions(
             case 0:
               done = true;
               break;
-            case 10:
-              {
-                com.google.protobuf.Duration.Builder subBuilder = null;
-                if (minTimeElapsedSinceLastModification_ != null) {
-                  subBuilder = minTimeElapsedSinceLastModification_.toBuilder();
-                }
-                minTimeElapsedSinceLastModification_ =
-                    input.readMessage(com.google.protobuf.Duration.parser(), extensionRegistry);
-                if (subBuilder != null) {
-                  subBuilder.mergeFrom(minTimeElapsedSinceLastModification_);
-                  minTimeElapsedSinceLastModification_ = subBuilder.buildPartial();
-                }
+            case 10: {
+              com.google.protobuf.Duration.Builder subBuilder = null;
+              if (minTimeElapsedSinceLastModification_ != null) {
+                subBuilder = minTimeElapsedSinceLastModification_.toBuilder();
+              }
+              minTimeElapsedSinceLastModification_ = input.readMessage(com.google.protobuf.Duration.parser(), extensionRegistry);
+              if (subBuilder != null) {
+                subBuilder.mergeFrom(minTimeElapsedSinceLastModification_);
+                minTimeElapsedSinceLastModification_ = subBuilder.buildPartial();
+              }
 
-                break;
+              break;
+            }
+            case 18: {
+              com.google.protobuf.Duration.Builder subBuilder = null;
+              if (maxTimeElapsedSinceLastModification_ != null) {
+                subBuilder = maxTimeElapsedSinceLastModification_.toBuilder();
+              }
+              maxTimeElapsedSinceLastModification_ = input.readMessage(com.google.protobuf.Duration.parser(), extensionRegistry);
+              if (subBuilder != null) {
+                subBuilder.mergeFrom(maxTimeElapsedSinceLastModification_);
+                maxTimeElapsedSinceLastModification_ = subBuilder.buildPartial();
               }
-            case 18:
-              {
-                com.google.protobuf.Duration.Builder subBuilder = null;
-                if (maxTimeElapsedSinceLastModification_ != null) {
-                  subBuilder = maxTimeElapsedSinceLastModification_.toBuilder();
-                }
-                maxTimeElapsedSinceLastModification_ =
-                    input.readMessage(com.google.protobuf.Duration.parser(), extensionRegistry);
-                if (subBuilder != null) {
-                  subBuilder.mergeFrom(maxTimeElapsedSinceLastModification_);
-                  maxTimeElapsedSinceLastModification_ = subBuilder.buildPartial();
-                }
 
-                break;
+              break;
+            }
+            case 26: {
+              java.lang.String s = input.readStringRequireUtf8();
+              if (!((mutable_bitField0_ & 0x00000001) != 0)) {
+                includePrefixes_ = new com.google.protobuf.LazyStringArrayList();
+                mutable_bitField0_ |= 0x00000001;
               }
-            case 26:
-              {
-                java.lang.String s = input.readStringRequireUtf8();
-                if (!((mutable_bitField0_ & 0x00000001) != 0)) {
-                  includePrefixes_ = new com.google.protobuf.LazyStringArrayList();
-                  mutable_bitField0_ |= 0x00000001;
-                }
-                includePrefixes_.add(s);
-                break;
+              includePrefixes_.add(s);
+              break;
+            }
+            case 34: {
+              java.lang.String s = input.readStringRequireUtf8();
+              if (!((mutable_bitField0_ & 0x00000002) != 0)) {
+                excludePrefixes_ = new com.google.protobuf.LazyStringArrayList();
+                mutable_bitField0_ |= 0x00000002;
               }
-            case 34:
-              {
-                java.lang.String s = input.readStringRequireUtf8();
-                if (!((mutable_bitField0_ & 0x00000002) != 0)) {
-                  excludePrefixes_ = new com.google.protobuf.LazyStringArrayList();
-                  mutable_bitField0_ |= 0x00000002;
-                }
-                excludePrefixes_.add(s);
-                break;
+              excludePrefixes_.add(s);
+              break;
+            }
+            case 42: {
+              com.google.protobuf.Timestamp.Builder subBuilder = null;
+              if (lastModifiedSince_ != null) {
+                subBuilder = lastModifiedSince_.toBuilder();
               }
-            case 42:
-              {
-                com.google.protobuf.Timestamp.Builder subBuilder = null;
-                if (lastModifiedSince_ != null) {
-                  subBuilder = lastModifiedSince_.toBuilder();
-                }
-                lastModifiedSince_ =
-                    input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry);
-                if (subBuilder != null) {
-                  subBuilder.mergeFrom(lastModifiedSince_);
-                  lastModifiedSince_ = subBuilder.buildPartial();
-                }
-
-                break;
+              lastModifiedSince_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry);
+              if (subBuilder != null) {
+                subBuilder.mergeFrom(lastModifiedSince_);
+                lastModifiedSince_ = subBuilder.buildPartial();
               }
-            case 50:
-              {
-                com.google.protobuf.Timestamp.Builder subBuilder = null;
-                if (lastModifiedBefore_ != null) {
-                  subBuilder = lastModifiedBefore_.toBuilder();
-                }
-                lastModifiedBefore_ =
-                    input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry);
-                if (subBuilder != null) {
-                  subBuilder.mergeFrom(lastModifiedBefore_);
-                  lastModifiedBefore_ = subBuilder.buildPartial();
-                }
 
-                break;
+              break;
+            }
+            case 50: {
+              com.google.protobuf.Timestamp.Builder subBuilder = null;
+              if (lastModifiedBefore_ != null) {
+                subBuilder = lastModifiedBefore_.toBuilder();
               }
-            default:
-              {
-                if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
-                  done = true;
-                }
-                break;
+              lastModifiedBefore_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry);
+              if (subBuilder != null) {
+                subBuilder.mergeFrom(lastModifiedBefore_);
+                lastModifiedBefore_ = subBuilder.buildPartial();
               }
+
+              break;
+            }
+            default: {
+              if (!parseUnknownField(
+                  input, unknownFields, extensionRegistry, tag)) {
+                done = true;
+              }
+              break;
+            }
           }
         }
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -3125,7 +2854,8 @@ private ObjectConditions(
       } catch (com.google.protobuf.UninitializedMessageException e) {
         throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
       } catch (java.io.IOException e) {
-        throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
+        throw new com.google.protobuf.InvalidProtocolBufferException(
+            e).setUnfinishedMessage(this);
       } finally {
         if (((mutable_bitField0_ & 0x00000001) != 0)) {
           includePrefixes_ = includePrefixes_.getUnmodifiableView();
@@ -3137,27 +2867,22 @@ private ObjectConditions(
         makeExtensionsImmutable();
       }
     }
-
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.storagetransfer.v1.proto.TransferTypes
-          .internal_static_google_storagetransfer_v1_ObjectConditions_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.storagetransfer.v1.proto.TransferTypes.internal_static_google_storagetransfer_v1_ObjectConditions_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.storagetransfer.v1.proto.TransferTypes
-          .internal_static_google_storagetransfer_v1_ObjectConditions_fieldAccessorTable
+      return com.google.storagetransfer.v1.proto.TransferTypes.internal_static_google_storagetransfer_v1_ObjectConditions_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.storagetransfer.v1.proto.TransferTypes.ObjectConditions.class,
-              com.google.storagetransfer.v1.proto.TransferTypes.ObjectConditions.Builder.class);
+              com.google.storagetransfer.v1.proto.TransferTypes.ObjectConditions.class, com.google.storagetransfer.v1.proto.TransferTypes.ObjectConditions.Builder.class);
     }
 
     public static final int MIN_TIME_ELAPSED_SINCE_LAST_MODIFICATION_FIELD_NUMBER = 1;
     private com.google.protobuf.Duration minTimeElapsedSinceLastModification_;
     /**
-     *
-     *
      * 
      * Ensures that objects are not transferred until a specific minimum time
      * has elapsed after the "last modification time". When a
@@ -3170,7 +2895,6 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
      * 
* * .google.protobuf.Duration min_time_elapsed_since_last_modification = 1; - * * @return Whether the minTimeElapsedSinceLastModification field is set. */ @java.lang.Override @@ -3178,8 +2902,6 @@ public boolean hasMinTimeElapsedSinceLastModification() { return minTimeElapsedSinceLastModification_ != null; } /** - * - * *
      * Ensures that objects are not transferred until a specific minimum time
      * has elapsed after the "last modification time". When a
@@ -3192,18 +2914,13 @@ public boolean hasMinTimeElapsedSinceLastModification() {
      * 
* * .google.protobuf.Duration min_time_elapsed_since_last_modification = 1; - * * @return The minTimeElapsedSinceLastModification. */ @java.lang.Override public com.google.protobuf.Duration getMinTimeElapsedSinceLastModification() { - return minTimeElapsedSinceLastModification_ == null - ? com.google.protobuf.Duration.getDefaultInstance() - : minTimeElapsedSinceLastModification_; + return minTimeElapsedSinceLastModification_ == null ? com.google.protobuf.Duration.getDefaultInstance() : minTimeElapsedSinceLastModification_; } /** - * - * *
      * Ensures that objects are not transferred until a specific minimum time
      * has elapsed after the "last modification time". When a
@@ -3225,8 +2942,6 @@ public com.google.protobuf.DurationOrBuilder getMinTimeElapsedSinceLastModificat
     public static final int MAX_TIME_ELAPSED_SINCE_LAST_MODIFICATION_FIELD_NUMBER = 2;
     private com.google.protobuf.Duration maxTimeElapsedSinceLastModification_;
     /**
-     *
-     *
      * 
      * Ensures that objects are not transferred if a specific maximum time
      * has elapsed since the "last modification time".
@@ -3239,7 +2954,6 @@ public com.google.protobuf.DurationOrBuilder getMinTimeElapsedSinceLastModificat
      * 
* * .google.protobuf.Duration max_time_elapsed_since_last_modification = 2; - * * @return Whether the maxTimeElapsedSinceLastModification field is set. */ @java.lang.Override @@ -3247,8 +2961,6 @@ public boolean hasMaxTimeElapsedSinceLastModification() { return maxTimeElapsedSinceLastModification_ != null; } /** - * - * *
      * Ensures that objects are not transferred if a specific maximum time
      * has elapsed since the "last modification time".
@@ -3261,18 +2973,13 @@ public boolean hasMaxTimeElapsedSinceLastModification() {
      * 
* * .google.protobuf.Duration max_time_elapsed_since_last_modification = 2; - * * @return The maxTimeElapsedSinceLastModification. */ @java.lang.Override public com.google.protobuf.Duration getMaxTimeElapsedSinceLastModification() { - return maxTimeElapsedSinceLastModification_ == null - ? com.google.protobuf.Duration.getDefaultInstance() - : maxTimeElapsedSinceLastModification_; + return maxTimeElapsedSinceLastModification_ == null ? com.google.protobuf.Duration.getDefaultInstance() : maxTimeElapsedSinceLastModification_; } /** - * - * *
      * Ensures that objects are not transferred if a specific maximum time
      * has elapsed since the "last modification time".
@@ -3294,8 +3001,69 @@ public com.google.protobuf.DurationOrBuilder getMaxTimeElapsedSinceLastModificat
     public static final int INCLUDE_PREFIXES_FIELD_NUMBER = 3;
     private com.google.protobuf.LazyStringList includePrefixes_;
     /**
+     * 
+     * If you specify `include_prefixes`, Storage Transfer Service uses the items
+     * in the `include_prefixes` array to determine which objects to include in a
+     * transfer. Objects must start with one of the matching `include_prefixes`
+     * for inclusion in the transfer. If [exclude_prefixes][google.storagetransfer.v1.ObjectConditions.exclude_prefixes] is specified,
+     * objects must not start with any of the `exclude_prefixes` specified for
+     * inclusion in the transfer.
+     * The following are requirements of `include_prefixes`:
+     *   * Each include-prefix can contain any sequence of Unicode characters, to
+     *     a max length of 1024 bytes when UTF8-encoded, and must not contain
+     *     Carriage Return or Line Feed characters.  Wildcard matching and regular
+     *     expression matching are not supported.
+     *   * Each include-prefix must omit the leading slash. For example, to
+     *     include the object `s3://my-aws-bucket/logs/y=2015/requests.gz`,
+     *     specify the include-prefix as `logs/y=2015/requests.gz`.
+     *   * None of the include-prefix values can be empty, if specified.
+     *   * Each include-prefix must include a distinct portion of the object
+     *     namespace. No include-prefix may be a prefix of another
+     *     include-prefix.
+     * The max size of `include_prefixes` is 1000.
+     * For more information, see [Filtering objects from
+     * transfers](/storage-transfer/docs/filtering-objects-from-transfers).
+     * 
* + * repeated string include_prefixes = 3; + * @return A list containing the includePrefixes. + */ + public com.google.protobuf.ProtocolStringList + getIncludePrefixesList() { + return includePrefixes_; + } + /** + *
+     * If you specify `include_prefixes`, Storage Transfer Service uses the items
+     * in the `include_prefixes` array to determine which objects to include in a
+     * transfer. Objects must start with one of the matching `include_prefixes`
+     * for inclusion in the transfer. If [exclude_prefixes][google.storagetransfer.v1.ObjectConditions.exclude_prefixes] is specified,
+     * objects must not start with any of the `exclude_prefixes` specified for
+     * inclusion in the transfer.
+     * The following are requirements of `include_prefixes`:
+     *   * Each include-prefix can contain any sequence of Unicode characters, to
+     *     a max length of 1024 bytes when UTF8-encoded, and must not contain
+     *     Carriage Return or Line Feed characters.  Wildcard matching and regular
+     *     expression matching are not supported.
+     *   * Each include-prefix must omit the leading slash. For example, to
+     *     include the object `s3://my-aws-bucket/logs/y=2015/requests.gz`,
+     *     specify the include-prefix as `logs/y=2015/requests.gz`.
+     *   * None of the include-prefix values can be empty, if specified.
+     *   * Each include-prefix must include a distinct portion of the object
+     *     namespace. No include-prefix may be a prefix of another
+     *     include-prefix.
+     * The max size of `include_prefixes` is 1000.
+     * For more information, see [Filtering objects from
+     * transfers](/storage-transfer/docs/filtering-objects-from-transfers).
+     * 
* + * repeated string include_prefixes = 3; + * @return The count of includePrefixes. + */ + public int getIncludePrefixesCount() { + return includePrefixes_.size(); + } + /** *
      * If you specify `include_prefixes`, Storage Transfer Service uses the items
      * in the `include_prefixes` array to determine which objects to include in a
@@ -3321,75 +3089,6 @@ public com.google.protobuf.DurationOrBuilder getMaxTimeElapsedSinceLastModificat
      * 
* * repeated string include_prefixes = 3; - * - * @return A list containing the includePrefixes. - */ - public com.google.protobuf.ProtocolStringList getIncludePrefixesList() { - return includePrefixes_; - } - /** - * - * - *
-     * If you specify `include_prefixes`, Storage Transfer Service uses the items
-     * in the `include_prefixes` array to determine which objects to include in a
-     * transfer. Objects must start with one of the matching `include_prefixes`
-     * for inclusion in the transfer. If [exclude_prefixes][google.storagetransfer.v1.ObjectConditions.exclude_prefixes] is specified,
-     * objects must not start with any of the `exclude_prefixes` specified for
-     * inclusion in the transfer.
-     * The following are requirements of `include_prefixes`:
-     *   * Each include-prefix can contain any sequence of Unicode characters, to
-     *     a max length of 1024 bytes when UTF8-encoded, and must not contain
-     *     Carriage Return or Line Feed characters.  Wildcard matching and regular
-     *     expression matching are not supported.
-     *   * Each include-prefix must omit the leading slash. For example, to
-     *     include the object `s3://my-aws-bucket/logs/y=2015/requests.gz`,
-     *     specify the include-prefix as `logs/y=2015/requests.gz`.
-     *   * None of the include-prefix values can be empty, if specified.
-     *   * Each include-prefix must include a distinct portion of the object
-     *     namespace. No include-prefix may be a prefix of another
-     *     include-prefix.
-     * The max size of `include_prefixes` is 1000.
-     * For more information, see [Filtering objects from
-     * transfers](/storage-transfer/docs/filtering-objects-from-transfers).
-     * 
- * - * repeated string include_prefixes = 3; - * - * @return The count of includePrefixes. - */ - public int getIncludePrefixesCount() { - return includePrefixes_.size(); - } - /** - * - * - *
-     * If you specify `include_prefixes`, Storage Transfer Service uses the items
-     * in the `include_prefixes` array to determine which objects to include in a
-     * transfer. Objects must start with one of the matching `include_prefixes`
-     * for inclusion in the transfer. If [exclude_prefixes][google.storagetransfer.v1.ObjectConditions.exclude_prefixes] is specified,
-     * objects must not start with any of the `exclude_prefixes` specified for
-     * inclusion in the transfer.
-     * The following are requirements of `include_prefixes`:
-     *   * Each include-prefix can contain any sequence of Unicode characters, to
-     *     a max length of 1024 bytes when UTF8-encoded, and must not contain
-     *     Carriage Return or Line Feed characters.  Wildcard matching and regular
-     *     expression matching are not supported.
-     *   * Each include-prefix must omit the leading slash. For example, to
-     *     include the object `s3://my-aws-bucket/logs/y=2015/requests.gz`,
-     *     specify the include-prefix as `logs/y=2015/requests.gz`.
-     *   * None of the include-prefix values can be empty, if specified.
-     *   * Each include-prefix must include a distinct portion of the object
-     *     namespace. No include-prefix may be a prefix of another
-     *     include-prefix.
-     * The max size of `include_prefixes` is 1000.
-     * For more information, see [Filtering objects from
-     * transfers](/storage-transfer/docs/filtering-objects-from-transfers).
-     * 
- * - * repeated string include_prefixes = 3; - * * @param index The index of the element to return. * @return The includePrefixes at the given index. */ @@ -3397,8 +3096,6 @@ public java.lang.String getIncludePrefixes(int index) { return includePrefixes_.get(index); } /** - * - * *
      * If you specify `include_prefixes`, Storage Transfer Service uses the items
      * in the `include_prefixes` array to determine which objects to include in a
@@ -3424,19 +3121,17 @@ public java.lang.String getIncludePrefixes(int index) {
      * 
* * repeated string include_prefixes = 3; - * * @param index The index of the value to return. * @return The bytes of the includePrefixes at the given index. */ - public com.google.protobuf.ByteString getIncludePrefixesBytes(int index) { + public com.google.protobuf.ByteString + getIncludePrefixesBytes(int index) { return includePrefixes_.getByteString(index); } public static final int EXCLUDE_PREFIXES_FIELD_NUMBER = 4; private com.google.protobuf.LazyStringList excludePrefixes_; /** - * - * *
      * If you specify `exclude_prefixes`, Storage Transfer Service uses the items
      * in the `exclude_prefixes` array to determine which objects to exclude from
@@ -3462,15 +3157,13 @@ public com.google.protobuf.ByteString getIncludePrefixesBytes(int index) {
      * 
* * repeated string exclude_prefixes = 4; - * * @return A list containing the excludePrefixes. */ - public com.google.protobuf.ProtocolStringList getExcludePrefixesList() { + public com.google.protobuf.ProtocolStringList + getExcludePrefixesList() { return excludePrefixes_; } /** - * - * *
      * If you specify `exclude_prefixes`, Storage Transfer Service uses the items
      * in the `exclude_prefixes` array to determine which objects to exclude from
@@ -3496,15 +3189,12 @@ public com.google.protobuf.ProtocolStringList getExcludePrefixesList() {
      * 
* * repeated string exclude_prefixes = 4; - * * @return The count of excludePrefixes. */ public int getExcludePrefixesCount() { return excludePrefixes_.size(); } /** - * - * *
      * If you specify `exclude_prefixes`, Storage Transfer Service uses the items
      * in the `exclude_prefixes` array to determine which objects to exclude from
@@ -3530,7 +3220,6 @@ public int getExcludePrefixesCount() {
      * 
* * repeated string exclude_prefixes = 4; - * * @param index The index of the element to return. * @return The excludePrefixes at the given index. */ @@ -3538,8 +3227,6 @@ public java.lang.String getExcludePrefixes(int index) { return excludePrefixes_.get(index); } /** - * - * *
      * If you specify `exclude_prefixes`, Storage Transfer Service uses the items
      * in the `exclude_prefixes` array to determine which objects to exclude from
@@ -3565,19 +3252,17 @@ public java.lang.String getExcludePrefixes(int index) {
      * 
* * repeated string exclude_prefixes = 4; - * * @param index The index of the value to return. * @return The bytes of the excludePrefixes at the given index. */ - public com.google.protobuf.ByteString getExcludePrefixesBytes(int index) { + public com.google.protobuf.ByteString + getExcludePrefixesBytes(int index) { return excludePrefixes_.getByteString(index); } public static final int LAST_MODIFIED_SINCE_FIELD_NUMBER = 5; private com.google.protobuf.Timestamp lastModifiedSince_; /** - * - * *
      * If specified, only objects with a "last modification time" on or after
      * this timestamp and objects that don't have a "last modification time" are
@@ -3591,7 +3276,6 @@ public com.google.protobuf.ByteString getExcludePrefixesBytes(int index) {
      * 
* * .google.protobuf.Timestamp last_modified_since = 5; - * * @return Whether the lastModifiedSince field is set. */ @java.lang.Override @@ -3599,8 +3283,6 @@ public boolean hasLastModifiedSince() { return lastModifiedSince_ != null; } /** - * - * *
      * If specified, only objects with a "last modification time" on or after
      * this timestamp and objects that don't have a "last modification time" are
@@ -3614,18 +3296,13 @@ public boolean hasLastModifiedSince() {
      * 
* * .google.protobuf.Timestamp last_modified_since = 5; - * * @return The lastModifiedSince. */ @java.lang.Override public com.google.protobuf.Timestamp getLastModifiedSince() { - return lastModifiedSince_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : lastModifiedSince_; + return lastModifiedSince_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : lastModifiedSince_; } /** - * - * *
      * If specified, only objects with a "last modification time" on or after
      * this timestamp and objects that don't have a "last modification time" are
@@ -3648,8 +3325,6 @@ public com.google.protobuf.TimestampOrBuilder getLastModifiedSinceOrBuilder() {
     public static final int LAST_MODIFIED_BEFORE_FIELD_NUMBER = 6;
     private com.google.protobuf.Timestamp lastModifiedBefore_;
     /**
-     *
-     *
      * 
      * If specified, only objects with a "last modification time" before this
      * timestamp and objects that don't have a "last modification time" are
@@ -3657,7 +3332,6 @@ public com.google.protobuf.TimestampOrBuilder getLastModifiedSinceOrBuilder() {
      * 
* * .google.protobuf.Timestamp last_modified_before = 6; - * * @return Whether the lastModifiedBefore field is set. */ @java.lang.Override @@ -3665,8 +3339,6 @@ public boolean hasLastModifiedBefore() { return lastModifiedBefore_ != null; } /** - * - * *
      * If specified, only objects with a "last modification time" before this
      * timestamp and objects that don't have a "last modification time" are
@@ -3674,18 +3346,13 @@ public boolean hasLastModifiedBefore() {
      * 
* * .google.protobuf.Timestamp last_modified_before = 6; - * * @return The lastModifiedBefore. */ @java.lang.Override public com.google.protobuf.Timestamp getLastModifiedBefore() { - return lastModifiedBefore_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : lastModifiedBefore_; + return lastModifiedBefore_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : lastModifiedBefore_; } /** - * - * *
      * If specified, only objects with a "last modification time" before this
      * timestamp and objects that don't have a "last modification time" are
@@ -3700,7 +3367,6 @@ public com.google.protobuf.TimestampOrBuilder getLastModifiedBeforeOrBuilder() {
     }
 
     private byte memoizedIsInitialized = -1;
-
     @java.lang.Override
     public final boolean isInitialized() {
       byte isInitialized = memoizedIsInitialized;
@@ -3712,7 +3378,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 (minTimeElapsedSinceLastModification_ != null) {
         output.writeMessage(1, getMinTimeElapsedSinceLastModification());
       }
@@ -3741,14 +3408,12 @@ public int getSerializedSize() {
 
       size = 0;
       if (minTimeElapsedSinceLastModification_ != null) {
-        size +=
-            com.google.protobuf.CodedOutputStream.computeMessageSize(
-                1, getMinTimeElapsedSinceLastModification());
+        size += com.google.protobuf.CodedOutputStream
+          .computeMessageSize(1, getMinTimeElapsedSinceLastModification());
       }
       if (maxTimeElapsedSinceLastModification_ != null) {
-        size +=
-            com.google.protobuf.CodedOutputStream.computeMessageSize(
-                2, getMaxTimeElapsedSinceLastModification());
+        size += com.google.protobuf.CodedOutputStream
+          .computeMessageSize(2, getMaxTimeElapsedSinceLastModification());
       }
       {
         int dataSize = 0;
@@ -3767,11 +3432,12 @@ public int getSerializedSize() {
         size += 1 * getExcludePrefixesList().size();
       }
       if (lastModifiedSince_ != null) {
-        size += com.google.protobuf.CodedOutputStream.computeMessageSize(5, getLastModifiedSince());
+        size += com.google.protobuf.CodedOutputStream
+          .computeMessageSize(5, getLastModifiedSince());
       }
       if (lastModifiedBefore_ != null) {
-        size +=
-            com.google.protobuf.CodedOutputStream.computeMessageSize(6, getLastModifiedBefore());
+        size += com.google.protobuf.CodedOutputStream
+          .computeMessageSize(6, getLastModifiedBefore());
       }
       size += unknownFields.getSerializedSize();
       memoizedSize = size;
@@ -3781,35 +3447,36 @@ 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.storagetransfer.v1.proto.TransferTypes.ObjectConditions)) {
         return super.equals(obj);
       }
-      com.google.storagetransfer.v1.proto.TransferTypes.ObjectConditions other =
-          (com.google.storagetransfer.v1.proto.TransferTypes.ObjectConditions) obj;
+      com.google.storagetransfer.v1.proto.TransferTypes.ObjectConditions other = (com.google.storagetransfer.v1.proto.TransferTypes.ObjectConditions) obj;
 
-      if (hasMinTimeElapsedSinceLastModification()
-          != other.hasMinTimeElapsedSinceLastModification()) return false;
+      if (hasMinTimeElapsedSinceLastModification() != other.hasMinTimeElapsedSinceLastModification()) return false;
       if (hasMinTimeElapsedSinceLastModification()) {
         if (!getMinTimeElapsedSinceLastModification()
             .equals(other.getMinTimeElapsedSinceLastModification())) return false;
       }
-      if (hasMaxTimeElapsedSinceLastModification()
-          != other.hasMaxTimeElapsedSinceLastModification()) return false;
+      if (hasMaxTimeElapsedSinceLastModification() != other.hasMaxTimeElapsedSinceLastModification()) return false;
       if (hasMaxTimeElapsedSinceLastModification()) {
         if (!getMaxTimeElapsedSinceLastModification()
             .equals(other.getMaxTimeElapsedSinceLastModification())) return false;
       }
-      if (!getIncludePrefixesList().equals(other.getIncludePrefixesList())) return false;
-      if (!getExcludePrefixesList().equals(other.getExcludePrefixesList())) return false;
+      if (!getIncludePrefixesList()
+          .equals(other.getIncludePrefixesList())) return false;
+      if (!getExcludePrefixesList()
+          .equals(other.getExcludePrefixesList())) return false;
       if (hasLastModifiedSince() != other.hasLastModifiedSince()) return false;
       if (hasLastModifiedSince()) {
-        if (!getLastModifiedSince().equals(other.getLastModifiedSince())) return false;
+        if (!getLastModifiedSince()
+            .equals(other.getLastModifiedSince())) return false;
       }
       if (hasLastModifiedBefore() != other.hasLastModifiedBefore()) return false;
       if (hasLastModifiedBefore()) {
-        if (!getLastModifiedBefore().equals(other.getLastModifiedBefore())) return false;
+        if (!getLastModifiedBefore()
+            .equals(other.getLastModifiedBefore())) return false;
       }
       if (!unknownFields.equals(other.unknownFields)) return false;
       return true;
@@ -3852,95 +3519,87 @@ public int hashCode() {
     }
 
     public static com.google.storagetransfer.v1.proto.TransferTypes.ObjectConditions parseFrom(
-        java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException {
+        java.nio.ByteBuffer data)
+        throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data);
     }
-
     public static com.google.storagetransfer.v1.proto.TransferTypes.ObjectConditions 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.storagetransfer.v1.proto.TransferTypes.ObjectConditions parseFrom(
         com.google.protobuf.ByteString data)
         throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data);
     }
-
     public static com.google.storagetransfer.v1.proto.TransferTypes.ObjectConditions 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.storagetransfer.v1.proto.TransferTypes.ObjectConditions parseFrom(
-        byte[] data) throws com.google.protobuf.InvalidProtocolBufferException {
+    public static com.google.storagetransfer.v1.proto.TransferTypes.ObjectConditions parseFrom(byte[] data)
+        throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data);
     }
-
     public static com.google.storagetransfer.v1.proto.TransferTypes.ObjectConditions 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.storagetransfer.v1.proto.TransferTypes.ObjectConditions parseFrom(
-        java.io.InputStream input) throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+    public static com.google.storagetransfer.v1.proto.TransferTypes.ObjectConditions parseFrom(java.io.InputStream input)
+        throws java.io.IOException {
+      return com.google.protobuf.GeneratedMessageV3
+          .parseWithIOException(PARSER, input);
     }
-
     public static com.google.storagetransfer.v1.proto.TransferTypes.ObjectConditions 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.storagetransfer.v1.proto.TransferTypes.ObjectConditions
-        parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
+    public static com.google.storagetransfer.v1.proto.TransferTypes.ObjectConditions parseDelimitedFrom(java.io.InputStream input)
+        throws java.io.IOException {
+      return com.google.protobuf.GeneratedMessageV3
+          .parseDelimitedWithIOException(PARSER, input);
     }
-
-    public static com.google.storagetransfer.v1.proto.TransferTypes.ObjectConditions
-        parseDelimitedFrom(
-            java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-            throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(
-          PARSER, input, extensionRegistry);
+    public static com.google.storagetransfer.v1.proto.TransferTypes.ObjectConditions parseDelimitedFrom(
+        java.io.InputStream input,
+        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        throws java.io.IOException {
+      return com.google.protobuf.GeneratedMessageV3
+          .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
     }
-
     public static com.google.storagetransfer.v1.proto.TransferTypes.ObjectConditions 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.storagetransfer.v1.proto.TransferTypes.ObjectConditions 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.storagetransfer.v1.proto.TransferTypes.ObjectConditions prototype) {
+    public static Builder newBuilder(com.google.storagetransfer.v1.proto.TransferTypes.ObjectConditions 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
@@ -3950,8 +3609,6 @@ protected Builder newBuilderForType(
       return builder;
     }
     /**
-     *
-     *
      * 
      * Conditions that determine which objects are transferred. Applies only
      * to Cloud Data Sources such as S3, Azure, and Cloud Storage.
@@ -3965,41 +3622,38 @@ protected Builder newBuilderForType(
      *
      * Protobuf type {@code google.storagetransfer.v1.ObjectConditions}
      */
-    public static final class Builder
-        extends com.google.protobuf.GeneratedMessageV3.Builder
-        implements
+    public static final class Builder extends
+        com.google.protobuf.GeneratedMessageV3.Builder implements
         // @@protoc_insertion_point(builder_implements:google.storagetransfer.v1.ObjectConditions)
         com.google.storagetransfer.v1.proto.TransferTypes.ObjectConditionsOrBuilder {
-      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-        return com.google.storagetransfer.v1.proto.TransferTypes
-            .internal_static_google_storagetransfer_v1_ObjectConditions_descriptor;
+      public static final com.google.protobuf.Descriptors.Descriptor
+          getDescriptor() {
+        return com.google.storagetransfer.v1.proto.TransferTypes.internal_static_google_storagetransfer_v1_ObjectConditions_descriptor;
       }
 
       @java.lang.Override
       protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
           internalGetFieldAccessorTable() {
-        return com.google.storagetransfer.v1.proto.TransferTypes
-            .internal_static_google_storagetransfer_v1_ObjectConditions_fieldAccessorTable
+        return com.google.storagetransfer.v1.proto.TransferTypes.internal_static_google_storagetransfer_v1_ObjectConditions_fieldAccessorTable
             .ensureFieldAccessorsInitialized(
-                com.google.storagetransfer.v1.proto.TransferTypes.ObjectConditions.class,
-                com.google.storagetransfer.v1.proto.TransferTypes.ObjectConditions.Builder.class);
+                com.google.storagetransfer.v1.proto.TransferTypes.ObjectConditions.class, com.google.storagetransfer.v1.proto.TransferTypes.ObjectConditions.Builder.class);
       }
 
-      // Construct using
-      // com.google.storagetransfer.v1.proto.TransferTypes.ObjectConditions.newBuilder()
+      // Construct using com.google.storagetransfer.v1.proto.TransferTypes.ObjectConditions.newBuilder()
       private Builder() {
         maybeForceBuilderInitialization();
       }
 
-      private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+      private Builder(
+          com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
         super(parent);
         maybeForceBuilderInitialization();
       }
-
       private void maybeForceBuilderInitialization() {
-        if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {}
+        if (com.google.protobuf.GeneratedMessageV3
+                .alwaysUseFieldBuilders) {
+        }
       }
-
       @java.lang.Override
       public Builder clear() {
         super.clear();
@@ -4035,16 +3689,14 @@ public Builder clear() {
       }
 
       @java.lang.Override
-      public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-        return com.google.storagetransfer.v1.proto.TransferTypes
-            .internal_static_google_storagetransfer_v1_ObjectConditions_descriptor;
+      public com.google.protobuf.Descriptors.Descriptor
+          getDescriptorForType() {
+        return com.google.storagetransfer.v1.proto.TransferTypes.internal_static_google_storagetransfer_v1_ObjectConditions_descriptor;
       }
 
       @java.lang.Override
-      public com.google.storagetransfer.v1.proto.TransferTypes.ObjectConditions
-          getDefaultInstanceForType() {
-        return com.google.storagetransfer.v1.proto.TransferTypes.ObjectConditions
-            .getDefaultInstance();
+      public com.google.storagetransfer.v1.proto.TransferTypes.ObjectConditions getDefaultInstanceForType() {
+        return com.google.storagetransfer.v1.proto.TransferTypes.ObjectConditions.getDefaultInstance();
       }
 
       @java.lang.Override
@@ -4058,20 +3710,17 @@ public com.google.storagetransfer.v1.proto.TransferTypes.ObjectConditions build(
 
       @java.lang.Override
       public com.google.storagetransfer.v1.proto.TransferTypes.ObjectConditions buildPartial() {
-        com.google.storagetransfer.v1.proto.TransferTypes.ObjectConditions result =
-            new com.google.storagetransfer.v1.proto.TransferTypes.ObjectConditions(this);
+        com.google.storagetransfer.v1.proto.TransferTypes.ObjectConditions result = new com.google.storagetransfer.v1.proto.TransferTypes.ObjectConditions(this);
         int from_bitField0_ = bitField0_;
         if (minTimeElapsedSinceLastModificationBuilder_ == null) {
           result.minTimeElapsedSinceLastModification_ = minTimeElapsedSinceLastModification_;
         } else {
-          result.minTimeElapsedSinceLastModification_ =
-              minTimeElapsedSinceLastModificationBuilder_.build();
+          result.minTimeElapsedSinceLastModification_ = minTimeElapsedSinceLastModificationBuilder_.build();
         }
         if (maxTimeElapsedSinceLastModificationBuilder_ == null) {
           result.maxTimeElapsedSinceLastModification_ = maxTimeElapsedSinceLastModification_;
         } else {
-          result.maxTimeElapsedSinceLastModification_ =
-              maxTimeElapsedSinceLastModificationBuilder_.build();
+          result.maxTimeElapsedSinceLastModification_ = maxTimeElapsedSinceLastModificationBuilder_.build();
         }
         if (((bitField0_ & 0x00000001) != 0)) {
           includePrefixes_ = includePrefixes_.getUnmodifiableView();
@@ -4101,53 +3750,46 @@ public com.google.storagetransfer.v1.proto.TransferTypes.ObjectConditions buildP
       public Builder clone() {
         return super.clone();
       }
-
       @java.lang.Override
       public Builder setField(
-          com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+          com.google.protobuf.Descriptors.FieldDescriptor field,
+          java.lang.Object value) {
         return super.setField(field, value);
       }
-
       @java.lang.Override
-      public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+      public Builder clearField(
+          com.google.protobuf.Descriptors.FieldDescriptor field) {
         return super.clearField(field);
       }
-
       @java.lang.Override
-      public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+      public Builder clearOneof(
+          com.google.protobuf.Descriptors.OneofDescriptor oneof) {
         return super.clearOneof(oneof);
       }
-
       @java.lang.Override
       public Builder setRepeatedField(
           com.google.protobuf.Descriptors.FieldDescriptor field,
-          int index,
-          java.lang.Object value) {
+          int index, java.lang.Object value) {
         return super.setRepeatedField(field, index, value);
       }
-
       @java.lang.Override
       public Builder addRepeatedField(
-          com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+          com.google.protobuf.Descriptors.FieldDescriptor field,
+          java.lang.Object value) {
         return super.addRepeatedField(field, value);
       }
-
       @java.lang.Override
       public Builder mergeFrom(com.google.protobuf.Message other) {
         if (other instanceof com.google.storagetransfer.v1.proto.TransferTypes.ObjectConditions) {
-          return mergeFrom(
-              (com.google.storagetransfer.v1.proto.TransferTypes.ObjectConditions) other);
+          return mergeFrom((com.google.storagetransfer.v1.proto.TransferTypes.ObjectConditions)other);
         } else {
           super.mergeFrom(other);
           return this;
         }
       }
 
-      public Builder mergeFrom(
-          com.google.storagetransfer.v1.proto.TransferTypes.ObjectConditions other) {
-        if (other
-            == com.google.storagetransfer.v1.proto.TransferTypes.ObjectConditions
-                .getDefaultInstance()) return this;
+      public Builder mergeFrom(com.google.storagetransfer.v1.proto.TransferTypes.ObjectConditions other) {
+        if (other == com.google.storagetransfer.v1.proto.TransferTypes.ObjectConditions.getDefaultInstance()) return this;
         if (other.hasMinTimeElapsedSinceLastModification()) {
           mergeMinTimeElapsedSinceLastModification(other.getMinTimeElapsedSinceLastModification());
         }
@@ -4199,9 +3841,7 @@ public Builder mergeFrom(
         try {
           parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
         } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-          parsedMessage =
-              (com.google.storagetransfer.v1.proto.TransferTypes.ObjectConditions)
-                  e.getUnfinishedMessage();
+          parsedMessage = (com.google.storagetransfer.v1.proto.TransferTypes.ObjectConditions) e.getUnfinishedMessage();
           throw e.unwrapIOException();
         } finally {
           if (parsedMessage != null) {
@@ -4210,18 +3850,12 @@ public Builder mergeFrom(
         }
         return this;
       }
-
       private int bitField0_;
 
       private com.google.protobuf.Duration minTimeElapsedSinceLastModification_;
       private com.google.protobuf.SingleFieldBuilderV3<
-              com.google.protobuf.Duration,
-              com.google.protobuf.Duration.Builder,
-              com.google.protobuf.DurationOrBuilder>
-          minTimeElapsedSinceLastModificationBuilder_;
+          com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder> minTimeElapsedSinceLastModificationBuilder_;
       /**
-       *
-       *
        * 
        * Ensures that objects are not transferred until a specific minimum time
        * has elapsed after the "last modification time". When a
@@ -4234,16 +3868,12 @@ public Builder mergeFrom(
        * 
* * .google.protobuf.Duration min_time_elapsed_since_last_modification = 1; - * * @return Whether the minTimeElapsedSinceLastModification field is set. */ public boolean hasMinTimeElapsedSinceLastModification() { - return minTimeElapsedSinceLastModificationBuilder_ != null - || minTimeElapsedSinceLastModification_ != null; + return minTimeElapsedSinceLastModificationBuilder_ != null || minTimeElapsedSinceLastModification_ != null; } /** - * - * *
        * Ensures that objects are not transferred until a specific minimum time
        * has elapsed after the "last modification time". When a
@@ -4256,21 +3886,16 @@ public boolean hasMinTimeElapsedSinceLastModification() {
        * 
* * .google.protobuf.Duration min_time_elapsed_since_last_modification = 1; - * * @return The minTimeElapsedSinceLastModification. */ public com.google.protobuf.Duration getMinTimeElapsedSinceLastModification() { if (minTimeElapsedSinceLastModificationBuilder_ == null) { - return minTimeElapsedSinceLastModification_ == null - ? com.google.protobuf.Duration.getDefaultInstance() - : minTimeElapsedSinceLastModification_; + return minTimeElapsedSinceLastModification_ == null ? com.google.protobuf.Duration.getDefaultInstance() : minTimeElapsedSinceLastModification_; } else { return minTimeElapsedSinceLastModificationBuilder_.getMessage(); } } /** - * - * *
        * Ensures that objects are not transferred until a specific minimum time
        * has elapsed after the "last modification time". When a
@@ -4298,8 +3923,6 @@ public Builder setMinTimeElapsedSinceLastModification(com.google.protobuf.Durati
         return this;
       }
       /**
-       *
-       *
        * 
        * Ensures that objects are not transferred until a specific minimum time
        * has elapsed after the "last modification time". When a
@@ -4325,8 +3948,6 @@ public Builder setMinTimeElapsedSinceLastModification(
         return this;
       }
       /**
-       *
-       *
        * 
        * Ensures that objects are not transferred until a specific minimum time
        * has elapsed after the "last modification time". When a
@@ -4344,9 +3965,7 @@ public Builder mergeMinTimeElapsedSinceLastModification(com.google.protobuf.Dura
         if (minTimeElapsedSinceLastModificationBuilder_ == null) {
           if (minTimeElapsedSinceLastModification_ != null) {
             minTimeElapsedSinceLastModification_ =
-                com.google.protobuf.Duration.newBuilder(minTimeElapsedSinceLastModification_)
-                    .mergeFrom(value)
-                    .buildPartial();
+              com.google.protobuf.Duration.newBuilder(minTimeElapsedSinceLastModification_).mergeFrom(value).buildPartial();
           } else {
             minTimeElapsedSinceLastModification_ = value;
           }
@@ -4358,8 +3977,6 @@ public Builder mergeMinTimeElapsedSinceLastModification(com.google.protobuf.Dura
         return this;
       }
       /**
-       *
-       *
        * 
        * Ensures that objects are not transferred until a specific minimum time
        * has elapsed after the "last modification time". When a
@@ -4385,8 +4002,6 @@ public Builder clearMinTimeElapsedSinceLastModification() {
         return this;
       }
       /**
-       *
-       *
        * 
        * Ensures that objects are not transferred until a specific minimum time
        * has elapsed after the "last modification time". When a
@@ -4401,13 +4016,11 @@ public Builder clearMinTimeElapsedSinceLastModification() {
        * .google.protobuf.Duration min_time_elapsed_since_last_modification = 1;
        */
       public com.google.protobuf.Duration.Builder getMinTimeElapsedSinceLastModificationBuilder() {
-
+        
         onChanged();
         return getMinTimeElapsedSinceLastModificationFieldBuilder().getBuilder();
       }
       /**
-       *
-       *
        * 
        * Ensures that objects are not transferred until a specific minimum time
        * has elapsed after the "last modification time". When a
@@ -4421,19 +4034,15 @@ public com.google.protobuf.Duration.Builder getMinTimeElapsedSinceLastModificati
        *
        * .google.protobuf.Duration min_time_elapsed_since_last_modification = 1;
        */
-      public com.google.protobuf.DurationOrBuilder
-          getMinTimeElapsedSinceLastModificationOrBuilder() {
+      public com.google.protobuf.DurationOrBuilder getMinTimeElapsedSinceLastModificationOrBuilder() {
         if (minTimeElapsedSinceLastModificationBuilder_ != null) {
           return minTimeElapsedSinceLastModificationBuilder_.getMessageOrBuilder();
         } else {
-          return minTimeElapsedSinceLastModification_ == null
-              ? com.google.protobuf.Duration.getDefaultInstance()
-              : minTimeElapsedSinceLastModification_;
+          return minTimeElapsedSinceLastModification_ == null ?
+              com.google.protobuf.Duration.getDefaultInstance() : minTimeElapsedSinceLastModification_;
         }
       }
       /**
-       *
-       *
        * 
        * Ensures that objects are not transferred until a specific minimum time
        * has elapsed after the "last modification time". When a
@@ -4448,17 +4057,14 @@ public com.google.protobuf.Duration.Builder getMinTimeElapsedSinceLastModificati
        * .google.protobuf.Duration min_time_elapsed_since_last_modification = 1;
        */
       private com.google.protobuf.SingleFieldBuilderV3<
-              com.google.protobuf.Duration,
-              com.google.protobuf.Duration.Builder,
-              com.google.protobuf.DurationOrBuilder>
+          com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder> 
           getMinTimeElapsedSinceLastModificationFieldBuilder() {
         if (minTimeElapsedSinceLastModificationBuilder_ == null) {
-          minTimeElapsedSinceLastModificationBuilder_ =
-              new com.google.protobuf.SingleFieldBuilderV3<
-                  com.google.protobuf.Duration,
-                  com.google.protobuf.Duration.Builder,
-                  com.google.protobuf.DurationOrBuilder>(
-                  getMinTimeElapsedSinceLastModification(), getParentForChildren(), isClean());
+          minTimeElapsedSinceLastModificationBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+              com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder>(
+                  getMinTimeElapsedSinceLastModification(),
+                  getParentForChildren(),
+                  isClean());
           minTimeElapsedSinceLastModification_ = null;
         }
         return minTimeElapsedSinceLastModificationBuilder_;
@@ -4466,13 +4072,8 @@ public com.google.protobuf.Duration.Builder getMinTimeElapsedSinceLastModificati
 
       private com.google.protobuf.Duration maxTimeElapsedSinceLastModification_;
       private com.google.protobuf.SingleFieldBuilderV3<
-              com.google.protobuf.Duration,
-              com.google.protobuf.Duration.Builder,
-              com.google.protobuf.DurationOrBuilder>
-          maxTimeElapsedSinceLastModificationBuilder_;
+          com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder> maxTimeElapsedSinceLastModificationBuilder_;
       /**
-       *
-       *
        * 
        * Ensures that objects are not transferred if a specific maximum time
        * has elapsed since the "last modification time".
@@ -4485,16 +4086,12 @@ public com.google.protobuf.Duration.Builder getMinTimeElapsedSinceLastModificati
        * 
* * .google.protobuf.Duration max_time_elapsed_since_last_modification = 2; - * * @return Whether the maxTimeElapsedSinceLastModification field is set. */ public boolean hasMaxTimeElapsedSinceLastModification() { - return maxTimeElapsedSinceLastModificationBuilder_ != null - || maxTimeElapsedSinceLastModification_ != null; + return maxTimeElapsedSinceLastModificationBuilder_ != null || maxTimeElapsedSinceLastModification_ != null; } /** - * - * *
        * Ensures that objects are not transferred if a specific maximum time
        * has elapsed since the "last modification time".
@@ -4507,21 +4104,16 @@ public boolean hasMaxTimeElapsedSinceLastModification() {
        * 
* * .google.protobuf.Duration max_time_elapsed_since_last_modification = 2; - * * @return The maxTimeElapsedSinceLastModification. */ public com.google.protobuf.Duration getMaxTimeElapsedSinceLastModification() { if (maxTimeElapsedSinceLastModificationBuilder_ == null) { - return maxTimeElapsedSinceLastModification_ == null - ? com.google.protobuf.Duration.getDefaultInstance() - : maxTimeElapsedSinceLastModification_; + return maxTimeElapsedSinceLastModification_ == null ? com.google.protobuf.Duration.getDefaultInstance() : maxTimeElapsedSinceLastModification_; } else { return maxTimeElapsedSinceLastModificationBuilder_.getMessage(); } } /** - * - * *
        * Ensures that objects are not transferred if a specific maximum time
        * has elapsed since the "last modification time".
@@ -4549,8 +4141,6 @@ public Builder setMaxTimeElapsedSinceLastModification(com.google.protobuf.Durati
         return this;
       }
       /**
-       *
-       *
        * 
        * Ensures that objects are not transferred if a specific maximum time
        * has elapsed since the "last modification time".
@@ -4576,8 +4166,6 @@ public Builder setMaxTimeElapsedSinceLastModification(
         return this;
       }
       /**
-       *
-       *
        * 
        * Ensures that objects are not transferred if a specific maximum time
        * has elapsed since the "last modification time".
@@ -4595,9 +4183,7 @@ public Builder mergeMaxTimeElapsedSinceLastModification(com.google.protobuf.Dura
         if (maxTimeElapsedSinceLastModificationBuilder_ == null) {
           if (maxTimeElapsedSinceLastModification_ != null) {
             maxTimeElapsedSinceLastModification_ =
-                com.google.protobuf.Duration.newBuilder(maxTimeElapsedSinceLastModification_)
-                    .mergeFrom(value)
-                    .buildPartial();
+              com.google.protobuf.Duration.newBuilder(maxTimeElapsedSinceLastModification_).mergeFrom(value).buildPartial();
           } else {
             maxTimeElapsedSinceLastModification_ = value;
           }
@@ -4609,8 +4195,6 @@ public Builder mergeMaxTimeElapsedSinceLastModification(com.google.protobuf.Dura
         return this;
       }
       /**
-       *
-       *
        * 
        * Ensures that objects are not transferred if a specific maximum time
        * has elapsed since the "last modification time".
@@ -4636,8 +4220,6 @@ public Builder clearMaxTimeElapsedSinceLastModification() {
         return this;
       }
       /**
-       *
-       *
        * 
        * Ensures that objects are not transferred if a specific maximum time
        * has elapsed since the "last modification time".
@@ -4652,13 +4234,11 @@ public Builder clearMaxTimeElapsedSinceLastModification() {
        * .google.protobuf.Duration max_time_elapsed_since_last_modification = 2;
        */
       public com.google.protobuf.Duration.Builder getMaxTimeElapsedSinceLastModificationBuilder() {
-
+        
         onChanged();
         return getMaxTimeElapsedSinceLastModificationFieldBuilder().getBuilder();
       }
       /**
-       *
-       *
        * 
        * Ensures that objects are not transferred if a specific maximum time
        * has elapsed since the "last modification time".
@@ -4672,19 +4252,15 @@ public com.google.protobuf.Duration.Builder getMaxTimeElapsedSinceLastModificati
        *
        * .google.protobuf.Duration max_time_elapsed_since_last_modification = 2;
        */
-      public com.google.protobuf.DurationOrBuilder
-          getMaxTimeElapsedSinceLastModificationOrBuilder() {
+      public com.google.protobuf.DurationOrBuilder getMaxTimeElapsedSinceLastModificationOrBuilder() {
         if (maxTimeElapsedSinceLastModificationBuilder_ != null) {
           return maxTimeElapsedSinceLastModificationBuilder_.getMessageOrBuilder();
         } else {
-          return maxTimeElapsedSinceLastModification_ == null
-              ? com.google.protobuf.Duration.getDefaultInstance()
-              : maxTimeElapsedSinceLastModification_;
+          return maxTimeElapsedSinceLastModification_ == null ?
+              com.google.protobuf.Duration.getDefaultInstance() : maxTimeElapsedSinceLastModification_;
         }
       }
       /**
-       *
-       *
        * 
        * Ensures that objects are not transferred if a specific maximum time
        * has elapsed since the "last modification time".
@@ -4699,34 +4275,27 @@ public com.google.protobuf.Duration.Builder getMaxTimeElapsedSinceLastModificati
        * .google.protobuf.Duration max_time_elapsed_since_last_modification = 2;
        */
       private com.google.protobuf.SingleFieldBuilderV3<
-              com.google.protobuf.Duration,
-              com.google.protobuf.Duration.Builder,
-              com.google.protobuf.DurationOrBuilder>
+          com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder> 
           getMaxTimeElapsedSinceLastModificationFieldBuilder() {
         if (maxTimeElapsedSinceLastModificationBuilder_ == null) {
-          maxTimeElapsedSinceLastModificationBuilder_ =
-              new com.google.protobuf.SingleFieldBuilderV3<
-                  com.google.protobuf.Duration,
-                  com.google.protobuf.Duration.Builder,
-                  com.google.protobuf.DurationOrBuilder>(
-                  getMaxTimeElapsedSinceLastModification(), getParentForChildren(), isClean());
+          maxTimeElapsedSinceLastModificationBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+              com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder>(
+                  getMaxTimeElapsedSinceLastModification(),
+                  getParentForChildren(),
+                  isClean());
           maxTimeElapsedSinceLastModification_ = null;
         }
         return maxTimeElapsedSinceLastModificationBuilder_;
       }
 
-      private com.google.protobuf.LazyStringList includePrefixes_ =
-          com.google.protobuf.LazyStringArrayList.EMPTY;
-
+      private com.google.protobuf.LazyStringList includePrefixes_ = com.google.protobuf.LazyStringArrayList.EMPTY;
       private void ensureIncludePrefixesIsMutable() {
         if (!((bitField0_ & 0x00000001) != 0)) {
           includePrefixes_ = new com.google.protobuf.LazyStringArrayList(includePrefixes_);
           bitField0_ |= 0x00000001;
-        }
+         }
       }
       /**
-       *
-       *
        * 
        * If you specify `include_prefixes`, Storage Transfer Service uses the items
        * in the `include_prefixes` array to determine which objects to include in a
@@ -4752,15 +4321,13 @@ private void ensureIncludePrefixesIsMutable() {
        * 
* * repeated string include_prefixes = 3; - * * @return A list containing the includePrefixes. */ - public com.google.protobuf.ProtocolStringList getIncludePrefixesList() { + public com.google.protobuf.ProtocolStringList + getIncludePrefixesList() { return includePrefixes_.getUnmodifiableView(); } /** - * - * *
        * If you specify `include_prefixes`, Storage Transfer Service uses the items
        * in the `include_prefixes` array to determine which objects to include in a
@@ -4786,15 +4353,12 @@ public com.google.protobuf.ProtocolStringList getIncludePrefixesList() {
        * 
* * repeated string include_prefixes = 3; - * * @return The count of includePrefixes. */ public int getIncludePrefixesCount() { return includePrefixes_.size(); } /** - * - * *
        * If you specify `include_prefixes`, Storage Transfer Service uses the items
        * in the `include_prefixes` array to determine which objects to include in a
@@ -4820,7 +4384,6 @@ public int getIncludePrefixesCount() {
        * 
* * repeated string include_prefixes = 3; - * * @param index The index of the element to return. * @return The includePrefixes at the given index. */ @@ -4828,8 +4391,6 @@ public java.lang.String getIncludePrefixes(int index) { return includePrefixes_.get(index); } /** - * - * *
        * If you specify `include_prefixes`, Storage Transfer Service uses the items
        * in the `include_prefixes` array to determine which objects to include in a
@@ -4855,16 +4416,14 @@ public java.lang.String getIncludePrefixes(int index) {
        * 
* * repeated string include_prefixes = 3; - * * @param index The index of the value to return. * @return The bytes of the includePrefixes at the given index. */ - public com.google.protobuf.ByteString getIncludePrefixesBytes(int index) { + public com.google.protobuf.ByteString + getIncludePrefixesBytes(int index) { return includePrefixes_.getByteString(index); } /** - * - * *
        * If you specify `include_prefixes`, Storage Transfer Service uses the items
        * in the `include_prefixes` array to determine which objects to include in a
@@ -4890,23 +4449,21 @@ public com.google.protobuf.ByteString getIncludePrefixesBytes(int index) {
        * 
* * repeated string include_prefixes = 3; - * * @param index The index to set the value at. * @param value The includePrefixes to set. * @return This builder for chaining. */ - public Builder setIncludePrefixes(int index, java.lang.String value) { + public Builder setIncludePrefixes( + int index, java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureIncludePrefixesIsMutable(); + throw new NullPointerException(); + } + ensureIncludePrefixesIsMutable(); includePrefixes_.set(index, value); onChanged(); return this; } /** - * - * *
        * If you specify `include_prefixes`, Storage Transfer Service uses the items
        * in the `include_prefixes` array to determine which objects to include in a
@@ -4932,22 +4489,20 @@ public Builder setIncludePrefixes(int index, java.lang.String value) {
        * 
* * repeated string include_prefixes = 3; - * * @param value The includePrefixes to add. * @return This builder for chaining. */ - public Builder addIncludePrefixes(java.lang.String value) { + public Builder addIncludePrefixes( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureIncludePrefixesIsMutable(); + throw new NullPointerException(); + } + ensureIncludePrefixesIsMutable(); includePrefixes_.add(value); onChanged(); return this; } /** - * - * *
        * If you specify `include_prefixes`, Storage Transfer Service uses the items
        * in the `include_prefixes` array to determine which objects to include in a
@@ -4973,19 +4528,18 @@ public Builder addIncludePrefixes(java.lang.String value) {
        * 
* * repeated string include_prefixes = 3; - * * @param values The includePrefixes to add. * @return This builder for chaining. */ - public Builder addAllIncludePrefixes(java.lang.Iterable values) { + public Builder addAllIncludePrefixes( + java.lang.Iterable values) { ensureIncludePrefixesIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, includePrefixes_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, includePrefixes_); onChanged(); return this; } /** - * - * *
        * If you specify `include_prefixes`, Storage Transfer Service uses the items
        * in the `include_prefixes` array to determine which objects to include in a
@@ -5011,7 +4565,6 @@ public Builder addAllIncludePrefixes(java.lang.Iterable values
        * 
* * repeated string include_prefixes = 3; - * * @return This builder for chaining. */ public Builder clearIncludePrefixes() { @@ -5021,8 +4574,6 @@ public Builder clearIncludePrefixes() { return this; } /** - * - * *
        * If you specify `include_prefixes`, Storage Transfer Service uses the items
        * in the `include_prefixes` array to determine which objects to include in a
@@ -5048,33 +4599,29 @@ public Builder clearIncludePrefixes() {
        * 
* * repeated string include_prefixes = 3; - * * @param value The bytes of the includePrefixes to add. * @return This builder for chaining. */ - public Builder addIncludePrefixesBytes(com.google.protobuf.ByteString value) { + public Builder addIncludePrefixesBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); ensureIncludePrefixesIsMutable(); includePrefixes_.add(value); onChanged(); return this; } - private com.google.protobuf.LazyStringList excludePrefixes_ = - com.google.protobuf.LazyStringArrayList.EMPTY; - + private com.google.protobuf.LazyStringList excludePrefixes_ = com.google.protobuf.LazyStringArrayList.EMPTY; private void ensureExcludePrefixesIsMutable() { if (!((bitField0_ & 0x00000002) != 0)) { excludePrefixes_ = new com.google.protobuf.LazyStringArrayList(excludePrefixes_); bitField0_ |= 0x00000002; - } + } } /** - * - * *
        * If you specify `exclude_prefixes`, Storage Transfer Service uses the items
        * in the `exclude_prefixes` array to determine which objects to exclude from
@@ -5100,15 +4647,13 @@ private void ensureExcludePrefixesIsMutable() {
        * 
* * repeated string exclude_prefixes = 4; - * * @return A list containing the excludePrefixes. */ - public com.google.protobuf.ProtocolStringList getExcludePrefixesList() { + public com.google.protobuf.ProtocolStringList + getExcludePrefixesList() { return excludePrefixes_.getUnmodifiableView(); } /** - * - * *
        * If you specify `exclude_prefixes`, Storage Transfer Service uses the items
        * in the `exclude_prefixes` array to determine which objects to exclude from
@@ -5134,15 +4679,12 @@ public com.google.protobuf.ProtocolStringList getExcludePrefixesList() {
        * 
* * repeated string exclude_prefixes = 4; - * * @return The count of excludePrefixes. */ public int getExcludePrefixesCount() { return excludePrefixes_.size(); } /** - * - * *
        * If you specify `exclude_prefixes`, Storage Transfer Service uses the items
        * in the `exclude_prefixes` array to determine which objects to exclude from
@@ -5168,7 +4710,6 @@ public int getExcludePrefixesCount() {
        * 
* * repeated string exclude_prefixes = 4; - * * @param index The index of the element to return. * @return The excludePrefixes at the given index. */ @@ -5176,8 +4717,6 @@ public java.lang.String getExcludePrefixes(int index) { return excludePrefixes_.get(index); } /** - * - * *
        * If you specify `exclude_prefixes`, Storage Transfer Service uses the items
        * in the `exclude_prefixes` array to determine which objects to exclude from
@@ -5203,16 +4742,14 @@ public java.lang.String getExcludePrefixes(int index) {
        * 
* * repeated string exclude_prefixes = 4; - * * @param index The index of the value to return. * @return The bytes of the excludePrefixes at the given index. */ - public com.google.protobuf.ByteString getExcludePrefixesBytes(int index) { + public com.google.protobuf.ByteString + getExcludePrefixesBytes(int index) { return excludePrefixes_.getByteString(index); } /** - * - * *
        * If you specify `exclude_prefixes`, Storage Transfer Service uses the items
        * in the `exclude_prefixes` array to determine which objects to exclude from
@@ -5238,23 +4775,21 @@ public com.google.protobuf.ByteString getExcludePrefixesBytes(int index) {
        * 
* * repeated string exclude_prefixes = 4; - * * @param index The index to set the value at. * @param value The excludePrefixes to set. * @return This builder for chaining. */ - public Builder setExcludePrefixes(int index, java.lang.String value) { + public Builder setExcludePrefixes( + int index, java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureExcludePrefixesIsMutable(); + throw new NullPointerException(); + } + ensureExcludePrefixesIsMutable(); excludePrefixes_.set(index, value); onChanged(); return this; } /** - * - * *
        * If you specify `exclude_prefixes`, Storage Transfer Service uses the items
        * in the `exclude_prefixes` array to determine which objects to exclude from
@@ -5280,22 +4815,20 @@ public Builder setExcludePrefixes(int index, java.lang.String value) {
        * 
* * repeated string exclude_prefixes = 4; - * * @param value The excludePrefixes to add. * @return This builder for chaining. */ - public Builder addExcludePrefixes(java.lang.String value) { + public Builder addExcludePrefixes( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureExcludePrefixesIsMutable(); + throw new NullPointerException(); + } + ensureExcludePrefixesIsMutable(); excludePrefixes_.add(value); onChanged(); return this; } /** - * - * *
        * If you specify `exclude_prefixes`, Storage Transfer Service uses the items
        * in the `exclude_prefixes` array to determine which objects to exclude from
@@ -5321,19 +4854,18 @@ public Builder addExcludePrefixes(java.lang.String value) {
        * 
* * repeated string exclude_prefixes = 4; - * * @param values The excludePrefixes to add. * @return This builder for chaining. */ - public Builder addAllExcludePrefixes(java.lang.Iterable values) { + public Builder addAllExcludePrefixes( + java.lang.Iterable values) { ensureExcludePrefixesIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, excludePrefixes_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, excludePrefixes_); onChanged(); return this; } /** - * - * *
        * If you specify `exclude_prefixes`, Storage Transfer Service uses the items
        * in the `exclude_prefixes` array to determine which objects to exclude from
@@ -5359,7 +4891,6 @@ public Builder addAllExcludePrefixes(java.lang.Iterable values
        * 
* * repeated string exclude_prefixes = 4; - * * @return This builder for chaining. */ public Builder clearExcludePrefixes() { @@ -5369,8 +4900,6 @@ public Builder clearExcludePrefixes() { return this; } /** - * - * *
        * If you specify `exclude_prefixes`, Storage Transfer Service uses the items
        * in the `exclude_prefixes` array to determine which objects to exclude from
@@ -5396,15 +4925,15 @@ public Builder clearExcludePrefixes() {
        * 
* * repeated string exclude_prefixes = 4; - * * @param value The bytes of the excludePrefixes to add. * @return This builder for chaining. */ - public Builder addExcludePrefixesBytes(com.google.protobuf.ByteString value) { + public Builder addExcludePrefixesBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); ensureExcludePrefixesIsMutable(); excludePrefixes_.add(value); onChanged(); @@ -5413,13 +4942,8 @@ public Builder addExcludePrefixesBytes(com.google.protobuf.ByteString value) { private com.google.protobuf.Timestamp lastModifiedSince_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> - lastModifiedSinceBuilder_; + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> lastModifiedSinceBuilder_; /** - * - * *
        * If specified, only objects with a "last modification time" on or after
        * this timestamp and objects that don't have a "last modification time" are
@@ -5433,15 +4957,12 @@ public Builder addExcludePrefixesBytes(com.google.protobuf.ByteString value) {
        * 
* * .google.protobuf.Timestamp last_modified_since = 5; - * * @return Whether the lastModifiedSince field is set. */ public boolean hasLastModifiedSince() { return lastModifiedSinceBuilder_ != null || lastModifiedSince_ != null; } /** - * - * *
        * If specified, only objects with a "last modification time" on or after
        * this timestamp and objects that don't have a "last modification time" are
@@ -5455,21 +4976,16 @@ public boolean hasLastModifiedSince() {
        * 
* * .google.protobuf.Timestamp last_modified_since = 5; - * * @return The lastModifiedSince. */ public com.google.protobuf.Timestamp getLastModifiedSince() { if (lastModifiedSinceBuilder_ == null) { - return lastModifiedSince_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : lastModifiedSince_; + return lastModifiedSince_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : lastModifiedSince_; } else { return lastModifiedSinceBuilder_.getMessage(); } } /** - * - * *
        * If specified, only objects with a "last modification time" on or after
        * this timestamp and objects that don't have a "last modification time" are
@@ -5498,8 +5014,6 @@ public Builder setLastModifiedSince(com.google.protobuf.Timestamp value) {
         return this;
       }
       /**
-       *
-       *
        * 
        * If specified, only objects with a "last modification time" on or after
        * this timestamp and objects that don't have a "last modification time" are
@@ -5514,7 +5028,8 @@ public Builder setLastModifiedSince(com.google.protobuf.Timestamp value) {
        *
        * .google.protobuf.Timestamp last_modified_since = 5;
        */
-      public Builder setLastModifiedSince(com.google.protobuf.Timestamp.Builder builderForValue) {
+      public Builder setLastModifiedSince(
+          com.google.protobuf.Timestamp.Builder builderForValue) {
         if (lastModifiedSinceBuilder_ == null) {
           lastModifiedSince_ = builderForValue.build();
           onChanged();
@@ -5525,8 +5040,6 @@ public Builder setLastModifiedSince(com.google.protobuf.Timestamp.Builder builde
         return this;
       }
       /**
-       *
-       *
        * 
        * If specified, only objects with a "last modification time" on or after
        * this timestamp and objects that don't have a "last modification time" are
@@ -5545,9 +5058,7 @@ public Builder mergeLastModifiedSince(com.google.protobuf.Timestamp value) {
         if (lastModifiedSinceBuilder_ == null) {
           if (lastModifiedSince_ != null) {
             lastModifiedSince_ =
-                com.google.protobuf.Timestamp.newBuilder(lastModifiedSince_)
-                    .mergeFrom(value)
-                    .buildPartial();
+              com.google.protobuf.Timestamp.newBuilder(lastModifiedSince_).mergeFrom(value).buildPartial();
           } else {
             lastModifiedSince_ = value;
           }
@@ -5559,8 +5070,6 @@ public Builder mergeLastModifiedSince(com.google.protobuf.Timestamp value) {
         return this;
       }
       /**
-       *
-       *
        * 
        * If specified, only objects with a "last modification time" on or after
        * this timestamp and objects that don't have a "last modification time" are
@@ -5587,8 +5096,6 @@ public Builder clearLastModifiedSince() {
         return this;
       }
       /**
-       *
-       *
        * 
        * If specified, only objects with a "last modification time" on or after
        * this timestamp and objects that don't have a "last modification time" are
@@ -5604,13 +5111,11 @@ public Builder clearLastModifiedSince() {
        * .google.protobuf.Timestamp last_modified_since = 5;
        */
       public com.google.protobuf.Timestamp.Builder getLastModifiedSinceBuilder() {
-
+        
         onChanged();
         return getLastModifiedSinceFieldBuilder().getBuilder();
       }
       /**
-       *
-       *
        * 
        * If specified, only objects with a "last modification time" on or after
        * this timestamp and objects that don't have a "last modification time" are
@@ -5629,14 +5134,11 @@ public com.google.protobuf.TimestampOrBuilder getLastModifiedSinceOrBuilder() {
         if (lastModifiedSinceBuilder_ != null) {
           return lastModifiedSinceBuilder_.getMessageOrBuilder();
         } else {
-          return lastModifiedSince_ == null
-              ? com.google.protobuf.Timestamp.getDefaultInstance()
-              : lastModifiedSince_;
+          return lastModifiedSince_ == null ?
+              com.google.protobuf.Timestamp.getDefaultInstance() : lastModifiedSince_;
         }
       }
       /**
-       *
-       *
        * 
        * If specified, only objects with a "last modification time" on or after
        * this timestamp and objects that don't have a "last modification time" are
@@ -5652,17 +5154,14 @@ public com.google.protobuf.TimestampOrBuilder getLastModifiedSinceOrBuilder() {
        * .google.protobuf.Timestamp last_modified_since = 5;
        */
       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> 
           getLastModifiedSinceFieldBuilder() {
         if (lastModifiedSinceBuilder_ == null) {
-          lastModifiedSinceBuilder_ =
-              new com.google.protobuf.SingleFieldBuilderV3<
-                  com.google.protobuf.Timestamp,
-                  com.google.protobuf.Timestamp.Builder,
-                  com.google.protobuf.TimestampOrBuilder>(
-                  getLastModifiedSince(), getParentForChildren(), isClean());
+          lastModifiedSinceBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+              com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>(
+                  getLastModifiedSince(),
+                  getParentForChildren(),
+                  isClean());
           lastModifiedSince_ = null;
         }
         return lastModifiedSinceBuilder_;
@@ -5670,13 +5169,8 @@ public com.google.protobuf.TimestampOrBuilder getLastModifiedSinceOrBuilder() {
 
       private com.google.protobuf.Timestamp lastModifiedBefore_;
       private com.google.protobuf.SingleFieldBuilderV3<
-              com.google.protobuf.Timestamp,
-              com.google.protobuf.Timestamp.Builder,
-              com.google.protobuf.TimestampOrBuilder>
-          lastModifiedBeforeBuilder_;
+          com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> lastModifiedBeforeBuilder_;
       /**
-       *
-       *
        * 
        * If specified, only objects with a "last modification time" before this
        * timestamp and objects that don't have a "last modification time" are
@@ -5684,15 +5178,12 @@ public com.google.protobuf.TimestampOrBuilder getLastModifiedSinceOrBuilder() {
        * 
* * .google.protobuf.Timestamp last_modified_before = 6; - * * @return Whether the lastModifiedBefore field is set. */ public boolean hasLastModifiedBefore() { return lastModifiedBeforeBuilder_ != null || lastModifiedBefore_ != null; } /** - * - * *
        * If specified, only objects with a "last modification time" before this
        * timestamp and objects that don't have a "last modification time" are
@@ -5700,21 +5191,16 @@ public boolean hasLastModifiedBefore() {
        * 
* * .google.protobuf.Timestamp last_modified_before = 6; - * * @return The lastModifiedBefore. */ public com.google.protobuf.Timestamp getLastModifiedBefore() { if (lastModifiedBeforeBuilder_ == null) { - return lastModifiedBefore_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : lastModifiedBefore_; + return lastModifiedBefore_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : lastModifiedBefore_; } else { return lastModifiedBeforeBuilder_.getMessage(); } } /** - * - * *
        * If specified, only objects with a "last modification time" before this
        * timestamp and objects that don't have a "last modification time" are
@@ -5737,8 +5223,6 @@ public Builder setLastModifiedBefore(com.google.protobuf.Timestamp value) {
         return this;
       }
       /**
-       *
-       *
        * 
        * If specified, only objects with a "last modification time" before this
        * timestamp and objects that don't have a "last modification time" are
@@ -5747,7 +5231,8 @@ public Builder setLastModifiedBefore(com.google.protobuf.Timestamp value) {
        *
        * .google.protobuf.Timestamp last_modified_before = 6;
        */
-      public Builder setLastModifiedBefore(com.google.protobuf.Timestamp.Builder builderForValue) {
+      public Builder setLastModifiedBefore(
+          com.google.protobuf.Timestamp.Builder builderForValue) {
         if (lastModifiedBeforeBuilder_ == null) {
           lastModifiedBefore_ = builderForValue.build();
           onChanged();
@@ -5758,8 +5243,6 @@ public Builder setLastModifiedBefore(com.google.protobuf.Timestamp.Builder build
         return this;
       }
       /**
-       *
-       *
        * 
        * If specified, only objects with a "last modification time" before this
        * timestamp and objects that don't have a "last modification time" are
@@ -5772,9 +5255,7 @@ public Builder mergeLastModifiedBefore(com.google.protobuf.Timestamp value) {
         if (lastModifiedBeforeBuilder_ == null) {
           if (lastModifiedBefore_ != null) {
             lastModifiedBefore_ =
-                com.google.protobuf.Timestamp.newBuilder(lastModifiedBefore_)
-                    .mergeFrom(value)
-                    .buildPartial();
+              com.google.protobuf.Timestamp.newBuilder(lastModifiedBefore_).mergeFrom(value).buildPartial();
           } else {
             lastModifiedBefore_ = value;
           }
@@ -5786,8 +5267,6 @@ public Builder mergeLastModifiedBefore(com.google.protobuf.Timestamp value) {
         return this;
       }
       /**
-       *
-       *
        * 
        * If specified, only objects with a "last modification time" before this
        * timestamp and objects that don't have a "last modification time" are
@@ -5808,8 +5287,6 @@ public Builder clearLastModifiedBefore() {
         return this;
       }
       /**
-       *
-       *
        * 
        * If specified, only objects with a "last modification time" before this
        * timestamp and objects that don't have a "last modification time" are
@@ -5819,13 +5296,11 @@ public Builder clearLastModifiedBefore() {
        * .google.protobuf.Timestamp last_modified_before = 6;
        */
       public com.google.protobuf.Timestamp.Builder getLastModifiedBeforeBuilder() {
-
+        
         onChanged();
         return getLastModifiedBeforeFieldBuilder().getBuilder();
       }
       /**
-       *
-       *
        * 
        * If specified, only objects with a "last modification time" before this
        * timestamp and objects that don't have a "last modification time" are
@@ -5838,14 +5313,11 @@ public com.google.protobuf.TimestampOrBuilder getLastModifiedBeforeOrBuilder() {
         if (lastModifiedBeforeBuilder_ != null) {
           return lastModifiedBeforeBuilder_.getMessageOrBuilder();
         } else {
-          return lastModifiedBefore_ == null
-              ? com.google.protobuf.Timestamp.getDefaultInstance()
-              : lastModifiedBefore_;
+          return lastModifiedBefore_ == null ?
+              com.google.protobuf.Timestamp.getDefaultInstance() : lastModifiedBefore_;
         }
       }
       /**
-       *
-       *
        * 
        * If specified, only objects with a "last modification time" before this
        * timestamp and objects that don't have a "last modification time" are
@@ -5855,22 +5327,18 @@ public com.google.protobuf.TimestampOrBuilder getLastModifiedBeforeOrBuilder() {
        * .google.protobuf.Timestamp last_modified_before = 6;
        */
       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> 
           getLastModifiedBeforeFieldBuilder() {
         if (lastModifiedBeforeBuilder_ == null) {
-          lastModifiedBeforeBuilder_ =
-              new com.google.protobuf.SingleFieldBuilderV3<
-                  com.google.protobuf.Timestamp,
-                  com.google.protobuf.Timestamp.Builder,
-                  com.google.protobuf.TimestampOrBuilder>(
-                  getLastModifiedBefore(), getParentForChildren(), isClean());
+          lastModifiedBeforeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+              com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>(
+                  getLastModifiedBefore(),
+                  getParentForChildren(),
+                  isClean());
           lastModifiedBefore_ = null;
         }
         return lastModifiedBeforeBuilder_;
       }
-
       @java.lang.Override
       public final Builder setUnknownFields(
           final com.google.protobuf.UnknownFieldSet unknownFields) {
@@ -5883,32 +5351,30 @@ public final Builder mergeUnknownFields(
         return super.mergeUnknownFields(unknownFields);
       }
 
+
       // @@protoc_insertion_point(builder_scope:google.storagetransfer.v1.ObjectConditions)
     }
 
     // @@protoc_insertion_point(class_scope:google.storagetransfer.v1.ObjectConditions)
-    private static final com.google.storagetransfer.v1.proto.TransferTypes.ObjectConditions
-        DEFAULT_INSTANCE;
-
+    private static final com.google.storagetransfer.v1.proto.TransferTypes.ObjectConditions DEFAULT_INSTANCE;
     static {
       DEFAULT_INSTANCE = new com.google.storagetransfer.v1.proto.TransferTypes.ObjectConditions();
     }
 
-    public static com.google.storagetransfer.v1.proto.TransferTypes.ObjectConditions
-        getDefaultInstance() {
+    public static com.google.storagetransfer.v1.proto.TransferTypes.ObjectConditions getDefaultInstance() {
       return DEFAULT_INSTANCE;
     }
 
-    private static final com.google.protobuf.Parser PARSER =
-        new com.google.protobuf.AbstractParser() {
-          @java.lang.Override
-          public ObjectConditions parsePartialFrom(
-              com.google.protobuf.CodedInputStream input,
-              com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-              throws com.google.protobuf.InvalidProtocolBufferException {
-            return new ObjectConditions(input, extensionRegistry);
-          }
-        };
+    private static final com.google.protobuf.Parser
+        PARSER = new com.google.protobuf.AbstractParser() {
+      @java.lang.Override
+      public ObjectConditions parsePartialFrom(
+          com.google.protobuf.CodedInputStream input,
+          com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+          throws com.google.protobuf.InvalidProtocolBufferException {
+        return new ObjectConditions(input, extensionRegistry);
+      }
+    };
 
     public static com.google.protobuf.Parser parser() {
       return PARSER;
@@ -5920,47 +5386,39 @@ public com.google.protobuf.Parser getParserForType() {
     }
 
     @java.lang.Override
-    public com.google.storagetransfer.v1.proto.TransferTypes.ObjectConditions
-        getDefaultInstanceForType() {
+    public com.google.storagetransfer.v1.proto.TransferTypes.ObjectConditions getDefaultInstanceForType() {
       return DEFAULT_INSTANCE;
     }
+
   }
 
-  public interface GcsDataOrBuilder
-      extends
+  public interface GcsDataOrBuilder extends
       // @@protoc_insertion_point(interface_extends:google.storagetransfer.v1.GcsData)
       com.google.protobuf.MessageOrBuilder {
 
     /**
-     *
-     *
      * 
      * Required. Cloud Storage bucket name. Must meet
      * [Bucket Name Requirements](/storage/docs/naming#requirements).
      * 
* * string bucket_name = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bucketName. */ java.lang.String getBucketName(); /** - * - * *
      * Required. Cloud Storage bucket name. Must meet
      * [Bucket Name Requirements](/storage/docs/naming#requirements).
      * 
* * string bucket_name = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for bucketName. */ - com.google.protobuf.ByteString getBucketNameBytes(); + com.google.protobuf.ByteString + getBucketNameBytes(); /** - * - * *
      * Root path to transfer objects.
      * Must be an empty string or full path name that ends with a '/'. This field
@@ -5971,13 +5429,10 @@ public interface GcsDataOrBuilder
      * 
* * string path = 3; - * * @return The path. */ java.lang.String getPath(); /** - * - * *
      * Root path to transfer objects.
      * Must be an empty string or full path name that ends with a '/'. This field
@@ -5988,14 +5443,12 @@ public interface GcsDataOrBuilder
      * 
* * string path = 3; - * * @return The bytes for path. */ - com.google.protobuf.ByteString getPathBytes(); + com.google.protobuf.ByteString + getPathBytes(); } /** - * - * *
    * In a GcsData resource, an object's name is the Cloud Storage object's
    * name and its "last modification time" refers to the object's `updated`
@@ -6005,16 +5458,15 @@ public interface GcsDataOrBuilder
    *
    * Protobuf type {@code google.storagetransfer.v1.GcsData}
    */
-  public static final class GcsData extends com.google.protobuf.GeneratedMessageV3
-      implements
+  public static final class GcsData extends
+      com.google.protobuf.GeneratedMessageV3 implements
       // @@protoc_insertion_point(message_implements:google.storagetransfer.v1.GcsData)
       GcsDataOrBuilder {
-    private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
     // Use GcsData.newBuilder() to construct.
     private GcsData(com.google.protobuf.GeneratedMessageV3.Builder builder) {
       super(builder);
     }
-
     private GcsData() {
       bucketName_ = "";
       path_ = "";
@@ -6022,15 +5474,16 @@ private GcsData() {
 
     @java.lang.Override
     @SuppressWarnings({"unused"})
-    protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+    protected java.lang.Object newInstance(
+        UnusedPrivateParameter unused) {
       return new GcsData();
     }
 
     @java.lang.Override
-    public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+    public final com.google.protobuf.UnknownFieldSet
+    getUnknownFields() {
       return this.unknownFields;
     }
-
     private GcsData(
         com.google.protobuf.CodedInputStream input,
         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -6049,27 +5502,25 @@ private GcsData(
             case 0:
               done = true;
               break;
-            case 10:
-              {
-                java.lang.String s = input.readStringRequireUtf8();
+            case 10: {
+              java.lang.String s = input.readStringRequireUtf8();
 
-                bucketName_ = s;
-                break;
-              }
-            case 26:
-              {
-                java.lang.String s = input.readStringRequireUtf8();
+              bucketName_ = s;
+              break;
+            }
+            case 26: {
+              java.lang.String s = input.readStringRequireUtf8();
 
-                path_ = s;
-                break;
-              }
-            default:
-              {
-                if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
-                  done = true;
-                }
-                break;
+              path_ = s;
+              break;
+            }
+            default: {
+              if (!parseUnknownField(
+                  input, unknownFields, extensionRegistry, tag)) {
+                done = true;
               }
+              break;
+            }
           }
         }
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -6077,40 +5528,35 @@ private GcsData(
       } catch (com.google.protobuf.UninitializedMessageException e) {
         throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
       } catch (java.io.IOException e) {
-        throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
+        throw new com.google.protobuf.InvalidProtocolBufferException(
+            e).setUnfinishedMessage(this);
       } finally {
         this.unknownFields = unknownFields.build();
         makeExtensionsImmutable();
       }
     }
-
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.storagetransfer.v1.proto.TransferTypes
-          .internal_static_google_storagetransfer_v1_GcsData_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.storagetransfer.v1.proto.TransferTypes.internal_static_google_storagetransfer_v1_GcsData_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.storagetransfer.v1.proto.TransferTypes
-          .internal_static_google_storagetransfer_v1_GcsData_fieldAccessorTable
+      return com.google.storagetransfer.v1.proto.TransferTypes.internal_static_google_storagetransfer_v1_GcsData_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.storagetransfer.v1.proto.TransferTypes.GcsData.class,
-              com.google.storagetransfer.v1.proto.TransferTypes.GcsData.Builder.class);
+              com.google.storagetransfer.v1.proto.TransferTypes.GcsData.class, com.google.storagetransfer.v1.proto.TransferTypes.GcsData.Builder.class);
     }
 
     public static final int BUCKET_NAME_FIELD_NUMBER = 1;
     private volatile java.lang.Object bucketName_;
     /**
-     *
-     *
      * 
      * Required. Cloud Storage bucket name. Must meet
      * [Bucket Name Requirements](/storage/docs/naming#requirements).
      * 
* * string bucket_name = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bucketName. */ @java.lang.Override @@ -6119,30 +5565,30 @@ public java.lang.String getBucketName() { 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(); bucketName_ = s; return s; } } /** - * - * *
      * Required. Cloud Storage bucket name. Must meet
      * [Bucket Name Requirements](/storage/docs/naming#requirements).
      * 
* * string bucket_name = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for bucketName. */ @java.lang.Override - public com.google.protobuf.ByteString getBucketNameBytes() { + public com.google.protobuf.ByteString + getBucketNameBytes() { java.lang.Object ref = bucketName_; 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); bucketName_ = b; return b; } else { @@ -6153,8 +5599,6 @@ public com.google.protobuf.ByteString getBucketNameBytes() { public static final int PATH_FIELD_NUMBER = 3; private volatile java.lang.Object path_; /** - * - * *
      * Root path to transfer objects.
      * Must be an empty string or full path name that ends with a '/'. This field
@@ -6165,7 +5609,6 @@ public com.google.protobuf.ByteString getBucketNameBytes() {
      * 
* * string path = 3; - * * @return The path. */ @java.lang.Override @@ -6174,15 +5617,14 @@ public java.lang.String getPath() { 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(); path_ = s; return s; } } /** - * - * *
      * Root path to transfer objects.
      * Must be an empty string or full path name that ends with a '/'. This field
@@ -6193,15 +5635,16 @@ public java.lang.String getPath() {
      * 
* * string path = 3; - * * @return The bytes for path. */ @java.lang.Override - public com.google.protobuf.ByteString getPathBytes() { + public com.google.protobuf.ByteString + getPathBytes() { java.lang.Object ref = path_; 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); path_ = b; return b; } else { @@ -6210,7 +5653,6 @@ public com.google.protobuf.ByteString getPathBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -6222,7 +5664,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 (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(bucketName_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, bucketName_); } @@ -6252,16 +5695,17 @@ 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.storagetransfer.v1.proto.TransferTypes.GcsData)) { return super.equals(obj); } - com.google.storagetransfer.v1.proto.TransferTypes.GcsData other = - (com.google.storagetransfer.v1.proto.TransferTypes.GcsData) obj; + com.google.storagetransfer.v1.proto.TransferTypes.GcsData other = (com.google.storagetransfer.v1.proto.TransferTypes.GcsData) obj; - if (!getBucketName().equals(other.getBucketName())) return false; - if (!getPath().equals(other.getPath())) return false; + if (!getBucketName() + .equals(other.getBucketName())) return false; + if (!getPath() + .equals(other.getPath())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -6283,94 +5727,87 @@ public int hashCode() { } public static com.google.storagetransfer.v1.proto.TransferTypes.GcsData parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.storagetransfer.v1.proto.TransferTypes.GcsData 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.storagetransfer.v1.proto.TransferTypes.GcsData parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.storagetransfer.v1.proto.TransferTypes.GcsData 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.storagetransfer.v1.proto.TransferTypes.GcsData parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.storagetransfer.v1.proto.TransferTypes.GcsData 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.storagetransfer.v1.proto.TransferTypes.GcsData parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.storagetransfer.v1.proto.TransferTypes.GcsData parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.storagetransfer.v1.proto.TransferTypes.GcsData 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.storagetransfer.v1.proto.TransferTypes.GcsData parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.storagetransfer.v1.proto.TransferTypes.GcsData parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.storagetransfer.v1.proto.TransferTypes.GcsData 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.storagetransfer.v1.proto.TransferTypes.GcsData 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.storagetransfer.v1.proto.TransferTypes.GcsData 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.storagetransfer.v1.proto.TransferTypes.GcsData prototype) { + public static Builder newBuilder(com.google.storagetransfer.v1.proto.TransferTypes.GcsData 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 @@ -6380,8 +5817,6 @@ protected Builder newBuilderForType( return builder; } /** - * - * *
      * In a GcsData resource, an object's name is the Cloud Storage object's
      * name and its "last modification time" refers to the object's `updated`
@@ -6391,24 +5826,21 @@ protected Builder newBuilderForType(
      *
      * Protobuf type {@code google.storagetransfer.v1.GcsData}
      */
-    public static final class Builder
-        extends com.google.protobuf.GeneratedMessageV3.Builder
-        implements
+    public static final class Builder extends
+        com.google.protobuf.GeneratedMessageV3.Builder implements
         // @@protoc_insertion_point(builder_implements:google.storagetransfer.v1.GcsData)
         com.google.storagetransfer.v1.proto.TransferTypes.GcsDataOrBuilder {
-      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-        return com.google.storagetransfer.v1.proto.TransferTypes
-            .internal_static_google_storagetransfer_v1_GcsData_descriptor;
+      public static final com.google.protobuf.Descriptors.Descriptor
+          getDescriptor() {
+        return com.google.storagetransfer.v1.proto.TransferTypes.internal_static_google_storagetransfer_v1_GcsData_descriptor;
       }
 
       @java.lang.Override
       protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
           internalGetFieldAccessorTable() {
-        return com.google.storagetransfer.v1.proto.TransferTypes
-            .internal_static_google_storagetransfer_v1_GcsData_fieldAccessorTable
+        return com.google.storagetransfer.v1.proto.TransferTypes.internal_static_google_storagetransfer_v1_GcsData_fieldAccessorTable
             .ensureFieldAccessorsInitialized(
-                com.google.storagetransfer.v1.proto.TransferTypes.GcsData.class,
-                com.google.storagetransfer.v1.proto.TransferTypes.GcsData.Builder.class);
+                com.google.storagetransfer.v1.proto.TransferTypes.GcsData.class, com.google.storagetransfer.v1.proto.TransferTypes.GcsData.Builder.class);
       }
 
       // Construct using com.google.storagetransfer.v1.proto.TransferTypes.GcsData.newBuilder()
@@ -6416,15 +5848,16 @@ private Builder() {
         maybeForceBuilderInitialization();
       }
 
-      private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+      private Builder(
+          com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
         super(parent);
         maybeForceBuilderInitialization();
       }
-
       private void maybeForceBuilderInitialization() {
-        if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {}
+        if (com.google.protobuf.GeneratedMessageV3
+                .alwaysUseFieldBuilders) {
+        }
       }
-
       @java.lang.Override
       public Builder clear() {
         super.clear();
@@ -6436,9 +5869,9 @@ public Builder clear() {
       }
 
       @java.lang.Override
-      public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-        return com.google.storagetransfer.v1.proto.TransferTypes
-            .internal_static_google_storagetransfer_v1_GcsData_descriptor;
+      public com.google.protobuf.Descriptors.Descriptor
+          getDescriptorForType() {
+        return com.google.storagetransfer.v1.proto.TransferTypes.internal_static_google_storagetransfer_v1_GcsData_descriptor;
       }
 
       @java.lang.Override
@@ -6457,8 +5890,7 @@ public com.google.storagetransfer.v1.proto.TransferTypes.GcsData build() {
 
       @java.lang.Override
       public com.google.storagetransfer.v1.proto.TransferTypes.GcsData buildPartial() {
-        com.google.storagetransfer.v1.proto.TransferTypes.GcsData result =
-            new com.google.storagetransfer.v1.proto.TransferTypes.GcsData(this);
+        com.google.storagetransfer.v1.proto.TransferTypes.GcsData result = new com.google.storagetransfer.v1.proto.TransferTypes.GcsData(this);
         result.bucketName_ = bucketName_;
         result.path_ = path_;
         onBuilt();
@@ -6469,41 +5901,38 @@ public com.google.storagetransfer.v1.proto.TransferTypes.GcsData buildPartial()
       public Builder clone() {
         return super.clone();
       }
-
       @java.lang.Override
       public Builder setField(
-          com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+          com.google.protobuf.Descriptors.FieldDescriptor field,
+          java.lang.Object value) {
         return super.setField(field, value);
       }
-
       @java.lang.Override
-      public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+      public Builder clearField(
+          com.google.protobuf.Descriptors.FieldDescriptor field) {
         return super.clearField(field);
       }
-
       @java.lang.Override
-      public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+      public Builder clearOneof(
+          com.google.protobuf.Descriptors.OneofDescriptor oneof) {
         return super.clearOneof(oneof);
       }
-
       @java.lang.Override
       public Builder setRepeatedField(
           com.google.protobuf.Descriptors.FieldDescriptor field,
-          int index,
-          java.lang.Object value) {
+          int index, java.lang.Object value) {
         return super.setRepeatedField(field, index, value);
       }
-
       @java.lang.Override
       public Builder addRepeatedField(
-          com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+          com.google.protobuf.Descriptors.FieldDescriptor field,
+          java.lang.Object value) {
         return super.addRepeatedField(field, value);
       }
-
       @java.lang.Override
       public Builder mergeFrom(com.google.protobuf.Message other) {
         if (other instanceof com.google.storagetransfer.v1.proto.TransferTypes.GcsData) {
-          return mergeFrom((com.google.storagetransfer.v1.proto.TransferTypes.GcsData) other);
+          return mergeFrom((com.google.storagetransfer.v1.proto.TransferTypes.GcsData)other);
         } else {
           super.mergeFrom(other);
           return this;
@@ -6511,8 +5940,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
       }
 
       public Builder mergeFrom(com.google.storagetransfer.v1.proto.TransferTypes.GcsData other) {
-        if (other == com.google.storagetransfer.v1.proto.TransferTypes.GcsData.getDefaultInstance())
-          return this;
+        if (other == com.google.storagetransfer.v1.proto.TransferTypes.GcsData.getDefaultInstance()) return this;
         if (!other.getBucketName().isEmpty()) {
           bucketName_ = other.bucketName_;
           onChanged();
@@ -6540,8 +5968,7 @@ public Builder mergeFrom(
         try {
           parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
         } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-          parsedMessage =
-              (com.google.storagetransfer.v1.proto.TransferTypes.GcsData) e.getUnfinishedMessage();
+          parsedMessage = (com.google.storagetransfer.v1.proto.TransferTypes.GcsData) e.getUnfinishedMessage();
           throw e.unwrapIOException();
         } finally {
           if (parsedMessage != null) {
@@ -6553,21 +5980,19 @@ public Builder mergeFrom(
 
       private java.lang.Object bucketName_ = "";
       /**
-       *
-       *
        * 
        * Required. Cloud Storage bucket name. Must meet
        * [Bucket Name Requirements](/storage/docs/naming#requirements).
        * 
* * string bucket_name = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bucketName. */ public java.lang.String getBucketName() { java.lang.Object ref = bucketName_; 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(); bucketName_ = s; return s; @@ -6576,22 +6001,21 @@ public java.lang.String getBucketName() { } } /** - * - * *
        * Required. Cloud Storage bucket name. Must meet
        * [Bucket Name Requirements](/storage/docs/naming#requirements).
        * 
* * string bucket_name = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for bucketName. */ - public com.google.protobuf.ByteString getBucketNameBytes() { + public com.google.protobuf.ByteString + getBucketNameBytes() { java.lang.Object ref = bucketName_; 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); bucketName_ = b; return b; } else { @@ -6599,64 +6023,57 @@ public com.google.protobuf.ByteString getBucketNameBytes() { } } /** - * - * *
        * Required. Cloud Storage bucket name. Must meet
        * [Bucket Name Requirements](/storage/docs/naming#requirements).
        * 
* * string bucket_name = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The bucketName to set. * @return This builder for chaining. */ - public Builder setBucketName(java.lang.String value) { + public Builder setBucketName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + bucketName_ = value; onChanged(); return this; } /** - * - * *
        * Required. Cloud Storage bucket name. Must meet
        * [Bucket Name Requirements](/storage/docs/naming#requirements).
        * 
* * string bucket_name = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return This builder for chaining. */ public Builder clearBucketName() { - + bucketName_ = getDefaultInstance().getBucketName(); onChanged(); return this; } /** - * - * *
        * Required. Cloud Storage bucket name. Must meet
        * [Bucket Name Requirements](/storage/docs/naming#requirements).
        * 
* * string bucket_name = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The bytes for bucketName to set. * @return This builder for chaining. */ - public Builder setBucketNameBytes(com.google.protobuf.ByteString value) { + public Builder setBucketNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + bucketName_ = value; onChanged(); return this; @@ -6664,8 +6081,6 @@ public Builder setBucketNameBytes(com.google.protobuf.ByteString value) { private java.lang.Object path_ = ""; /** - * - * *
        * Root path to transfer objects.
        * Must be an empty string or full path name that ends with a '/'. This field
@@ -6676,13 +6091,13 @@ public Builder setBucketNameBytes(com.google.protobuf.ByteString value) {
        * 
* * string path = 3; - * * @return The path. */ public java.lang.String getPath() { java.lang.Object ref = path_; 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(); path_ = s; return s; @@ -6691,8 +6106,6 @@ public java.lang.String getPath() { } } /** - * - * *
        * Root path to transfer objects.
        * Must be an empty string or full path name that ends with a '/'. This field
@@ -6703,14 +6116,15 @@ public java.lang.String getPath() {
        * 
* * string path = 3; - * * @return The bytes for path. */ - public com.google.protobuf.ByteString getPathBytes() { + public com.google.protobuf.ByteString + getPathBytes() { java.lang.Object ref = path_; 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); path_ = b; return b; } else { @@ -6718,8 +6132,6 @@ public com.google.protobuf.ByteString getPathBytes() { } } /** - * - * *
        * Root path to transfer objects.
        * Must be an empty string or full path name that ends with a '/'. This field
@@ -6730,22 +6142,20 @@ public com.google.protobuf.ByteString getPathBytes() {
        * 
* * string path = 3; - * * @param value The path to set. * @return This builder for chaining. */ - public Builder setPath(java.lang.String value) { + public Builder setPath( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + path_ = value; onChanged(); return this; } /** - * - * *
        * Root path to transfer objects.
        * Must be an empty string or full path name that ends with a '/'. This field
@@ -6756,18 +6166,15 @@ public Builder setPath(java.lang.String value) {
        * 
* * string path = 3; - * * @return This builder for chaining. */ public Builder clearPath() { - + path_ = getDefaultInstance().getPath(); onChanged(); return this; } /** - * - * *
        * Root path to transfer objects.
        * Must be an empty string or full path name that ends with a '/'. This field
@@ -6778,21 +6185,20 @@ public Builder clearPath() {
        * 
* * string path = 3; - * * @param value The bytes for path to set. * @return This builder for chaining. */ - public Builder setPathBytes(com.google.protobuf.ByteString value) { + public Builder setPathBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + path_ = value; onChanged(); return this; } - @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -6805,12 +6211,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.storagetransfer.v1.GcsData) } // @@protoc_insertion_point(class_scope:google.storagetransfer.v1.GcsData) private static final com.google.storagetransfer.v1.proto.TransferTypes.GcsData DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.storagetransfer.v1.proto.TransferTypes.GcsData(); } @@ -6819,16 +6225,16 @@ public static com.google.storagetransfer.v1.proto.TransferTypes.GcsData getDefau return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public GcsData parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new GcsData(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public GcsData parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new GcsData(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -6843,16 +6249,14 @@ public com.google.protobuf.Parser getParserForType() { public com.google.storagetransfer.v1.proto.TransferTypes.GcsData getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } - public interface AwsS3DataOrBuilder - extends + public interface AwsS3DataOrBuilder extends // @@protoc_insertion_point(interface_extends:google.storagetransfer.v1.AwsS3Data) com.google.protobuf.MessageOrBuilder { /** - * - * *
      * Required. S3 Bucket name (see
      * [Creating a
@@ -6860,13 +6264,10 @@ public interface AwsS3DataOrBuilder
      * 
* * string bucket_name = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bucketName. */ java.lang.String getBucketName(); /** - * - * *
      * Required. S3 Bucket name (see
      * [Creating a
@@ -6874,14 +6275,12 @@ public interface AwsS3DataOrBuilder
      * 
* * string bucket_name = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for bucketName. */ - com.google.protobuf.ByteString getBucketNameBytes(); + com.google.protobuf.ByteString + getBucketNameBytes(); /** - * - * *
      * Input only. AWS access key used to sign the API requests to the AWS S3 bucket.
      * Permissions on the bucket must be granted to the access ID of the AWS
@@ -6890,16 +6289,11 @@ public interface AwsS3DataOrBuilder
      * [User credentials](/storage-transfer/docs/data-retention#user-credentials).
      * 
* - * - * .google.storagetransfer.v1.AwsAccessKey aws_access_key = 2 [(.google.api.field_behavior) = INPUT_ONLY]; - * - * + * .google.storagetransfer.v1.AwsAccessKey aws_access_key = 2 [(.google.api.field_behavior) = INPUT_ONLY]; * @return Whether the awsAccessKey field is set. */ boolean hasAwsAccessKey(); /** - * - * *
      * Input only. AWS access key used to sign the API requests to the AWS S3 bucket.
      * Permissions on the bucket must be granted to the access ID of the AWS
@@ -6908,16 +6302,11 @@ public interface AwsS3DataOrBuilder
      * [User credentials](/storage-transfer/docs/data-retention#user-credentials).
      * 
* - * - * .google.storagetransfer.v1.AwsAccessKey aws_access_key = 2 [(.google.api.field_behavior) = INPUT_ONLY]; - * - * + * .google.storagetransfer.v1.AwsAccessKey aws_access_key = 2 [(.google.api.field_behavior) = INPUT_ONLY]; * @return The awsAccessKey. */ com.google.storagetransfer.v1.proto.TransferTypes.AwsAccessKey getAwsAccessKey(); /** - * - * *
      * Input only. AWS access key used to sign the API requests to the AWS S3 bucket.
      * Permissions on the bucket must be granted to the access ID of the AWS
@@ -6926,16 +6315,11 @@ public interface AwsS3DataOrBuilder
      * [User credentials](/storage-transfer/docs/data-retention#user-credentials).
      * 
* - * - * .google.storagetransfer.v1.AwsAccessKey aws_access_key = 2 [(.google.api.field_behavior) = INPUT_ONLY]; - * + * .google.storagetransfer.v1.AwsAccessKey aws_access_key = 2 [(.google.api.field_behavior) = INPUT_ONLY]; */ - com.google.storagetransfer.v1.proto.TransferTypes.AwsAccessKeyOrBuilder - getAwsAccessKeyOrBuilder(); + com.google.storagetransfer.v1.proto.TransferTypes.AwsAccessKeyOrBuilder getAwsAccessKeyOrBuilder(); /** - * - * *
      * Root path to transfer objects.
      * Must be an empty string or full path name that ends with a '/'. This field
@@ -6944,13 +6328,10 @@ public interface AwsS3DataOrBuilder
      * 
* * string path = 3; - * * @return The path. */ java.lang.String getPath(); /** - * - * *
      * Root path to transfer objects.
      * Must be an empty string or full path name that ends with a '/'. This field
@@ -6959,14 +6340,12 @@ public interface AwsS3DataOrBuilder
      * 
* * string path = 3; - * * @return The bytes for path. */ - com.google.protobuf.ByteString getPathBytes(); + com.google.protobuf.ByteString + getPathBytes(); /** - * - * *
      * The Amazon Resource Name (ARN) of the role to support temporary
      * credentials via `AssumeRoleWithWebIdentity`. For more information about
@@ -6978,13 +6357,10 @@ public interface AwsS3DataOrBuilder
      * 
* * string role_arn = 4; - * * @return The roleArn. */ java.lang.String getRoleArn(); /** - * - * *
      * The Amazon Resource Name (ARN) of the role to support temporary
      * credentials via `AssumeRoleWithWebIdentity`. For more information about
@@ -6996,14 +6372,12 @@ public interface AwsS3DataOrBuilder
      * 
* * string role_arn = 4; - * * @return The bytes for roleArn. */ - com.google.protobuf.ByteString getRoleArnBytes(); + com.google.protobuf.ByteString + getRoleArnBytes(); } /** - * - * *
    * An AwsS3Data resource can be a data source, but not a data sink.
    * In an AwsS3Data resource, an object's name is the S3 object's key name.
@@ -7011,16 +6385,15 @@ public interface AwsS3DataOrBuilder
    *
    * Protobuf type {@code google.storagetransfer.v1.AwsS3Data}
    */
-  public static final class AwsS3Data extends com.google.protobuf.GeneratedMessageV3
-      implements
+  public static final class AwsS3Data extends
+      com.google.protobuf.GeneratedMessageV3 implements
       // @@protoc_insertion_point(message_implements:google.storagetransfer.v1.AwsS3Data)
       AwsS3DataOrBuilder {
-    private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
     // Use AwsS3Data.newBuilder() to construct.
     private AwsS3Data(com.google.protobuf.GeneratedMessageV3.Builder builder) {
       super(builder);
     }
-
     private AwsS3Data() {
       bucketName_ = "";
       path_ = "";
@@ -7029,15 +6402,16 @@ private AwsS3Data() {
 
     @java.lang.Override
     @SuppressWarnings({"unused"})
-    protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+    protected java.lang.Object newInstance(
+        UnusedPrivateParameter unused) {
       return new AwsS3Data();
     }
 
     @java.lang.Override
-    public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+    public final com.google.protobuf.UnknownFieldSet
+    getUnknownFields() {
       return this.unknownFields;
     }
-
     private AwsS3Data(
         com.google.protobuf.CodedInputStream input,
         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -7056,52 +6430,44 @@ private AwsS3Data(
             case 0:
               done = true;
               break;
-            case 10:
-              {
-                java.lang.String s = input.readStringRequireUtf8();
+            case 10: {
+              java.lang.String s = input.readStringRequireUtf8();
 
-                bucketName_ = s;
-                break;
+              bucketName_ = s;
+              break;
+            }
+            case 18: {
+              com.google.storagetransfer.v1.proto.TransferTypes.AwsAccessKey.Builder subBuilder = null;
+              if (awsAccessKey_ != null) {
+                subBuilder = awsAccessKey_.toBuilder();
               }
-            case 18:
-              {
-                com.google.storagetransfer.v1.proto.TransferTypes.AwsAccessKey.Builder subBuilder =
-                    null;
-                if (awsAccessKey_ != null) {
-                  subBuilder = awsAccessKey_.toBuilder();
-                }
-                awsAccessKey_ =
-                    input.readMessage(
-                        com.google.storagetransfer.v1.proto.TransferTypes.AwsAccessKey.parser(),
-                        extensionRegistry);
-                if (subBuilder != null) {
-                  subBuilder.mergeFrom(awsAccessKey_);
-                  awsAccessKey_ = subBuilder.buildPartial();
-                }
-
-                break;
+              awsAccessKey_ = input.readMessage(com.google.storagetransfer.v1.proto.TransferTypes.AwsAccessKey.parser(), extensionRegistry);
+              if (subBuilder != null) {
+                subBuilder.mergeFrom(awsAccessKey_);
+                awsAccessKey_ = subBuilder.buildPartial();
               }
-            case 26:
-              {
-                java.lang.String s = input.readStringRequireUtf8();
 
-                path_ = s;
-                break;
-              }
-            case 34:
-              {
-                java.lang.String s = input.readStringRequireUtf8();
+              break;
+            }
+            case 26: {
+              java.lang.String s = input.readStringRequireUtf8();
 
-                roleArn_ = s;
-                break;
-              }
-            default:
-              {
-                if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
-                  done = true;
-                }
-                break;
+              path_ = s;
+              break;
+            }
+            case 34: {
+              java.lang.String s = input.readStringRequireUtf8();
+
+              roleArn_ = s;
+              break;
+            }
+            default: {
+              if (!parseUnknownField(
+                  input, unknownFields, extensionRegistry, tag)) {
+                done = true;
               }
+              break;
+            }
           }
         }
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -7109,33 +6475,29 @@ private AwsS3Data(
       } catch (com.google.protobuf.UninitializedMessageException e) {
         throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
       } catch (java.io.IOException e) {
-        throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
+        throw new com.google.protobuf.InvalidProtocolBufferException(
+            e).setUnfinishedMessage(this);
       } finally {
         this.unknownFields = unknownFields.build();
         makeExtensionsImmutable();
       }
     }
-
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.storagetransfer.v1.proto.TransferTypes
-          .internal_static_google_storagetransfer_v1_AwsS3Data_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.storagetransfer.v1.proto.TransferTypes.internal_static_google_storagetransfer_v1_AwsS3Data_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.storagetransfer.v1.proto.TransferTypes
-          .internal_static_google_storagetransfer_v1_AwsS3Data_fieldAccessorTable
+      return com.google.storagetransfer.v1.proto.TransferTypes.internal_static_google_storagetransfer_v1_AwsS3Data_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.storagetransfer.v1.proto.TransferTypes.AwsS3Data.class,
-              com.google.storagetransfer.v1.proto.TransferTypes.AwsS3Data.Builder.class);
+              com.google.storagetransfer.v1.proto.TransferTypes.AwsS3Data.class, com.google.storagetransfer.v1.proto.TransferTypes.AwsS3Data.Builder.class);
     }
 
     public static final int BUCKET_NAME_FIELD_NUMBER = 1;
     private volatile java.lang.Object bucketName_;
     /**
-     *
-     *
      * 
      * Required. S3 Bucket name (see
      * [Creating a
@@ -7143,7 +6505,6 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
      * 
* * string bucket_name = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bucketName. */ @java.lang.Override @@ -7152,15 +6513,14 @@ public java.lang.String getBucketName() { 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(); bucketName_ = s; return s; } } /** - * - * *
      * Required. S3 Bucket name (see
      * [Creating a
@@ -7168,15 +6528,16 @@ public java.lang.String getBucketName() {
      * 
* * string bucket_name = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for bucketName. */ @java.lang.Override - public com.google.protobuf.ByteString getBucketNameBytes() { + public com.google.protobuf.ByteString + getBucketNameBytes() { java.lang.Object ref = bucketName_; 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); bucketName_ = b; return b; } else { @@ -7187,8 +6548,6 @@ public com.google.protobuf.ByteString getBucketNameBytes() { public static final int AWS_ACCESS_KEY_FIELD_NUMBER = 2; private com.google.storagetransfer.v1.proto.TransferTypes.AwsAccessKey awsAccessKey_; /** - * - * *
      * Input only. AWS access key used to sign the API requests to the AWS S3 bucket.
      * Permissions on the bucket must be granted to the access ID of the AWS
@@ -7197,10 +6556,7 @@ public com.google.protobuf.ByteString getBucketNameBytes() {
      * [User credentials](/storage-transfer/docs/data-retention#user-credentials).
      * 
* - * - * .google.storagetransfer.v1.AwsAccessKey aws_access_key = 2 [(.google.api.field_behavior) = INPUT_ONLY]; - * - * + * .google.storagetransfer.v1.AwsAccessKey aws_access_key = 2 [(.google.api.field_behavior) = INPUT_ONLY]; * @return Whether the awsAccessKey field is set. */ @java.lang.Override @@ -7208,8 +6564,6 @@ public boolean hasAwsAccessKey() { return awsAccessKey_ != null; } /** - * - * *
      * Input only. AWS access key used to sign the API requests to the AWS S3 bucket.
      * Permissions on the bucket must be granted to the access ID of the AWS
@@ -7218,21 +6572,14 @@ public boolean hasAwsAccessKey() {
      * [User credentials](/storage-transfer/docs/data-retention#user-credentials).
      * 
* - * - * .google.storagetransfer.v1.AwsAccessKey aws_access_key = 2 [(.google.api.field_behavior) = INPUT_ONLY]; - * - * + * .google.storagetransfer.v1.AwsAccessKey aws_access_key = 2 [(.google.api.field_behavior) = INPUT_ONLY]; * @return The awsAccessKey. */ @java.lang.Override public com.google.storagetransfer.v1.proto.TransferTypes.AwsAccessKey getAwsAccessKey() { - return awsAccessKey_ == null - ? com.google.storagetransfer.v1.proto.TransferTypes.AwsAccessKey.getDefaultInstance() - : awsAccessKey_; + return awsAccessKey_ == null ? com.google.storagetransfer.v1.proto.TransferTypes.AwsAccessKey.getDefaultInstance() : awsAccessKey_; } /** - * - * *
      * Input only. AWS access key used to sign the API requests to the AWS S3 bucket.
      * Permissions on the bucket must be granted to the access ID of the AWS
@@ -7241,21 +6588,16 @@ public com.google.storagetransfer.v1.proto.TransferTypes.AwsAccessKey getAwsAcce
      * [User credentials](/storage-transfer/docs/data-retention#user-credentials).
      * 
* - * - * .google.storagetransfer.v1.AwsAccessKey aws_access_key = 2 [(.google.api.field_behavior) = INPUT_ONLY]; - * + * .google.storagetransfer.v1.AwsAccessKey aws_access_key = 2 [(.google.api.field_behavior) = INPUT_ONLY]; */ @java.lang.Override - public com.google.storagetransfer.v1.proto.TransferTypes.AwsAccessKeyOrBuilder - getAwsAccessKeyOrBuilder() { + public com.google.storagetransfer.v1.proto.TransferTypes.AwsAccessKeyOrBuilder getAwsAccessKeyOrBuilder() { return getAwsAccessKey(); } public static final int PATH_FIELD_NUMBER = 3; private volatile java.lang.Object path_; /** - * - * *
      * Root path to transfer objects.
      * Must be an empty string or full path name that ends with a '/'. This field
@@ -7264,7 +6606,6 @@ public com.google.storagetransfer.v1.proto.TransferTypes.AwsAccessKey getAwsAcce
      * 
* * string path = 3; - * * @return The path. */ @java.lang.Override @@ -7273,15 +6614,14 @@ public java.lang.String getPath() { 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(); path_ = s; return s; } } /** - * - * *
      * Root path to transfer objects.
      * Must be an empty string or full path name that ends with a '/'. This field
@@ -7290,15 +6630,16 @@ public java.lang.String getPath() {
      * 
* * string path = 3; - * * @return The bytes for path. */ @java.lang.Override - public com.google.protobuf.ByteString getPathBytes() { + public com.google.protobuf.ByteString + getPathBytes() { java.lang.Object ref = path_; 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); path_ = b; return b; } else { @@ -7309,8 +6650,6 @@ public com.google.protobuf.ByteString getPathBytes() { public static final int ROLE_ARN_FIELD_NUMBER = 4; private volatile java.lang.Object roleArn_; /** - * - * *
      * The Amazon Resource Name (ARN) of the role to support temporary
      * credentials via `AssumeRoleWithWebIdentity`. For more information about
@@ -7322,7 +6661,6 @@ public com.google.protobuf.ByteString getPathBytes() {
      * 
* * string role_arn = 4; - * * @return The roleArn. */ @java.lang.Override @@ -7331,15 +6669,14 @@ public java.lang.String getRoleArn() { 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(); roleArn_ = s; return s; } } /** - * - * *
      * The Amazon Resource Name (ARN) of the role to support temporary
      * credentials via `AssumeRoleWithWebIdentity`. For more information about
@@ -7351,15 +6688,16 @@ public java.lang.String getRoleArn() {
      * 
* * string role_arn = 4; - * * @return The bytes for roleArn. */ @java.lang.Override - public com.google.protobuf.ByteString getRoleArnBytes() { + public com.google.protobuf.ByteString + getRoleArnBytes() { java.lang.Object ref = roleArn_; 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); roleArn_ = b; return b; } else { @@ -7368,7 +6706,6 @@ public com.google.protobuf.ByteString getRoleArnBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -7380,7 +6717,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 (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(bucketName_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, bucketName_); } @@ -7406,7 +6744,8 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, bucketName_); } if (awsAccessKey_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getAwsAccessKey()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, getAwsAccessKey()); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(path_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, path_); @@ -7422,21 +6761,24 @@ 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.storagetransfer.v1.proto.TransferTypes.AwsS3Data)) { return super.equals(obj); } - com.google.storagetransfer.v1.proto.TransferTypes.AwsS3Data other = - (com.google.storagetransfer.v1.proto.TransferTypes.AwsS3Data) obj; + com.google.storagetransfer.v1.proto.TransferTypes.AwsS3Data other = (com.google.storagetransfer.v1.proto.TransferTypes.AwsS3Data) obj; - if (!getBucketName().equals(other.getBucketName())) return false; + if (!getBucketName() + .equals(other.getBucketName())) return false; if (hasAwsAccessKey() != other.hasAwsAccessKey()) return false; if (hasAwsAccessKey()) { - if (!getAwsAccessKey().equals(other.getAwsAccessKey())) return false; + if (!getAwsAccessKey() + .equals(other.getAwsAccessKey())) return false; } - if (!getPath().equals(other.getPath())) return false; - if (!getRoleArn().equals(other.getRoleArn())) return false; + if (!getPath() + .equals(other.getPath())) return false; + if (!getRoleArn() + .equals(other.getRoleArn())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -7464,94 +6806,87 @@ public int hashCode() { } public static com.google.storagetransfer.v1.proto.TransferTypes.AwsS3Data parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.storagetransfer.v1.proto.TransferTypes.AwsS3Data 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.storagetransfer.v1.proto.TransferTypes.AwsS3Data parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.storagetransfer.v1.proto.TransferTypes.AwsS3Data 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.storagetransfer.v1.proto.TransferTypes.AwsS3Data parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.storagetransfer.v1.proto.TransferTypes.AwsS3Data 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.storagetransfer.v1.proto.TransferTypes.AwsS3Data parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.storagetransfer.v1.proto.TransferTypes.AwsS3Data parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.storagetransfer.v1.proto.TransferTypes.AwsS3Data 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.storagetransfer.v1.proto.TransferTypes.AwsS3Data parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.storagetransfer.v1.proto.TransferTypes.AwsS3Data parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.storagetransfer.v1.proto.TransferTypes.AwsS3Data 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.storagetransfer.v1.proto.TransferTypes.AwsS3Data 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.storagetransfer.v1.proto.TransferTypes.AwsS3Data 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.storagetransfer.v1.proto.TransferTypes.AwsS3Data prototype) { + public static Builder newBuilder(com.google.storagetransfer.v1.proto.TransferTypes.AwsS3Data 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 @@ -7561,8 +6896,6 @@ protected Builder newBuilderForType( return builder; } /** - * - * *
      * An AwsS3Data resource can be a data source, but not a data sink.
      * In an AwsS3Data resource, an object's name is the S3 object's key name.
@@ -7570,24 +6903,21 @@ protected Builder newBuilderForType(
      *
      * Protobuf type {@code google.storagetransfer.v1.AwsS3Data}
      */
-    public static final class Builder
-        extends com.google.protobuf.GeneratedMessageV3.Builder
-        implements
+    public static final class Builder extends
+        com.google.protobuf.GeneratedMessageV3.Builder implements
         // @@protoc_insertion_point(builder_implements:google.storagetransfer.v1.AwsS3Data)
         com.google.storagetransfer.v1.proto.TransferTypes.AwsS3DataOrBuilder {
-      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-        return com.google.storagetransfer.v1.proto.TransferTypes
-            .internal_static_google_storagetransfer_v1_AwsS3Data_descriptor;
+      public static final com.google.protobuf.Descriptors.Descriptor
+          getDescriptor() {
+        return com.google.storagetransfer.v1.proto.TransferTypes.internal_static_google_storagetransfer_v1_AwsS3Data_descriptor;
       }
 
       @java.lang.Override
       protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
           internalGetFieldAccessorTable() {
-        return com.google.storagetransfer.v1.proto.TransferTypes
-            .internal_static_google_storagetransfer_v1_AwsS3Data_fieldAccessorTable
+        return com.google.storagetransfer.v1.proto.TransferTypes.internal_static_google_storagetransfer_v1_AwsS3Data_fieldAccessorTable
             .ensureFieldAccessorsInitialized(
-                com.google.storagetransfer.v1.proto.TransferTypes.AwsS3Data.class,
-                com.google.storagetransfer.v1.proto.TransferTypes.AwsS3Data.Builder.class);
+                com.google.storagetransfer.v1.proto.TransferTypes.AwsS3Data.class, com.google.storagetransfer.v1.proto.TransferTypes.AwsS3Data.Builder.class);
       }
 
       // Construct using com.google.storagetransfer.v1.proto.TransferTypes.AwsS3Data.newBuilder()
@@ -7595,15 +6925,16 @@ private Builder() {
         maybeForceBuilderInitialization();
       }
 
-      private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+      private Builder(
+          com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
         super(parent);
         maybeForceBuilderInitialization();
       }
-
       private void maybeForceBuilderInitialization() {
-        if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {}
+        if (com.google.protobuf.GeneratedMessageV3
+                .alwaysUseFieldBuilders) {
+        }
       }
-
       @java.lang.Override
       public Builder clear() {
         super.clear();
@@ -7623,14 +6954,13 @@ public Builder clear() {
       }
 
       @java.lang.Override
-      public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-        return com.google.storagetransfer.v1.proto.TransferTypes
-            .internal_static_google_storagetransfer_v1_AwsS3Data_descriptor;
+      public com.google.protobuf.Descriptors.Descriptor
+          getDescriptorForType() {
+        return com.google.storagetransfer.v1.proto.TransferTypes.internal_static_google_storagetransfer_v1_AwsS3Data_descriptor;
       }
 
       @java.lang.Override
-      public com.google.storagetransfer.v1.proto.TransferTypes.AwsS3Data
-          getDefaultInstanceForType() {
+      public com.google.storagetransfer.v1.proto.TransferTypes.AwsS3Data getDefaultInstanceForType() {
         return com.google.storagetransfer.v1.proto.TransferTypes.AwsS3Data.getDefaultInstance();
       }
 
@@ -7645,8 +6975,7 @@ public com.google.storagetransfer.v1.proto.TransferTypes.AwsS3Data build() {
 
       @java.lang.Override
       public com.google.storagetransfer.v1.proto.TransferTypes.AwsS3Data buildPartial() {
-        com.google.storagetransfer.v1.proto.TransferTypes.AwsS3Data result =
-            new com.google.storagetransfer.v1.proto.TransferTypes.AwsS3Data(this);
+        com.google.storagetransfer.v1.proto.TransferTypes.AwsS3Data result = new com.google.storagetransfer.v1.proto.TransferTypes.AwsS3Data(this);
         result.bucketName_ = bucketName_;
         if (awsAccessKeyBuilder_ == null) {
           result.awsAccessKey_ = awsAccessKey_;
@@ -7663,41 +6992,38 @@ public com.google.storagetransfer.v1.proto.TransferTypes.AwsS3Data buildPartial(
       public Builder clone() {
         return super.clone();
       }
-
       @java.lang.Override
       public Builder setField(
-          com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+          com.google.protobuf.Descriptors.FieldDescriptor field,
+          java.lang.Object value) {
         return super.setField(field, value);
       }
-
       @java.lang.Override
-      public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+      public Builder clearField(
+          com.google.protobuf.Descriptors.FieldDescriptor field) {
         return super.clearField(field);
       }
-
       @java.lang.Override
-      public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+      public Builder clearOneof(
+          com.google.protobuf.Descriptors.OneofDescriptor oneof) {
         return super.clearOneof(oneof);
       }
-
       @java.lang.Override
       public Builder setRepeatedField(
           com.google.protobuf.Descriptors.FieldDescriptor field,
-          int index,
-          java.lang.Object value) {
+          int index, java.lang.Object value) {
         return super.setRepeatedField(field, index, value);
       }
-
       @java.lang.Override
       public Builder addRepeatedField(
-          com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+          com.google.protobuf.Descriptors.FieldDescriptor field,
+          java.lang.Object value) {
         return super.addRepeatedField(field, value);
       }
-
       @java.lang.Override
       public Builder mergeFrom(com.google.protobuf.Message other) {
         if (other instanceof com.google.storagetransfer.v1.proto.TransferTypes.AwsS3Data) {
-          return mergeFrom((com.google.storagetransfer.v1.proto.TransferTypes.AwsS3Data) other);
+          return mergeFrom((com.google.storagetransfer.v1.proto.TransferTypes.AwsS3Data)other);
         } else {
           super.mergeFrom(other);
           return this;
@@ -7705,9 +7031,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
       }
 
       public Builder mergeFrom(com.google.storagetransfer.v1.proto.TransferTypes.AwsS3Data other) {
-        if (other
-            == com.google.storagetransfer.v1.proto.TransferTypes.AwsS3Data.getDefaultInstance())
-          return this;
+        if (other == com.google.storagetransfer.v1.proto.TransferTypes.AwsS3Data.getDefaultInstance()) return this;
         if (!other.getBucketName().isEmpty()) {
           bucketName_ = other.bucketName_;
           onChanged();
@@ -7742,9 +7066,7 @@ public Builder mergeFrom(
         try {
           parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
         } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-          parsedMessage =
-              (com.google.storagetransfer.v1.proto.TransferTypes.AwsS3Data)
-                  e.getUnfinishedMessage();
+          parsedMessage = (com.google.storagetransfer.v1.proto.TransferTypes.AwsS3Data) e.getUnfinishedMessage();
           throw e.unwrapIOException();
         } finally {
           if (parsedMessage != null) {
@@ -7756,8 +7078,6 @@ public Builder mergeFrom(
 
       private java.lang.Object bucketName_ = "";
       /**
-       *
-       *
        * 
        * Required. S3 Bucket name (see
        * [Creating a
@@ -7765,13 +7085,13 @@ public Builder mergeFrom(
        * 
* * string bucket_name = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bucketName. */ public java.lang.String getBucketName() { java.lang.Object ref = bucketName_; 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(); bucketName_ = s; return s; @@ -7780,8 +7100,6 @@ public java.lang.String getBucketName() { } } /** - * - * *
        * Required. S3 Bucket name (see
        * [Creating a
@@ -7789,14 +7107,15 @@ public java.lang.String getBucketName() {
        * 
* * string bucket_name = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for bucketName. */ - public com.google.protobuf.ByteString getBucketNameBytes() { + public com.google.protobuf.ByteString + getBucketNameBytes() { java.lang.Object ref = bucketName_; 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); bucketName_ = b; return b; } else { @@ -7804,8 +7123,6 @@ public com.google.protobuf.ByteString getBucketNameBytes() { } } /** - * - * *
        * Required. S3 Bucket name (see
        * [Creating a
@@ -7813,22 +7130,20 @@ public com.google.protobuf.ByteString getBucketNameBytes() {
        * 
* * string bucket_name = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The bucketName to set. * @return This builder for chaining. */ - public Builder setBucketName(java.lang.String value) { + public Builder setBucketName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + bucketName_ = value; onChanged(); return this; } /** - * - * *
        * Required. S3 Bucket name (see
        * [Creating a
@@ -7836,18 +7151,15 @@ public Builder setBucketName(java.lang.String value) {
        * 
* * string bucket_name = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return This builder for chaining. */ public Builder clearBucketName() { - + bucketName_ = getDefaultInstance().getBucketName(); onChanged(); return this; } /** - * - * *
        * Required. S3 Bucket name (see
        * [Creating a
@@ -7855,16 +7167,16 @@ public Builder clearBucketName() {
        * 
* * string bucket_name = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The bytes for bucketName to set. * @return This builder for chaining. */ - public Builder setBucketNameBytes(com.google.protobuf.ByteString value) { + public Builder setBucketNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + bucketName_ = value; onChanged(); return this; @@ -7872,13 +7184,8 @@ public Builder setBucketNameBytes(com.google.protobuf.ByteString value) { private com.google.storagetransfer.v1.proto.TransferTypes.AwsAccessKey awsAccessKey_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.storagetransfer.v1.proto.TransferTypes.AwsAccessKey, - com.google.storagetransfer.v1.proto.TransferTypes.AwsAccessKey.Builder, - com.google.storagetransfer.v1.proto.TransferTypes.AwsAccessKeyOrBuilder> - awsAccessKeyBuilder_; + com.google.storagetransfer.v1.proto.TransferTypes.AwsAccessKey, com.google.storagetransfer.v1.proto.TransferTypes.AwsAccessKey.Builder, com.google.storagetransfer.v1.proto.TransferTypes.AwsAccessKeyOrBuilder> awsAccessKeyBuilder_; /** - * - * *
        * Input only. AWS access key used to sign the API requests to the AWS S3 bucket.
        * Permissions on the bucket must be granted to the access ID of the AWS
@@ -7887,18 +7194,13 @@ public Builder setBucketNameBytes(com.google.protobuf.ByteString value) {
        * [User credentials](/storage-transfer/docs/data-retention#user-credentials).
        * 
* - * - * .google.storagetransfer.v1.AwsAccessKey aws_access_key = 2 [(.google.api.field_behavior) = INPUT_ONLY]; - * - * + * .google.storagetransfer.v1.AwsAccessKey aws_access_key = 2 [(.google.api.field_behavior) = INPUT_ONLY]; * @return Whether the awsAccessKey field is set. */ public boolean hasAwsAccessKey() { return awsAccessKeyBuilder_ != null || awsAccessKey_ != null; } /** - * - * *
        * Input only. AWS access key used to sign the API requests to the AWS S3 bucket.
        * Permissions on the bucket must be granted to the access ID of the AWS
@@ -7907,24 +7209,17 @@ public boolean hasAwsAccessKey() {
        * [User credentials](/storage-transfer/docs/data-retention#user-credentials).
        * 
* - * - * .google.storagetransfer.v1.AwsAccessKey aws_access_key = 2 [(.google.api.field_behavior) = INPUT_ONLY]; - * - * + * .google.storagetransfer.v1.AwsAccessKey aws_access_key = 2 [(.google.api.field_behavior) = INPUT_ONLY]; * @return The awsAccessKey. */ public com.google.storagetransfer.v1.proto.TransferTypes.AwsAccessKey getAwsAccessKey() { if (awsAccessKeyBuilder_ == null) { - return awsAccessKey_ == null - ? com.google.storagetransfer.v1.proto.TransferTypes.AwsAccessKey.getDefaultInstance() - : awsAccessKey_; + return awsAccessKey_ == null ? com.google.storagetransfer.v1.proto.TransferTypes.AwsAccessKey.getDefaultInstance() : awsAccessKey_; } else { return awsAccessKeyBuilder_.getMessage(); } } /** - * - * *
        * Input only. AWS access key used to sign the API requests to the AWS S3 bucket.
        * Permissions on the bucket must be granted to the access ID of the AWS
@@ -7933,12 +7228,9 @@ public com.google.storagetransfer.v1.proto.TransferTypes.AwsAccessKey getAwsAcce
        * [User credentials](/storage-transfer/docs/data-retention#user-credentials).
        * 
* - * - * .google.storagetransfer.v1.AwsAccessKey aws_access_key = 2 [(.google.api.field_behavior) = INPUT_ONLY]; - * + * .google.storagetransfer.v1.AwsAccessKey aws_access_key = 2 [(.google.api.field_behavior) = INPUT_ONLY]; */ - public Builder setAwsAccessKey( - com.google.storagetransfer.v1.proto.TransferTypes.AwsAccessKey value) { + public Builder setAwsAccessKey(com.google.storagetransfer.v1.proto.TransferTypes.AwsAccessKey value) { if (awsAccessKeyBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -7952,8 +7244,6 @@ public Builder setAwsAccessKey( return this; } /** - * - * *
        * Input only. AWS access key used to sign the API requests to the AWS S3 bucket.
        * Permissions on the bucket must be granted to the access ID of the AWS
@@ -7962,9 +7252,7 @@ public Builder setAwsAccessKey(
        * [User credentials](/storage-transfer/docs/data-retention#user-credentials).
        * 
* - * - * .google.storagetransfer.v1.AwsAccessKey aws_access_key = 2 [(.google.api.field_behavior) = INPUT_ONLY]; - * + * .google.storagetransfer.v1.AwsAccessKey aws_access_key = 2 [(.google.api.field_behavior) = INPUT_ONLY]; */ public Builder setAwsAccessKey( com.google.storagetransfer.v1.proto.TransferTypes.AwsAccessKey.Builder builderForValue) { @@ -7978,8 +7266,6 @@ public Builder setAwsAccessKey( return this; } /** - * - * *
        * Input only. AWS access key used to sign the API requests to the AWS S3 bucket.
        * Permissions on the bucket must be granted to the access ID of the AWS
@@ -7988,19 +7274,13 @@ public Builder setAwsAccessKey(
        * [User credentials](/storage-transfer/docs/data-retention#user-credentials).
        * 
* - * - * .google.storagetransfer.v1.AwsAccessKey aws_access_key = 2 [(.google.api.field_behavior) = INPUT_ONLY]; - * + * .google.storagetransfer.v1.AwsAccessKey aws_access_key = 2 [(.google.api.field_behavior) = INPUT_ONLY]; */ - public Builder mergeAwsAccessKey( - com.google.storagetransfer.v1.proto.TransferTypes.AwsAccessKey value) { + public Builder mergeAwsAccessKey(com.google.storagetransfer.v1.proto.TransferTypes.AwsAccessKey value) { if (awsAccessKeyBuilder_ == null) { if (awsAccessKey_ != null) { awsAccessKey_ = - com.google.storagetransfer.v1.proto.TransferTypes.AwsAccessKey.newBuilder( - awsAccessKey_) - .mergeFrom(value) - .buildPartial(); + com.google.storagetransfer.v1.proto.TransferTypes.AwsAccessKey.newBuilder(awsAccessKey_).mergeFrom(value).buildPartial(); } else { awsAccessKey_ = value; } @@ -8012,8 +7292,6 @@ public Builder mergeAwsAccessKey( return this; } /** - * - * *
        * Input only. AWS access key used to sign the API requests to the AWS S3 bucket.
        * Permissions on the bucket must be granted to the access ID of the AWS
@@ -8022,9 +7300,7 @@ public Builder mergeAwsAccessKey(
        * [User credentials](/storage-transfer/docs/data-retention#user-credentials).
        * 
* - * - * .google.storagetransfer.v1.AwsAccessKey aws_access_key = 2 [(.google.api.field_behavior) = INPUT_ONLY]; - * + * .google.storagetransfer.v1.AwsAccessKey aws_access_key = 2 [(.google.api.field_behavior) = INPUT_ONLY]; */ public Builder clearAwsAccessKey() { if (awsAccessKeyBuilder_ == null) { @@ -8038,8 +7314,6 @@ public Builder clearAwsAccessKey() { return this; } /** - * - * *
        * Input only. AWS access key used to sign the API requests to the AWS S3 bucket.
        * Permissions on the bucket must be granted to the access ID of the AWS
@@ -8048,19 +7322,14 @@ public Builder clearAwsAccessKey() {
        * [User credentials](/storage-transfer/docs/data-retention#user-credentials).
        * 
* - * - * .google.storagetransfer.v1.AwsAccessKey aws_access_key = 2 [(.google.api.field_behavior) = INPUT_ONLY]; - * + * .google.storagetransfer.v1.AwsAccessKey aws_access_key = 2 [(.google.api.field_behavior) = INPUT_ONLY]; */ - public com.google.storagetransfer.v1.proto.TransferTypes.AwsAccessKey.Builder - getAwsAccessKeyBuilder() { - + public com.google.storagetransfer.v1.proto.TransferTypes.AwsAccessKey.Builder getAwsAccessKeyBuilder() { + onChanged(); return getAwsAccessKeyFieldBuilder().getBuilder(); } /** - * - * *
        * Input only. AWS access key used to sign the API requests to the AWS S3 bucket.
        * Permissions on the bucket must be granted to the access ID of the AWS
@@ -8069,23 +7338,17 @@ public Builder clearAwsAccessKey() {
        * [User credentials](/storage-transfer/docs/data-retention#user-credentials).
        * 
* - * - * .google.storagetransfer.v1.AwsAccessKey aws_access_key = 2 [(.google.api.field_behavior) = INPUT_ONLY]; - * + * .google.storagetransfer.v1.AwsAccessKey aws_access_key = 2 [(.google.api.field_behavior) = INPUT_ONLY]; */ - public com.google.storagetransfer.v1.proto.TransferTypes.AwsAccessKeyOrBuilder - getAwsAccessKeyOrBuilder() { + public com.google.storagetransfer.v1.proto.TransferTypes.AwsAccessKeyOrBuilder getAwsAccessKeyOrBuilder() { if (awsAccessKeyBuilder_ != null) { return awsAccessKeyBuilder_.getMessageOrBuilder(); } else { - return awsAccessKey_ == null - ? com.google.storagetransfer.v1.proto.TransferTypes.AwsAccessKey.getDefaultInstance() - : awsAccessKey_; + return awsAccessKey_ == null ? + com.google.storagetransfer.v1.proto.TransferTypes.AwsAccessKey.getDefaultInstance() : awsAccessKey_; } } /** - * - * *
        * Input only. AWS access key used to sign the API requests to the AWS S3 bucket.
        * Permissions on the bucket must be granted to the access ID of the AWS
@@ -8094,22 +7357,17 @@ public Builder clearAwsAccessKey() {
        * [User credentials](/storage-transfer/docs/data-retention#user-credentials).
        * 
* - * - * .google.storagetransfer.v1.AwsAccessKey aws_access_key = 2 [(.google.api.field_behavior) = INPUT_ONLY]; - * + * .google.storagetransfer.v1.AwsAccessKey aws_access_key = 2 [(.google.api.field_behavior) = INPUT_ONLY]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.storagetransfer.v1.proto.TransferTypes.AwsAccessKey, - com.google.storagetransfer.v1.proto.TransferTypes.AwsAccessKey.Builder, - com.google.storagetransfer.v1.proto.TransferTypes.AwsAccessKeyOrBuilder> + com.google.storagetransfer.v1.proto.TransferTypes.AwsAccessKey, com.google.storagetransfer.v1.proto.TransferTypes.AwsAccessKey.Builder, com.google.storagetransfer.v1.proto.TransferTypes.AwsAccessKeyOrBuilder> getAwsAccessKeyFieldBuilder() { if (awsAccessKeyBuilder_ == null) { - awsAccessKeyBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.storagetransfer.v1.proto.TransferTypes.AwsAccessKey, - com.google.storagetransfer.v1.proto.TransferTypes.AwsAccessKey.Builder, - com.google.storagetransfer.v1.proto.TransferTypes.AwsAccessKeyOrBuilder>( - getAwsAccessKey(), getParentForChildren(), isClean()); + awsAccessKeyBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.storagetransfer.v1.proto.TransferTypes.AwsAccessKey, com.google.storagetransfer.v1.proto.TransferTypes.AwsAccessKey.Builder, com.google.storagetransfer.v1.proto.TransferTypes.AwsAccessKeyOrBuilder>( + getAwsAccessKey(), + getParentForChildren(), + isClean()); awsAccessKey_ = null; } return awsAccessKeyBuilder_; @@ -8117,8 +7375,6 @@ public Builder clearAwsAccessKey() { private java.lang.Object path_ = ""; /** - * - * *
        * Root path to transfer objects.
        * Must be an empty string or full path name that ends with a '/'. This field
@@ -8127,13 +7383,13 @@ public Builder clearAwsAccessKey() {
        * 
* * string path = 3; - * * @return The path. */ public java.lang.String getPath() { java.lang.Object ref = path_; 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(); path_ = s; return s; @@ -8142,8 +7398,6 @@ public java.lang.String getPath() { } } /** - * - * *
        * Root path to transfer objects.
        * Must be an empty string or full path name that ends with a '/'. This field
@@ -8152,14 +7406,15 @@ public java.lang.String getPath() {
        * 
* * string path = 3; - * * @return The bytes for path. */ - public com.google.protobuf.ByteString getPathBytes() { + public com.google.protobuf.ByteString + getPathBytes() { java.lang.Object ref = path_; 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); path_ = b; return b; } else { @@ -8167,8 +7422,6 @@ public com.google.protobuf.ByteString getPathBytes() { } } /** - * - * *
        * Root path to transfer objects.
        * Must be an empty string or full path name that ends with a '/'. This field
@@ -8177,22 +7430,20 @@ public com.google.protobuf.ByteString getPathBytes() {
        * 
* * string path = 3; - * * @param value The path to set. * @return This builder for chaining. */ - public Builder setPath(java.lang.String value) { + public Builder setPath( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + path_ = value; onChanged(); return this; } /** - * - * *
        * Root path to transfer objects.
        * Must be an empty string or full path name that ends with a '/'. This field
@@ -8201,18 +7452,15 @@ public Builder setPath(java.lang.String value) {
        * 
* * string path = 3; - * * @return This builder for chaining. */ public Builder clearPath() { - + path_ = getDefaultInstance().getPath(); onChanged(); return this; } /** - * - * *
        * Root path to transfer objects.
        * Must be an empty string or full path name that ends with a '/'. This field
@@ -8221,16 +7469,16 @@ public Builder clearPath() {
        * 
* * string path = 3; - * * @param value The bytes for path to set. * @return This builder for chaining. */ - public Builder setPathBytes(com.google.protobuf.ByteString value) { + public Builder setPathBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + path_ = value; onChanged(); return this; @@ -8238,8 +7486,6 @@ public Builder setPathBytes(com.google.protobuf.ByteString value) { private java.lang.Object roleArn_ = ""; /** - * - * *
        * The Amazon Resource Name (ARN) of the role to support temporary
        * credentials via `AssumeRoleWithWebIdentity`. For more information about
@@ -8251,13 +7497,13 @@ public Builder setPathBytes(com.google.protobuf.ByteString value) {
        * 
* * string role_arn = 4; - * * @return The roleArn. */ public java.lang.String getRoleArn() { java.lang.Object ref = roleArn_; 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(); roleArn_ = s; return s; @@ -8266,8 +7512,6 @@ public java.lang.String getRoleArn() { } } /** - * - * *
        * The Amazon Resource Name (ARN) of the role to support temporary
        * credentials via `AssumeRoleWithWebIdentity`. For more information about
@@ -8279,14 +7523,15 @@ public java.lang.String getRoleArn() {
        * 
* * string role_arn = 4; - * * @return The bytes for roleArn. */ - public com.google.protobuf.ByteString getRoleArnBytes() { + public com.google.protobuf.ByteString + getRoleArnBytes() { java.lang.Object ref = roleArn_; 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); roleArn_ = b; return b; } else { @@ -8294,8 +7539,6 @@ public com.google.protobuf.ByteString getRoleArnBytes() { } } /** - * - * *
        * The Amazon Resource Name (ARN) of the role to support temporary
        * credentials via `AssumeRoleWithWebIdentity`. For more information about
@@ -8307,22 +7550,20 @@ public com.google.protobuf.ByteString getRoleArnBytes() {
        * 
* * string role_arn = 4; - * * @param value The roleArn to set. * @return This builder for chaining. */ - public Builder setRoleArn(java.lang.String value) { + public Builder setRoleArn( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + roleArn_ = value; onChanged(); return this; } /** - * - * *
        * The Amazon Resource Name (ARN) of the role to support temporary
        * credentials via `AssumeRoleWithWebIdentity`. For more information about
@@ -8334,18 +7575,15 @@ public Builder setRoleArn(java.lang.String value) {
        * 
* * string role_arn = 4; - * * @return This builder for chaining. */ public Builder clearRoleArn() { - + roleArn_ = getDefaultInstance().getRoleArn(); onChanged(); return this; } /** - * - * *
        * The Amazon Resource Name (ARN) of the role to support temporary
        * credentials via `AssumeRoleWithWebIdentity`. For more information about
@@ -8357,21 +7595,20 @@ public Builder clearRoleArn() {
        * 
* * string role_arn = 4; - * * @param value The bytes for roleArn to set. * @return This builder for chaining. */ - public Builder setRoleArnBytes(com.google.protobuf.ByteString value) { + public Builder setRoleArnBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + roleArn_ = value; onChanged(); return this; } - @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -8384,13 +7621,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.storagetransfer.v1.AwsS3Data) } // @@protoc_insertion_point(class_scope:google.storagetransfer.v1.AwsS3Data) - private static final com.google.storagetransfer.v1.proto.TransferTypes.AwsS3Data - DEFAULT_INSTANCE; - + private static final com.google.storagetransfer.v1.proto.TransferTypes.AwsS3Data DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.storagetransfer.v1.proto.TransferTypes.AwsS3Data(); } @@ -8399,16 +7635,16 @@ public static com.google.storagetransfer.v1.proto.TransferTypes.AwsS3Data getDef return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public AwsS3Data parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new AwsS3Data(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public AwsS3Data parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new AwsS3Data(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -8423,114 +7659,87 @@ public com.google.protobuf.Parser getParserForType() { public com.google.storagetransfer.v1.proto.TransferTypes.AwsS3Data getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } - public interface AzureBlobStorageDataOrBuilder - extends + public interface AzureBlobStorageDataOrBuilder extends // @@protoc_insertion_point(interface_extends:google.storagetransfer.v1.AzureBlobStorageData) com.google.protobuf.MessageOrBuilder { /** - * - * *
      * Required. The name of the Azure Storage account.
      * 
* * string storage_account = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The storageAccount. */ java.lang.String getStorageAccount(); /** - * - * *
      * Required. The name of the Azure Storage account.
      * 
* * string storage_account = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for storageAccount. */ - com.google.protobuf.ByteString getStorageAccountBytes(); + com.google.protobuf.ByteString + getStorageAccountBytes(); /** - * - * *
      * Required. Input only. Credentials used to authenticate API requests to Azure.
      * For information on our data retention policy for user credentials, see
      * [User credentials](/storage-transfer/docs/data-retention#user-credentials).
      * 
* - * - * .google.storagetransfer.v1.AzureCredentials azure_credentials = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = INPUT_ONLY]; - * - * + * .google.storagetransfer.v1.AzureCredentials azure_credentials = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = INPUT_ONLY]; * @return Whether the azureCredentials field is set. */ boolean hasAzureCredentials(); /** - * - * *
      * Required. Input only. Credentials used to authenticate API requests to Azure.
      * For information on our data retention policy for user credentials, see
      * [User credentials](/storage-transfer/docs/data-retention#user-credentials).
      * 
* - * - * .google.storagetransfer.v1.AzureCredentials azure_credentials = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = INPUT_ONLY]; - * - * + * .google.storagetransfer.v1.AzureCredentials azure_credentials = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = INPUT_ONLY]; * @return The azureCredentials. */ com.google.storagetransfer.v1.proto.TransferTypes.AzureCredentials getAzureCredentials(); /** - * - * *
      * Required. Input only. Credentials used to authenticate API requests to Azure.
      * For information on our data retention policy for user credentials, see
      * [User credentials](/storage-transfer/docs/data-retention#user-credentials).
      * 
* - * - * .google.storagetransfer.v1.AzureCredentials azure_credentials = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = INPUT_ONLY]; - * + * .google.storagetransfer.v1.AzureCredentials azure_credentials = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = INPUT_ONLY]; */ - com.google.storagetransfer.v1.proto.TransferTypes.AzureCredentialsOrBuilder - getAzureCredentialsOrBuilder(); + com.google.storagetransfer.v1.proto.TransferTypes.AzureCredentialsOrBuilder getAzureCredentialsOrBuilder(); /** - * - * *
      * Required. The container to transfer from the Azure Storage account.
      * 
* * string container = 4 [(.google.api.field_behavior) = REQUIRED]; - * * @return The container. */ java.lang.String getContainer(); /** - * - * *
      * Required. The container to transfer from the Azure Storage account.
      * 
* * string container = 4 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for container. */ - com.google.protobuf.ByteString getContainerBytes(); + com.google.protobuf.ByteString + getContainerBytes(); /** - * - * *
      * Root path to transfer objects.
      * Must be an empty string or full path name that ends with a '/'. This field
@@ -8539,13 +7748,10 @@ public interface AzureBlobStorageDataOrBuilder
      * 
* * string path = 5; - * * @return The path. */ java.lang.String getPath(); /** - * - * *
      * Root path to transfer objects.
      * Must be an empty string or full path name that ends with a '/'. This field
@@ -8554,14 +7760,12 @@ public interface AzureBlobStorageDataOrBuilder
      * 
* * string path = 5; - * * @return The bytes for path. */ - com.google.protobuf.ByteString getPathBytes(); + com.google.protobuf.ByteString + getPathBytes(); } /** - * - * *
    * An AzureBlobStorageData resource can be a data source, but not a data sink.
    * An AzureBlobStorageData resource represents one Azure container. The storage
@@ -8574,16 +7778,15 @@ public interface AzureBlobStorageDataOrBuilder
    *
    * Protobuf type {@code google.storagetransfer.v1.AzureBlobStorageData}
    */
-  public static final class AzureBlobStorageData extends com.google.protobuf.GeneratedMessageV3
-      implements
+  public static final class AzureBlobStorageData extends
+      com.google.protobuf.GeneratedMessageV3 implements
       // @@protoc_insertion_point(message_implements:google.storagetransfer.v1.AzureBlobStorageData)
       AzureBlobStorageDataOrBuilder {
-    private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
     // Use AzureBlobStorageData.newBuilder() to construct.
     private AzureBlobStorageData(com.google.protobuf.GeneratedMessageV3.Builder builder) {
       super(builder);
     }
-
     private AzureBlobStorageData() {
       storageAccount_ = "";
       container_ = "";
@@ -8592,15 +7795,16 @@ private AzureBlobStorageData() {
 
     @java.lang.Override
     @SuppressWarnings({"unused"})
-    protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+    protected java.lang.Object newInstance(
+        UnusedPrivateParameter unused) {
       return new AzureBlobStorageData();
     }
 
     @java.lang.Override
-    public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+    public final com.google.protobuf.UnknownFieldSet
+    getUnknownFields() {
       return this.unknownFields;
     }
-
     private AzureBlobStorageData(
         com.google.protobuf.CodedInputStream input,
         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -8619,52 +7823,44 @@ private AzureBlobStorageData(
             case 0:
               done = true;
               break;
-            case 10:
-              {
-                java.lang.String s = input.readStringRequireUtf8();
+            case 10: {
+              java.lang.String s = input.readStringRequireUtf8();
 
-                storageAccount_ = s;
-                break;
+              storageAccount_ = s;
+              break;
+            }
+            case 18: {
+              com.google.storagetransfer.v1.proto.TransferTypes.AzureCredentials.Builder subBuilder = null;
+              if (azureCredentials_ != null) {
+                subBuilder = azureCredentials_.toBuilder();
               }
-            case 18:
-              {
-                com.google.storagetransfer.v1.proto.TransferTypes.AzureCredentials.Builder
-                    subBuilder = null;
-                if (azureCredentials_ != null) {
-                  subBuilder = azureCredentials_.toBuilder();
-                }
-                azureCredentials_ =
-                    input.readMessage(
-                        com.google.storagetransfer.v1.proto.TransferTypes.AzureCredentials.parser(),
-                        extensionRegistry);
-                if (subBuilder != null) {
-                  subBuilder.mergeFrom(azureCredentials_);
-                  azureCredentials_ = subBuilder.buildPartial();
-                }
-
-                break;
+              azureCredentials_ = input.readMessage(com.google.storagetransfer.v1.proto.TransferTypes.AzureCredentials.parser(), extensionRegistry);
+              if (subBuilder != null) {
+                subBuilder.mergeFrom(azureCredentials_);
+                azureCredentials_ = subBuilder.buildPartial();
               }
-            case 34:
-              {
-                java.lang.String s = input.readStringRequireUtf8();
 
-                container_ = s;
-                break;
-              }
-            case 42:
-              {
-                java.lang.String s = input.readStringRequireUtf8();
+              break;
+            }
+            case 34: {
+              java.lang.String s = input.readStringRequireUtf8();
 
-                path_ = s;
-                break;
-              }
-            default:
-              {
-                if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
-                  done = true;
-                }
-                break;
+              container_ = s;
+              break;
+            }
+            case 42: {
+              java.lang.String s = input.readStringRequireUtf8();
+
+              path_ = s;
+              break;
+            }
+            default: {
+              if (!parseUnknownField(
+                  input, unknownFields, extensionRegistry, tag)) {
+                done = true;
               }
+              break;
+            }
           }
         }
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -8672,39 +7868,34 @@ private AzureBlobStorageData(
       } catch (com.google.protobuf.UninitializedMessageException e) {
         throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
       } catch (java.io.IOException e) {
-        throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
+        throw new com.google.protobuf.InvalidProtocolBufferException(
+            e).setUnfinishedMessage(this);
       } finally {
         this.unknownFields = unknownFields.build();
         makeExtensionsImmutable();
       }
     }
-
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.storagetransfer.v1.proto.TransferTypes
-          .internal_static_google_storagetransfer_v1_AzureBlobStorageData_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.storagetransfer.v1.proto.TransferTypes.internal_static_google_storagetransfer_v1_AzureBlobStorageData_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.storagetransfer.v1.proto.TransferTypes
-          .internal_static_google_storagetransfer_v1_AzureBlobStorageData_fieldAccessorTable
+      return com.google.storagetransfer.v1.proto.TransferTypes.internal_static_google_storagetransfer_v1_AzureBlobStorageData_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.storagetransfer.v1.proto.TransferTypes.AzureBlobStorageData.class,
-              com.google.storagetransfer.v1.proto.TransferTypes.AzureBlobStorageData.Builder.class);
+              com.google.storagetransfer.v1.proto.TransferTypes.AzureBlobStorageData.class, com.google.storagetransfer.v1.proto.TransferTypes.AzureBlobStorageData.Builder.class);
     }
 
     public static final int STORAGE_ACCOUNT_FIELD_NUMBER = 1;
     private volatile java.lang.Object storageAccount_;
     /**
-     *
-     *
      * 
      * Required. The name of the Azure Storage account.
      * 
* * string storage_account = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The storageAccount. */ @java.lang.Override @@ -8713,29 +7904,29 @@ public java.lang.String getStorageAccount() { 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(); storageAccount_ = s; return s; } } /** - * - * *
      * Required. The name of the Azure Storage account.
      * 
* * string storage_account = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for storageAccount. */ @java.lang.Override - public com.google.protobuf.ByteString getStorageAccountBytes() { + public com.google.protobuf.ByteString + getStorageAccountBytes() { java.lang.Object ref = storageAccount_; 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); storageAccount_ = b; return b; } else { @@ -8746,18 +7937,13 @@ public com.google.protobuf.ByteString getStorageAccountBytes() { public static final int AZURE_CREDENTIALS_FIELD_NUMBER = 2; private com.google.storagetransfer.v1.proto.TransferTypes.AzureCredentials azureCredentials_; /** - * - * *
      * Required. Input only. Credentials used to authenticate API requests to Azure.
      * For information on our data retention policy for user credentials, see
      * [User credentials](/storage-transfer/docs/data-retention#user-credentials).
      * 
* - * - * .google.storagetransfer.v1.AzureCredentials azure_credentials = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = INPUT_ONLY]; - * - * + * .google.storagetransfer.v1.AzureCredentials azure_credentials = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = INPUT_ONLY]; * @return Whether the azureCredentials field is set. */ @java.lang.Override @@ -8765,57 +7951,41 @@ public boolean hasAzureCredentials() { return azureCredentials_ != null; } /** - * - * *
      * Required. Input only. Credentials used to authenticate API requests to Azure.
      * For information on our data retention policy for user credentials, see
      * [User credentials](/storage-transfer/docs/data-retention#user-credentials).
      * 
* - * - * .google.storagetransfer.v1.AzureCredentials azure_credentials = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = INPUT_ONLY]; - * - * + * .google.storagetransfer.v1.AzureCredentials azure_credentials = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = INPUT_ONLY]; * @return The azureCredentials. */ @java.lang.Override - public com.google.storagetransfer.v1.proto.TransferTypes.AzureCredentials - getAzureCredentials() { - return azureCredentials_ == null - ? com.google.storagetransfer.v1.proto.TransferTypes.AzureCredentials.getDefaultInstance() - : azureCredentials_; + public com.google.storagetransfer.v1.proto.TransferTypes.AzureCredentials getAzureCredentials() { + return azureCredentials_ == null ? com.google.storagetransfer.v1.proto.TransferTypes.AzureCredentials.getDefaultInstance() : azureCredentials_; } /** - * - * *
      * Required. Input only. Credentials used to authenticate API requests to Azure.
      * For information on our data retention policy for user credentials, see
      * [User credentials](/storage-transfer/docs/data-retention#user-credentials).
      * 
* - * - * .google.storagetransfer.v1.AzureCredentials azure_credentials = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = INPUT_ONLY]; - * + * .google.storagetransfer.v1.AzureCredentials azure_credentials = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = INPUT_ONLY]; */ @java.lang.Override - public com.google.storagetransfer.v1.proto.TransferTypes.AzureCredentialsOrBuilder - getAzureCredentialsOrBuilder() { + public com.google.storagetransfer.v1.proto.TransferTypes.AzureCredentialsOrBuilder getAzureCredentialsOrBuilder() { return getAzureCredentials(); } public static final int CONTAINER_FIELD_NUMBER = 4; private volatile java.lang.Object container_; /** - * - * *
      * Required. The container to transfer from the Azure Storage account.
      * 
* * string container = 4 [(.google.api.field_behavior) = REQUIRED]; - * * @return The container. */ @java.lang.Override @@ -8824,29 +7994,29 @@ public java.lang.String getContainer() { 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(); container_ = s; return s; } } /** - * - * *
      * Required. The container to transfer from the Azure Storage account.
      * 
* * string container = 4 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for container. */ @java.lang.Override - public com.google.protobuf.ByteString getContainerBytes() { + public com.google.protobuf.ByteString + getContainerBytes() { java.lang.Object ref = container_; 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); container_ = b; return b; } else { @@ -8857,8 +8027,6 @@ public com.google.protobuf.ByteString getContainerBytes() { public static final int PATH_FIELD_NUMBER = 5; private volatile java.lang.Object path_; /** - * - * *
      * Root path to transfer objects.
      * Must be an empty string or full path name that ends with a '/'. This field
@@ -8867,7 +8035,6 @@ public com.google.protobuf.ByteString getContainerBytes() {
      * 
* * string path = 5; - * * @return The path. */ @java.lang.Override @@ -8876,15 +8043,14 @@ public java.lang.String getPath() { 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(); path_ = s; return s; } } /** - * - * *
      * Root path to transfer objects.
      * Must be an empty string or full path name that ends with a '/'. This field
@@ -8893,15 +8059,16 @@ public java.lang.String getPath() {
      * 
* * string path = 5; - * * @return The bytes for path. */ @java.lang.Override - public com.google.protobuf.ByteString getPathBytes() { + public com.google.protobuf.ByteString + getPathBytes() { java.lang.Object ref = path_; 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); path_ = b; return b; } else { @@ -8910,7 +8077,6 @@ public com.google.protobuf.ByteString getPathBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -8922,7 +8088,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 (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(storageAccount_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, storageAccount_); } @@ -8948,7 +8115,8 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, storageAccount_); } if (azureCredentials_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getAzureCredentials()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, getAzureCredentials()); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(container_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, container_); @@ -8964,22 +8132,24 @@ 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.storagetransfer.v1.proto.TransferTypes.AzureBlobStorageData)) { + if (!(obj instanceof com.google.storagetransfer.v1.proto.TransferTypes.AzureBlobStorageData)) { return super.equals(obj); } - com.google.storagetransfer.v1.proto.TransferTypes.AzureBlobStorageData other = - (com.google.storagetransfer.v1.proto.TransferTypes.AzureBlobStorageData) obj; + com.google.storagetransfer.v1.proto.TransferTypes.AzureBlobStorageData other = (com.google.storagetransfer.v1.proto.TransferTypes.AzureBlobStorageData) obj; - if (!getStorageAccount().equals(other.getStorageAccount())) return false; + if (!getStorageAccount() + .equals(other.getStorageAccount())) return false; if (hasAzureCredentials() != other.hasAzureCredentials()) return false; if (hasAzureCredentials()) { - if (!getAzureCredentials().equals(other.getAzureCredentials())) return false; + if (!getAzureCredentials() + .equals(other.getAzureCredentials())) return false; } - if (!getContainer().equals(other.getContainer())) return false; - if (!getPath().equals(other.getPath())) return false; + if (!getContainer() + .equals(other.getContainer())) return false; + if (!getPath() + .equals(other.getPath())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -9007,95 +8177,87 @@ public int hashCode() { } public static com.google.storagetransfer.v1.proto.TransferTypes.AzureBlobStorageData parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.storagetransfer.v1.proto.TransferTypes.AzureBlobStorageData 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.storagetransfer.v1.proto.TransferTypes.AzureBlobStorageData parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.storagetransfer.v1.proto.TransferTypes.AzureBlobStorageData 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.storagetransfer.v1.proto.TransferTypes.AzureBlobStorageData parseFrom( - byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.storagetransfer.v1.proto.TransferTypes.AzureBlobStorageData parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.storagetransfer.v1.proto.TransferTypes.AzureBlobStorageData 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.storagetransfer.v1.proto.TransferTypes.AzureBlobStorageData parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.storagetransfer.v1.proto.TransferTypes.AzureBlobStorageData parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.storagetransfer.v1.proto.TransferTypes.AzureBlobStorageData 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.storagetransfer.v1.proto.TransferTypes.AzureBlobStorageData - parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.storagetransfer.v1.proto.TransferTypes.AzureBlobStorageData parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - - public static com.google.storagetransfer.v1.proto.TransferTypes.AzureBlobStorageData - parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + public static com.google.storagetransfer.v1.proto.TransferTypes.AzureBlobStorageData parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.storagetransfer.v1.proto.TransferTypes.AzureBlobStorageData 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.storagetransfer.v1.proto.TransferTypes.AzureBlobStorageData 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.storagetransfer.v1.proto.TransferTypes.AzureBlobStorageData prototype) { + public static Builder newBuilder(com.google.storagetransfer.v1.proto.TransferTypes.AzureBlobStorageData 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 @@ -9105,8 +8267,6 @@ protected Builder newBuilderForType( return builder; } /** - * - * *
      * An AzureBlobStorageData resource can be a data source, but not a data sink.
      * An AzureBlobStorageData resource represents one Azure container. The storage
@@ -9119,42 +8279,38 @@ protected Builder newBuilderForType(
      *
      * Protobuf type {@code google.storagetransfer.v1.AzureBlobStorageData}
      */
-    public static final class Builder
-        extends com.google.protobuf.GeneratedMessageV3.Builder
-        implements
+    public static final class Builder extends
+        com.google.protobuf.GeneratedMessageV3.Builder implements
         // @@protoc_insertion_point(builder_implements:google.storagetransfer.v1.AzureBlobStorageData)
         com.google.storagetransfer.v1.proto.TransferTypes.AzureBlobStorageDataOrBuilder {
-      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-        return com.google.storagetransfer.v1.proto.TransferTypes
-            .internal_static_google_storagetransfer_v1_AzureBlobStorageData_descriptor;
+      public static final com.google.protobuf.Descriptors.Descriptor
+          getDescriptor() {
+        return com.google.storagetransfer.v1.proto.TransferTypes.internal_static_google_storagetransfer_v1_AzureBlobStorageData_descriptor;
       }
 
       @java.lang.Override
       protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
           internalGetFieldAccessorTable() {
-        return com.google.storagetransfer.v1.proto.TransferTypes
-            .internal_static_google_storagetransfer_v1_AzureBlobStorageData_fieldAccessorTable
+        return com.google.storagetransfer.v1.proto.TransferTypes.internal_static_google_storagetransfer_v1_AzureBlobStorageData_fieldAccessorTable
             .ensureFieldAccessorsInitialized(
-                com.google.storagetransfer.v1.proto.TransferTypes.AzureBlobStorageData.class,
-                com.google.storagetransfer.v1.proto.TransferTypes.AzureBlobStorageData.Builder
-                    .class);
+                com.google.storagetransfer.v1.proto.TransferTypes.AzureBlobStorageData.class, com.google.storagetransfer.v1.proto.TransferTypes.AzureBlobStorageData.Builder.class);
       }
 
-      // Construct using
-      // com.google.storagetransfer.v1.proto.TransferTypes.AzureBlobStorageData.newBuilder()
+      // Construct using com.google.storagetransfer.v1.proto.TransferTypes.AzureBlobStorageData.newBuilder()
       private Builder() {
         maybeForceBuilderInitialization();
       }
 
-      private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+      private Builder(
+          com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
         super(parent);
         maybeForceBuilderInitialization();
       }
-
       private void maybeForceBuilderInitialization() {
-        if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {}
+        if (com.google.protobuf.GeneratedMessageV3
+                .alwaysUseFieldBuilders) {
+        }
       }
-
       @java.lang.Override
       public Builder clear() {
         super.clear();
@@ -9174,22 +8330,19 @@ public Builder clear() {
       }
 
       @java.lang.Override
-      public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-        return com.google.storagetransfer.v1.proto.TransferTypes
-            .internal_static_google_storagetransfer_v1_AzureBlobStorageData_descriptor;
+      public com.google.protobuf.Descriptors.Descriptor
+          getDescriptorForType() {
+        return com.google.storagetransfer.v1.proto.TransferTypes.internal_static_google_storagetransfer_v1_AzureBlobStorageData_descriptor;
       }
 
       @java.lang.Override
-      public com.google.storagetransfer.v1.proto.TransferTypes.AzureBlobStorageData
-          getDefaultInstanceForType() {
-        return com.google.storagetransfer.v1.proto.TransferTypes.AzureBlobStorageData
-            .getDefaultInstance();
+      public com.google.storagetransfer.v1.proto.TransferTypes.AzureBlobStorageData getDefaultInstanceForType() {
+        return com.google.storagetransfer.v1.proto.TransferTypes.AzureBlobStorageData.getDefaultInstance();
       }
 
       @java.lang.Override
       public com.google.storagetransfer.v1.proto.TransferTypes.AzureBlobStorageData build() {
-        com.google.storagetransfer.v1.proto.TransferTypes.AzureBlobStorageData result =
-            buildPartial();
+        com.google.storagetransfer.v1.proto.TransferTypes.AzureBlobStorageData result = buildPartial();
         if (!result.isInitialized()) {
           throw newUninitializedMessageException(result);
         }
@@ -9198,8 +8351,7 @@ public com.google.storagetransfer.v1.proto.TransferTypes.AzureBlobStorageData bu
 
       @java.lang.Override
       public com.google.storagetransfer.v1.proto.TransferTypes.AzureBlobStorageData buildPartial() {
-        com.google.storagetransfer.v1.proto.TransferTypes.AzureBlobStorageData result =
-            new com.google.storagetransfer.v1.proto.TransferTypes.AzureBlobStorageData(this);
+        com.google.storagetransfer.v1.proto.TransferTypes.AzureBlobStorageData result = new com.google.storagetransfer.v1.proto.TransferTypes.AzureBlobStorageData(this);
         result.storageAccount_ = storageAccount_;
         if (azureCredentialsBuilder_ == null) {
           result.azureCredentials_ = azureCredentials_;
@@ -9216,54 +8368,46 @@ public com.google.storagetransfer.v1.proto.TransferTypes.AzureBlobStorageData bu
       public Builder clone() {
         return super.clone();
       }
-
       @java.lang.Override
       public Builder setField(
-          com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+          com.google.protobuf.Descriptors.FieldDescriptor field,
+          java.lang.Object value) {
         return super.setField(field, value);
       }
-
       @java.lang.Override
-      public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+      public Builder clearField(
+          com.google.protobuf.Descriptors.FieldDescriptor field) {
         return super.clearField(field);
       }
-
       @java.lang.Override
-      public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+      public Builder clearOneof(
+          com.google.protobuf.Descriptors.OneofDescriptor oneof) {
         return super.clearOneof(oneof);
       }
-
       @java.lang.Override
       public Builder setRepeatedField(
           com.google.protobuf.Descriptors.FieldDescriptor field,
-          int index,
-          java.lang.Object value) {
+          int index, java.lang.Object value) {
         return super.setRepeatedField(field, index, value);
       }
-
       @java.lang.Override
       public Builder addRepeatedField(
-          com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+          com.google.protobuf.Descriptors.FieldDescriptor field,
+          java.lang.Object value) {
         return super.addRepeatedField(field, value);
       }
-
       @java.lang.Override
       public Builder mergeFrom(com.google.protobuf.Message other) {
-        if (other
-            instanceof com.google.storagetransfer.v1.proto.TransferTypes.AzureBlobStorageData) {
-          return mergeFrom(
-              (com.google.storagetransfer.v1.proto.TransferTypes.AzureBlobStorageData) other);
+        if (other instanceof com.google.storagetransfer.v1.proto.TransferTypes.AzureBlobStorageData) {
+          return mergeFrom((com.google.storagetransfer.v1.proto.TransferTypes.AzureBlobStorageData)other);
         } else {
           super.mergeFrom(other);
           return this;
         }
       }
 
-      public Builder mergeFrom(
-          com.google.storagetransfer.v1.proto.TransferTypes.AzureBlobStorageData other) {
-        if (other
-            == com.google.storagetransfer.v1.proto.TransferTypes.AzureBlobStorageData
-                .getDefaultInstance()) return this;
+      public Builder mergeFrom(com.google.storagetransfer.v1.proto.TransferTypes.AzureBlobStorageData other) {
+        if (other == com.google.storagetransfer.v1.proto.TransferTypes.AzureBlobStorageData.getDefaultInstance()) return this;
         if (!other.getStorageAccount().isEmpty()) {
           storageAccount_ = other.storageAccount_;
           onChanged();
@@ -9298,9 +8442,7 @@ public Builder mergeFrom(
         try {
           parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
         } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-          parsedMessage =
-              (com.google.storagetransfer.v1.proto.TransferTypes.AzureBlobStorageData)
-                  e.getUnfinishedMessage();
+          parsedMessage = (com.google.storagetransfer.v1.proto.TransferTypes.AzureBlobStorageData) e.getUnfinishedMessage();
           throw e.unwrapIOException();
         } finally {
           if (parsedMessage != null) {
@@ -9312,20 +8454,18 @@ public Builder mergeFrom(
 
       private java.lang.Object storageAccount_ = "";
       /**
-       *
-       *
        * 
        * Required. The name of the Azure Storage account.
        * 
* * string storage_account = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The storageAccount. */ public java.lang.String getStorageAccount() { java.lang.Object ref = storageAccount_; 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(); storageAccount_ = s; return s; @@ -9334,21 +8474,20 @@ public java.lang.String getStorageAccount() { } } /** - * - * *
        * Required. The name of the Azure Storage account.
        * 
* * string storage_account = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for storageAccount. */ - public com.google.protobuf.ByteString getStorageAccountBytes() { + public com.google.protobuf.ByteString + getStorageAccountBytes() { java.lang.Object ref = storageAccount_; 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); storageAccount_ = b; return b; } else { @@ -9356,61 +8495,54 @@ public com.google.protobuf.ByteString getStorageAccountBytes() { } } /** - * - * *
        * Required. The name of the Azure Storage account.
        * 
* * string storage_account = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The storageAccount to set. * @return This builder for chaining. */ - public Builder setStorageAccount(java.lang.String value) { + public Builder setStorageAccount( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + storageAccount_ = value; onChanged(); return this; } /** - * - * *
        * Required. The name of the Azure Storage account.
        * 
* * string storage_account = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return This builder for chaining. */ public Builder clearStorageAccount() { - + storageAccount_ = getDefaultInstance().getStorageAccount(); onChanged(); return this; } /** - * - * *
        * Required. The name of the Azure Storage account.
        * 
* * string storage_account = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The bytes for storageAccount to set. * @return This builder for chaining. */ - public Builder setStorageAccountBytes(com.google.protobuf.ByteString value) { + public Builder setStorageAccountBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + storageAccount_ = value; onChanged(); return this; @@ -9418,69 +8550,47 @@ public Builder setStorageAccountBytes(com.google.protobuf.ByteString value) { private com.google.storagetransfer.v1.proto.TransferTypes.AzureCredentials azureCredentials_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.storagetransfer.v1.proto.TransferTypes.AzureCredentials, - com.google.storagetransfer.v1.proto.TransferTypes.AzureCredentials.Builder, - com.google.storagetransfer.v1.proto.TransferTypes.AzureCredentialsOrBuilder> - azureCredentialsBuilder_; + com.google.storagetransfer.v1.proto.TransferTypes.AzureCredentials, com.google.storagetransfer.v1.proto.TransferTypes.AzureCredentials.Builder, com.google.storagetransfer.v1.proto.TransferTypes.AzureCredentialsOrBuilder> azureCredentialsBuilder_; /** - * - * *
        * Required. Input only. Credentials used to authenticate API requests to Azure.
        * For information on our data retention policy for user credentials, see
        * [User credentials](/storage-transfer/docs/data-retention#user-credentials).
        * 
* - * - * .google.storagetransfer.v1.AzureCredentials azure_credentials = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = INPUT_ONLY]; - * - * + * .google.storagetransfer.v1.AzureCredentials azure_credentials = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = INPUT_ONLY]; * @return Whether the azureCredentials field is set. */ public boolean hasAzureCredentials() { return azureCredentialsBuilder_ != null || azureCredentials_ != null; } /** - * - * *
        * Required. Input only. Credentials used to authenticate API requests to Azure.
        * For information on our data retention policy for user credentials, see
        * [User credentials](/storage-transfer/docs/data-retention#user-credentials).
        * 
* - * - * .google.storagetransfer.v1.AzureCredentials azure_credentials = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = INPUT_ONLY]; - * - * + * .google.storagetransfer.v1.AzureCredentials azure_credentials = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = INPUT_ONLY]; * @return The azureCredentials. */ - public com.google.storagetransfer.v1.proto.TransferTypes.AzureCredentials - getAzureCredentials() { + public com.google.storagetransfer.v1.proto.TransferTypes.AzureCredentials getAzureCredentials() { if (azureCredentialsBuilder_ == null) { - return azureCredentials_ == null - ? com.google.storagetransfer.v1.proto.TransferTypes.AzureCredentials - .getDefaultInstance() - : azureCredentials_; + return azureCredentials_ == null ? com.google.storagetransfer.v1.proto.TransferTypes.AzureCredentials.getDefaultInstance() : azureCredentials_; } else { return azureCredentialsBuilder_.getMessage(); } } /** - * - * *
        * Required. Input only. Credentials used to authenticate API requests to Azure.
        * For information on our data retention policy for user credentials, see
        * [User credentials](/storage-transfer/docs/data-retention#user-credentials).
        * 
* - * - * .google.storagetransfer.v1.AzureCredentials azure_credentials = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = INPUT_ONLY]; - * + * .google.storagetransfer.v1.AzureCredentials azure_credentials = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = INPUT_ONLY]; */ - public Builder setAzureCredentials( - com.google.storagetransfer.v1.proto.TransferTypes.AzureCredentials value) { + public Builder setAzureCredentials(com.google.storagetransfer.v1.proto.TransferTypes.AzureCredentials value) { if (azureCredentialsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -9494,21 +8604,16 @@ public Builder setAzureCredentials( return this; } /** - * - * *
        * Required. Input only. Credentials used to authenticate API requests to Azure.
        * For information on our data retention policy for user credentials, see
        * [User credentials](/storage-transfer/docs/data-retention#user-credentials).
        * 
* - * - * .google.storagetransfer.v1.AzureCredentials azure_credentials = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = INPUT_ONLY]; - * + * .google.storagetransfer.v1.AzureCredentials azure_credentials = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = INPUT_ONLY]; */ public Builder setAzureCredentials( - com.google.storagetransfer.v1.proto.TransferTypes.AzureCredentials.Builder - builderForValue) { + com.google.storagetransfer.v1.proto.TransferTypes.AzureCredentials.Builder builderForValue) { if (azureCredentialsBuilder_ == null) { azureCredentials_ = builderForValue.build(); onChanged(); @@ -9519,27 +8624,19 @@ public Builder setAzureCredentials( return this; } /** - * - * *
        * Required. Input only. Credentials used to authenticate API requests to Azure.
        * For information on our data retention policy for user credentials, see
        * [User credentials](/storage-transfer/docs/data-retention#user-credentials).
        * 
* - * - * .google.storagetransfer.v1.AzureCredentials azure_credentials = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = INPUT_ONLY]; - * + * .google.storagetransfer.v1.AzureCredentials azure_credentials = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = INPUT_ONLY]; */ - public Builder mergeAzureCredentials( - com.google.storagetransfer.v1.proto.TransferTypes.AzureCredentials value) { + public Builder mergeAzureCredentials(com.google.storagetransfer.v1.proto.TransferTypes.AzureCredentials value) { if (azureCredentialsBuilder_ == null) { if (azureCredentials_ != null) { azureCredentials_ = - com.google.storagetransfer.v1.proto.TransferTypes.AzureCredentials.newBuilder( - azureCredentials_) - .mergeFrom(value) - .buildPartial(); + com.google.storagetransfer.v1.proto.TransferTypes.AzureCredentials.newBuilder(azureCredentials_).mergeFrom(value).buildPartial(); } else { azureCredentials_ = value; } @@ -9551,17 +8648,13 @@ public Builder mergeAzureCredentials( return this; } /** - * - * *
        * Required. Input only. Credentials used to authenticate API requests to Azure.
        * For information on our data retention policy for user credentials, see
        * [User credentials](/storage-transfer/docs/data-retention#user-credentials).
        * 
* - * - * .google.storagetransfer.v1.AzureCredentials azure_credentials = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = INPUT_ONLY]; - * + * .google.storagetransfer.v1.AzureCredentials azure_credentials = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = INPUT_ONLY]; */ public Builder clearAzureCredentials() { if (azureCredentialsBuilder_ == null) { @@ -9575,73 +8668,54 @@ public Builder clearAzureCredentials() { return this; } /** - * - * *
        * Required. Input only. Credentials used to authenticate API requests to Azure.
        * For information on our data retention policy for user credentials, see
        * [User credentials](/storage-transfer/docs/data-retention#user-credentials).
        * 
* - * - * .google.storagetransfer.v1.AzureCredentials azure_credentials = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = INPUT_ONLY]; - * + * .google.storagetransfer.v1.AzureCredentials azure_credentials = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = INPUT_ONLY]; */ - public com.google.storagetransfer.v1.proto.TransferTypes.AzureCredentials.Builder - getAzureCredentialsBuilder() { - + public com.google.storagetransfer.v1.proto.TransferTypes.AzureCredentials.Builder getAzureCredentialsBuilder() { + onChanged(); return getAzureCredentialsFieldBuilder().getBuilder(); } /** - * - * *
        * Required. Input only. Credentials used to authenticate API requests to Azure.
        * For information on our data retention policy for user credentials, see
        * [User credentials](/storage-transfer/docs/data-retention#user-credentials).
        * 
* - * - * .google.storagetransfer.v1.AzureCredentials azure_credentials = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = INPUT_ONLY]; - * + * .google.storagetransfer.v1.AzureCredentials azure_credentials = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = INPUT_ONLY]; */ - public com.google.storagetransfer.v1.proto.TransferTypes.AzureCredentialsOrBuilder - getAzureCredentialsOrBuilder() { + public com.google.storagetransfer.v1.proto.TransferTypes.AzureCredentialsOrBuilder getAzureCredentialsOrBuilder() { if (azureCredentialsBuilder_ != null) { return azureCredentialsBuilder_.getMessageOrBuilder(); } else { - return azureCredentials_ == null - ? com.google.storagetransfer.v1.proto.TransferTypes.AzureCredentials - .getDefaultInstance() - : azureCredentials_; + return azureCredentials_ == null ? + com.google.storagetransfer.v1.proto.TransferTypes.AzureCredentials.getDefaultInstance() : azureCredentials_; } } /** - * - * *
        * Required. Input only. Credentials used to authenticate API requests to Azure.
        * For information on our data retention policy for user credentials, see
        * [User credentials](/storage-transfer/docs/data-retention#user-credentials).
        * 
* - * - * .google.storagetransfer.v1.AzureCredentials azure_credentials = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = INPUT_ONLY]; - * + * .google.storagetransfer.v1.AzureCredentials azure_credentials = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = INPUT_ONLY]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.storagetransfer.v1.proto.TransferTypes.AzureCredentials, - com.google.storagetransfer.v1.proto.TransferTypes.AzureCredentials.Builder, - com.google.storagetransfer.v1.proto.TransferTypes.AzureCredentialsOrBuilder> + com.google.storagetransfer.v1.proto.TransferTypes.AzureCredentials, com.google.storagetransfer.v1.proto.TransferTypes.AzureCredentials.Builder, com.google.storagetransfer.v1.proto.TransferTypes.AzureCredentialsOrBuilder> getAzureCredentialsFieldBuilder() { if (azureCredentialsBuilder_ == null) { - azureCredentialsBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.storagetransfer.v1.proto.TransferTypes.AzureCredentials, - com.google.storagetransfer.v1.proto.TransferTypes.AzureCredentials.Builder, - com.google.storagetransfer.v1.proto.TransferTypes.AzureCredentialsOrBuilder>( - getAzureCredentials(), getParentForChildren(), isClean()); + azureCredentialsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.storagetransfer.v1.proto.TransferTypes.AzureCredentials, com.google.storagetransfer.v1.proto.TransferTypes.AzureCredentials.Builder, com.google.storagetransfer.v1.proto.TransferTypes.AzureCredentialsOrBuilder>( + getAzureCredentials(), + getParentForChildren(), + isClean()); azureCredentials_ = null; } return azureCredentialsBuilder_; @@ -9649,20 +8723,18 @@ public Builder clearAzureCredentials() { private java.lang.Object container_ = ""; /** - * - * *
        * Required. The container to transfer from the Azure Storage account.
        * 
* * string container = 4 [(.google.api.field_behavior) = REQUIRED]; - * * @return The container. */ public java.lang.String getContainer() { java.lang.Object ref = container_; 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(); container_ = s; return s; @@ -9671,21 +8743,20 @@ public java.lang.String getContainer() { } } /** - * - * *
        * Required. The container to transfer from the Azure Storage account.
        * 
* * string container = 4 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for container. */ - public com.google.protobuf.ByteString getContainerBytes() { + public com.google.protobuf.ByteString + getContainerBytes() { java.lang.Object ref = container_; 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); container_ = b; return b; } else { @@ -9693,61 +8764,54 @@ public com.google.protobuf.ByteString getContainerBytes() { } } /** - * - * *
        * Required. The container to transfer from the Azure Storage account.
        * 
* * string container = 4 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The container to set. * @return This builder for chaining. */ - public Builder setContainer(java.lang.String value) { + public Builder setContainer( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + container_ = value; onChanged(); return this; } /** - * - * *
        * Required. The container to transfer from the Azure Storage account.
        * 
* * string container = 4 [(.google.api.field_behavior) = REQUIRED]; - * * @return This builder for chaining. */ public Builder clearContainer() { - + container_ = getDefaultInstance().getContainer(); onChanged(); return this; } /** - * - * *
        * Required. The container to transfer from the Azure Storage account.
        * 
* * string container = 4 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The bytes for container to set. * @return This builder for chaining. */ - public Builder setContainerBytes(com.google.protobuf.ByteString value) { + public Builder setContainerBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + container_ = value; onChanged(); return this; @@ -9755,8 +8819,6 @@ public Builder setContainerBytes(com.google.protobuf.ByteString value) { private java.lang.Object path_ = ""; /** - * - * *
        * Root path to transfer objects.
        * Must be an empty string or full path name that ends with a '/'. This field
@@ -9765,13 +8827,13 @@ public Builder setContainerBytes(com.google.protobuf.ByteString value) {
        * 
* * string path = 5; - * * @return The path. */ public java.lang.String getPath() { java.lang.Object ref = path_; 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(); path_ = s; return s; @@ -9780,8 +8842,6 @@ public java.lang.String getPath() { } } /** - * - * *
        * Root path to transfer objects.
        * Must be an empty string or full path name that ends with a '/'. This field
@@ -9790,14 +8850,15 @@ public java.lang.String getPath() {
        * 
* * string path = 5; - * * @return The bytes for path. */ - public com.google.protobuf.ByteString getPathBytes() { + public com.google.protobuf.ByteString + getPathBytes() { java.lang.Object ref = path_; 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); path_ = b; return b; } else { @@ -9805,8 +8866,6 @@ public com.google.protobuf.ByteString getPathBytes() { } } /** - * - * *
        * Root path to transfer objects.
        * Must be an empty string or full path name that ends with a '/'. This field
@@ -9815,22 +8874,20 @@ public com.google.protobuf.ByteString getPathBytes() {
        * 
* * string path = 5; - * * @param value The path to set. * @return This builder for chaining. */ - public Builder setPath(java.lang.String value) { + public Builder setPath( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + path_ = value; onChanged(); return this; } /** - * - * *
        * Root path to transfer objects.
        * Must be an empty string or full path name that ends with a '/'. This field
@@ -9839,18 +8896,15 @@ public Builder setPath(java.lang.String value) {
        * 
* * string path = 5; - * * @return This builder for chaining. */ public Builder clearPath() { - + path_ = getDefaultInstance().getPath(); onChanged(); return this; } /** - * - * *
        * Root path to transfer objects.
        * Must be an empty string or full path name that ends with a '/'. This field
@@ -9859,21 +8913,20 @@ public Builder clearPath() {
        * 
* * string path = 5; - * * @param value The bytes for path to set. * @return This builder for chaining. */ - public Builder setPathBytes(com.google.protobuf.ByteString value) { + public Builder setPathBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + path_ = value; onChanged(); return this; } - @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -9886,33 +8939,30 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.storagetransfer.v1.AzureBlobStorageData) } // @@protoc_insertion_point(class_scope:google.storagetransfer.v1.AzureBlobStorageData) - private static final com.google.storagetransfer.v1.proto.TransferTypes.AzureBlobStorageData - DEFAULT_INSTANCE; - + private static final com.google.storagetransfer.v1.proto.TransferTypes.AzureBlobStorageData DEFAULT_INSTANCE; static { - DEFAULT_INSTANCE = - new com.google.storagetransfer.v1.proto.TransferTypes.AzureBlobStorageData(); + DEFAULT_INSTANCE = new com.google.storagetransfer.v1.proto.TransferTypes.AzureBlobStorageData(); } - public static com.google.storagetransfer.v1.proto.TransferTypes.AzureBlobStorageData - getDefaultInstance() { + public static com.google.storagetransfer.v1.proto.TransferTypes.AzureBlobStorageData getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public AzureBlobStorageData parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new AzureBlobStorageData(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public AzureBlobStorageData parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new AzureBlobStorageData(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -9924,20 +8974,17 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.storagetransfer.v1.proto.TransferTypes.AzureBlobStorageData - getDefaultInstanceForType() { + public com.google.storagetransfer.v1.proto.TransferTypes.AzureBlobStorageData getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } - public interface HttpDataOrBuilder - extends + public interface HttpDataOrBuilder extends // @@protoc_insertion_point(interface_extends:google.storagetransfer.v1.HttpData) com.google.protobuf.MessageOrBuilder { /** - * - * *
      * Required. The URL that points to the file that stores the object list
      * entries. This file must allow public access.  Currently, only URLs with
@@ -9945,13 +8992,10 @@ public interface HttpDataOrBuilder
      * 
* * string list_url = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The listUrl. */ java.lang.String getListUrl(); /** - * - * *
      * Required. The URL that points to the file that stores the object list
      * entries. This file must allow public access.  Currently, only URLs with
@@ -9959,14 +9003,12 @@ public interface HttpDataOrBuilder
      * 
* * string list_url = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for listUrl. */ - com.google.protobuf.ByteString getListUrlBytes(); + com.google.protobuf.ByteString + getListUrlBytes(); } /** - * - * *
    * An HttpData resource specifies a list of objects on the web to be transferred
    * over HTTP.  The information of the objects to be transferred is contained in
@@ -10000,31 +9042,31 @@ public interface HttpDataOrBuilder
    *
    * Protobuf type {@code google.storagetransfer.v1.HttpData}
    */
-  public static final class HttpData extends com.google.protobuf.GeneratedMessageV3
-      implements
+  public static final class HttpData extends
+      com.google.protobuf.GeneratedMessageV3 implements
       // @@protoc_insertion_point(message_implements:google.storagetransfer.v1.HttpData)
       HttpDataOrBuilder {
-    private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
     // Use HttpData.newBuilder() to construct.
     private HttpData(com.google.protobuf.GeneratedMessageV3.Builder builder) {
       super(builder);
     }
-
     private HttpData() {
       listUrl_ = "";
     }
 
     @java.lang.Override
     @SuppressWarnings({"unused"})
-    protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+    protected java.lang.Object newInstance(
+        UnusedPrivateParameter unused) {
       return new HttpData();
     }
 
     @java.lang.Override
-    public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+    public final com.google.protobuf.UnknownFieldSet
+    getUnknownFields() {
       return this.unknownFields;
     }
-
     private HttpData(
         com.google.protobuf.CodedInputStream input,
         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -10043,20 +9085,19 @@ private HttpData(
             case 0:
               done = true;
               break;
-            case 10:
-              {
-                java.lang.String s = input.readStringRequireUtf8();
+            case 10: {
+              java.lang.String s = input.readStringRequireUtf8();
 
-                listUrl_ = s;
-                break;
-              }
-            default:
-              {
-                if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
-                  done = true;
-                }
-                break;
+              listUrl_ = s;
+              break;
+            }
+            default: {
+              if (!parseUnknownField(
+                  input, unknownFields, extensionRegistry, tag)) {
+                done = true;
               }
+              break;
+            }
           }
         }
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -10064,33 +9105,29 @@ private HttpData(
       } catch (com.google.protobuf.UninitializedMessageException e) {
         throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
       } catch (java.io.IOException e) {
-        throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
+        throw new com.google.protobuf.InvalidProtocolBufferException(
+            e).setUnfinishedMessage(this);
       } finally {
         this.unknownFields = unknownFields.build();
         makeExtensionsImmutable();
       }
     }
-
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.storagetransfer.v1.proto.TransferTypes
-          .internal_static_google_storagetransfer_v1_HttpData_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.storagetransfer.v1.proto.TransferTypes.internal_static_google_storagetransfer_v1_HttpData_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.storagetransfer.v1.proto.TransferTypes
-          .internal_static_google_storagetransfer_v1_HttpData_fieldAccessorTable
+      return com.google.storagetransfer.v1.proto.TransferTypes.internal_static_google_storagetransfer_v1_HttpData_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.storagetransfer.v1.proto.TransferTypes.HttpData.class,
-              com.google.storagetransfer.v1.proto.TransferTypes.HttpData.Builder.class);
+              com.google.storagetransfer.v1.proto.TransferTypes.HttpData.class, com.google.storagetransfer.v1.proto.TransferTypes.HttpData.Builder.class);
     }
 
     public static final int LIST_URL_FIELD_NUMBER = 1;
     private volatile java.lang.Object listUrl_;
     /**
-     *
-     *
      * 
      * Required. The URL that points to the file that stores the object list
      * entries. This file must allow public access.  Currently, only URLs with
@@ -10098,7 +9135,6 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
      * 
* * string list_url = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The listUrl. */ @java.lang.Override @@ -10107,15 +9143,14 @@ public java.lang.String getListUrl() { 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(); listUrl_ = s; return s; } } /** - * - * *
      * Required. The URL that points to the file that stores the object list
      * entries. This file must allow public access.  Currently, only URLs with
@@ -10123,15 +9158,16 @@ public java.lang.String getListUrl() {
      * 
* * string list_url = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for listUrl. */ @java.lang.Override - public com.google.protobuf.ByteString getListUrlBytes() { + public com.google.protobuf.ByteString + getListUrlBytes() { java.lang.Object ref = listUrl_; 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); listUrl_ = b; return b; } else { @@ -10140,7 +9176,6 @@ public com.google.protobuf.ByteString getListUrlBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -10152,7 +9187,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 (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(listUrl_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, listUrl_); } @@ -10176,15 +9212,15 @@ 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.storagetransfer.v1.proto.TransferTypes.HttpData)) { return super.equals(obj); } - com.google.storagetransfer.v1.proto.TransferTypes.HttpData other = - (com.google.storagetransfer.v1.proto.TransferTypes.HttpData) obj; + com.google.storagetransfer.v1.proto.TransferTypes.HttpData other = (com.google.storagetransfer.v1.proto.TransferTypes.HttpData) obj; - if (!getListUrl().equals(other.getListUrl())) return false; + if (!getListUrl() + .equals(other.getListUrl())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -10204,94 +9240,87 @@ public int hashCode() { } public static com.google.storagetransfer.v1.proto.TransferTypes.HttpData parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.storagetransfer.v1.proto.TransferTypes.HttpData 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.storagetransfer.v1.proto.TransferTypes.HttpData parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.storagetransfer.v1.proto.TransferTypes.HttpData 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.storagetransfer.v1.proto.TransferTypes.HttpData parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.storagetransfer.v1.proto.TransferTypes.HttpData 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.storagetransfer.v1.proto.TransferTypes.HttpData parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.storagetransfer.v1.proto.TransferTypes.HttpData parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.storagetransfer.v1.proto.TransferTypes.HttpData 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.storagetransfer.v1.proto.TransferTypes.HttpData parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.storagetransfer.v1.proto.TransferTypes.HttpData parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.storagetransfer.v1.proto.TransferTypes.HttpData 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.storagetransfer.v1.proto.TransferTypes.HttpData 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.storagetransfer.v1.proto.TransferTypes.HttpData 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.storagetransfer.v1.proto.TransferTypes.HttpData prototype) { + public static Builder newBuilder(com.google.storagetransfer.v1.proto.TransferTypes.HttpData 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 @@ -10301,8 +9330,6 @@ protected Builder newBuilderForType( return builder; } /** - * - * *
      * An HttpData resource specifies a list of objects on the web to be transferred
      * over HTTP.  The information of the objects to be transferred is contained in
@@ -10336,24 +9363,21 @@ protected Builder newBuilderForType(
      *
      * Protobuf type {@code google.storagetransfer.v1.HttpData}
      */
-    public static final class Builder
-        extends com.google.protobuf.GeneratedMessageV3.Builder
-        implements
+    public static final class Builder extends
+        com.google.protobuf.GeneratedMessageV3.Builder implements
         // @@protoc_insertion_point(builder_implements:google.storagetransfer.v1.HttpData)
         com.google.storagetransfer.v1.proto.TransferTypes.HttpDataOrBuilder {
-      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-        return com.google.storagetransfer.v1.proto.TransferTypes
-            .internal_static_google_storagetransfer_v1_HttpData_descriptor;
+      public static final com.google.protobuf.Descriptors.Descriptor
+          getDescriptor() {
+        return com.google.storagetransfer.v1.proto.TransferTypes.internal_static_google_storagetransfer_v1_HttpData_descriptor;
       }
 
       @java.lang.Override
       protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
           internalGetFieldAccessorTable() {
-        return com.google.storagetransfer.v1.proto.TransferTypes
-            .internal_static_google_storagetransfer_v1_HttpData_fieldAccessorTable
+        return com.google.storagetransfer.v1.proto.TransferTypes.internal_static_google_storagetransfer_v1_HttpData_fieldAccessorTable
             .ensureFieldAccessorsInitialized(
-                com.google.storagetransfer.v1.proto.TransferTypes.HttpData.class,
-                com.google.storagetransfer.v1.proto.TransferTypes.HttpData.Builder.class);
+                com.google.storagetransfer.v1.proto.TransferTypes.HttpData.class, com.google.storagetransfer.v1.proto.TransferTypes.HttpData.Builder.class);
       }
 
       // Construct using com.google.storagetransfer.v1.proto.TransferTypes.HttpData.newBuilder()
@@ -10361,15 +9385,16 @@ private Builder() {
         maybeForceBuilderInitialization();
       }
 
-      private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+      private Builder(
+          com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
         super(parent);
         maybeForceBuilderInitialization();
       }
-
       private void maybeForceBuilderInitialization() {
-        if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {}
+        if (com.google.protobuf.GeneratedMessageV3
+                .alwaysUseFieldBuilders) {
+        }
       }
-
       @java.lang.Override
       public Builder clear() {
         super.clear();
@@ -10379,14 +9404,13 @@ public Builder clear() {
       }
 
       @java.lang.Override
-      public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-        return com.google.storagetransfer.v1.proto.TransferTypes
-            .internal_static_google_storagetransfer_v1_HttpData_descriptor;
+      public com.google.protobuf.Descriptors.Descriptor
+          getDescriptorForType() {
+        return com.google.storagetransfer.v1.proto.TransferTypes.internal_static_google_storagetransfer_v1_HttpData_descriptor;
       }
 
       @java.lang.Override
-      public com.google.storagetransfer.v1.proto.TransferTypes.HttpData
-          getDefaultInstanceForType() {
+      public com.google.storagetransfer.v1.proto.TransferTypes.HttpData getDefaultInstanceForType() {
         return com.google.storagetransfer.v1.proto.TransferTypes.HttpData.getDefaultInstance();
       }
 
@@ -10401,8 +9425,7 @@ public com.google.storagetransfer.v1.proto.TransferTypes.HttpData build() {
 
       @java.lang.Override
       public com.google.storagetransfer.v1.proto.TransferTypes.HttpData buildPartial() {
-        com.google.storagetransfer.v1.proto.TransferTypes.HttpData result =
-            new com.google.storagetransfer.v1.proto.TransferTypes.HttpData(this);
+        com.google.storagetransfer.v1.proto.TransferTypes.HttpData result = new com.google.storagetransfer.v1.proto.TransferTypes.HttpData(this);
         result.listUrl_ = listUrl_;
         onBuilt();
         return result;
@@ -10412,41 +9435,38 @@ public com.google.storagetransfer.v1.proto.TransferTypes.HttpData buildPartial()
       public Builder clone() {
         return super.clone();
       }
-
       @java.lang.Override
       public Builder setField(
-          com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+          com.google.protobuf.Descriptors.FieldDescriptor field,
+          java.lang.Object value) {
         return super.setField(field, value);
       }
-
       @java.lang.Override
-      public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+      public Builder clearField(
+          com.google.protobuf.Descriptors.FieldDescriptor field) {
         return super.clearField(field);
       }
-
       @java.lang.Override
-      public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+      public Builder clearOneof(
+          com.google.protobuf.Descriptors.OneofDescriptor oneof) {
         return super.clearOneof(oneof);
       }
-
       @java.lang.Override
       public Builder setRepeatedField(
           com.google.protobuf.Descriptors.FieldDescriptor field,
-          int index,
-          java.lang.Object value) {
+          int index, java.lang.Object value) {
         return super.setRepeatedField(field, index, value);
       }
-
       @java.lang.Override
       public Builder addRepeatedField(
-          com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+          com.google.protobuf.Descriptors.FieldDescriptor field,
+          java.lang.Object value) {
         return super.addRepeatedField(field, value);
       }
-
       @java.lang.Override
       public Builder mergeFrom(com.google.protobuf.Message other) {
         if (other instanceof com.google.storagetransfer.v1.proto.TransferTypes.HttpData) {
-          return mergeFrom((com.google.storagetransfer.v1.proto.TransferTypes.HttpData) other);
+          return mergeFrom((com.google.storagetransfer.v1.proto.TransferTypes.HttpData)other);
         } else {
           super.mergeFrom(other);
           return this;
@@ -10454,9 +9474,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
       }
 
       public Builder mergeFrom(com.google.storagetransfer.v1.proto.TransferTypes.HttpData other) {
-        if (other
-            == com.google.storagetransfer.v1.proto.TransferTypes.HttpData.getDefaultInstance())
-          return this;
+        if (other == com.google.storagetransfer.v1.proto.TransferTypes.HttpData.getDefaultInstance()) return this;
         if (!other.getListUrl().isEmpty()) {
           listUrl_ = other.listUrl_;
           onChanged();
@@ -10480,8 +9498,7 @@ public Builder mergeFrom(
         try {
           parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
         } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-          parsedMessage =
-              (com.google.storagetransfer.v1.proto.TransferTypes.HttpData) e.getUnfinishedMessage();
+          parsedMessage = (com.google.storagetransfer.v1.proto.TransferTypes.HttpData) e.getUnfinishedMessage();
           throw e.unwrapIOException();
         } finally {
           if (parsedMessage != null) {
@@ -10493,8 +9510,6 @@ public Builder mergeFrom(
 
       private java.lang.Object listUrl_ = "";
       /**
-       *
-       *
        * 
        * Required. The URL that points to the file that stores the object list
        * entries. This file must allow public access.  Currently, only URLs with
@@ -10502,13 +9517,13 @@ public Builder mergeFrom(
        * 
* * string list_url = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The listUrl. */ public java.lang.String getListUrl() { java.lang.Object ref = listUrl_; 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(); listUrl_ = s; return s; @@ -10517,8 +9532,6 @@ public java.lang.String getListUrl() { } } /** - * - * *
        * Required. The URL that points to the file that stores the object list
        * entries. This file must allow public access.  Currently, only URLs with
@@ -10526,14 +9539,15 @@ public java.lang.String getListUrl() {
        * 
* * string list_url = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for listUrl. */ - public com.google.protobuf.ByteString getListUrlBytes() { + public com.google.protobuf.ByteString + getListUrlBytes() { java.lang.Object ref = listUrl_; 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); listUrl_ = b; return b; } else { @@ -10541,8 +9555,6 @@ public com.google.protobuf.ByteString getListUrlBytes() { } } /** - * - * *
        * Required. The URL that points to the file that stores the object list
        * entries. This file must allow public access.  Currently, only URLs with
@@ -10550,22 +9562,20 @@ public com.google.protobuf.ByteString getListUrlBytes() {
        * 
* * string list_url = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The listUrl to set. * @return This builder for chaining. */ - public Builder setListUrl(java.lang.String value) { + public Builder setListUrl( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + listUrl_ = value; onChanged(); return this; } /** - * - * *
        * Required. The URL that points to the file that stores the object list
        * entries. This file must allow public access.  Currently, only URLs with
@@ -10573,18 +9583,15 @@ public Builder setListUrl(java.lang.String value) {
        * 
* * string list_url = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return This builder for chaining. */ public Builder clearListUrl() { - + listUrl_ = getDefaultInstance().getListUrl(); onChanged(); return this; } /** - * - * *
        * Required. The URL that points to the file that stores the object list
        * entries. This file must allow public access.  Currently, only URLs with
@@ -10592,21 +9599,20 @@ public Builder clearListUrl() {
        * 
* * string list_url = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The bytes for listUrl to set. * @return This builder for chaining. */ - public Builder setListUrlBytes(com.google.protobuf.ByteString value) { + public Builder setListUrlBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + listUrl_ = value; onChanged(); return this; } - @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -10619,13 +9625,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.storagetransfer.v1.HttpData) } // @@protoc_insertion_point(class_scope:google.storagetransfer.v1.HttpData) - private static final com.google.storagetransfer.v1.proto.TransferTypes.HttpData - DEFAULT_INSTANCE; - + private static final com.google.storagetransfer.v1.proto.TransferTypes.HttpData DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.storagetransfer.v1.proto.TransferTypes.HttpData(); } @@ -10634,16 +9639,16 @@ public static com.google.storagetransfer.v1.proto.TransferTypes.HttpData getDefa return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public HttpData parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new HttpData(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public HttpData parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new HttpData(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -10658,72 +9663,65 @@ public com.google.protobuf.Parser getParserForType() { public com.google.storagetransfer.v1.proto.TransferTypes.HttpData getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } - public interface PosixFilesystemOrBuilder - extends + public interface PosixFilesystemOrBuilder extends // @@protoc_insertion_point(interface_extends:google.storagetransfer.v1.PosixFilesystem) com.google.protobuf.MessageOrBuilder { /** - * - * *
      * Root directory path to the filesystem.
      * 
* * string root_directory = 1; - * * @return The rootDirectory. */ java.lang.String getRootDirectory(); /** - * - * *
      * Root directory path to the filesystem.
      * 
* * string root_directory = 1; - * * @return The bytes for rootDirectory. */ - com.google.protobuf.ByteString getRootDirectoryBytes(); + com.google.protobuf.ByteString + getRootDirectoryBytes(); } /** - * - * *
    * A POSIX filesystem resource.
    * 
* * Protobuf type {@code google.storagetransfer.v1.PosixFilesystem} */ - public static final class PosixFilesystem extends com.google.protobuf.GeneratedMessageV3 - implements + public static final class PosixFilesystem extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.storagetransfer.v1.PosixFilesystem) PosixFilesystemOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use PosixFilesystem.newBuilder() to construct. private PosixFilesystem(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private PosixFilesystem() { rootDirectory_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new PosixFilesystem(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private PosixFilesystem( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -10742,20 +9740,19 @@ private PosixFilesystem( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - rootDirectory_ = s; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + rootDirectory_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -10763,39 +9760,34 @@ private PosixFilesystem( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.storagetransfer.v1.proto.TransferTypes - .internal_static_google_storagetransfer_v1_PosixFilesystem_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.storagetransfer.v1.proto.TransferTypes.internal_static_google_storagetransfer_v1_PosixFilesystem_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.storagetransfer.v1.proto.TransferTypes - .internal_static_google_storagetransfer_v1_PosixFilesystem_fieldAccessorTable + return com.google.storagetransfer.v1.proto.TransferTypes.internal_static_google_storagetransfer_v1_PosixFilesystem_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.storagetransfer.v1.proto.TransferTypes.PosixFilesystem.class, - com.google.storagetransfer.v1.proto.TransferTypes.PosixFilesystem.Builder.class); + com.google.storagetransfer.v1.proto.TransferTypes.PosixFilesystem.class, com.google.storagetransfer.v1.proto.TransferTypes.PosixFilesystem.Builder.class); } public static final int ROOT_DIRECTORY_FIELD_NUMBER = 1; private volatile java.lang.Object rootDirectory_; /** - * - * *
      * Root directory path to the filesystem.
      * 
* * string root_directory = 1; - * * @return The rootDirectory. */ @java.lang.Override @@ -10804,29 +9796,29 @@ public java.lang.String getRootDirectory() { 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(); rootDirectory_ = s; return s; } } /** - * - * *
      * Root directory path to the filesystem.
      * 
* * string root_directory = 1; - * * @return The bytes for rootDirectory. */ @java.lang.Override - public com.google.protobuf.ByteString getRootDirectoryBytes() { + public com.google.protobuf.ByteString + getRootDirectoryBytes() { java.lang.Object ref = rootDirectory_; 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); rootDirectory_ = b; return b; } else { @@ -10835,7 +9827,6 @@ public com.google.protobuf.ByteString getRootDirectoryBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -10847,7 +9838,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 (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(rootDirectory_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, rootDirectory_); } @@ -10871,15 +9863,15 @@ 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.storagetransfer.v1.proto.TransferTypes.PosixFilesystem)) { return super.equals(obj); } - com.google.storagetransfer.v1.proto.TransferTypes.PosixFilesystem other = - (com.google.storagetransfer.v1.proto.TransferTypes.PosixFilesystem) obj; + com.google.storagetransfer.v1.proto.TransferTypes.PosixFilesystem other = (com.google.storagetransfer.v1.proto.TransferTypes.PosixFilesystem) obj; - if (!getRootDirectory().equals(other.getRootDirectory())) return false; + if (!getRootDirectory() + .equals(other.getRootDirectory())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -10899,95 +9891,87 @@ public int hashCode() { } public static com.google.storagetransfer.v1.proto.TransferTypes.PosixFilesystem parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.storagetransfer.v1.proto.TransferTypes.PosixFilesystem 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.storagetransfer.v1.proto.TransferTypes.PosixFilesystem parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.storagetransfer.v1.proto.TransferTypes.PosixFilesystem 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.storagetransfer.v1.proto.TransferTypes.PosixFilesystem parseFrom( - byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.storagetransfer.v1.proto.TransferTypes.PosixFilesystem parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.storagetransfer.v1.proto.TransferTypes.PosixFilesystem 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.storagetransfer.v1.proto.TransferTypes.PosixFilesystem parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.storagetransfer.v1.proto.TransferTypes.PosixFilesystem parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.storagetransfer.v1.proto.TransferTypes.PosixFilesystem 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.storagetransfer.v1.proto.TransferTypes.PosixFilesystem - parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.storagetransfer.v1.proto.TransferTypes.PosixFilesystem parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - - public static com.google.storagetransfer.v1.proto.TransferTypes.PosixFilesystem - parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + public static com.google.storagetransfer.v1.proto.TransferTypes.PosixFilesystem parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.storagetransfer.v1.proto.TransferTypes.PosixFilesystem 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.storagetransfer.v1.proto.TransferTypes.PosixFilesystem 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.storagetransfer.v1.proto.TransferTypes.PosixFilesystem prototype) { + public static Builder newBuilder(com.google.storagetransfer.v1.proto.TransferTypes.PosixFilesystem 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 @@ -10997,49 +9981,44 @@ protected Builder newBuilderForType( return builder; } /** - * - * *
      * A POSIX filesystem resource.
      * 
* * Protobuf type {@code google.storagetransfer.v1.PosixFilesystem} */ - public static final class Builder - extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.storagetransfer.v1.PosixFilesystem) com.google.storagetransfer.v1.proto.TransferTypes.PosixFilesystemOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.storagetransfer.v1.proto.TransferTypes - .internal_static_google_storagetransfer_v1_PosixFilesystem_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.storagetransfer.v1.proto.TransferTypes.internal_static_google_storagetransfer_v1_PosixFilesystem_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.storagetransfer.v1.proto.TransferTypes - .internal_static_google_storagetransfer_v1_PosixFilesystem_fieldAccessorTable + return com.google.storagetransfer.v1.proto.TransferTypes.internal_static_google_storagetransfer_v1_PosixFilesystem_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.storagetransfer.v1.proto.TransferTypes.PosixFilesystem.class, - com.google.storagetransfer.v1.proto.TransferTypes.PosixFilesystem.Builder.class); + com.google.storagetransfer.v1.proto.TransferTypes.PosixFilesystem.class, com.google.storagetransfer.v1.proto.TransferTypes.PosixFilesystem.Builder.class); } - // Construct using - // com.google.storagetransfer.v1.proto.TransferTypes.PosixFilesystem.newBuilder() + // Construct using com.google.storagetransfer.v1.proto.TransferTypes.PosixFilesystem.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -11049,16 +10028,14 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.storagetransfer.v1.proto.TransferTypes - .internal_static_google_storagetransfer_v1_PosixFilesystem_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.storagetransfer.v1.proto.TransferTypes.internal_static_google_storagetransfer_v1_PosixFilesystem_descriptor; } @java.lang.Override - public com.google.storagetransfer.v1.proto.TransferTypes.PosixFilesystem - getDefaultInstanceForType() { - return com.google.storagetransfer.v1.proto.TransferTypes.PosixFilesystem - .getDefaultInstance(); + public com.google.storagetransfer.v1.proto.TransferTypes.PosixFilesystem getDefaultInstanceForType() { + return com.google.storagetransfer.v1.proto.TransferTypes.PosixFilesystem.getDefaultInstance(); } @java.lang.Override @@ -11072,8 +10049,7 @@ public com.google.storagetransfer.v1.proto.TransferTypes.PosixFilesystem build() @java.lang.Override public com.google.storagetransfer.v1.proto.TransferTypes.PosixFilesystem buildPartial() { - com.google.storagetransfer.v1.proto.TransferTypes.PosixFilesystem result = - new com.google.storagetransfer.v1.proto.TransferTypes.PosixFilesystem(this); + com.google.storagetransfer.v1.proto.TransferTypes.PosixFilesystem result = new com.google.storagetransfer.v1.proto.TransferTypes.PosixFilesystem(this); result.rootDirectory_ = rootDirectory_; onBuilt(); return result; @@ -11083,53 +10059,46 @@ public com.google.storagetransfer.v1.proto.TransferTypes.PosixFilesystem buildPa public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, - int index, - java.lang.Object value) { + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.storagetransfer.v1.proto.TransferTypes.PosixFilesystem) { - return mergeFrom( - (com.google.storagetransfer.v1.proto.TransferTypes.PosixFilesystem) other); + return mergeFrom((com.google.storagetransfer.v1.proto.TransferTypes.PosixFilesystem)other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom( - com.google.storagetransfer.v1.proto.TransferTypes.PosixFilesystem other) { - if (other - == com.google.storagetransfer.v1.proto.TransferTypes.PosixFilesystem - .getDefaultInstance()) return this; + public Builder mergeFrom(com.google.storagetransfer.v1.proto.TransferTypes.PosixFilesystem other) { + if (other == com.google.storagetransfer.v1.proto.TransferTypes.PosixFilesystem.getDefaultInstance()) return this; if (!other.getRootDirectory().isEmpty()) { rootDirectory_ = other.rootDirectory_; onChanged(); @@ -11149,13 +10118,2994 @@ public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - com.google.storagetransfer.v1.proto.TransferTypes.PosixFilesystem parsedMessage = null; + com.google.storagetransfer.v1.proto.TransferTypes.PosixFilesystem parsedMessage = null; + try { + parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + parsedMessage = (com.google.storagetransfer.v1.proto.TransferTypes.PosixFilesystem) e.getUnfinishedMessage(); + throw e.unwrapIOException(); + } finally { + if (parsedMessage != null) { + mergeFrom(parsedMessage); + } + } + return this; + } + + private java.lang.Object rootDirectory_ = ""; + /** + *
+       * Root directory path to the filesystem.
+       * 
+ * + * string root_directory = 1; + * @return The rootDirectory. + */ + public java.lang.String getRootDirectory() { + java.lang.Object ref = rootDirectory_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + rootDirectory_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + *
+       * Root directory path to the filesystem.
+       * 
+ * + * string root_directory = 1; + * @return The bytes for rootDirectory. + */ + public com.google.protobuf.ByteString + getRootDirectoryBytes() { + java.lang.Object ref = rootDirectory_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + rootDirectory_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + *
+       * Root directory path to the filesystem.
+       * 
+ * + * string root_directory = 1; + * @param value The rootDirectory to set. + * @return This builder for chaining. + */ + public Builder setRootDirectory( + java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + + rootDirectory_ = value; + onChanged(); + return this; + } + /** + *
+       * Root directory path to the filesystem.
+       * 
+ * + * string root_directory = 1; + * @return This builder for chaining. + */ + public Builder clearRootDirectory() { + + rootDirectory_ = getDefaultInstance().getRootDirectory(); + onChanged(); + return this; + } + /** + *
+       * Root directory path to the filesystem.
+       * 
+ * + * string root_directory = 1; + * @param value The bytes for rootDirectory to set. + * @return This builder for chaining. + */ + public Builder setRootDirectoryBytes( + com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + + rootDirectory_ = value; + onChanged(); + return this; + } + @java.lang.Override + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + + + // @@protoc_insertion_point(builder_scope:google.storagetransfer.v1.PosixFilesystem) + } + + // @@protoc_insertion_point(class_scope:google.storagetransfer.v1.PosixFilesystem) + private static final com.google.storagetransfer.v1.proto.TransferTypes.PosixFilesystem DEFAULT_INSTANCE; + static { + DEFAULT_INSTANCE = new com.google.storagetransfer.v1.proto.TransferTypes.PosixFilesystem(); + } + + public static com.google.storagetransfer.v1.proto.TransferTypes.PosixFilesystem getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public PosixFilesystem parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new PosixFilesystem(input, extensionRegistry); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public com.google.storagetransfer.v1.proto.TransferTypes.PosixFilesystem getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } + + } + + public interface AwsS3CompatibleDataOrBuilder extends + // @@protoc_insertion_point(interface_extends:google.storagetransfer.v1.AwsS3CompatibleData) + com.google.protobuf.MessageOrBuilder { + + /** + *
+     * Required. Specifies the name of the bucket.
+     * 
+ * + * string bucket_name = 1 [(.google.api.field_behavior) = REQUIRED]; + * @return The bucketName. + */ + java.lang.String getBucketName(); + /** + *
+     * Required. Specifies the name of the bucket.
+     * 
+ * + * string bucket_name = 1 [(.google.api.field_behavior) = REQUIRED]; + * @return The bytes for bucketName. + */ + com.google.protobuf.ByteString + getBucketNameBytes(); + + /** + *
+     * Specifies the root path to transfer objects.
+     * Must be an empty string or full path name that ends with a '/'. This
+     * field is treated as an object prefix. As such, it should generally not
+     * begin with a '/'.
+     * 
+ * + * string path = 2; + * @return The path. + */ + java.lang.String getPath(); + /** + *
+     * Specifies the root path to transfer objects.
+     * Must be an empty string or full path name that ends with a '/'. This
+     * field is treated as an object prefix. As such, it should generally not
+     * begin with a '/'.
+     * 
+ * + * string path = 2; + * @return The bytes for path. + */ + com.google.protobuf.ByteString + getPathBytes(); + + /** + *
+     * Required. Specifies the endpoint of the storage service.
+     * 
+ * + * string endpoint = 3 [(.google.api.field_behavior) = REQUIRED]; + * @return The endpoint. + */ + java.lang.String getEndpoint(); + /** + *
+     * Required. Specifies the endpoint of the storage service.
+     * 
+ * + * string endpoint = 3 [(.google.api.field_behavior) = REQUIRED]; + * @return The bytes for endpoint. + */ + com.google.protobuf.ByteString + getEndpointBytes(); + + /** + *
+     * Specifies the region to sign requests with. This can be left blank if
+     * requests should be signed with an empty region.
+     * 
+ * + * string region = 5; + * @return The region. + */ + java.lang.String getRegion(); + /** + *
+     * Specifies the region to sign requests with. This can be left blank if
+     * requests should be signed with an empty region.
+     * 
+ * + * string region = 5; + * @return The bytes for region. + */ + com.google.protobuf.ByteString + getRegionBytes(); + + /** + *
+     * A S3 compatible metadata.
+     * 
+ * + * .google.storagetransfer.v1.S3CompatibleMetadata s3_metadata = 4; + * @return Whether the s3Metadata field is set. + */ + boolean hasS3Metadata(); + /** + *
+     * A S3 compatible metadata.
+     * 
+ * + * .google.storagetransfer.v1.S3CompatibleMetadata s3_metadata = 4; + * @return The s3Metadata. + */ + com.google.storagetransfer.v1.proto.TransferTypes.S3CompatibleMetadata getS3Metadata(); + /** + *
+     * A S3 compatible metadata.
+     * 
+ * + * .google.storagetransfer.v1.S3CompatibleMetadata s3_metadata = 4; + */ + com.google.storagetransfer.v1.proto.TransferTypes.S3CompatibleMetadataOrBuilder getS3MetadataOrBuilder(); + + public com.google.storagetransfer.v1.proto.TransferTypes.AwsS3CompatibleData.DataProviderCase getDataProviderCase(); + } + /** + *
+   * An AwsS3CompatibleData resource.
+   * 
+ * + * Protobuf type {@code google.storagetransfer.v1.AwsS3CompatibleData} + */ + public static final class AwsS3CompatibleData extends + com.google.protobuf.GeneratedMessageV3 implements + // @@protoc_insertion_point(message_implements:google.storagetransfer.v1.AwsS3CompatibleData) + AwsS3CompatibleDataOrBuilder { + private static final long serialVersionUID = 0L; + // Use AwsS3CompatibleData.newBuilder() to construct. + private AwsS3CompatibleData(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + private AwsS3CompatibleData() { + bucketName_ = ""; + path_ = ""; + endpoint_ = ""; + region_ = ""; + } + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { + return new AwsS3CompatibleData(); + } + + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { + return this.unknownFields; + } + private AwsS3CompatibleData( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + com.google.protobuf.UnknownFieldSet.Builder unknownFields = + com.google.protobuf.UnknownFieldSet.newBuilder(); + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 10: { + java.lang.String s = input.readStringRequireUtf8(); + + bucketName_ = s; + break; + } + case 18: { + java.lang.String s = input.readStringRequireUtf8(); + + path_ = s; + break; + } + case 26: { + java.lang.String s = input.readStringRequireUtf8(); + + endpoint_ = s; + break; + } + case 34: { + com.google.storagetransfer.v1.proto.TransferTypes.S3CompatibleMetadata.Builder subBuilder = null; + if (dataProviderCase_ == 4) { + subBuilder = ((com.google.storagetransfer.v1.proto.TransferTypes.S3CompatibleMetadata) dataProvider_).toBuilder(); + } + dataProvider_ = + input.readMessage(com.google.storagetransfer.v1.proto.TransferTypes.S3CompatibleMetadata.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom((com.google.storagetransfer.v1.proto.TransferTypes.S3CompatibleMetadata) dataProvider_); + dataProvider_ = subBuilder.buildPartial(); + } + dataProviderCase_ = 4; + break; + } + case 42: { + java.lang.String s = input.readStringRequireUtf8(); + + region_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; + } + } + } + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(this); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); + } finally { + this.unknownFields = unknownFields.build(); + makeExtensionsImmutable(); + } + } + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.storagetransfer.v1.proto.TransferTypes.internal_static_google_storagetransfer_v1_AwsS3CompatibleData_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.storagetransfer.v1.proto.TransferTypes.internal_static_google_storagetransfer_v1_AwsS3CompatibleData_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.storagetransfer.v1.proto.TransferTypes.AwsS3CompatibleData.class, com.google.storagetransfer.v1.proto.TransferTypes.AwsS3CompatibleData.Builder.class); + } + + private int dataProviderCase_ = 0; + private java.lang.Object dataProvider_; + public enum DataProviderCase + implements com.google.protobuf.Internal.EnumLite, + com.google.protobuf.AbstractMessage.InternalOneOfEnum { + S3_METADATA(4), + DATAPROVIDER_NOT_SET(0); + private final int value; + private DataProviderCase(int value) { + this.value = value; + } + /** + * @param value The number of the enum to look for. + * @return The enum associated with the given number. + * @deprecated Use {@link #forNumber(int)} instead. + */ + @java.lang.Deprecated + public static DataProviderCase valueOf(int value) { + return forNumber(value); + } + + public static DataProviderCase forNumber(int value) { + switch (value) { + case 4: return S3_METADATA; + case 0: return DATAPROVIDER_NOT_SET; + default: return null; + } + } + public int getNumber() { + return this.value; + } + }; + + public DataProviderCase + getDataProviderCase() { + return DataProviderCase.forNumber( + dataProviderCase_); + } + + public static final int BUCKET_NAME_FIELD_NUMBER = 1; + private volatile java.lang.Object bucketName_; + /** + *
+     * Required. Specifies the name of the bucket.
+     * 
+ * + * string bucket_name = 1 [(.google.api.field_behavior) = REQUIRED]; + * @return The bucketName. + */ + @java.lang.Override + public java.lang.String getBucketName() { + java.lang.Object ref = bucketName_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + bucketName_ = s; + return s; + } + } + /** + *
+     * Required. Specifies the name of the bucket.
+     * 
+ * + * string bucket_name = 1 [(.google.api.field_behavior) = REQUIRED]; + * @return The bytes for bucketName. + */ + @java.lang.Override + public com.google.protobuf.ByteString + getBucketNameBytes() { + java.lang.Object ref = bucketName_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + bucketName_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int PATH_FIELD_NUMBER = 2; + private volatile java.lang.Object path_; + /** + *
+     * Specifies the root path to transfer objects.
+     * Must be an empty string or full path name that ends with a '/'. This
+     * field is treated as an object prefix. As such, it should generally not
+     * begin with a '/'.
+     * 
+ * + * string path = 2; + * @return The path. + */ + @java.lang.Override + public java.lang.String getPath() { + java.lang.Object ref = path_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + path_ = s; + return s; + } + } + /** + *
+     * Specifies the root path to transfer objects.
+     * Must be an empty string or full path name that ends with a '/'. This
+     * field is treated as an object prefix. As such, it should generally not
+     * begin with a '/'.
+     * 
+ * + * string path = 2; + * @return The bytes for path. + */ + @java.lang.Override + public com.google.protobuf.ByteString + getPathBytes() { + java.lang.Object ref = path_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + path_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int ENDPOINT_FIELD_NUMBER = 3; + private volatile java.lang.Object endpoint_; + /** + *
+     * Required. Specifies the endpoint of the storage service.
+     * 
+ * + * string endpoint = 3 [(.google.api.field_behavior) = REQUIRED]; + * @return The endpoint. + */ + @java.lang.Override + public java.lang.String getEndpoint() { + java.lang.Object ref = endpoint_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + endpoint_ = s; + return s; + } + } + /** + *
+     * Required. Specifies the endpoint of the storage service.
+     * 
+ * + * string endpoint = 3 [(.google.api.field_behavior) = REQUIRED]; + * @return The bytes for endpoint. + */ + @java.lang.Override + public com.google.protobuf.ByteString + getEndpointBytes() { + java.lang.Object ref = endpoint_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + endpoint_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int REGION_FIELD_NUMBER = 5; + private volatile java.lang.Object region_; + /** + *
+     * Specifies the region to sign requests with. This can be left blank if
+     * requests should be signed with an empty region.
+     * 
+ * + * string region = 5; + * @return The region. + */ + @java.lang.Override + public java.lang.String getRegion() { + java.lang.Object ref = region_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + region_ = s; + return s; + } + } + /** + *
+     * Specifies the region to sign requests with. This can be left blank if
+     * requests should be signed with an empty region.
+     * 
+ * + * string region = 5; + * @return The bytes for region. + */ + @java.lang.Override + public com.google.protobuf.ByteString + getRegionBytes() { + java.lang.Object ref = region_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + region_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int S3_METADATA_FIELD_NUMBER = 4; + /** + *
+     * A S3 compatible metadata.
+     * 
+ * + * .google.storagetransfer.v1.S3CompatibleMetadata s3_metadata = 4; + * @return Whether the s3Metadata field is set. + */ + @java.lang.Override + public boolean hasS3Metadata() { + return dataProviderCase_ == 4; + } + /** + *
+     * A S3 compatible metadata.
+     * 
+ * + * .google.storagetransfer.v1.S3CompatibleMetadata s3_metadata = 4; + * @return The s3Metadata. + */ + @java.lang.Override + public com.google.storagetransfer.v1.proto.TransferTypes.S3CompatibleMetadata getS3Metadata() { + if (dataProviderCase_ == 4) { + return (com.google.storagetransfer.v1.proto.TransferTypes.S3CompatibleMetadata) dataProvider_; + } + return com.google.storagetransfer.v1.proto.TransferTypes.S3CompatibleMetadata.getDefaultInstance(); + } + /** + *
+     * A S3 compatible metadata.
+     * 
+ * + * .google.storagetransfer.v1.S3CompatibleMetadata s3_metadata = 4; + */ + @java.lang.Override + public com.google.storagetransfer.v1.proto.TransferTypes.S3CompatibleMetadataOrBuilder getS3MetadataOrBuilder() { + if (dataProviderCase_ == 4) { + return (com.google.storagetransfer.v1.proto.TransferTypes.S3CompatibleMetadata) dataProvider_; + } + return com.google.storagetransfer.v1.proto.TransferTypes.S3CompatibleMetadata.getDefaultInstance(); + } + + private byte memoizedIsInitialized = -1; + @java.lang.Override + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; + + memoizedIsInitialized = 1; + return true; + } + + @java.lang.Override + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(bucketName_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 1, bucketName_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(path_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 2, path_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(endpoint_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 3, endpoint_); + } + if (dataProviderCase_ == 4) { + output.writeMessage(4, (com.google.storagetransfer.v1.proto.TransferTypes.S3CompatibleMetadata) dataProvider_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(region_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 5, region_); + } + unknownFields.writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(bucketName_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, bucketName_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(path_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, path_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(endpoint_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, endpoint_); + } + if (dataProviderCase_ == 4) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(4, (com.google.storagetransfer.v1.proto.TransferTypes.S3CompatibleMetadata) dataProvider_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(region_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(5, region_); + } + size += unknownFields.getSerializedSize(); + memoizedSize = size; + return size; + } + + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof com.google.storagetransfer.v1.proto.TransferTypes.AwsS3CompatibleData)) { + return super.equals(obj); + } + com.google.storagetransfer.v1.proto.TransferTypes.AwsS3CompatibleData other = (com.google.storagetransfer.v1.proto.TransferTypes.AwsS3CompatibleData) obj; + + if (!getBucketName() + .equals(other.getBucketName())) return false; + if (!getPath() + .equals(other.getPath())) return false; + if (!getEndpoint() + .equals(other.getEndpoint())) return false; + if (!getRegion() + .equals(other.getRegion())) return false; + if (!getDataProviderCase().equals(other.getDataProviderCase())) return false; + switch (dataProviderCase_) { + case 4: + if (!getS3Metadata() + .equals(other.getS3Metadata())) return false; + break; + case 0: + default: + } + if (!unknownFields.equals(other.unknownFields)) return false; + return true; + } + + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + hash = (37 * hash) + BUCKET_NAME_FIELD_NUMBER; + hash = (53 * hash) + getBucketName().hashCode(); + hash = (37 * hash) + PATH_FIELD_NUMBER; + hash = (53 * hash) + getPath().hashCode(); + hash = (37 * hash) + ENDPOINT_FIELD_NUMBER; + hash = (53 * hash) + getEndpoint().hashCode(); + hash = (37 * hash) + REGION_FIELD_NUMBER; + hash = (53 * hash) + getRegion().hashCode(); + switch (dataProviderCase_) { + case 4: + hash = (37 * hash) + S3_METADATA_FIELD_NUMBER; + hash = (53 * hash) + getS3Metadata().hashCode(); + break; + case 0: + default: + } + hash = (29 * hash) + unknownFields.hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.google.storagetransfer.v1.proto.TransferTypes.AwsS3CompatibleData parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.google.storagetransfer.v1.proto.TransferTypes.AwsS3CompatibleData parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.google.storagetransfer.v1.proto.TransferTypes.AwsS3CompatibleData parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.google.storagetransfer.v1.proto.TransferTypes.AwsS3CompatibleData 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.storagetransfer.v1.proto.TransferTypes.AwsS3CompatibleData parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.google.storagetransfer.v1.proto.TransferTypes.AwsS3CompatibleData parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.google.storagetransfer.v1.proto.TransferTypes.AwsS3CompatibleData parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static com.google.storagetransfer.v1.proto.TransferTypes.AwsS3CompatibleData parseFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + public static com.google.storagetransfer.v1.proto.TransferTypes.AwsS3CompatibleData parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); + } + public static com.google.storagetransfer.v1.proto.TransferTypes.AwsS3CompatibleData parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + } + public static com.google.storagetransfer.v1.proto.TransferTypes.AwsS3CompatibleData parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static com.google.storagetransfer.v1.proto.TransferTypes.AwsS3CompatibleData parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + + @java.lang.Override + public Builder newBuilderForType() { return newBuilder(); } + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + public static Builder newBuilder(com.google.storagetransfer.v1.proto.TransferTypes.AwsS3CompatibleData prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); + } + + @java.lang.Override + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + /** + *
+     * An AwsS3CompatibleData resource.
+     * 
+ * + * Protobuf type {@code google.storagetransfer.v1.AwsS3CompatibleData} + */ + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements + // @@protoc_insertion_point(builder_implements:google.storagetransfer.v1.AwsS3CompatibleData) + com.google.storagetransfer.v1.proto.TransferTypes.AwsS3CompatibleDataOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.storagetransfer.v1.proto.TransferTypes.internal_static_google_storagetransfer_v1_AwsS3CompatibleData_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.storagetransfer.v1.proto.TransferTypes.internal_static_google_storagetransfer_v1_AwsS3CompatibleData_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.storagetransfer.v1.proto.TransferTypes.AwsS3CompatibleData.class, com.google.storagetransfer.v1.proto.TransferTypes.AwsS3CompatibleData.Builder.class); + } + + // Construct using com.google.storagetransfer.v1.proto.TransferTypes.AwsS3CompatibleData.newBuilder() + private Builder() { + maybeForceBuilderInitialization(); + } + + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + maybeForceBuilderInitialization(); + } + private void maybeForceBuilderInitialization() { + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } + } + @java.lang.Override + public Builder clear() { + super.clear(); + bucketName_ = ""; + + path_ = ""; + + endpoint_ = ""; + + region_ = ""; + + dataProviderCase_ = 0; + dataProvider_ = null; + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.storagetransfer.v1.proto.TransferTypes.internal_static_google_storagetransfer_v1_AwsS3CompatibleData_descriptor; + } + + @java.lang.Override + public com.google.storagetransfer.v1.proto.TransferTypes.AwsS3CompatibleData getDefaultInstanceForType() { + return com.google.storagetransfer.v1.proto.TransferTypes.AwsS3CompatibleData.getDefaultInstance(); + } + + @java.lang.Override + public com.google.storagetransfer.v1.proto.TransferTypes.AwsS3CompatibleData build() { + com.google.storagetransfer.v1.proto.TransferTypes.AwsS3CompatibleData result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.google.storagetransfer.v1.proto.TransferTypes.AwsS3CompatibleData buildPartial() { + com.google.storagetransfer.v1.proto.TransferTypes.AwsS3CompatibleData result = new com.google.storagetransfer.v1.proto.TransferTypes.AwsS3CompatibleData(this); + result.bucketName_ = bucketName_; + result.path_ = path_; + result.endpoint_ = endpoint_; + result.region_ = region_; + if (dataProviderCase_ == 4) { + if (s3MetadataBuilder_ == null) { + result.dataProvider_ = dataProvider_; + } else { + result.dataProvider_ = s3MetadataBuilder_.build(); + } + } + result.dataProviderCase_ = dataProviderCase_; + onBuilt(); + return result; + } + + @java.lang.Override + public Builder clone() { + return super.clone(); + } + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.setField(field, value); + } + @java.lang.Override + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { + return super.clearField(field); + } + @java.lang.Override + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return super.clearOneof(oneof); + } + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { + return super.setRepeatedField(field, index, value); + } + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.addRepeatedField(field, value); + } + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof com.google.storagetransfer.v1.proto.TransferTypes.AwsS3CompatibleData) { + return mergeFrom((com.google.storagetransfer.v1.proto.TransferTypes.AwsS3CompatibleData)other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(com.google.storagetransfer.v1.proto.TransferTypes.AwsS3CompatibleData other) { + if (other == com.google.storagetransfer.v1.proto.TransferTypes.AwsS3CompatibleData.getDefaultInstance()) return this; + if (!other.getBucketName().isEmpty()) { + bucketName_ = other.bucketName_; + onChanged(); + } + if (!other.getPath().isEmpty()) { + path_ = other.path_; + onChanged(); + } + if (!other.getEndpoint().isEmpty()) { + endpoint_ = other.endpoint_; + onChanged(); + } + if (!other.getRegion().isEmpty()) { + region_ = other.region_; + onChanged(); + } + switch (other.getDataProviderCase()) { + case S3_METADATA: { + mergeS3Metadata(other.getS3Metadata()); + break; + } + case DATAPROVIDER_NOT_SET: { + break; + } + } + this.mergeUnknownFields(other.unknownFields); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + com.google.storagetransfer.v1.proto.TransferTypes.AwsS3CompatibleData parsedMessage = null; + try { + parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + parsedMessage = (com.google.storagetransfer.v1.proto.TransferTypes.AwsS3CompatibleData) e.getUnfinishedMessage(); + throw e.unwrapIOException(); + } finally { + if (parsedMessage != null) { + mergeFrom(parsedMessage); + } + } + return this; + } + private int dataProviderCase_ = 0; + private java.lang.Object dataProvider_; + public DataProviderCase + getDataProviderCase() { + return DataProviderCase.forNumber( + dataProviderCase_); + } + + public Builder clearDataProvider() { + dataProviderCase_ = 0; + dataProvider_ = null; + onChanged(); + return this; + } + + + private java.lang.Object bucketName_ = ""; + /** + *
+       * Required. Specifies the name of the bucket.
+       * 
+ * + * string bucket_name = 1 [(.google.api.field_behavior) = REQUIRED]; + * @return The bucketName. + */ + public java.lang.String getBucketName() { + java.lang.Object ref = bucketName_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + bucketName_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + *
+       * Required. Specifies the name of the bucket.
+       * 
+ * + * string bucket_name = 1 [(.google.api.field_behavior) = REQUIRED]; + * @return The bytes for bucketName. + */ + public com.google.protobuf.ByteString + getBucketNameBytes() { + java.lang.Object ref = bucketName_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + bucketName_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + *
+       * Required. Specifies the name of the bucket.
+       * 
+ * + * string bucket_name = 1 [(.google.api.field_behavior) = REQUIRED]; + * @param value The bucketName to set. + * @return This builder for chaining. + */ + public Builder setBucketName( + java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + + bucketName_ = value; + onChanged(); + return this; + } + /** + *
+       * Required. Specifies the name of the bucket.
+       * 
+ * + * string bucket_name = 1 [(.google.api.field_behavior) = REQUIRED]; + * @return This builder for chaining. + */ + public Builder clearBucketName() { + + bucketName_ = getDefaultInstance().getBucketName(); + onChanged(); + return this; + } + /** + *
+       * Required. Specifies the name of the bucket.
+       * 
+ * + * string bucket_name = 1 [(.google.api.field_behavior) = REQUIRED]; + * @param value The bytes for bucketName to set. + * @return This builder for chaining. + */ + public Builder setBucketNameBytes( + com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + + bucketName_ = value; + onChanged(); + return this; + } + + private java.lang.Object path_ = ""; + /** + *
+       * Specifies the root path to transfer objects.
+       * Must be an empty string or full path name that ends with a '/'. This
+       * field is treated as an object prefix. As such, it should generally not
+       * begin with a '/'.
+       * 
+ * + * string path = 2; + * @return The path. + */ + public java.lang.String getPath() { + java.lang.Object ref = path_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + path_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + *
+       * Specifies the root path to transfer objects.
+       * Must be an empty string or full path name that ends with a '/'. This
+       * field is treated as an object prefix. As such, it should generally not
+       * begin with a '/'.
+       * 
+ * + * string path = 2; + * @return The bytes for path. + */ + public com.google.protobuf.ByteString + getPathBytes() { + java.lang.Object ref = path_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + path_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + *
+       * Specifies the root path to transfer objects.
+       * Must be an empty string or full path name that ends with a '/'. This
+       * field is treated as an object prefix. As such, it should generally not
+       * begin with a '/'.
+       * 
+ * + * string path = 2; + * @param value The path to set. + * @return This builder for chaining. + */ + public Builder setPath( + java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + + path_ = value; + onChanged(); + return this; + } + /** + *
+       * Specifies the root path to transfer objects.
+       * Must be an empty string or full path name that ends with a '/'. This
+       * field is treated as an object prefix. As such, it should generally not
+       * begin with a '/'.
+       * 
+ * + * string path = 2; + * @return This builder for chaining. + */ + public Builder clearPath() { + + path_ = getDefaultInstance().getPath(); + onChanged(); + return this; + } + /** + *
+       * Specifies the root path to transfer objects.
+       * Must be an empty string or full path name that ends with a '/'. This
+       * field is treated as an object prefix. As such, it should generally not
+       * begin with a '/'.
+       * 
+ * + * string path = 2; + * @param value The bytes for path to set. + * @return This builder for chaining. + */ + public Builder setPathBytes( + com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + + path_ = value; + onChanged(); + return this; + } + + private java.lang.Object endpoint_ = ""; + /** + *
+       * Required. Specifies the endpoint of the storage service.
+       * 
+ * + * string endpoint = 3 [(.google.api.field_behavior) = REQUIRED]; + * @return The endpoint. + */ + public java.lang.String getEndpoint() { + java.lang.Object ref = endpoint_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + endpoint_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + *
+       * Required. Specifies the endpoint of the storage service.
+       * 
+ * + * string endpoint = 3 [(.google.api.field_behavior) = REQUIRED]; + * @return The bytes for endpoint. + */ + public com.google.protobuf.ByteString + getEndpointBytes() { + java.lang.Object ref = endpoint_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + endpoint_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + *
+       * Required. Specifies the endpoint of the storage service.
+       * 
+ * + * string endpoint = 3 [(.google.api.field_behavior) = REQUIRED]; + * @param value The endpoint to set. + * @return This builder for chaining. + */ + public Builder setEndpoint( + java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + + endpoint_ = value; + onChanged(); + return this; + } + /** + *
+       * Required. Specifies the endpoint of the storage service.
+       * 
+ * + * string endpoint = 3 [(.google.api.field_behavior) = REQUIRED]; + * @return This builder for chaining. + */ + public Builder clearEndpoint() { + + endpoint_ = getDefaultInstance().getEndpoint(); + onChanged(); + return this; + } + /** + *
+       * Required. Specifies the endpoint of the storage service.
+       * 
+ * + * string endpoint = 3 [(.google.api.field_behavior) = REQUIRED]; + * @param value The bytes for endpoint to set. + * @return This builder for chaining. + */ + public Builder setEndpointBytes( + com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + + endpoint_ = value; + onChanged(); + return this; + } + + private java.lang.Object region_ = ""; + /** + *
+       * Specifies the region to sign requests with. This can be left blank if
+       * requests should be signed with an empty region.
+       * 
+ * + * string region = 5; + * @return The region. + */ + public java.lang.String getRegion() { + java.lang.Object ref = region_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + region_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + *
+       * Specifies the region to sign requests with. This can be left blank if
+       * requests should be signed with an empty region.
+       * 
+ * + * string region = 5; + * @return The bytes for region. + */ + public com.google.protobuf.ByteString + getRegionBytes() { + java.lang.Object ref = region_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + region_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + *
+       * Specifies the region to sign requests with. This can be left blank if
+       * requests should be signed with an empty region.
+       * 
+ * + * string region = 5; + * @param value The region to set. + * @return This builder for chaining. + */ + public Builder setRegion( + java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + + region_ = value; + onChanged(); + return this; + } + /** + *
+       * Specifies the region to sign requests with. This can be left blank if
+       * requests should be signed with an empty region.
+       * 
+ * + * string region = 5; + * @return This builder for chaining. + */ + public Builder clearRegion() { + + region_ = getDefaultInstance().getRegion(); + onChanged(); + return this; + } + /** + *
+       * Specifies the region to sign requests with. This can be left blank if
+       * requests should be signed with an empty region.
+       * 
+ * + * string region = 5; + * @param value The bytes for region to set. + * @return This builder for chaining. + */ + public Builder setRegionBytes( + com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + + region_ = value; + onChanged(); + return this; + } + + private com.google.protobuf.SingleFieldBuilderV3< + com.google.storagetransfer.v1.proto.TransferTypes.S3CompatibleMetadata, com.google.storagetransfer.v1.proto.TransferTypes.S3CompatibleMetadata.Builder, com.google.storagetransfer.v1.proto.TransferTypes.S3CompatibleMetadataOrBuilder> s3MetadataBuilder_; + /** + *
+       * A S3 compatible metadata.
+       * 
+ * + * .google.storagetransfer.v1.S3CompatibleMetadata s3_metadata = 4; + * @return Whether the s3Metadata field is set. + */ + @java.lang.Override + public boolean hasS3Metadata() { + return dataProviderCase_ == 4; + } + /** + *
+       * A S3 compatible metadata.
+       * 
+ * + * .google.storagetransfer.v1.S3CompatibleMetadata s3_metadata = 4; + * @return The s3Metadata. + */ + @java.lang.Override + public com.google.storagetransfer.v1.proto.TransferTypes.S3CompatibleMetadata getS3Metadata() { + if (s3MetadataBuilder_ == null) { + if (dataProviderCase_ == 4) { + return (com.google.storagetransfer.v1.proto.TransferTypes.S3CompatibleMetadata) dataProvider_; + } + return com.google.storagetransfer.v1.proto.TransferTypes.S3CompatibleMetadata.getDefaultInstance(); + } else { + if (dataProviderCase_ == 4) { + return s3MetadataBuilder_.getMessage(); + } + return com.google.storagetransfer.v1.proto.TransferTypes.S3CompatibleMetadata.getDefaultInstance(); + } + } + /** + *
+       * A S3 compatible metadata.
+       * 
+ * + * .google.storagetransfer.v1.S3CompatibleMetadata s3_metadata = 4; + */ + public Builder setS3Metadata(com.google.storagetransfer.v1.proto.TransferTypes.S3CompatibleMetadata value) { + if (s3MetadataBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + dataProvider_ = value; + onChanged(); + } else { + s3MetadataBuilder_.setMessage(value); + } + dataProviderCase_ = 4; + return this; + } + /** + *
+       * A S3 compatible metadata.
+       * 
+ * + * .google.storagetransfer.v1.S3CompatibleMetadata s3_metadata = 4; + */ + public Builder setS3Metadata( + com.google.storagetransfer.v1.proto.TransferTypes.S3CompatibleMetadata.Builder builderForValue) { + if (s3MetadataBuilder_ == null) { + dataProvider_ = builderForValue.build(); + onChanged(); + } else { + s3MetadataBuilder_.setMessage(builderForValue.build()); + } + dataProviderCase_ = 4; + return this; + } + /** + *
+       * A S3 compatible metadata.
+       * 
+ * + * .google.storagetransfer.v1.S3CompatibleMetadata s3_metadata = 4; + */ + public Builder mergeS3Metadata(com.google.storagetransfer.v1.proto.TransferTypes.S3CompatibleMetadata value) { + if (s3MetadataBuilder_ == null) { + if (dataProviderCase_ == 4 && + dataProvider_ != com.google.storagetransfer.v1.proto.TransferTypes.S3CompatibleMetadata.getDefaultInstance()) { + dataProvider_ = com.google.storagetransfer.v1.proto.TransferTypes.S3CompatibleMetadata.newBuilder((com.google.storagetransfer.v1.proto.TransferTypes.S3CompatibleMetadata) dataProvider_) + .mergeFrom(value).buildPartial(); + } else { + dataProvider_ = value; + } + onChanged(); + } else { + if (dataProviderCase_ == 4) { + s3MetadataBuilder_.mergeFrom(value); + } else { + s3MetadataBuilder_.setMessage(value); + } + } + dataProviderCase_ = 4; + return this; + } + /** + *
+       * A S3 compatible metadata.
+       * 
+ * + * .google.storagetransfer.v1.S3CompatibleMetadata s3_metadata = 4; + */ + public Builder clearS3Metadata() { + if (s3MetadataBuilder_ == null) { + if (dataProviderCase_ == 4) { + dataProviderCase_ = 0; + dataProvider_ = null; + onChanged(); + } + } else { + if (dataProviderCase_ == 4) { + dataProviderCase_ = 0; + dataProvider_ = null; + } + s3MetadataBuilder_.clear(); + } + return this; + } + /** + *
+       * A S3 compatible metadata.
+       * 
+ * + * .google.storagetransfer.v1.S3CompatibleMetadata s3_metadata = 4; + */ + public com.google.storagetransfer.v1.proto.TransferTypes.S3CompatibleMetadata.Builder getS3MetadataBuilder() { + return getS3MetadataFieldBuilder().getBuilder(); + } + /** + *
+       * A S3 compatible metadata.
+       * 
+ * + * .google.storagetransfer.v1.S3CompatibleMetadata s3_metadata = 4; + */ + @java.lang.Override + public com.google.storagetransfer.v1.proto.TransferTypes.S3CompatibleMetadataOrBuilder getS3MetadataOrBuilder() { + if ((dataProviderCase_ == 4) && (s3MetadataBuilder_ != null)) { + return s3MetadataBuilder_.getMessageOrBuilder(); + } else { + if (dataProviderCase_ == 4) { + return (com.google.storagetransfer.v1.proto.TransferTypes.S3CompatibleMetadata) dataProvider_; + } + return com.google.storagetransfer.v1.proto.TransferTypes.S3CompatibleMetadata.getDefaultInstance(); + } + } + /** + *
+       * A S3 compatible metadata.
+       * 
+ * + * .google.storagetransfer.v1.S3CompatibleMetadata s3_metadata = 4; + */ + private com.google.protobuf.SingleFieldBuilderV3< + com.google.storagetransfer.v1.proto.TransferTypes.S3CompatibleMetadata, com.google.storagetransfer.v1.proto.TransferTypes.S3CompatibleMetadata.Builder, com.google.storagetransfer.v1.proto.TransferTypes.S3CompatibleMetadataOrBuilder> + getS3MetadataFieldBuilder() { + if (s3MetadataBuilder_ == null) { + if (!(dataProviderCase_ == 4)) { + dataProvider_ = com.google.storagetransfer.v1.proto.TransferTypes.S3CompatibleMetadata.getDefaultInstance(); + } + s3MetadataBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.storagetransfer.v1.proto.TransferTypes.S3CompatibleMetadata, com.google.storagetransfer.v1.proto.TransferTypes.S3CompatibleMetadata.Builder, com.google.storagetransfer.v1.proto.TransferTypes.S3CompatibleMetadataOrBuilder>( + (com.google.storagetransfer.v1.proto.TransferTypes.S3CompatibleMetadata) dataProvider_, + getParentForChildren(), + isClean()); + dataProvider_ = null; + } + dataProviderCase_ = 4; + onChanged();; + return s3MetadataBuilder_; + } + @java.lang.Override + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + + + // @@protoc_insertion_point(builder_scope:google.storagetransfer.v1.AwsS3CompatibleData) + } + + // @@protoc_insertion_point(class_scope:google.storagetransfer.v1.AwsS3CompatibleData) + private static final com.google.storagetransfer.v1.proto.TransferTypes.AwsS3CompatibleData DEFAULT_INSTANCE; + static { + DEFAULT_INSTANCE = new com.google.storagetransfer.v1.proto.TransferTypes.AwsS3CompatibleData(); + } + + public static com.google.storagetransfer.v1.proto.TransferTypes.AwsS3CompatibleData getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public AwsS3CompatibleData parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new AwsS3CompatibleData(input, extensionRegistry); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public com.google.storagetransfer.v1.proto.TransferTypes.AwsS3CompatibleData getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } + + } + + public interface S3CompatibleMetadataOrBuilder extends + // @@protoc_insertion_point(interface_extends:google.storagetransfer.v1.S3CompatibleMetadata) + com.google.protobuf.MessageOrBuilder { + + /** + *
+     * Specifies the authentication and authorization method used by the storage
+     * service. When not specified, Transfer Service will attempt to determine
+     * right auth method to use.
+     * 
+ * + * .google.storagetransfer.v1.S3CompatibleMetadata.AuthMethod auth_method = 1; + * @return The enum numeric value on the wire for authMethod. + */ + int getAuthMethodValue(); + /** + *
+     * Specifies the authentication and authorization method used by the storage
+     * service. When not specified, Transfer Service will attempt to determine
+     * right auth method to use.
+     * 
+ * + * .google.storagetransfer.v1.S3CompatibleMetadata.AuthMethod auth_method = 1; + * @return The authMethod. + */ + com.google.storagetransfer.v1.proto.TransferTypes.S3CompatibleMetadata.AuthMethod getAuthMethod(); + + /** + *
+     * Specifies the API request model used to call the storage service. When not
+     * specified, the default value of RequestModel
+     * REQUEST_MODEL_VIRTUAL_HOSTED_STYLE is used.
+     * 
+ * + * .google.storagetransfer.v1.S3CompatibleMetadata.RequestModel request_model = 2; + * @return The enum numeric value on the wire for requestModel. + */ + int getRequestModelValue(); + /** + *
+     * Specifies the API request model used to call the storage service. When not
+     * specified, the default value of RequestModel
+     * REQUEST_MODEL_VIRTUAL_HOSTED_STYLE is used.
+     * 
+ * + * .google.storagetransfer.v1.S3CompatibleMetadata.RequestModel request_model = 2; + * @return The requestModel. + */ + com.google.storagetransfer.v1.proto.TransferTypes.S3CompatibleMetadata.RequestModel getRequestModel(); + + /** + *
+     * Specifies the network protocol of the agent. When not specified, the
+     * default value of NetworkProtocol NETWORK_PROTOCOL_HTTPS is used.
+     * 
+ * + * .google.storagetransfer.v1.S3CompatibleMetadata.NetworkProtocol protocol = 3; + * @return The enum numeric value on the wire for protocol. + */ + int getProtocolValue(); + /** + *
+     * Specifies the network protocol of the agent. When not specified, the
+     * default value of NetworkProtocol NETWORK_PROTOCOL_HTTPS is used.
+     * 
+ * + * .google.storagetransfer.v1.S3CompatibleMetadata.NetworkProtocol protocol = 3; + * @return The protocol. + */ + com.google.storagetransfer.v1.proto.TransferTypes.S3CompatibleMetadata.NetworkProtocol getProtocol(); + + /** + *
+     * The Listing API to use for discovering objects. When not specified,
+     * Transfer Service will attempt to determine the right API to use.
+     * 
+ * + * .google.storagetransfer.v1.S3CompatibleMetadata.ListApi list_api = 4; + * @return The enum numeric value on the wire for listApi. + */ + int getListApiValue(); + /** + *
+     * The Listing API to use for discovering objects. When not specified,
+     * Transfer Service will attempt to determine the right API to use.
+     * 
+ * + * .google.storagetransfer.v1.S3CompatibleMetadata.ListApi list_api = 4; + * @return The listApi. + */ + com.google.storagetransfer.v1.proto.TransferTypes.S3CompatibleMetadata.ListApi getListApi(); + } + /** + *
+   * S3CompatibleMetadata contains the metadata fields that apply to the basic
+   * types of S3-compatible data providers.
+   * 
+ * + * Protobuf type {@code google.storagetransfer.v1.S3CompatibleMetadata} + */ + public static final class S3CompatibleMetadata extends + com.google.protobuf.GeneratedMessageV3 implements + // @@protoc_insertion_point(message_implements:google.storagetransfer.v1.S3CompatibleMetadata) + S3CompatibleMetadataOrBuilder { + private static final long serialVersionUID = 0L; + // Use S3CompatibleMetadata.newBuilder() to construct. + private S3CompatibleMetadata(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + private S3CompatibleMetadata() { + authMethod_ = 0; + requestModel_ = 0; + protocol_ = 0; + listApi_ = 0; + } + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { + return new S3CompatibleMetadata(); + } + + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { + return this.unknownFields; + } + private S3CompatibleMetadata( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + com.google.protobuf.UnknownFieldSet.Builder unknownFields = + com.google.protobuf.UnknownFieldSet.newBuilder(); + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 8: { + int rawValue = input.readEnum(); + + authMethod_ = rawValue; + break; + } + case 16: { + int rawValue = input.readEnum(); + + requestModel_ = rawValue; + break; + } + case 24: { + int rawValue = input.readEnum(); + + protocol_ = rawValue; + break; + } + case 32: { + int rawValue = input.readEnum(); + + listApi_ = rawValue; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; + } + } + } + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(this); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); + } finally { + this.unknownFields = unknownFields.build(); + makeExtensionsImmutable(); + } + } + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.storagetransfer.v1.proto.TransferTypes.internal_static_google_storagetransfer_v1_S3CompatibleMetadata_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.storagetransfer.v1.proto.TransferTypes.internal_static_google_storagetransfer_v1_S3CompatibleMetadata_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.storagetransfer.v1.proto.TransferTypes.S3CompatibleMetadata.class, com.google.storagetransfer.v1.proto.TransferTypes.S3CompatibleMetadata.Builder.class); + } + + /** + *
+     * The authentication and authorization method used by the storage service.
+     * 
+ * + * Protobuf enum {@code google.storagetransfer.v1.S3CompatibleMetadata.AuthMethod} + */ + public enum AuthMethod + implements com.google.protobuf.ProtocolMessageEnum { + /** + *
+       * AuthMethod is not specified.
+       * 
+ * + * AUTH_METHOD_UNSPECIFIED = 0; + */ + AUTH_METHOD_UNSPECIFIED(0), + /** + *
+       * Auth requests with AWS SigV4.
+       * 
+ * + * AUTH_METHOD_AWS_SIGNATURE_V4 = 1; + */ + AUTH_METHOD_AWS_SIGNATURE_V4(1), + /** + *
+       * Auth requests with AWS SigV2.
+       * 
+ * + * AUTH_METHOD_AWS_SIGNATURE_V2 = 2; + */ + AUTH_METHOD_AWS_SIGNATURE_V2(2), + UNRECOGNIZED(-1), + ; + + /** + *
+       * AuthMethod is not specified.
+       * 
+ * + * AUTH_METHOD_UNSPECIFIED = 0; + */ + public static final int AUTH_METHOD_UNSPECIFIED_VALUE = 0; + /** + *
+       * Auth requests with AWS SigV4.
+       * 
+ * + * AUTH_METHOD_AWS_SIGNATURE_V4 = 1; + */ + public static final int AUTH_METHOD_AWS_SIGNATURE_V4_VALUE = 1; + /** + *
+       * Auth requests with AWS SigV2.
+       * 
+ * + * AUTH_METHOD_AWS_SIGNATURE_V2 = 2; + */ + public static final int AUTH_METHOD_AWS_SIGNATURE_V2_VALUE = 2; + + + public final int getNumber() { + if (this == UNRECOGNIZED) { + throw new java.lang.IllegalArgumentException( + "Can't get the number of an unknown enum value."); + } + return value; + } + + /** + * @param value The numeric wire value of the corresponding enum entry. + * @return The enum associated with the given numeric wire value. + * @deprecated Use {@link #forNumber(int)} instead. + */ + @java.lang.Deprecated + public static AuthMethod valueOf(int value) { + return forNumber(value); + } + + /** + * @param value The numeric wire value of the corresponding enum entry. + * @return The enum associated with the given numeric wire value. + */ + public static AuthMethod forNumber(int value) { + switch (value) { + case 0: return AUTH_METHOD_UNSPECIFIED; + case 1: return AUTH_METHOD_AWS_SIGNATURE_V4; + case 2: return AUTH_METHOD_AWS_SIGNATURE_V2; + default: return null; + } + } + + public static com.google.protobuf.Internal.EnumLiteMap + internalGetValueMap() { + return internalValueMap; + } + private static final com.google.protobuf.Internal.EnumLiteMap< + AuthMethod> internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap() { + public AuthMethod findValueByNumber(int number) { + return AuthMethod.forNumber(number); + } + }; + + public final com.google.protobuf.Descriptors.EnumValueDescriptor + getValueDescriptor() { + if (this == UNRECOGNIZED) { + throw new java.lang.IllegalStateException( + "Can't get the descriptor of an unrecognized enum value."); + } + return getDescriptor().getValues().get(ordinal()); + } + public final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptorForType() { + return getDescriptor(); + } + public static final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptor() { + return com.google.storagetransfer.v1.proto.TransferTypes.S3CompatibleMetadata.getDescriptor().getEnumTypes().get(0); + } + + private static final AuthMethod[] VALUES = values(); + + public static AuthMethod valueOf( + com.google.protobuf.Descriptors.EnumValueDescriptor desc) { + if (desc.getType() != getDescriptor()) { + throw new java.lang.IllegalArgumentException( + "EnumValueDescriptor is not for this type."); + } + if (desc.getIndex() == -1) { + return UNRECOGNIZED; + } + return VALUES[desc.getIndex()]; + } + + private final int value; + + private AuthMethod(int value) { + this.value = value; + } + + // @@protoc_insertion_point(enum_scope:google.storagetransfer.v1.S3CompatibleMetadata.AuthMethod) + } + + /** + *
+     * The request model of the API.
+     * 
+ * + * Protobuf enum {@code google.storagetransfer.v1.S3CompatibleMetadata.RequestModel} + */ + public enum RequestModel + implements com.google.protobuf.ProtocolMessageEnum { + /** + *
+       * RequestModel is not specified.
+       * 
+ * + * REQUEST_MODEL_UNSPECIFIED = 0; + */ + REQUEST_MODEL_UNSPECIFIED(0), + /** + *
+       * Perform requests using Virtual Hosted Style.
+       * Example: https://bucket-name.s3.region.amazonaws.com/key-name
+       * 
+ * + * REQUEST_MODEL_VIRTUAL_HOSTED_STYLE = 1; + */ + REQUEST_MODEL_VIRTUAL_HOSTED_STYLE(1), + /** + *
+       * Perform requests using Path Style.
+       * Example: https://s3.region.amazonaws.com/bucket-name/key-name
+       * 
+ * + * REQUEST_MODEL_PATH_STYLE = 2; + */ + REQUEST_MODEL_PATH_STYLE(2), + UNRECOGNIZED(-1), + ; + + /** + *
+       * RequestModel is not specified.
+       * 
+ * + * REQUEST_MODEL_UNSPECIFIED = 0; + */ + public static final int REQUEST_MODEL_UNSPECIFIED_VALUE = 0; + /** + *
+       * Perform requests using Virtual Hosted Style.
+       * Example: https://bucket-name.s3.region.amazonaws.com/key-name
+       * 
+ * + * REQUEST_MODEL_VIRTUAL_HOSTED_STYLE = 1; + */ + public static final int REQUEST_MODEL_VIRTUAL_HOSTED_STYLE_VALUE = 1; + /** + *
+       * Perform requests using Path Style.
+       * Example: https://s3.region.amazonaws.com/bucket-name/key-name
+       * 
+ * + * REQUEST_MODEL_PATH_STYLE = 2; + */ + public static final int REQUEST_MODEL_PATH_STYLE_VALUE = 2; + + + public final int getNumber() { + if (this == UNRECOGNIZED) { + throw new java.lang.IllegalArgumentException( + "Can't get the number of an unknown enum value."); + } + return value; + } + + /** + * @param value The numeric wire value of the corresponding enum entry. + * @return The enum associated with the given numeric wire value. + * @deprecated Use {@link #forNumber(int)} instead. + */ + @java.lang.Deprecated + public static RequestModel valueOf(int value) { + return forNumber(value); + } + + /** + * @param value The numeric wire value of the corresponding enum entry. + * @return The enum associated with the given numeric wire value. + */ + public static RequestModel forNumber(int value) { + switch (value) { + case 0: return REQUEST_MODEL_UNSPECIFIED; + case 1: return REQUEST_MODEL_VIRTUAL_HOSTED_STYLE; + case 2: return REQUEST_MODEL_PATH_STYLE; + default: return null; + } + } + + public static com.google.protobuf.Internal.EnumLiteMap + internalGetValueMap() { + return internalValueMap; + } + private static final com.google.protobuf.Internal.EnumLiteMap< + RequestModel> internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap() { + public RequestModel findValueByNumber(int number) { + return RequestModel.forNumber(number); + } + }; + + public final com.google.protobuf.Descriptors.EnumValueDescriptor + getValueDescriptor() { + if (this == UNRECOGNIZED) { + throw new java.lang.IllegalStateException( + "Can't get the descriptor of an unrecognized enum value."); + } + return getDescriptor().getValues().get(ordinal()); + } + public final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptorForType() { + return getDescriptor(); + } + public static final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptor() { + return com.google.storagetransfer.v1.proto.TransferTypes.S3CompatibleMetadata.getDescriptor().getEnumTypes().get(1); + } + + private static final RequestModel[] VALUES = values(); + + public static RequestModel valueOf( + com.google.protobuf.Descriptors.EnumValueDescriptor desc) { + if (desc.getType() != getDescriptor()) { + throw new java.lang.IllegalArgumentException( + "EnumValueDescriptor is not for this type."); + } + if (desc.getIndex() == -1) { + return UNRECOGNIZED; + } + return VALUES[desc.getIndex()]; + } + + private final int value; + + private RequestModel(int value) { + this.value = value; + } + + // @@protoc_insertion_point(enum_scope:google.storagetransfer.v1.S3CompatibleMetadata.RequestModel) + } + + /** + *
+     * The agent network protocol to access the storage service.
+     * 
+ * + * Protobuf enum {@code google.storagetransfer.v1.S3CompatibleMetadata.NetworkProtocol} + */ + public enum NetworkProtocol + implements com.google.protobuf.ProtocolMessageEnum { + /** + *
+       * NetworkProtocol is not specified.
+       * 
+ * + * NETWORK_PROTOCOL_UNSPECIFIED = 0; + */ + NETWORK_PROTOCOL_UNSPECIFIED(0), + /** + *
+       * Perform requests using HTTPS.
+       * 
+ * + * NETWORK_PROTOCOL_HTTPS = 1; + */ + NETWORK_PROTOCOL_HTTPS(1), + /** + *
+       * Not recommended: This sends data in clear-text. This is only
+       * appropriate within a closed network or for publicly available data.
+       * Perform requests using HTTP.
+       * 
+ * + * NETWORK_PROTOCOL_HTTP = 2; + */ + NETWORK_PROTOCOL_HTTP(2), + UNRECOGNIZED(-1), + ; + + /** + *
+       * NetworkProtocol is not specified.
+       * 
+ * + * NETWORK_PROTOCOL_UNSPECIFIED = 0; + */ + public static final int NETWORK_PROTOCOL_UNSPECIFIED_VALUE = 0; + /** + *
+       * Perform requests using HTTPS.
+       * 
+ * + * NETWORK_PROTOCOL_HTTPS = 1; + */ + public static final int NETWORK_PROTOCOL_HTTPS_VALUE = 1; + /** + *
+       * Not recommended: This sends data in clear-text. This is only
+       * appropriate within a closed network or for publicly available data.
+       * Perform requests using HTTP.
+       * 
+ * + * NETWORK_PROTOCOL_HTTP = 2; + */ + public static final int NETWORK_PROTOCOL_HTTP_VALUE = 2; + + + public final int getNumber() { + if (this == UNRECOGNIZED) { + throw new java.lang.IllegalArgumentException( + "Can't get the number of an unknown enum value."); + } + return value; + } + + /** + * @param value The numeric wire value of the corresponding enum entry. + * @return The enum associated with the given numeric wire value. + * @deprecated Use {@link #forNumber(int)} instead. + */ + @java.lang.Deprecated + public static NetworkProtocol valueOf(int value) { + return forNumber(value); + } + + /** + * @param value The numeric wire value of the corresponding enum entry. + * @return The enum associated with the given numeric wire value. + */ + public static NetworkProtocol forNumber(int value) { + switch (value) { + case 0: return NETWORK_PROTOCOL_UNSPECIFIED; + case 1: return NETWORK_PROTOCOL_HTTPS; + case 2: return NETWORK_PROTOCOL_HTTP; + default: return null; + } + } + + public static com.google.protobuf.Internal.EnumLiteMap + internalGetValueMap() { + return internalValueMap; + } + private static final com.google.protobuf.Internal.EnumLiteMap< + NetworkProtocol> internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap() { + public NetworkProtocol findValueByNumber(int number) { + return NetworkProtocol.forNumber(number); + } + }; + + public final com.google.protobuf.Descriptors.EnumValueDescriptor + getValueDescriptor() { + if (this == UNRECOGNIZED) { + throw new java.lang.IllegalStateException( + "Can't get the descriptor of an unrecognized enum value."); + } + return getDescriptor().getValues().get(ordinal()); + } + public final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptorForType() { + return getDescriptor(); + } + public static final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptor() { + return com.google.storagetransfer.v1.proto.TransferTypes.S3CompatibleMetadata.getDescriptor().getEnumTypes().get(2); + } + + private static final NetworkProtocol[] VALUES = values(); + + public static NetworkProtocol valueOf( + com.google.protobuf.Descriptors.EnumValueDescriptor desc) { + if (desc.getType() != getDescriptor()) { + throw new java.lang.IllegalArgumentException( + "EnumValueDescriptor is not for this type."); + } + if (desc.getIndex() == -1) { + return UNRECOGNIZED; + } + return VALUES[desc.getIndex()]; + } + + private final int value; + + private NetworkProtocol(int value) { + this.value = value; + } + + // @@protoc_insertion_point(enum_scope:google.storagetransfer.v1.S3CompatibleMetadata.NetworkProtocol) + } + + /** + *
+     * The Listing API to use for discovering objects.
+     * 
+ * + * Protobuf enum {@code google.storagetransfer.v1.S3CompatibleMetadata.ListApi} + */ + public enum ListApi + implements com.google.protobuf.ProtocolMessageEnum { + /** + *
+       * ListApi is not specified.
+       * 
+ * + * LIST_API_UNSPECIFIED = 0; + */ + LIST_API_UNSPECIFIED(0), + /** + *
+       * Perform listing using ListObjectsV2 API.
+       * 
+ * + * LIST_OBJECTS_V2 = 1; + */ + LIST_OBJECTS_V2(1), + /** + *
+       * Legacy ListObjects API.
+       * 
+ * + * LIST_OBJECTS = 2; + */ + LIST_OBJECTS(2), + UNRECOGNIZED(-1), + ; + + /** + *
+       * ListApi is not specified.
+       * 
+ * + * LIST_API_UNSPECIFIED = 0; + */ + public static final int LIST_API_UNSPECIFIED_VALUE = 0; + /** + *
+       * Perform listing using ListObjectsV2 API.
+       * 
+ * + * LIST_OBJECTS_V2 = 1; + */ + public static final int LIST_OBJECTS_V2_VALUE = 1; + /** + *
+       * Legacy ListObjects API.
+       * 
+ * + * LIST_OBJECTS = 2; + */ + public static final int LIST_OBJECTS_VALUE = 2; + + + public final int getNumber() { + if (this == UNRECOGNIZED) { + throw new java.lang.IllegalArgumentException( + "Can't get the number of an unknown enum value."); + } + return value; + } + + /** + * @param value The numeric wire value of the corresponding enum entry. + * @return The enum associated with the given numeric wire value. + * @deprecated Use {@link #forNumber(int)} instead. + */ + @java.lang.Deprecated + public static ListApi valueOf(int value) { + return forNumber(value); + } + + /** + * @param value The numeric wire value of the corresponding enum entry. + * @return The enum associated with the given numeric wire value. + */ + public static ListApi forNumber(int value) { + switch (value) { + case 0: return LIST_API_UNSPECIFIED; + case 1: return LIST_OBJECTS_V2; + case 2: return LIST_OBJECTS; + default: return null; + } + } + + public static com.google.protobuf.Internal.EnumLiteMap + internalGetValueMap() { + return internalValueMap; + } + private static final com.google.protobuf.Internal.EnumLiteMap< + ListApi> internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap() { + public ListApi findValueByNumber(int number) { + return ListApi.forNumber(number); + } + }; + + public final com.google.protobuf.Descriptors.EnumValueDescriptor + getValueDescriptor() { + if (this == UNRECOGNIZED) { + throw new java.lang.IllegalStateException( + "Can't get the descriptor of an unrecognized enum value."); + } + return getDescriptor().getValues().get(ordinal()); + } + public final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptorForType() { + return getDescriptor(); + } + public static final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptor() { + return com.google.storagetransfer.v1.proto.TransferTypes.S3CompatibleMetadata.getDescriptor().getEnumTypes().get(3); + } + + private static final ListApi[] VALUES = values(); + + public static ListApi valueOf( + com.google.protobuf.Descriptors.EnumValueDescriptor desc) { + if (desc.getType() != getDescriptor()) { + throw new java.lang.IllegalArgumentException( + "EnumValueDescriptor is not for this type."); + } + if (desc.getIndex() == -1) { + return UNRECOGNIZED; + } + return VALUES[desc.getIndex()]; + } + + private final int value; + + private ListApi(int value) { + this.value = value; + } + + // @@protoc_insertion_point(enum_scope:google.storagetransfer.v1.S3CompatibleMetadata.ListApi) + } + + public static final int AUTH_METHOD_FIELD_NUMBER = 1; + private int authMethod_; + /** + *
+     * Specifies the authentication and authorization method used by the storage
+     * service. When not specified, Transfer Service will attempt to determine
+     * right auth method to use.
+     * 
+ * + * .google.storagetransfer.v1.S3CompatibleMetadata.AuthMethod auth_method = 1; + * @return The enum numeric value on the wire for authMethod. + */ + @java.lang.Override public int getAuthMethodValue() { + return authMethod_; + } + /** + *
+     * Specifies the authentication and authorization method used by the storage
+     * service. When not specified, Transfer Service will attempt to determine
+     * right auth method to use.
+     * 
+ * + * .google.storagetransfer.v1.S3CompatibleMetadata.AuthMethod auth_method = 1; + * @return The authMethod. + */ + @java.lang.Override public com.google.storagetransfer.v1.proto.TransferTypes.S3CompatibleMetadata.AuthMethod getAuthMethod() { + @SuppressWarnings("deprecation") + com.google.storagetransfer.v1.proto.TransferTypes.S3CompatibleMetadata.AuthMethod result = com.google.storagetransfer.v1.proto.TransferTypes.S3CompatibleMetadata.AuthMethod.valueOf(authMethod_); + return result == null ? com.google.storagetransfer.v1.proto.TransferTypes.S3CompatibleMetadata.AuthMethod.UNRECOGNIZED : result; + } + + public static final int REQUEST_MODEL_FIELD_NUMBER = 2; + private int requestModel_; + /** + *
+     * Specifies the API request model used to call the storage service. When not
+     * specified, the default value of RequestModel
+     * REQUEST_MODEL_VIRTUAL_HOSTED_STYLE is used.
+     * 
+ * + * .google.storagetransfer.v1.S3CompatibleMetadata.RequestModel request_model = 2; + * @return The enum numeric value on the wire for requestModel. + */ + @java.lang.Override public int getRequestModelValue() { + return requestModel_; + } + /** + *
+     * Specifies the API request model used to call the storage service. When not
+     * specified, the default value of RequestModel
+     * REQUEST_MODEL_VIRTUAL_HOSTED_STYLE is used.
+     * 
+ * + * .google.storagetransfer.v1.S3CompatibleMetadata.RequestModel request_model = 2; + * @return The requestModel. + */ + @java.lang.Override public com.google.storagetransfer.v1.proto.TransferTypes.S3CompatibleMetadata.RequestModel getRequestModel() { + @SuppressWarnings("deprecation") + com.google.storagetransfer.v1.proto.TransferTypes.S3CompatibleMetadata.RequestModel result = com.google.storagetransfer.v1.proto.TransferTypes.S3CompatibleMetadata.RequestModel.valueOf(requestModel_); + return result == null ? com.google.storagetransfer.v1.proto.TransferTypes.S3CompatibleMetadata.RequestModel.UNRECOGNIZED : result; + } + + public static final int PROTOCOL_FIELD_NUMBER = 3; + private int protocol_; + /** + *
+     * Specifies the network protocol of the agent. When not specified, the
+     * default value of NetworkProtocol NETWORK_PROTOCOL_HTTPS is used.
+     * 
+ * + * .google.storagetransfer.v1.S3CompatibleMetadata.NetworkProtocol protocol = 3; + * @return The enum numeric value on the wire for protocol. + */ + @java.lang.Override public int getProtocolValue() { + return protocol_; + } + /** + *
+     * Specifies the network protocol of the agent. When not specified, the
+     * default value of NetworkProtocol NETWORK_PROTOCOL_HTTPS is used.
+     * 
+ * + * .google.storagetransfer.v1.S3CompatibleMetadata.NetworkProtocol protocol = 3; + * @return The protocol. + */ + @java.lang.Override public com.google.storagetransfer.v1.proto.TransferTypes.S3CompatibleMetadata.NetworkProtocol getProtocol() { + @SuppressWarnings("deprecation") + com.google.storagetransfer.v1.proto.TransferTypes.S3CompatibleMetadata.NetworkProtocol result = com.google.storagetransfer.v1.proto.TransferTypes.S3CompatibleMetadata.NetworkProtocol.valueOf(protocol_); + return result == null ? com.google.storagetransfer.v1.proto.TransferTypes.S3CompatibleMetadata.NetworkProtocol.UNRECOGNIZED : result; + } + + public static final int LIST_API_FIELD_NUMBER = 4; + private int listApi_; + /** + *
+     * The Listing API to use for discovering objects. When not specified,
+     * Transfer Service will attempt to determine the right API to use.
+     * 
+ * + * .google.storagetransfer.v1.S3CompatibleMetadata.ListApi list_api = 4; + * @return The enum numeric value on the wire for listApi. + */ + @java.lang.Override public int getListApiValue() { + return listApi_; + } + /** + *
+     * The Listing API to use for discovering objects. When not specified,
+     * Transfer Service will attempt to determine the right API to use.
+     * 
+ * + * .google.storagetransfer.v1.S3CompatibleMetadata.ListApi list_api = 4; + * @return The listApi. + */ + @java.lang.Override public com.google.storagetransfer.v1.proto.TransferTypes.S3CompatibleMetadata.ListApi getListApi() { + @SuppressWarnings("deprecation") + com.google.storagetransfer.v1.proto.TransferTypes.S3CompatibleMetadata.ListApi result = com.google.storagetransfer.v1.proto.TransferTypes.S3CompatibleMetadata.ListApi.valueOf(listApi_); + return result == null ? com.google.storagetransfer.v1.proto.TransferTypes.S3CompatibleMetadata.ListApi.UNRECOGNIZED : result; + } + + private byte memoizedIsInitialized = -1; + @java.lang.Override + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; + + memoizedIsInitialized = 1; + return true; + } + + @java.lang.Override + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + if (authMethod_ != com.google.storagetransfer.v1.proto.TransferTypes.S3CompatibleMetadata.AuthMethod.AUTH_METHOD_UNSPECIFIED.getNumber()) { + output.writeEnum(1, authMethod_); + } + if (requestModel_ != com.google.storagetransfer.v1.proto.TransferTypes.S3CompatibleMetadata.RequestModel.REQUEST_MODEL_UNSPECIFIED.getNumber()) { + output.writeEnum(2, requestModel_); + } + if (protocol_ != com.google.storagetransfer.v1.proto.TransferTypes.S3CompatibleMetadata.NetworkProtocol.NETWORK_PROTOCOL_UNSPECIFIED.getNumber()) { + output.writeEnum(3, protocol_); + } + if (listApi_ != com.google.storagetransfer.v1.proto.TransferTypes.S3CompatibleMetadata.ListApi.LIST_API_UNSPECIFIED.getNumber()) { + output.writeEnum(4, listApi_); + } + unknownFields.writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (authMethod_ != com.google.storagetransfer.v1.proto.TransferTypes.S3CompatibleMetadata.AuthMethod.AUTH_METHOD_UNSPECIFIED.getNumber()) { + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(1, authMethod_); + } + if (requestModel_ != com.google.storagetransfer.v1.proto.TransferTypes.S3CompatibleMetadata.RequestModel.REQUEST_MODEL_UNSPECIFIED.getNumber()) { + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(2, requestModel_); + } + if (protocol_ != com.google.storagetransfer.v1.proto.TransferTypes.S3CompatibleMetadata.NetworkProtocol.NETWORK_PROTOCOL_UNSPECIFIED.getNumber()) { + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(3, protocol_); + } + if (listApi_ != com.google.storagetransfer.v1.proto.TransferTypes.S3CompatibleMetadata.ListApi.LIST_API_UNSPECIFIED.getNumber()) { + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(4, listApi_); + } + size += unknownFields.getSerializedSize(); + memoizedSize = size; + return size; + } + + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof com.google.storagetransfer.v1.proto.TransferTypes.S3CompatibleMetadata)) { + return super.equals(obj); + } + com.google.storagetransfer.v1.proto.TransferTypes.S3CompatibleMetadata other = (com.google.storagetransfer.v1.proto.TransferTypes.S3CompatibleMetadata) obj; + + if (authMethod_ != other.authMethod_) return false; + if (requestModel_ != other.requestModel_) return false; + if (protocol_ != other.protocol_) return false; + if (listApi_ != other.listApi_) return false; + if (!unknownFields.equals(other.unknownFields)) return false; + return true; + } + + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + hash = (37 * hash) + AUTH_METHOD_FIELD_NUMBER; + hash = (53 * hash) + authMethod_; + hash = (37 * hash) + REQUEST_MODEL_FIELD_NUMBER; + hash = (53 * hash) + requestModel_; + hash = (37 * hash) + PROTOCOL_FIELD_NUMBER; + hash = (53 * hash) + protocol_; + hash = (37 * hash) + LIST_API_FIELD_NUMBER; + hash = (53 * hash) + listApi_; + hash = (29 * hash) + unknownFields.hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.google.storagetransfer.v1.proto.TransferTypes.S3CompatibleMetadata parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.google.storagetransfer.v1.proto.TransferTypes.S3CompatibleMetadata parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.google.storagetransfer.v1.proto.TransferTypes.S3CompatibleMetadata parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.google.storagetransfer.v1.proto.TransferTypes.S3CompatibleMetadata 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.storagetransfer.v1.proto.TransferTypes.S3CompatibleMetadata parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.google.storagetransfer.v1.proto.TransferTypes.S3CompatibleMetadata parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.google.storagetransfer.v1.proto.TransferTypes.S3CompatibleMetadata parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static com.google.storagetransfer.v1.proto.TransferTypes.S3CompatibleMetadata parseFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + public static com.google.storagetransfer.v1.proto.TransferTypes.S3CompatibleMetadata parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); + } + public static com.google.storagetransfer.v1.proto.TransferTypes.S3CompatibleMetadata parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + } + public static com.google.storagetransfer.v1.proto.TransferTypes.S3CompatibleMetadata parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static com.google.storagetransfer.v1.proto.TransferTypes.S3CompatibleMetadata parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + + @java.lang.Override + public Builder newBuilderForType() { return newBuilder(); } + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + public static Builder newBuilder(com.google.storagetransfer.v1.proto.TransferTypes.S3CompatibleMetadata prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); + } + + @java.lang.Override + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + /** + *
+     * S3CompatibleMetadata contains the metadata fields that apply to the basic
+     * types of S3-compatible data providers.
+     * 
+ * + * Protobuf type {@code google.storagetransfer.v1.S3CompatibleMetadata} + */ + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements + // @@protoc_insertion_point(builder_implements:google.storagetransfer.v1.S3CompatibleMetadata) + com.google.storagetransfer.v1.proto.TransferTypes.S3CompatibleMetadataOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.storagetransfer.v1.proto.TransferTypes.internal_static_google_storagetransfer_v1_S3CompatibleMetadata_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.storagetransfer.v1.proto.TransferTypes.internal_static_google_storagetransfer_v1_S3CompatibleMetadata_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.storagetransfer.v1.proto.TransferTypes.S3CompatibleMetadata.class, com.google.storagetransfer.v1.proto.TransferTypes.S3CompatibleMetadata.Builder.class); + } + + // Construct using com.google.storagetransfer.v1.proto.TransferTypes.S3CompatibleMetadata.newBuilder() + private Builder() { + maybeForceBuilderInitialization(); + } + + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + maybeForceBuilderInitialization(); + } + private void maybeForceBuilderInitialization() { + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } + } + @java.lang.Override + public Builder clear() { + super.clear(); + authMethod_ = 0; + + requestModel_ = 0; + + protocol_ = 0; + + listApi_ = 0; + + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.storagetransfer.v1.proto.TransferTypes.internal_static_google_storagetransfer_v1_S3CompatibleMetadata_descriptor; + } + + @java.lang.Override + public com.google.storagetransfer.v1.proto.TransferTypes.S3CompatibleMetadata getDefaultInstanceForType() { + return com.google.storagetransfer.v1.proto.TransferTypes.S3CompatibleMetadata.getDefaultInstance(); + } + + @java.lang.Override + public com.google.storagetransfer.v1.proto.TransferTypes.S3CompatibleMetadata build() { + com.google.storagetransfer.v1.proto.TransferTypes.S3CompatibleMetadata result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.google.storagetransfer.v1.proto.TransferTypes.S3CompatibleMetadata buildPartial() { + com.google.storagetransfer.v1.proto.TransferTypes.S3CompatibleMetadata result = new com.google.storagetransfer.v1.proto.TransferTypes.S3CompatibleMetadata(this); + result.authMethod_ = authMethod_; + result.requestModel_ = requestModel_; + result.protocol_ = protocol_; + result.listApi_ = listApi_; + onBuilt(); + return result; + } + + @java.lang.Override + public Builder clone() { + return super.clone(); + } + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.setField(field, value); + } + @java.lang.Override + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { + return super.clearField(field); + } + @java.lang.Override + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return super.clearOneof(oneof); + } + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { + return super.setRepeatedField(field, index, value); + } + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.addRepeatedField(field, value); + } + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof com.google.storagetransfer.v1.proto.TransferTypes.S3CompatibleMetadata) { + return mergeFrom((com.google.storagetransfer.v1.proto.TransferTypes.S3CompatibleMetadata)other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(com.google.storagetransfer.v1.proto.TransferTypes.S3CompatibleMetadata other) { + if (other == com.google.storagetransfer.v1.proto.TransferTypes.S3CompatibleMetadata.getDefaultInstance()) return this; + if (other.authMethod_ != 0) { + setAuthMethodValue(other.getAuthMethodValue()); + } + if (other.requestModel_ != 0) { + setRequestModelValue(other.getRequestModelValue()); + } + if (other.protocol_ != 0) { + setProtocolValue(other.getProtocolValue()); + } + if (other.listApi_ != 0) { + setListApiValue(other.getListApiValue()); + } + this.mergeUnknownFields(other.unknownFields); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + com.google.storagetransfer.v1.proto.TransferTypes.S3CompatibleMetadata parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.storagetransfer.v1.proto.TransferTypes.PosixFilesystem) - e.getUnfinishedMessage(); + parsedMessage = (com.google.storagetransfer.v1.proto.TransferTypes.S3CompatibleMetadata) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -11165,112 +13115,331 @@ public Builder mergeFrom( return this; } - private java.lang.Object rootDirectory_ = ""; + private int authMethod_ = 0; /** + *
+       * Specifies the authentication and authorization method used by the storage
+       * service. When not specified, Transfer Service will attempt to determine
+       * right auth method to use.
+       * 
* + * .google.storagetransfer.v1.S3CompatibleMetadata.AuthMethod auth_method = 1; + * @return The enum numeric value on the wire for authMethod. + */ + @java.lang.Override public int getAuthMethodValue() { + return authMethod_; + } + /** + *
+       * Specifies the authentication and authorization method used by the storage
+       * service. When not specified, Transfer Service will attempt to determine
+       * right auth method to use.
+       * 
* + * .google.storagetransfer.v1.S3CompatibleMetadata.AuthMethod auth_method = 1; + * @param value The enum numeric value on the wire for authMethod to set. + * @return This builder for chaining. + */ + public Builder setAuthMethodValue(int value) { + + authMethod_ = value; + onChanged(); + return this; + } + /** *
-       * Root directory path to the filesystem.
+       * Specifies the authentication and authorization method used by the storage
+       * service. When not specified, Transfer Service will attempt to determine
+       * right auth method to use.
        * 
* - * string root_directory = 1; + * .google.storagetransfer.v1.S3CompatibleMetadata.AuthMethod auth_method = 1; + * @return The authMethod. + */ + @java.lang.Override + public com.google.storagetransfer.v1.proto.TransferTypes.S3CompatibleMetadata.AuthMethod getAuthMethod() { + @SuppressWarnings("deprecation") + com.google.storagetransfer.v1.proto.TransferTypes.S3CompatibleMetadata.AuthMethod result = com.google.storagetransfer.v1.proto.TransferTypes.S3CompatibleMetadata.AuthMethod.valueOf(authMethod_); + return result == null ? com.google.storagetransfer.v1.proto.TransferTypes.S3CompatibleMetadata.AuthMethod.UNRECOGNIZED : result; + } + /** + *
+       * Specifies the authentication and authorization method used by the storage
+       * service. When not specified, Transfer Service will attempt to determine
+       * right auth method to use.
+       * 
* - * @return The rootDirectory. + * .google.storagetransfer.v1.S3CompatibleMetadata.AuthMethod auth_method = 1; + * @param value The authMethod to set. + * @return This builder for chaining. */ - public java.lang.String getRootDirectory() { - java.lang.Object ref = rootDirectory_; - if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - rootDirectory_ = s; - return s; - } else { - return (java.lang.String) ref; + public Builder setAuthMethod(com.google.storagetransfer.v1.proto.TransferTypes.S3CompatibleMetadata.AuthMethod value) { + if (value == null) { + throw new NullPointerException(); } + + authMethod_ = value.getNumber(); + onChanged(); + return this; } /** + *
+       * Specifies the authentication and authorization method used by the storage
+       * service. When not specified, Transfer Service will attempt to determine
+       * right auth method to use.
+       * 
* + * .google.storagetransfer.v1.S3CompatibleMetadata.AuthMethod auth_method = 1; + * @return This builder for chaining. + */ + public Builder clearAuthMethod() { + + authMethod_ = 0; + onChanged(); + return this; + } + + private int requestModel_ = 0; + /** + *
+       * Specifies the API request model used to call the storage service. When not
+       * specified, the default value of RequestModel
+       * REQUEST_MODEL_VIRTUAL_HOSTED_STYLE is used.
+       * 
* + * .google.storagetransfer.v1.S3CompatibleMetadata.RequestModel request_model = 2; + * @return The enum numeric value on the wire for requestModel. + */ + @java.lang.Override public int getRequestModelValue() { + return requestModel_; + } + /** *
-       * Root directory path to the filesystem.
+       * Specifies the API request model used to call the storage service. When not
+       * specified, the default value of RequestModel
+       * REQUEST_MODEL_VIRTUAL_HOSTED_STYLE is used.
        * 
* - * string root_directory = 1; + * .google.storagetransfer.v1.S3CompatibleMetadata.RequestModel request_model = 2; + * @param value The enum numeric value on the wire for requestModel to set. + * @return This builder for chaining. + */ + public Builder setRequestModelValue(int value) { + + requestModel_ = value; + onChanged(); + return this; + } + /** + *
+       * Specifies the API request model used to call the storage service. When not
+       * specified, the default value of RequestModel
+       * REQUEST_MODEL_VIRTUAL_HOSTED_STYLE is used.
+       * 
* - * @return The bytes for rootDirectory. + * .google.storagetransfer.v1.S3CompatibleMetadata.RequestModel request_model = 2; + * @return The requestModel. */ - public com.google.protobuf.ByteString getRootDirectoryBytes() { - java.lang.Object ref = rootDirectory_; - if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); - rootDirectory_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; + @java.lang.Override + public com.google.storagetransfer.v1.proto.TransferTypes.S3CompatibleMetadata.RequestModel getRequestModel() { + @SuppressWarnings("deprecation") + com.google.storagetransfer.v1.proto.TransferTypes.S3CompatibleMetadata.RequestModel result = com.google.storagetransfer.v1.proto.TransferTypes.S3CompatibleMetadata.RequestModel.valueOf(requestModel_); + return result == null ? com.google.storagetransfer.v1.proto.TransferTypes.S3CompatibleMetadata.RequestModel.UNRECOGNIZED : result; + } + /** + *
+       * Specifies the API request model used to call the storage service. When not
+       * specified, the default value of RequestModel
+       * REQUEST_MODEL_VIRTUAL_HOSTED_STYLE is used.
+       * 
+ * + * .google.storagetransfer.v1.S3CompatibleMetadata.RequestModel request_model = 2; + * @param value The requestModel to set. + * @return This builder for chaining. + */ + public Builder setRequestModel(com.google.storagetransfer.v1.proto.TransferTypes.S3CompatibleMetadata.RequestModel value) { + if (value == null) { + throw new NullPointerException(); } + + requestModel_ = value.getNumber(); + onChanged(); + return this; + } + /** + *
+       * Specifies the API request model used to call the storage service. When not
+       * specified, the default value of RequestModel
+       * REQUEST_MODEL_VIRTUAL_HOSTED_STYLE is used.
+       * 
+ * + * .google.storagetransfer.v1.S3CompatibleMetadata.RequestModel request_model = 2; + * @return This builder for chaining. + */ + public Builder clearRequestModel() { + + requestModel_ = 0; + onChanged(); + return this; } + + private int protocol_ = 0; /** + *
+       * Specifies the network protocol of the agent. When not specified, the
+       * default value of NetworkProtocol NETWORK_PROTOCOL_HTTPS is used.
+       * 
* + * .google.storagetransfer.v1.S3CompatibleMetadata.NetworkProtocol protocol = 3; + * @return The enum numeric value on the wire for protocol. + */ + @java.lang.Override public int getProtocolValue() { + return protocol_; + } + /** + *
+       * Specifies the network protocol of the agent. When not specified, the
+       * default value of NetworkProtocol NETWORK_PROTOCOL_HTTPS is used.
+       * 
* + * .google.storagetransfer.v1.S3CompatibleMetadata.NetworkProtocol protocol = 3; + * @param value The enum numeric value on the wire for protocol to set. + * @return This builder for chaining. + */ + public Builder setProtocolValue(int value) { + + protocol_ = value; + onChanged(); + return this; + } + /** *
-       * Root directory path to the filesystem.
+       * Specifies the network protocol of the agent. When not specified, the
+       * default value of NetworkProtocol NETWORK_PROTOCOL_HTTPS is used.
        * 
* - * string root_directory = 1; + * .google.storagetransfer.v1.S3CompatibleMetadata.NetworkProtocol protocol = 3; + * @return The protocol. + */ + @java.lang.Override + public com.google.storagetransfer.v1.proto.TransferTypes.S3CompatibleMetadata.NetworkProtocol getProtocol() { + @SuppressWarnings("deprecation") + com.google.storagetransfer.v1.proto.TransferTypes.S3CompatibleMetadata.NetworkProtocol result = com.google.storagetransfer.v1.proto.TransferTypes.S3CompatibleMetadata.NetworkProtocol.valueOf(protocol_); + return result == null ? com.google.storagetransfer.v1.proto.TransferTypes.S3CompatibleMetadata.NetworkProtocol.UNRECOGNIZED : result; + } + /** + *
+       * Specifies the network protocol of the agent. When not specified, the
+       * default value of NetworkProtocol NETWORK_PROTOCOL_HTTPS is used.
+       * 
* - * @param value The rootDirectory to set. + * .google.storagetransfer.v1.S3CompatibleMetadata.NetworkProtocol protocol = 3; + * @param value The protocol to set. * @return This builder for chaining. */ - public Builder setRootDirectory(java.lang.String value) { + public Builder setProtocol(com.google.storagetransfer.v1.proto.TransferTypes.S3CompatibleMetadata.NetworkProtocol value) { if (value == null) { throw new NullPointerException(); } - - rootDirectory_ = value; + + protocol_ = value.getNumber(); onChanged(); return this; } /** - * - * *
-       * Root directory path to the filesystem.
+       * Specifies the network protocol of the agent. When not specified, the
+       * default value of NetworkProtocol NETWORK_PROTOCOL_HTTPS is used.
        * 
* - * string root_directory = 1; - * + * .google.storagetransfer.v1.S3CompatibleMetadata.NetworkProtocol protocol = 3; * @return This builder for chaining. */ - public Builder clearRootDirectory() { - - rootDirectory_ = getDefaultInstance().getRootDirectory(); + public Builder clearProtocol() { + + protocol_ = 0; onChanged(); return this; } + + private int listApi_ = 0; /** + *
+       * The Listing API to use for discovering objects. When not specified,
+       * Transfer Service will attempt to determine the right API to use.
+       * 
* + * .google.storagetransfer.v1.S3CompatibleMetadata.ListApi list_api = 4; + * @return The enum numeric value on the wire for listApi. + */ + @java.lang.Override public int getListApiValue() { + return listApi_; + } + /** + *
+       * The Listing API to use for discovering objects. When not specified,
+       * Transfer Service will attempt to determine the right API to use.
+       * 
* + * .google.storagetransfer.v1.S3CompatibleMetadata.ListApi list_api = 4; + * @param value The enum numeric value on the wire for listApi to set. + * @return This builder for chaining. + */ + public Builder setListApiValue(int value) { + + listApi_ = value; + onChanged(); + return this; + } + /** *
-       * Root directory path to the filesystem.
+       * The Listing API to use for discovering objects. When not specified,
+       * Transfer Service will attempt to determine the right API to use.
        * 
* - * string root_directory = 1; + * .google.storagetransfer.v1.S3CompatibleMetadata.ListApi list_api = 4; + * @return The listApi. + */ + @java.lang.Override + public com.google.storagetransfer.v1.proto.TransferTypes.S3CompatibleMetadata.ListApi getListApi() { + @SuppressWarnings("deprecation") + com.google.storagetransfer.v1.proto.TransferTypes.S3CompatibleMetadata.ListApi result = com.google.storagetransfer.v1.proto.TransferTypes.S3CompatibleMetadata.ListApi.valueOf(listApi_); + return result == null ? com.google.storagetransfer.v1.proto.TransferTypes.S3CompatibleMetadata.ListApi.UNRECOGNIZED : result; + } + /** + *
+       * The Listing API to use for discovering objects. When not specified,
+       * Transfer Service will attempt to determine the right API to use.
+       * 
* - * @param value The bytes for rootDirectory to set. + * .google.storagetransfer.v1.S3CompatibleMetadata.ListApi list_api = 4; + * @param value The listApi to set. * @return This builder for chaining. */ - public Builder setRootDirectoryBytes(com.google.protobuf.ByteString value) { + public Builder setListApi(com.google.storagetransfer.v1.proto.TransferTypes.S3CompatibleMetadata.ListApi value) { if (value == null) { throw new NullPointerException(); } - checkByteStringIsUtf8(value); - - rootDirectory_ = value; + + listApi_ = value.getNumber(); + onChanged(); + return this; + } + /** + *
+       * The Listing API to use for discovering objects. When not specified,
+       * Transfer Service will attempt to determine the right API to use.
+       * 
+ * + * .google.storagetransfer.v1.S3CompatibleMetadata.ListApi list_api = 4; + * @return This builder for chaining. + */ + public Builder clearListApi() { + + listApi_ = 0; onChanged(); return this; } - @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -11283,164 +13452,133 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.storagetransfer.v1.PosixFilesystem) - } - // @@protoc_insertion_point(class_scope:google.storagetransfer.v1.PosixFilesystem) - private static final com.google.storagetransfer.v1.proto.TransferTypes.PosixFilesystem - DEFAULT_INSTANCE; + // @@protoc_insertion_point(builder_scope:google.storagetransfer.v1.S3CompatibleMetadata) + } + // @@protoc_insertion_point(class_scope:google.storagetransfer.v1.S3CompatibleMetadata) + private static final com.google.storagetransfer.v1.proto.TransferTypes.S3CompatibleMetadata DEFAULT_INSTANCE; static { - DEFAULT_INSTANCE = new com.google.storagetransfer.v1.proto.TransferTypes.PosixFilesystem(); + DEFAULT_INSTANCE = new com.google.storagetransfer.v1.proto.TransferTypes.S3CompatibleMetadata(); } - public static com.google.storagetransfer.v1.proto.TransferTypes.PosixFilesystem - getDefaultInstance() { + public static com.google.storagetransfer.v1.proto.TransferTypes.S3CompatibleMetadata getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public PosixFilesystem parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new PosixFilesystem(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public S3CompatibleMetadata parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new S3CompatibleMetadata(input, extensionRegistry); + } + }; - public static com.google.protobuf.Parser parser() { + public static com.google.protobuf.Parser parser() { return PARSER; } @java.lang.Override - public com.google.protobuf.Parser getParserForType() { + public com.google.protobuf.Parser getParserForType() { return PARSER; } @java.lang.Override - public com.google.storagetransfer.v1.proto.TransferTypes.PosixFilesystem - getDefaultInstanceForType() { + public com.google.storagetransfer.v1.proto.TransferTypes.S3CompatibleMetadata getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } - public interface AgentPoolOrBuilder - extends + public interface AgentPoolOrBuilder extends // @@protoc_insertion_point(interface_extends:google.storagetransfer.v1.AgentPool) com.google.protobuf.MessageOrBuilder { /** - * - * *
      * Required. Specifies a unique string that identifies the agent pool.
      * Format: `projects/{project_id}/agentPools/{agent_pool_id}`
      * 
* * string name = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The name. */ java.lang.String getName(); /** - * - * *
      * Required. Specifies a unique string that identifies the agent pool.
      * Format: `projects/{project_id}/agentPools/{agent_pool_id}`
      * 
* * string name = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for name. */ - com.google.protobuf.ByteString getNameBytes(); + com.google.protobuf.ByteString + getNameBytes(); /** - * - * *
      * Specifies the client-specified AgentPool description.
      * 
* * string display_name = 3; - * * @return The displayName. */ java.lang.String getDisplayName(); /** - * - * *
      * Specifies the client-specified AgentPool description.
      * 
* * string display_name = 3; - * * @return The bytes for displayName. */ - com.google.protobuf.ByteString getDisplayNameBytes(); + com.google.protobuf.ByteString + getDisplayNameBytes(); /** - * - * *
      * Output only. Specifies the state of the AgentPool.
      * 
* - * - * .google.storagetransfer.v1.AgentPool.State state = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.storagetransfer.v1.AgentPool.State state = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The enum numeric value on the wire for state. */ int getStateValue(); /** - * - * *
      * Output only. Specifies the state of the AgentPool.
      * 
* - * - * .google.storagetransfer.v1.AgentPool.State state = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.storagetransfer.v1.AgentPool.State state = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The state. */ com.google.storagetransfer.v1.proto.TransferTypes.AgentPool.State getState(); /** - * - * *
      * Specifies the bandwidth limit details. If this field is unspecified, the
      * default value is set as 'No Limit'.
      * 
* * .google.storagetransfer.v1.AgentPool.BandwidthLimit bandwidth_limit = 5; - * * @return Whether the bandwidthLimit field is set. */ boolean hasBandwidthLimit(); /** - * - * *
      * Specifies the bandwidth limit details. If this field is unspecified, the
      * default value is set as 'No Limit'.
      * 
* * .google.storagetransfer.v1.AgentPool.BandwidthLimit bandwidth_limit = 5; - * * @return The bandwidthLimit. */ com.google.storagetransfer.v1.proto.TransferTypes.AgentPool.BandwidthLimit getBandwidthLimit(); /** - * - * *
      * Specifies the bandwidth limit details. If this field is unspecified, the
      * default value is set as 'No Limit'.
@@ -11448,28 +13586,24 @@ public interface AgentPoolOrBuilder
      *
      * .google.storagetransfer.v1.AgentPool.BandwidthLimit bandwidth_limit = 5;
      */
-    com.google.storagetransfer.v1.proto.TransferTypes.AgentPool.BandwidthLimitOrBuilder
-        getBandwidthLimitOrBuilder();
+    com.google.storagetransfer.v1.proto.TransferTypes.AgentPool.BandwidthLimitOrBuilder getBandwidthLimitOrBuilder();
   }
   /**
-   *
-   *
    * 
    * Represents an On-Premises Agent pool.
    * 
* * Protobuf type {@code google.storagetransfer.v1.AgentPool} */ - public static final class AgentPool extends com.google.protobuf.GeneratedMessageV3 - implements + public static final class AgentPool extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.storagetransfer.v1.AgentPool) AgentPoolOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use AgentPool.newBuilder() to construct. private AgentPool(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private AgentPool() { name_ = ""; displayName_ = ""; @@ -11478,15 +13612,16 @@ private AgentPool() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new AgentPool(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private AgentPool( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -11505,53 +13640,44 @@ private AgentPool( case 0: done = true; break; - case 18: - { - java.lang.String s = input.readStringRequireUtf8(); + case 18: { + java.lang.String s = input.readStringRequireUtf8(); - name_ = s; - break; - } - case 26: - { - java.lang.String s = input.readStringRequireUtf8(); + name_ = s; + break; + } + case 26: { + java.lang.String s = input.readStringRequireUtf8(); - displayName_ = s; - break; - } - case 32: - { - int rawValue = input.readEnum(); + displayName_ = s; + break; + } + case 32: { + int rawValue = input.readEnum(); - state_ = rawValue; - break; + state_ = rawValue; + break; + } + case 42: { + com.google.storagetransfer.v1.proto.TransferTypes.AgentPool.BandwidthLimit.Builder subBuilder = null; + if (bandwidthLimit_ != null) { + subBuilder = bandwidthLimit_.toBuilder(); } - case 42: - { - com.google.storagetransfer.v1.proto.TransferTypes.AgentPool.BandwidthLimit.Builder - subBuilder = null; - if (bandwidthLimit_ != null) { - subBuilder = bandwidthLimit_.toBuilder(); - } - bandwidthLimit_ = - input.readMessage( - com.google.storagetransfer.v1.proto.TransferTypes.AgentPool.BandwidthLimit - .parser(), - extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(bandwidthLimit_); - bandwidthLimit_ = subBuilder.buildPartial(); - } - - break; + bandwidthLimit_ = input.readMessage(com.google.storagetransfer.v1.proto.TransferTypes.AgentPool.BandwidthLimit.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(bandwidthLimit_); + bandwidthLimit_ = subBuilder.buildPartial(); } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -11559,41 +13685,36 @@ private AgentPool( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.storagetransfer.v1.proto.TransferTypes - .internal_static_google_storagetransfer_v1_AgentPool_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.storagetransfer.v1.proto.TransferTypes.internal_static_google_storagetransfer_v1_AgentPool_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.storagetransfer.v1.proto.TransferTypes - .internal_static_google_storagetransfer_v1_AgentPool_fieldAccessorTable + return com.google.storagetransfer.v1.proto.TransferTypes.internal_static_google_storagetransfer_v1_AgentPool_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.storagetransfer.v1.proto.TransferTypes.AgentPool.class, - com.google.storagetransfer.v1.proto.TransferTypes.AgentPool.Builder.class); + com.google.storagetransfer.v1.proto.TransferTypes.AgentPool.class, com.google.storagetransfer.v1.proto.TransferTypes.AgentPool.Builder.class); } /** - * - * *
      * The state of an AgentPool.
      * 
* * Protobuf enum {@code google.storagetransfer.v1.AgentPool.State} */ - public enum State implements com.google.protobuf.ProtocolMessageEnum { + public enum State + implements com.google.protobuf.ProtocolMessageEnum { /** - * - * *
        * Default value. This value is unused.
        * 
@@ -11602,8 +13723,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { */ STATE_UNSPECIFIED(0), /** - * - * *
        * This is an initialization state. During this stage, the resources such as
        * Pub/Sub topics are allocated for the AgentPool.
@@ -11613,8 +13732,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum {
        */
       CREATING(1),
       /**
-       *
-       *
        * 
        * Determines that the AgentPool is created for use. At this state, Agents
        * can join the AgentPool and participate in the transfer jobs in that pool.
@@ -11624,8 +13741,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum {
        */
       CREATED(2),
       /**
-       *
-       *
        * 
        * Determines that the AgentPool deletion has been initiated, and all the
        * resources are scheduled to be cleaned up and freed.
@@ -11638,8 +13753,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum {
       ;
 
       /**
-       *
-       *
        * 
        * Default value. This value is unused.
        * 
@@ -11648,8 +13761,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { */ public static final int STATE_UNSPECIFIED_VALUE = 0; /** - * - * *
        * This is an initialization state. During this stage, the resources such as
        * Pub/Sub topics are allocated for the AgentPool.
@@ -11659,8 +13770,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum {
        */
       public static final int CREATING_VALUE = 1;
       /**
-       *
-       *
        * 
        * Determines that the AgentPool is created for use. At this state, Agents
        * can join the AgentPool and participate in the transfer jobs in that pool.
@@ -11670,8 +13779,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum {
        */
       public static final int CREATED_VALUE = 2;
       /**
-       *
-       *
        * 
        * Determines that the AgentPool deletion has been initiated, and all the
        * resources are scheduled to be cleaned up and freed.
@@ -11681,6 +13788,7 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum {
        */
       public static final int DELETING_VALUE = 3;
 
+
       public final int getNumber() {
         if (this == UNRECOGNIZED) {
           throw new java.lang.IllegalArgumentException(
@@ -11705,53 +13813,50 @@ 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 CREATED;
-          case 3:
-            return DELETING;
-          default:
-            return null;
+          case 0: return STATE_UNSPECIFIED;
+          case 1: return CREATING;
+          case 2: return CREATED;
+          case 3: return DELETING;
+          default: return null;
         }
       }
 
-      public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() {
+      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() {
+              public State findValueByNumber(int number) {
+                return State.forNumber(number);
+              }
+            };
 
-      private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap =
-          new com.google.protobuf.Internal.EnumLiteMap() {
-            public State findValueByNumber(int number) {
-              return State.forNumber(number);
-            }
-          };
-
-      public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() {
+      public final com.google.protobuf.Descriptors.EnumValueDescriptor
+          getValueDescriptor() {
         if (this == UNRECOGNIZED) {
           throw new java.lang.IllegalStateException(
               "Can't get the descriptor of an unrecognized enum value.");
         }
         return getDescriptor().getValues().get(ordinal());
       }
-
-      public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() {
+      public final com.google.protobuf.Descriptors.EnumDescriptor
+          getDescriptorForType() {
         return getDescriptor();
       }
-
-      public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() {
-        return com.google.storagetransfer.v1.proto.TransferTypes.AgentPool.getDescriptor()
-            .getEnumTypes()
-            .get(0);
+      public static final com.google.protobuf.Descriptors.EnumDescriptor
+          getDescriptor() {
+        return com.google.storagetransfer.v1.proto.TransferTypes.AgentPool.getDescriptor().getEnumTypes().get(0);
       }
 
       private static final State[] VALUES = values();
 
-      public static State valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
+      public static State valueOf(
+          com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
         if (desc.getType() != getDescriptor()) {
-          throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type.");
+          throw new java.lang.IllegalArgumentException(
+            "EnumValueDescriptor is not for this type.");
         }
         if (desc.getIndex() == -1) {
           return UNRECOGNIZED;
@@ -11768,57 +13873,52 @@ private State(int value) {
       // @@protoc_insertion_point(enum_scope:google.storagetransfer.v1.AgentPool.State)
     }
 
-    public interface BandwidthLimitOrBuilder
-        extends
+    public interface BandwidthLimitOrBuilder extends
         // @@protoc_insertion_point(interface_extends:google.storagetransfer.v1.AgentPool.BandwidthLimit)
         com.google.protobuf.MessageOrBuilder {
 
       /**
-       *
-       *
        * 
        * Bandwidth rate in megabytes per second, distributed across all the agents
        * in the pool.
        * 
* * int64 limit_mbps = 1; - * * @return The limitMbps. */ long getLimitMbps(); } /** - * - * *
      * Specifies a bandwidth limit for an agent pool.
      * 
* * Protobuf type {@code google.storagetransfer.v1.AgentPool.BandwidthLimit} */ - public static final class BandwidthLimit extends com.google.protobuf.GeneratedMessageV3 - implements + public static final class BandwidthLimit extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.storagetransfer.v1.AgentPool.BandwidthLimit) BandwidthLimitOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use BandwidthLimit.newBuilder() to construct. private BandwidthLimit(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - - private BandwidthLimit() {} + private BandwidthLimit() { + } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new BandwidthLimit(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private BandwidthLimit( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -11837,18 +13937,18 @@ private BandwidthLimit( case 0: done = true; break; - case 8: - { - limitMbps_ = input.readInt64(); - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + case 8: { + + limitMbps_ = input.readInt64(); + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -11856,42 +13956,35 @@ private BandwidthLimit( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.storagetransfer.v1.proto.TransferTypes - .internal_static_google_storagetransfer_v1_AgentPool_BandwidthLimit_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.storagetransfer.v1.proto.TransferTypes.internal_static_google_storagetransfer_v1_AgentPool_BandwidthLimit_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.storagetransfer.v1.proto.TransferTypes - .internal_static_google_storagetransfer_v1_AgentPool_BandwidthLimit_fieldAccessorTable + return com.google.storagetransfer.v1.proto.TransferTypes.internal_static_google_storagetransfer_v1_AgentPool_BandwidthLimit_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.storagetransfer.v1.proto.TransferTypes.AgentPool.BandwidthLimit.class, - com.google.storagetransfer.v1.proto.TransferTypes.AgentPool.BandwidthLimit.Builder - .class); + com.google.storagetransfer.v1.proto.TransferTypes.AgentPool.BandwidthLimit.class, com.google.storagetransfer.v1.proto.TransferTypes.AgentPool.BandwidthLimit.Builder.class); } public static final int LIMIT_MBPS_FIELD_NUMBER = 1; private long limitMbps_; /** - * - * *
        * Bandwidth rate in megabytes per second, distributed across all the agents
        * in the pool.
        * 
* * int64 limit_mbps = 1; - * * @return The limitMbps. */ @java.lang.Override @@ -11900,7 +13993,6 @@ public long getLimitMbps() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -11912,7 +14004,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 (limitMbps_ != 0L) { output.writeInt64(1, limitMbps_); } @@ -11926,7 +14019,8 @@ public int getSerializedSize() { size = 0; if (limitMbps_ != 0L) { - size += com.google.protobuf.CodedOutputStream.computeInt64Size(1, limitMbps_); + size += com.google.protobuf.CodedOutputStream + .computeInt64Size(1, limitMbps_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -11936,17 +14030,15 @@ 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.storagetransfer.v1.proto.TransferTypes.AgentPool.BandwidthLimit)) { + if (!(obj instanceof com.google.storagetransfer.v1.proto.TransferTypes.AgentPool.BandwidthLimit)) { return super.equals(obj); } - com.google.storagetransfer.v1.proto.TransferTypes.AgentPool.BandwidthLimit other = - (com.google.storagetransfer.v1.proto.TransferTypes.AgentPool.BandwidthLimit) obj; + com.google.storagetransfer.v1.proto.TransferTypes.AgentPool.BandwidthLimit other = (com.google.storagetransfer.v1.proto.TransferTypes.AgentPool.BandwidthLimit) obj; - if (getLimitMbps() != other.getLimitMbps()) return false; + if (getLimitMbps() + != other.getLimitMbps()) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -11959,109 +14051,95 @@ public int hashCode() { int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); hash = (37 * hash) + LIMIT_MBPS_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashLong(getLimitMbps()); + hash = (53 * hash) + com.google.protobuf.Internal.hashLong( + getLimitMbps()); hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } - public static com.google.storagetransfer.v1.proto.TransferTypes.AgentPool.BandwidthLimit - parseFrom(java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.storagetransfer.v1.proto.TransferTypes.AgentPool.BandwidthLimit parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - - public static com.google.storagetransfer.v1.proto.TransferTypes.AgentPool.BandwidthLimit - parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.storagetransfer.v1.proto.TransferTypes.AgentPool.BandwidthLimit parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.storagetransfer.v1.proto.TransferTypes.AgentPool.BandwidthLimit - parseFrom(com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.storagetransfer.v1.proto.TransferTypes.AgentPool.BandwidthLimit parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - - public static com.google.storagetransfer.v1.proto.TransferTypes.AgentPool.BandwidthLimit - parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.storagetransfer.v1.proto.TransferTypes.AgentPool.BandwidthLimit 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.storagetransfer.v1.proto.TransferTypes.AgentPool.BandwidthLimit - parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.storagetransfer.v1.proto.TransferTypes.AgentPool.BandwidthLimit parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - - public static com.google.storagetransfer.v1.proto.TransferTypes.AgentPool.BandwidthLimit - parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.storagetransfer.v1.proto.TransferTypes.AgentPool.BandwidthLimit parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.storagetransfer.v1.proto.TransferTypes.AgentPool.BandwidthLimit - parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.storagetransfer.v1.proto.TransferTypes.AgentPool.BandwidthLimit parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - - public static com.google.storagetransfer.v1.proto.TransferTypes.AgentPool.BandwidthLimit - parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + public static com.google.storagetransfer.v1.proto.TransferTypes.AgentPool.BandwidthLimit parseFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.storagetransfer.v1.proto.TransferTypes.AgentPool.BandwidthLimit - parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.storagetransfer.v1.proto.TransferTypes.AgentPool.BandwidthLimit parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - - public static com.google.storagetransfer.v1.proto.TransferTypes.AgentPool.BandwidthLimit - parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + public static com.google.storagetransfer.v1.proto.TransferTypes.AgentPool.BandwidthLimit parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.storagetransfer.v1.proto.TransferTypes.AgentPool.BandwidthLimit - parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.storagetransfer.v1.proto.TransferTypes.AgentPool.BandwidthLimit parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - - public static com.google.storagetransfer.v1.proto.TransferTypes.AgentPool.BandwidthLimit - parseFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + public static com.google.storagetransfer.v1.proto.TransferTypes.AgentPool.BandwidthLimit parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + 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.storagetransfer.v1.proto.TransferTypes.AgentPool.BandwidthLimit prototype) { + public static Builder newBuilder(com.google.storagetransfer.v1.proto.TransferTypes.AgentPool.BandwidthLimit 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 @@ -12071,50 +14149,44 @@ protected Builder newBuilderForType( return builder; } /** - * - * *
        * Specifies a bandwidth limit for an agent pool.
        * 
* * Protobuf type {@code google.storagetransfer.v1.AgentPool.BandwidthLimit} */ - public static final class Builder - extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.storagetransfer.v1.AgentPool.BandwidthLimit) com.google.storagetransfer.v1.proto.TransferTypes.AgentPool.BandwidthLimitOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.storagetransfer.v1.proto.TransferTypes - .internal_static_google_storagetransfer_v1_AgentPool_BandwidthLimit_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.storagetransfer.v1.proto.TransferTypes.internal_static_google_storagetransfer_v1_AgentPool_BandwidthLimit_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.storagetransfer.v1.proto.TransferTypes - .internal_static_google_storagetransfer_v1_AgentPool_BandwidthLimit_fieldAccessorTable + return com.google.storagetransfer.v1.proto.TransferTypes.internal_static_google_storagetransfer_v1_AgentPool_BandwidthLimit_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.storagetransfer.v1.proto.TransferTypes.AgentPool.BandwidthLimit.class, - com.google.storagetransfer.v1.proto.TransferTypes.AgentPool.BandwidthLimit.Builder - .class); + com.google.storagetransfer.v1.proto.TransferTypes.AgentPool.BandwidthLimit.class, com.google.storagetransfer.v1.proto.TransferTypes.AgentPool.BandwidthLimit.Builder.class); } - // Construct using - // com.google.storagetransfer.v1.proto.TransferTypes.AgentPool.BandwidthLimit.newBuilder() + // Construct using com.google.storagetransfer.v1.proto.TransferTypes.AgentPool.BandwidthLimit.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -12124,22 +14196,19 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.storagetransfer.v1.proto.TransferTypes - .internal_static_google_storagetransfer_v1_AgentPool_BandwidthLimit_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.storagetransfer.v1.proto.TransferTypes.internal_static_google_storagetransfer_v1_AgentPool_BandwidthLimit_descriptor; } @java.lang.Override - public com.google.storagetransfer.v1.proto.TransferTypes.AgentPool.BandwidthLimit - getDefaultInstanceForType() { - return com.google.storagetransfer.v1.proto.TransferTypes.AgentPool.BandwidthLimit - .getDefaultInstance(); + public com.google.storagetransfer.v1.proto.TransferTypes.AgentPool.BandwidthLimit getDefaultInstanceForType() { + return com.google.storagetransfer.v1.proto.TransferTypes.AgentPool.BandwidthLimit.getDefaultInstance(); } @java.lang.Override public com.google.storagetransfer.v1.proto.TransferTypes.AgentPool.BandwidthLimit build() { - com.google.storagetransfer.v1.proto.TransferTypes.AgentPool.BandwidthLimit result = - buildPartial(); + com.google.storagetransfer.v1.proto.TransferTypes.AgentPool.BandwidthLimit result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } @@ -12147,10 +14216,8 @@ public com.google.storagetransfer.v1.proto.TransferTypes.AgentPool.BandwidthLimi } @java.lang.Override - public com.google.storagetransfer.v1.proto.TransferTypes.AgentPool.BandwidthLimit - buildPartial() { - com.google.storagetransfer.v1.proto.TransferTypes.AgentPool.BandwidthLimit result = - new com.google.storagetransfer.v1.proto.TransferTypes.AgentPool.BandwidthLimit(this); + public com.google.storagetransfer.v1.proto.TransferTypes.AgentPool.BandwidthLimit buildPartial() { + com.google.storagetransfer.v1.proto.TransferTypes.AgentPool.BandwidthLimit result = new com.google.storagetransfer.v1.proto.TransferTypes.AgentPool.BandwidthLimit(this); result.limitMbps_ = limitMbps_; onBuilt(); return result; @@ -12160,55 +14227,46 @@ public com.google.storagetransfer.v1.proto.TransferTypes.AgentPool.BandwidthLimi public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, - int index, - java.lang.Object value) { + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { - if (other - instanceof - com.google.storagetransfer.v1.proto.TransferTypes.AgentPool.BandwidthLimit) { - return mergeFrom( - (com.google.storagetransfer.v1.proto.TransferTypes.AgentPool.BandwidthLimit) other); + if (other instanceof com.google.storagetransfer.v1.proto.TransferTypes.AgentPool.BandwidthLimit) { + return mergeFrom((com.google.storagetransfer.v1.proto.TransferTypes.AgentPool.BandwidthLimit)other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom( - com.google.storagetransfer.v1.proto.TransferTypes.AgentPool.BandwidthLimit other) { - if (other - == com.google.storagetransfer.v1.proto.TransferTypes.AgentPool.BandwidthLimit - .getDefaultInstance()) return this; + public Builder mergeFrom(com.google.storagetransfer.v1.proto.TransferTypes.AgentPool.BandwidthLimit other) { + if (other == com.google.storagetransfer.v1.proto.TransferTypes.AgentPool.BandwidthLimit.getDefaultInstance()) return this; if (other.getLimitMbps() != 0L) { setLimitMbps(other.getLimitMbps()); } @@ -12227,14 +14285,11 @@ public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - com.google.storagetransfer.v1.proto.TransferTypes.AgentPool.BandwidthLimit parsedMessage = - null; + com.google.storagetransfer.v1.proto.TransferTypes.AgentPool.BandwidthLimit parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.storagetransfer.v1.proto.TransferTypes.AgentPool.BandwidthLimit) - e.getUnfinishedMessage(); + parsedMessage = (com.google.storagetransfer.v1.proto.TransferTypes.AgentPool.BandwidthLimit) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -12244,17 +14299,14 @@ public Builder mergeFrom( return this; } - private long limitMbps_; + private long limitMbps_ ; /** - * - * *
          * Bandwidth rate in megabytes per second, distributed across all the agents
          * in the pool.
          * 
* * int64 limit_mbps = 1; - * * @return The limitMbps. */ @java.lang.Override @@ -12262,43 +14314,36 @@ public long getLimitMbps() { return limitMbps_; } /** - * - * *
          * Bandwidth rate in megabytes per second, distributed across all the agents
          * in the pool.
          * 
* * int64 limit_mbps = 1; - * * @param value The limitMbps to set. * @return This builder for chaining. */ public Builder setLimitMbps(long value) { - + limitMbps_ = value; onChanged(); return this; } /** - * - * *
          * Bandwidth rate in megabytes per second, distributed across all the agents
          * in the pool.
          * 
* * int64 limit_mbps = 1; - * * @return This builder for chaining. */ public Builder clearLimitMbps() { - + limitMbps_ = 0L; onChanged(); return this; } - @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -12311,34 +14356,30 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.storagetransfer.v1.AgentPool.BandwidthLimit) } // @@protoc_insertion_point(class_scope:google.storagetransfer.v1.AgentPool.BandwidthLimit) - private static final com.google.storagetransfer.v1.proto.TransferTypes.AgentPool - .BandwidthLimit - DEFAULT_INSTANCE; - + private static final com.google.storagetransfer.v1.proto.TransferTypes.AgentPool.BandwidthLimit DEFAULT_INSTANCE; static { - DEFAULT_INSTANCE = - new com.google.storagetransfer.v1.proto.TransferTypes.AgentPool.BandwidthLimit(); + DEFAULT_INSTANCE = new com.google.storagetransfer.v1.proto.TransferTypes.AgentPool.BandwidthLimit(); } - public static com.google.storagetransfer.v1.proto.TransferTypes.AgentPool.BandwidthLimit - getDefaultInstance() { + public static com.google.storagetransfer.v1.proto.TransferTypes.AgentPool.BandwidthLimit getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public BandwidthLimit parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new BandwidthLimit(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public BandwidthLimit parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new BandwidthLimit(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -12350,24 +14391,21 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.storagetransfer.v1.proto.TransferTypes.AgentPool.BandwidthLimit - getDefaultInstanceForType() { + public com.google.storagetransfer.v1.proto.TransferTypes.AgentPool.BandwidthLimit getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } public static final int NAME_FIELD_NUMBER = 2; private volatile java.lang.Object name_; /** - * - * *
      * Required. Specifies a unique string that identifies the agent pool.
      * Format: `projects/{project_id}/agentPools/{agent_pool_id}`
      * 
* * string name = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The name. */ @java.lang.Override @@ -12376,30 +14414,30 @@ public java.lang.String getName() { 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(); name_ = s; return s; } } /** - * - * *
      * Required. Specifies a unique string that identifies the agent pool.
      * Format: `projects/{project_id}/agentPools/{agent_pool_id}`
      * 
* * string name = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; 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); name_ = b; return b; } else { @@ -12410,14 +14448,11 @@ public com.google.protobuf.ByteString getNameBytes() { public static final int DISPLAY_NAME_FIELD_NUMBER = 3; private volatile java.lang.Object displayName_; /** - * - * *
      * Specifies the client-specified AgentPool description.
      * 
* * string display_name = 3; - * * @return The displayName. */ @java.lang.Override @@ -12426,29 +14461,29 @@ public java.lang.String getDisplayName() { 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(); displayName_ = s; return s; } } /** - * - * *
      * Specifies the client-specified AgentPool description.
      * 
* * string display_name = 3; - * * @return The bytes for displayName. */ @java.lang.Override - public com.google.protobuf.ByteString getDisplayNameBytes() { + public com.google.protobuf.ByteString + getDisplayNameBytes() { java.lang.Object ref = displayName_; 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); displayName_ = b; return b; } else { @@ -12459,58 +14494,39 @@ public com.google.protobuf.ByteString getDisplayNameBytes() { public static final int STATE_FIELD_NUMBER = 4; private int state_; /** - * - * *
      * Output only. Specifies the state of the AgentPool.
      * 
* - * - * .google.storagetransfer.v1.AgentPool.State state = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.storagetransfer.v1.AgentPool.State state = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The enum numeric value on the wire for state. */ - @java.lang.Override - public int getStateValue() { + @java.lang.Override public int getStateValue() { return state_; } /** - * - * *
      * Output only. Specifies the state of the AgentPool.
      * 
* - * - * .google.storagetransfer.v1.AgentPool.State state = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.storagetransfer.v1.AgentPool.State state = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The state. */ - @java.lang.Override - public com.google.storagetransfer.v1.proto.TransferTypes.AgentPool.State getState() { + @java.lang.Override public com.google.storagetransfer.v1.proto.TransferTypes.AgentPool.State getState() { @SuppressWarnings("deprecation") - com.google.storagetransfer.v1.proto.TransferTypes.AgentPool.State result = - com.google.storagetransfer.v1.proto.TransferTypes.AgentPool.State.valueOf(state_); - return result == null - ? com.google.storagetransfer.v1.proto.TransferTypes.AgentPool.State.UNRECOGNIZED - : result; + com.google.storagetransfer.v1.proto.TransferTypes.AgentPool.State result = com.google.storagetransfer.v1.proto.TransferTypes.AgentPool.State.valueOf(state_); + return result == null ? com.google.storagetransfer.v1.proto.TransferTypes.AgentPool.State.UNRECOGNIZED : result; } public static final int BANDWIDTH_LIMIT_FIELD_NUMBER = 5; - private com.google.storagetransfer.v1.proto.TransferTypes.AgentPool.BandwidthLimit - bandwidthLimit_; + private com.google.storagetransfer.v1.proto.TransferTypes.AgentPool.BandwidthLimit bandwidthLimit_; /** - * - * *
      * Specifies the bandwidth limit details. If this field is unspecified, the
      * default value is set as 'No Limit'.
      * 
* * .google.storagetransfer.v1.AgentPool.BandwidthLimit bandwidth_limit = 5; - * * @return Whether the bandwidthLimit field is set. */ @java.lang.Override @@ -12518,28 +14534,19 @@ public boolean hasBandwidthLimit() { return bandwidthLimit_ != null; } /** - * - * *
      * Specifies the bandwidth limit details. If this field is unspecified, the
      * default value is set as 'No Limit'.
      * 
* * .google.storagetransfer.v1.AgentPool.BandwidthLimit bandwidth_limit = 5; - * * @return The bandwidthLimit. */ @java.lang.Override - public com.google.storagetransfer.v1.proto.TransferTypes.AgentPool.BandwidthLimit - getBandwidthLimit() { - return bandwidthLimit_ == null - ? com.google.storagetransfer.v1.proto.TransferTypes.AgentPool.BandwidthLimit - .getDefaultInstance() - : bandwidthLimit_; + public com.google.storagetransfer.v1.proto.TransferTypes.AgentPool.BandwidthLimit getBandwidthLimit() { + return bandwidthLimit_ == null ? com.google.storagetransfer.v1.proto.TransferTypes.AgentPool.BandwidthLimit.getDefaultInstance() : bandwidthLimit_; } /** - * - * *
      * Specifies the bandwidth limit details. If this field is unspecified, the
      * default value is set as 'No Limit'.
@@ -12548,13 +14555,11 @@ public boolean hasBandwidthLimit() {
      * .google.storagetransfer.v1.AgentPool.BandwidthLimit bandwidth_limit = 5;
      */
     @java.lang.Override
-    public com.google.storagetransfer.v1.proto.TransferTypes.AgentPool.BandwidthLimitOrBuilder
-        getBandwidthLimitOrBuilder() {
+    public com.google.storagetransfer.v1.proto.TransferTypes.AgentPool.BandwidthLimitOrBuilder getBandwidthLimitOrBuilder() {
       return getBandwidthLimit();
     }
 
     private byte memoizedIsInitialized = -1;
-
     @java.lang.Override
     public final boolean isInitialized() {
       byte isInitialized = memoizedIsInitialized;
@@ -12566,16 +14571,15 @@ 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 (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) {
         com.google.protobuf.GeneratedMessageV3.writeString(output, 2, name_);
       }
       if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(displayName_)) {
         com.google.protobuf.GeneratedMessageV3.writeString(output, 3, displayName_);
       }
-      if (state_
-          != com.google.storagetransfer.v1.proto.TransferTypes.AgentPool.State.STATE_UNSPECIFIED
-              .getNumber()) {
+      if (state_ != com.google.storagetransfer.v1.proto.TransferTypes.AgentPool.State.STATE_UNSPECIFIED.getNumber()) {
         output.writeEnum(4, state_);
       }
       if (bandwidthLimit_ != null) {
@@ -12596,13 +14600,13 @@ public int getSerializedSize() {
       if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(displayName_)) {
         size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, displayName_);
       }
-      if (state_
-          != com.google.storagetransfer.v1.proto.TransferTypes.AgentPool.State.STATE_UNSPECIFIED
-              .getNumber()) {
-        size += com.google.protobuf.CodedOutputStream.computeEnumSize(4, state_);
+      if (state_ != com.google.storagetransfer.v1.proto.TransferTypes.AgentPool.State.STATE_UNSPECIFIED.getNumber()) {
+        size += com.google.protobuf.CodedOutputStream
+          .computeEnumSize(4, state_);
       }
       if (bandwidthLimit_ != null) {
-        size += com.google.protobuf.CodedOutputStream.computeMessageSize(5, getBandwidthLimit());
+        size += com.google.protobuf.CodedOutputStream
+          .computeMessageSize(5, getBandwidthLimit());
       }
       size += unknownFields.getSerializedSize();
       memoizedSize = size;
@@ -12612,20 +14616,22 @@ 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.storagetransfer.v1.proto.TransferTypes.AgentPool)) {
         return super.equals(obj);
       }
-      com.google.storagetransfer.v1.proto.TransferTypes.AgentPool other =
-          (com.google.storagetransfer.v1.proto.TransferTypes.AgentPool) obj;
+      com.google.storagetransfer.v1.proto.TransferTypes.AgentPool other = (com.google.storagetransfer.v1.proto.TransferTypes.AgentPool) obj;
 
-      if (!getName().equals(other.getName())) return false;
-      if (!getDisplayName().equals(other.getDisplayName())) return false;
+      if (!getName()
+          .equals(other.getName())) return false;
+      if (!getDisplayName()
+          .equals(other.getDisplayName())) return false;
       if (state_ != other.state_) return false;
       if (hasBandwidthLimit() != other.hasBandwidthLimit()) return false;
       if (hasBandwidthLimit()) {
-        if (!getBandwidthLimit().equals(other.getBandwidthLimit())) return false;
+        if (!getBandwidthLimit()
+            .equals(other.getBandwidthLimit())) return false;
       }
       if (!unknownFields.equals(other.unknownFields)) return false;
       return true;
@@ -12654,94 +14660,87 @@ public int hashCode() {
     }
 
     public static com.google.storagetransfer.v1.proto.TransferTypes.AgentPool parseFrom(
-        java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException {
+        java.nio.ByteBuffer data)
+        throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data);
     }
-
     public static com.google.storagetransfer.v1.proto.TransferTypes.AgentPool 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.storagetransfer.v1.proto.TransferTypes.AgentPool parseFrom(
         com.google.protobuf.ByteString data)
         throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data);
     }
-
     public static com.google.storagetransfer.v1.proto.TransferTypes.AgentPool 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.storagetransfer.v1.proto.TransferTypes.AgentPool parseFrom(byte[] data)
         throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data);
     }
-
     public static com.google.storagetransfer.v1.proto.TransferTypes.AgentPool 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.storagetransfer.v1.proto.TransferTypes.AgentPool parseFrom(
-        java.io.InputStream input) throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+    public static com.google.storagetransfer.v1.proto.TransferTypes.AgentPool parseFrom(java.io.InputStream input)
+        throws java.io.IOException {
+      return com.google.protobuf.GeneratedMessageV3
+          .parseWithIOException(PARSER, input);
     }
-
     public static com.google.storagetransfer.v1.proto.TransferTypes.AgentPool 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.storagetransfer.v1.proto.TransferTypes.AgentPool parseDelimitedFrom(
-        java.io.InputStream input) throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
+    public static com.google.storagetransfer.v1.proto.TransferTypes.AgentPool parseDelimitedFrom(java.io.InputStream input)
+        throws java.io.IOException {
+      return com.google.protobuf.GeneratedMessageV3
+          .parseDelimitedWithIOException(PARSER, input);
     }
-
     public static com.google.storagetransfer.v1.proto.TransferTypes.AgentPool 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.storagetransfer.v1.proto.TransferTypes.AgentPool 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.storagetransfer.v1.proto.TransferTypes.AgentPool 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.storagetransfer.v1.proto.TransferTypes.AgentPool prototype) {
+    public static Builder newBuilder(com.google.storagetransfer.v1.proto.TransferTypes.AgentPool 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
@@ -12751,32 +14750,27 @@ protected Builder newBuilderForType(
       return builder;
     }
     /**
-     *
-     *
      * 
      * Represents an On-Premises Agent pool.
      * 
* * Protobuf type {@code google.storagetransfer.v1.AgentPool} */ - public static final class Builder - extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.storagetransfer.v1.AgentPool) com.google.storagetransfer.v1.proto.TransferTypes.AgentPoolOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.storagetransfer.v1.proto.TransferTypes - .internal_static_google_storagetransfer_v1_AgentPool_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.storagetransfer.v1.proto.TransferTypes.internal_static_google_storagetransfer_v1_AgentPool_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.storagetransfer.v1.proto.TransferTypes - .internal_static_google_storagetransfer_v1_AgentPool_fieldAccessorTable + return com.google.storagetransfer.v1.proto.TransferTypes.internal_static_google_storagetransfer_v1_AgentPool_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.storagetransfer.v1.proto.TransferTypes.AgentPool.class, - com.google.storagetransfer.v1.proto.TransferTypes.AgentPool.Builder.class); + com.google.storagetransfer.v1.proto.TransferTypes.AgentPool.class, com.google.storagetransfer.v1.proto.TransferTypes.AgentPool.Builder.class); } // Construct using com.google.storagetransfer.v1.proto.TransferTypes.AgentPool.newBuilder() @@ -12784,15 +14778,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -12812,14 +14807,13 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.storagetransfer.v1.proto.TransferTypes - .internal_static_google_storagetransfer_v1_AgentPool_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.storagetransfer.v1.proto.TransferTypes.internal_static_google_storagetransfer_v1_AgentPool_descriptor; } @java.lang.Override - public com.google.storagetransfer.v1.proto.TransferTypes.AgentPool - getDefaultInstanceForType() { + public com.google.storagetransfer.v1.proto.TransferTypes.AgentPool getDefaultInstanceForType() { return com.google.storagetransfer.v1.proto.TransferTypes.AgentPool.getDefaultInstance(); } @@ -12834,8 +14828,7 @@ public com.google.storagetransfer.v1.proto.TransferTypes.AgentPool build() { @java.lang.Override public com.google.storagetransfer.v1.proto.TransferTypes.AgentPool buildPartial() { - com.google.storagetransfer.v1.proto.TransferTypes.AgentPool result = - new com.google.storagetransfer.v1.proto.TransferTypes.AgentPool(this); + com.google.storagetransfer.v1.proto.TransferTypes.AgentPool result = new com.google.storagetransfer.v1.proto.TransferTypes.AgentPool(this); result.name_ = name_; result.displayName_ = displayName_; result.state_ = state_; @@ -12852,41 +14845,38 @@ public com.google.storagetransfer.v1.proto.TransferTypes.AgentPool buildPartial( public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, - int index, - java.lang.Object value) { + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.storagetransfer.v1.proto.TransferTypes.AgentPool) { - return mergeFrom((com.google.storagetransfer.v1.proto.TransferTypes.AgentPool) other); + return mergeFrom((com.google.storagetransfer.v1.proto.TransferTypes.AgentPool)other); } else { super.mergeFrom(other); return this; @@ -12894,9 +14884,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.storagetransfer.v1.proto.TransferTypes.AgentPool other) { - if (other - == com.google.storagetransfer.v1.proto.TransferTypes.AgentPool.getDefaultInstance()) - return this; + if (other == com.google.storagetransfer.v1.proto.TransferTypes.AgentPool.getDefaultInstance()) return this; if (!other.getName().isEmpty()) { name_ = other.name_; onChanged(); @@ -12930,9 +14918,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.storagetransfer.v1.proto.TransferTypes.AgentPool) - e.getUnfinishedMessage(); + parsedMessage = (com.google.storagetransfer.v1.proto.TransferTypes.AgentPool) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -12944,21 +14930,19 @@ public Builder mergeFrom( private java.lang.Object name_ = ""; /** - * - * *
        * Required. Specifies a unique string that identifies the agent pool.
        * Format: `projects/{project_id}/agentPools/{agent_pool_id}`
        * 
* * string name = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; 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(); name_ = s; return s; @@ -12967,22 +14951,21 @@ public java.lang.String getName() { } } /** - * - * *
        * Required. Specifies a unique string that identifies the agent pool.
        * Format: `projects/{project_id}/agentPools/{agent_pool_id}`
        * 
* * string name = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for name. */ - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; 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); name_ = b; return b; } else { @@ -12990,64 +14973,57 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
        * Required. Specifies a unique string that identifies the agent pool.
        * Format: `projects/{project_id}/agentPools/{agent_pool_id}`
        * 
* * string name = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName(java.lang.String value) { + public Builder setName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** - * - * *
        * Required. Specifies a unique string that identifies the agent pool.
        * Format: `projects/{project_id}/agentPools/{agent_pool_id}`
        * 
* * string name = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** - * - * *
        * Required. Specifies a unique string that identifies the agent pool.
        * Format: `projects/{project_id}/agentPools/{agent_pool_id}`
        * 
* * string name = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { + public Builder setNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; @@ -13055,20 +15031,18 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) { private java.lang.Object displayName_ = ""; /** - * - * *
        * Specifies the client-specified AgentPool description.
        * 
* * string display_name = 3; - * * @return The displayName. */ public java.lang.String getDisplayName() { java.lang.Object ref = displayName_; 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(); displayName_ = s; return s; @@ -13077,21 +15051,20 @@ public java.lang.String getDisplayName() { } } /** - * - * *
        * Specifies the client-specified AgentPool description.
        * 
* * string display_name = 3; - * * @return The bytes for displayName. */ - public com.google.protobuf.ByteString getDisplayNameBytes() { + public com.google.protobuf.ByteString + getDisplayNameBytes() { java.lang.Object ref = displayName_; 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); displayName_ = b; return b; } else { @@ -13099,61 +15072,54 @@ public com.google.protobuf.ByteString getDisplayNameBytes() { } } /** - * - * *
        * Specifies the client-specified AgentPool description.
        * 
* * string display_name = 3; - * * @param value The displayName to set. * @return This builder for chaining. */ - public Builder setDisplayName(java.lang.String value) { + public Builder setDisplayName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + displayName_ = value; onChanged(); return this; } /** - * - * *
        * Specifies the client-specified AgentPool description.
        * 
* * string display_name = 3; - * * @return This builder for chaining. */ public Builder clearDisplayName() { - + displayName_ = getDefaultInstance().getDisplayName(); onChanged(); return this; } /** - * - * *
        * Specifies the client-specified AgentPool description.
        * 
* * string display_name = 3; - * * @param value The bytes for displayName to set. * @return This builder for chaining. */ - public Builder setDisplayNameBytes(com.google.protobuf.ByteString value) { + public Builder setDisplayNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + displayName_ = value; onChanged(); return this; @@ -13161,156 +15127,110 @@ public Builder setDisplayNameBytes(com.google.protobuf.ByteString value) { private int state_ = 0; /** - * - * *
        * Output only. Specifies the state of the AgentPool.
        * 
* - * - * .google.storagetransfer.v1.AgentPool.State state = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.storagetransfer.v1.AgentPool.State state = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The enum numeric value on the wire for state. */ - @java.lang.Override - public int getStateValue() { + @java.lang.Override public int getStateValue() { return state_; } /** - * - * *
        * Output only. Specifies the state of the AgentPool.
        * 
* - * - * .google.storagetransfer.v1.AgentPool.State state = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.storagetransfer.v1.AgentPool.State state = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @param value The enum numeric value on the wire for state to set. * @return This builder for chaining. */ public Builder setStateValue(int value) { - + state_ = value; onChanged(); return this; } /** - * - * *
        * Output only. Specifies the state of the AgentPool.
        * 
* - * - * .google.storagetransfer.v1.AgentPool.State state = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.storagetransfer.v1.AgentPool.State state = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The state. */ @java.lang.Override public com.google.storagetransfer.v1.proto.TransferTypes.AgentPool.State getState() { @SuppressWarnings("deprecation") - com.google.storagetransfer.v1.proto.TransferTypes.AgentPool.State result = - com.google.storagetransfer.v1.proto.TransferTypes.AgentPool.State.valueOf(state_); - return result == null - ? com.google.storagetransfer.v1.proto.TransferTypes.AgentPool.State.UNRECOGNIZED - : result; + com.google.storagetransfer.v1.proto.TransferTypes.AgentPool.State result = com.google.storagetransfer.v1.proto.TransferTypes.AgentPool.State.valueOf(state_); + return result == null ? com.google.storagetransfer.v1.proto.TransferTypes.AgentPool.State.UNRECOGNIZED : result; } /** - * - * *
        * Output only. Specifies the state of the AgentPool.
        * 
* - * - * .google.storagetransfer.v1.AgentPool.State state = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.storagetransfer.v1.AgentPool.State state = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @param value The state to set. * @return This builder for chaining. */ - public Builder setState( - com.google.storagetransfer.v1.proto.TransferTypes.AgentPool.State value) { + public Builder setState(com.google.storagetransfer.v1.proto.TransferTypes.AgentPool.State value) { if (value == null) { throw new NullPointerException(); } - + state_ = value.getNumber(); onChanged(); return this; } /** - * - * *
        * Output only. Specifies the state of the AgentPool.
        * 
* - * - * .google.storagetransfer.v1.AgentPool.State state = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.storagetransfer.v1.AgentPool.State state = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return This builder for chaining. */ public Builder clearState() { - + state_ = 0; onChanged(); return this; } - private com.google.storagetransfer.v1.proto.TransferTypes.AgentPool.BandwidthLimit - bandwidthLimit_; + private com.google.storagetransfer.v1.proto.TransferTypes.AgentPool.BandwidthLimit bandwidthLimit_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.storagetransfer.v1.proto.TransferTypes.AgentPool.BandwidthLimit, - com.google.storagetransfer.v1.proto.TransferTypes.AgentPool.BandwidthLimit.Builder, - com.google.storagetransfer.v1.proto.TransferTypes.AgentPool.BandwidthLimitOrBuilder> - bandwidthLimitBuilder_; + com.google.storagetransfer.v1.proto.TransferTypes.AgentPool.BandwidthLimit, com.google.storagetransfer.v1.proto.TransferTypes.AgentPool.BandwidthLimit.Builder, com.google.storagetransfer.v1.proto.TransferTypes.AgentPool.BandwidthLimitOrBuilder> bandwidthLimitBuilder_; /** - * - * *
        * Specifies the bandwidth limit details. If this field is unspecified, the
        * default value is set as 'No Limit'.
        * 
* * .google.storagetransfer.v1.AgentPool.BandwidthLimit bandwidth_limit = 5; - * * @return Whether the bandwidthLimit field is set. */ public boolean hasBandwidthLimit() { return bandwidthLimitBuilder_ != null || bandwidthLimit_ != null; } /** - * - * *
        * Specifies the bandwidth limit details. If this field is unspecified, the
        * default value is set as 'No Limit'.
        * 
* * .google.storagetransfer.v1.AgentPool.BandwidthLimit bandwidth_limit = 5; - * * @return The bandwidthLimit. */ - public com.google.storagetransfer.v1.proto.TransferTypes.AgentPool.BandwidthLimit - getBandwidthLimit() { + public com.google.storagetransfer.v1.proto.TransferTypes.AgentPool.BandwidthLimit getBandwidthLimit() { if (bandwidthLimitBuilder_ == null) { - return bandwidthLimit_ == null - ? com.google.storagetransfer.v1.proto.TransferTypes.AgentPool.BandwidthLimit - .getDefaultInstance() - : bandwidthLimit_; + return bandwidthLimit_ == null ? com.google.storagetransfer.v1.proto.TransferTypes.AgentPool.BandwidthLimit.getDefaultInstance() : bandwidthLimit_; } else { return bandwidthLimitBuilder_.getMessage(); } } /** - * - * *
        * Specifies the bandwidth limit details. If this field is unspecified, the
        * default value is set as 'No Limit'.
@@ -13318,8 +15238,7 @@ public boolean hasBandwidthLimit() {
        *
        * .google.storagetransfer.v1.AgentPool.BandwidthLimit bandwidth_limit = 5;
        */
-      public Builder setBandwidthLimit(
-          com.google.storagetransfer.v1.proto.TransferTypes.AgentPool.BandwidthLimit value) {
+      public Builder setBandwidthLimit(com.google.storagetransfer.v1.proto.TransferTypes.AgentPool.BandwidthLimit value) {
         if (bandwidthLimitBuilder_ == null) {
           if (value == null) {
             throw new NullPointerException();
@@ -13333,8 +15252,6 @@ public Builder setBandwidthLimit(
         return this;
       }
       /**
-       *
-       *
        * 
        * Specifies the bandwidth limit details. If this field is unspecified, the
        * default value is set as 'No Limit'.
@@ -13343,8 +15260,7 @@ public Builder setBandwidthLimit(
        * .google.storagetransfer.v1.AgentPool.BandwidthLimit bandwidth_limit = 5;
        */
       public Builder setBandwidthLimit(
-          com.google.storagetransfer.v1.proto.TransferTypes.AgentPool.BandwidthLimit.Builder
-              builderForValue) {
+          com.google.storagetransfer.v1.proto.TransferTypes.AgentPool.BandwidthLimit.Builder builderForValue) {
         if (bandwidthLimitBuilder_ == null) {
           bandwidthLimit_ = builderForValue.build();
           onChanged();
@@ -13355,8 +15271,6 @@ public Builder setBandwidthLimit(
         return this;
       }
       /**
-       *
-       *
        * 
        * Specifies the bandwidth limit details. If this field is unspecified, the
        * default value is set as 'No Limit'.
@@ -13364,15 +15278,11 @@ public Builder setBandwidthLimit(
        *
        * .google.storagetransfer.v1.AgentPool.BandwidthLimit bandwidth_limit = 5;
        */
-      public Builder mergeBandwidthLimit(
-          com.google.storagetransfer.v1.proto.TransferTypes.AgentPool.BandwidthLimit value) {
+      public Builder mergeBandwidthLimit(com.google.storagetransfer.v1.proto.TransferTypes.AgentPool.BandwidthLimit value) {
         if (bandwidthLimitBuilder_ == null) {
           if (bandwidthLimit_ != null) {
             bandwidthLimit_ =
-                com.google.storagetransfer.v1.proto.TransferTypes.AgentPool.BandwidthLimit
-                    .newBuilder(bandwidthLimit_)
-                    .mergeFrom(value)
-                    .buildPartial();
+              com.google.storagetransfer.v1.proto.TransferTypes.AgentPool.BandwidthLimit.newBuilder(bandwidthLimit_).mergeFrom(value).buildPartial();
           } else {
             bandwidthLimit_ = value;
           }
@@ -13384,8 +15294,6 @@ public Builder mergeBandwidthLimit(
         return this;
       }
       /**
-       *
-       *
        * 
        * Specifies the bandwidth limit details. If this field is unspecified, the
        * default value is set as 'No Limit'.
@@ -13405,8 +15313,6 @@ public Builder clearBandwidthLimit() {
         return this;
       }
       /**
-       *
-       *
        * 
        * Specifies the bandwidth limit details. If this field is unspecified, the
        * default value is set as 'No Limit'.
@@ -13414,15 +15320,12 @@ public Builder clearBandwidthLimit() {
        *
        * .google.storagetransfer.v1.AgentPool.BandwidthLimit bandwidth_limit = 5;
        */
-      public com.google.storagetransfer.v1.proto.TransferTypes.AgentPool.BandwidthLimit.Builder
-          getBandwidthLimitBuilder() {
-
+      public com.google.storagetransfer.v1.proto.TransferTypes.AgentPool.BandwidthLimit.Builder getBandwidthLimitBuilder() {
+        
         onChanged();
         return getBandwidthLimitFieldBuilder().getBuilder();
       }
       /**
-       *
-       *
        * 
        * Specifies the bandwidth limit details. If this field is unspecified, the
        * default value is set as 'No Limit'.
@@ -13430,20 +15333,15 @@ public Builder clearBandwidthLimit() {
        *
        * .google.storagetransfer.v1.AgentPool.BandwidthLimit bandwidth_limit = 5;
        */
-      public com.google.storagetransfer.v1.proto.TransferTypes.AgentPool.BandwidthLimitOrBuilder
-          getBandwidthLimitOrBuilder() {
+      public com.google.storagetransfer.v1.proto.TransferTypes.AgentPool.BandwidthLimitOrBuilder getBandwidthLimitOrBuilder() {
         if (bandwidthLimitBuilder_ != null) {
           return bandwidthLimitBuilder_.getMessageOrBuilder();
         } else {
-          return bandwidthLimit_ == null
-              ? com.google.storagetransfer.v1.proto.TransferTypes.AgentPool.BandwidthLimit
-                  .getDefaultInstance()
-              : bandwidthLimit_;
+          return bandwidthLimit_ == null ?
+              com.google.storagetransfer.v1.proto.TransferTypes.AgentPool.BandwidthLimit.getDefaultInstance() : bandwidthLimit_;
         }
       }
       /**
-       *
-       *
        * 
        * Specifies the bandwidth limit details. If this field is unspecified, the
        * default value is set as 'No Limit'.
@@ -13452,24 +15350,18 @@ public Builder clearBandwidthLimit() {
        * .google.storagetransfer.v1.AgentPool.BandwidthLimit bandwidth_limit = 5;
        */
       private com.google.protobuf.SingleFieldBuilderV3<
-              com.google.storagetransfer.v1.proto.TransferTypes.AgentPool.BandwidthLimit,
-              com.google.storagetransfer.v1.proto.TransferTypes.AgentPool.BandwidthLimit.Builder,
-              com.google.storagetransfer.v1.proto.TransferTypes.AgentPool.BandwidthLimitOrBuilder>
+          com.google.storagetransfer.v1.proto.TransferTypes.AgentPool.BandwidthLimit, com.google.storagetransfer.v1.proto.TransferTypes.AgentPool.BandwidthLimit.Builder, com.google.storagetransfer.v1.proto.TransferTypes.AgentPool.BandwidthLimitOrBuilder> 
           getBandwidthLimitFieldBuilder() {
         if (bandwidthLimitBuilder_ == null) {
-          bandwidthLimitBuilder_ =
-              new com.google.protobuf.SingleFieldBuilderV3<
-                  com.google.storagetransfer.v1.proto.TransferTypes.AgentPool.BandwidthLimit,
-                  com.google.storagetransfer.v1.proto.TransferTypes.AgentPool.BandwidthLimit
-                      .Builder,
-                  com.google.storagetransfer.v1.proto.TransferTypes.AgentPool
-                      .BandwidthLimitOrBuilder>(
-                  getBandwidthLimit(), getParentForChildren(), isClean());
+          bandwidthLimitBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+              com.google.storagetransfer.v1.proto.TransferTypes.AgentPool.BandwidthLimit, com.google.storagetransfer.v1.proto.TransferTypes.AgentPool.BandwidthLimit.Builder, com.google.storagetransfer.v1.proto.TransferTypes.AgentPool.BandwidthLimitOrBuilder>(
+                  getBandwidthLimit(),
+                  getParentForChildren(),
+                  isClean());
           bandwidthLimit_ = null;
         }
         return bandwidthLimitBuilder_;
       }
-
       @java.lang.Override
       public final Builder setUnknownFields(
           final com.google.protobuf.UnknownFieldSet unknownFields) {
@@ -13482,13 +15374,12 @@ public final Builder mergeUnknownFields(
         return super.mergeUnknownFields(unknownFields);
       }
 
+
       // @@protoc_insertion_point(builder_scope:google.storagetransfer.v1.AgentPool)
     }
 
     // @@protoc_insertion_point(class_scope:google.storagetransfer.v1.AgentPool)
-    private static final com.google.storagetransfer.v1.proto.TransferTypes.AgentPool
-        DEFAULT_INSTANCE;
-
+    private static final com.google.storagetransfer.v1.proto.TransferTypes.AgentPool DEFAULT_INSTANCE;
     static {
       DEFAULT_INSTANCE = new com.google.storagetransfer.v1.proto.TransferTypes.AgentPool();
     }
@@ -13497,16 +15388,16 @@ public static com.google.storagetransfer.v1.proto.TransferTypes.AgentPool getDef
       return DEFAULT_INSTANCE;
     }
 
-    private static final com.google.protobuf.Parser PARSER =
-        new com.google.protobuf.AbstractParser() {
-          @java.lang.Override
-          public AgentPool parsePartialFrom(
-              com.google.protobuf.CodedInputStream input,
-              com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-              throws com.google.protobuf.InvalidProtocolBufferException {
-            return new AgentPool(input, extensionRegistry);
-          }
-        };
+    private static final com.google.protobuf.Parser
+        PARSER = new com.google.protobuf.AbstractParser() {
+      @java.lang.Override
+      public AgentPool parsePartialFrom(
+          com.google.protobuf.CodedInputStream input,
+          com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+          throws com.google.protobuf.InvalidProtocolBufferException {
+        return new AgentPool(input, extensionRegistry);
+      }
+    };
 
     public static com.google.protobuf.Parser parser() {
       return PARSER;
@@ -13521,16 +15412,14 @@ public com.google.protobuf.Parser getParserForType() {
     public com.google.storagetransfer.v1.proto.TransferTypes.AgentPool getDefaultInstanceForType() {
       return DEFAULT_INSTANCE;
     }
+
   }
 
-  public interface TransferOptionsOrBuilder
-      extends
+  public interface TransferOptionsOrBuilder extends
       // @@protoc_insertion_point(interface_extends:google.storagetransfer.v1.TransferOptions)
       com.google.protobuf.MessageOrBuilder {
 
     /**
-     *
-     *
      * 
      * When to overwrite objects that already exist in the sink. The default is
      * that only objects that are different from the source are ovewritten. If
@@ -13539,14 +15428,11 @@ public interface TransferOptionsOrBuilder
      * 
* * bool overwrite_objects_already_existing_in_sink = 1; - * * @return The overwriteObjectsAlreadyExistingInSink. */ boolean getOverwriteObjectsAlreadyExistingInSink(); /** - * - * *
      * Whether objects that exist only in the sink should be deleted.
      * **Note:** This option and [delete_objects_from_source_after_transfer][google.storagetransfer.v1.TransferOptions.delete_objects_from_source_after_transfer] are
@@ -13554,14 +15440,11 @@ public interface TransferOptionsOrBuilder
      * 
* * bool delete_objects_unique_in_sink = 2; - * * @return The deleteObjectsUniqueInSink. */ boolean getDeleteObjectsUniqueInSink(); /** - * - * *
      * Whether objects should be deleted from the source after they are
      * transferred to the sink.
@@ -13570,114 +15453,92 @@ public interface TransferOptionsOrBuilder
      * 
* * bool delete_objects_from_source_after_transfer = 3; - * * @return The deleteObjectsFromSourceAfterTransfer. */ boolean getDeleteObjectsFromSourceAfterTransfer(); /** - * - * *
-     * When to overwrite objects that already exist in the sink. If not set
+     * When to overwrite objects that already exist in the sink. If not set,
      * overwrite behavior is determined by
      * [overwrite_objects_already_existing_in_sink][google.storagetransfer.v1.TransferOptions.overwrite_objects_already_existing_in_sink].
      * 
* * .google.storagetransfer.v1.TransferOptions.OverwriteWhen overwrite_when = 4; - * * @return The enum numeric value on the wire for overwriteWhen. */ int getOverwriteWhenValue(); /** - * - * *
-     * When to overwrite objects that already exist in the sink. If not set
+     * When to overwrite objects that already exist in the sink. If not set,
      * overwrite behavior is determined by
      * [overwrite_objects_already_existing_in_sink][google.storagetransfer.v1.TransferOptions.overwrite_objects_already_existing_in_sink].
      * 
* * .google.storagetransfer.v1.TransferOptions.OverwriteWhen overwrite_when = 4; - * * @return The overwriteWhen. */ - com.google.storagetransfer.v1.proto.TransferTypes.TransferOptions.OverwriteWhen - getOverwriteWhen(); + com.google.storagetransfer.v1.proto.TransferTypes.TransferOptions.OverwriteWhen getOverwriteWhen(); /** - * - * *
-     * Represents the selected metadata options for a transfer job. This feature
-     * is in Preview.
+     * Represents the selected metadata options for a transfer job.
      * 
* * .google.storagetransfer.v1.MetadataOptions metadata_options = 5; - * * @return Whether the metadataOptions field is set. */ boolean hasMetadataOptions(); /** - * - * *
-     * Represents the selected metadata options for a transfer job. This feature
-     * is in Preview.
+     * Represents the selected metadata options for a transfer job.
      * 
* * .google.storagetransfer.v1.MetadataOptions metadata_options = 5; - * * @return The metadataOptions. */ com.google.storagetransfer.v1.proto.TransferTypes.MetadataOptions getMetadataOptions(); /** - * - * *
-     * Represents the selected metadata options for a transfer job. This feature
-     * is in Preview.
+     * Represents the selected metadata options for a transfer job.
      * 
* * .google.storagetransfer.v1.MetadataOptions metadata_options = 5; */ - com.google.storagetransfer.v1.proto.TransferTypes.MetadataOptionsOrBuilder - getMetadataOptionsOrBuilder(); + com.google.storagetransfer.v1.proto.TransferTypes.MetadataOptionsOrBuilder getMetadataOptionsOrBuilder(); } /** - * - * *
    * TransferOptions define the actions to be performed on objects in a transfer.
    * 
* * Protobuf type {@code google.storagetransfer.v1.TransferOptions} */ - public static final class TransferOptions extends com.google.protobuf.GeneratedMessageV3 - implements + public static final class TransferOptions extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.storagetransfer.v1.TransferOptions) TransferOptionsOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use TransferOptions.newBuilder() to construct. private TransferOptions(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private TransferOptions() { overwriteWhen_ = 0; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new TransferOptions(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private TransferOptions( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -13696,53 +15557,47 @@ private TransferOptions( case 0: done = true; break; - case 8: - { - overwriteObjectsAlreadyExistingInSink_ = input.readBool(); - break; - } - case 16: - { - deleteObjectsUniqueInSink_ = input.readBool(); - break; - } - case 24: - { - deleteObjectsFromSourceAfterTransfer_ = input.readBool(); - break; - } - case 32: - { - int rawValue = input.readEnum(); + case 8: { - overwriteWhen_ = rawValue; - break; - } - case 42: - { - com.google.storagetransfer.v1.proto.TransferTypes.MetadataOptions.Builder - subBuilder = null; - if (metadataOptions_ != null) { - subBuilder = metadataOptions_.toBuilder(); - } - metadataOptions_ = - input.readMessage( - com.google.storagetransfer.v1.proto.TransferTypes.MetadataOptions.parser(), - extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(metadataOptions_); - metadataOptions_ = subBuilder.buildPartial(); - } + overwriteObjectsAlreadyExistingInSink_ = input.readBool(); + break; + } + case 16: { - break; + deleteObjectsUniqueInSink_ = input.readBool(); + break; + } + case 24: { + + deleteObjectsFromSourceAfterTransfer_ = input.readBool(); + break; + } + case 32: { + int rawValue = input.readEnum(); + + overwriteWhen_ = rawValue; + break; + } + case 42: { + com.google.storagetransfer.v1.proto.TransferTypes.MetadataOptions.Builder subBuilder = null; + if (metadataOptions_ != null) { + subBuilder = metadataOptions_.toBuilder(); } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + metadataOptions_ = input.readMessage(com.google.storagetransfer.v1.proto.TransferTypes.MetadataOptions.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(metadataOptions_); + metadataOptions_ = subBuilder.buildPartial(); } + + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -13750,31 +15605,27 @@ private TransferOptions( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.storagetransfer.v1.proto.TransferTypes - .internal_static_google_storagetransfer_v1_TransferOptions_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.storagetransfer.v1.proto.TransferTypes.internal_static_google_storagetransfer_v1_TransferOptions_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.storagetransfer.v1.proto.TransferTypes - .internal_static_google_storagetransfer_v1_TransferOptions_fieldAccessorTable + return com.google.storagetransfer.v1.proto.TransferTypes.internal_static_google_storagetransfer_v1_TransferOptions_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.storagetransfer.v1.proto.TransferTypes.TransferOptions.class, - com.google.storagetransfer.v1.proto.TransferTypes.TransferOptions.Builder.class); + com.google.storagetransfer.v1.proto.TransferTypes.TransferOptions.class, com.google.storagetransfer.v1.proto.TransferTypes.TransferOptions.Builder.class); } /** - * - * *
      * Specifies when to overwrite an object in the sink when an object with
      * matching name is found in the source.
@@ -13782,43 +15633,38 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
      *
      * Protobuf enum {@code google.storagetransfer.v1.TransferOptions.OverwriteWhen}
      */
-    public enum OverwriteWhen implements com.google.protobuf.ProtocolMessageEnum {
+    public enum OverwriteWhen
+        implements com.google.protobuf.ProtocolMessageEnum {
       /**
-       *
-       *
        * 
-       * Indicate the option is not set.
+       * Overwrite behavior is unspecified.
        * 
* * OVERWRITE_WHEN_UNSPECIFIED = 0; */ OVERWRITE_WHEN_UNSPECIFIED(0), /** - * - * *
-       * Overwrite destination object with source if the two objects are
-       * different.
+       * Overwrites destination objects with the source objects, only if the
+       * objects have the same name but different HTTP ETags or checksum values.
        * 
* * DIFFERENT = 1; */ DIFFERENT(1), /** - * - * *
-       * Never overwrite destination object.
+       * Never overwrites a destination object if a source object has the
+       * same name. In this case, the source object is not transferred.
        * 
* * NEVER = 2; */ NEVER(2), /** - * - * *
-       * Always overwrite destination object.
+       * Always overwrite the destination object with the source object, even if
+       * the HTTP Etags or checksum values are the same.
        * 
* * ALWAYS = 3; @@ -13828,47 +15674,42 @@ public enum OverwriteWhen implements com.google.protobuf.ProtocolMessageEnum { ; /** - * - * *
-       * Indicate the option is not set.
+       * Overwrite behavior is unspecified.
        * 
* * OVERWRITE_WHEN_UNSPECIFIED = 0; */ public static final int OVERWRITE_WHEN_UNSPECIFIED_VALUE = 0; /** - * - * *
-       * Overwrite destination object with source if the two objects are
-       * different.
+       * Overwrites destination objects with the source objects, only if the
+       * objects have the same name but different HTTP ETags or checksum values.
        * 
* * DIFFERENT = 1; */ public static final int DIFFERENT_VALUE = 1; /** - * - * *
-       * Never overwrite destination object.
+       * Never overwrites a destination object if a source object has the
+       * same name. In this case, the source object is not transferred.
        * 
* * NEVER = 2; */ public static final int NEVER_VALUE = 2; /** - * - * *
-       * Always overwrite destination object.
+       * Always overwrite the destination object with the source object, even if
+       * the HTTP Etags or checksum values are the same.
        * 
* * ALWAYS = 3; */ public static final int ALWAYS_VALUE = 3; + public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -13893,47 +15734,41 @@ public static OverwriteWhen valueOf(int value) { */ public static OverwriteWhen forNumber(int value) { switch (value) { - case 0: - return OVERWRITE_WHEN_UNSPECIFIED; - case 1: - return DIFFERENT; - case 2: - return NEVER; - case 3: - return ALWAYS; - default: - return null; + case 0: return OVERWRITE_WHEN_UNSPECIFIED; + case 1: return DIFFERENT; + case 2: return NEVER; + case 3: return ALWAYS; + default: return null; } } - public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() { + public static com.google.protobuf.Internal.EnumLiteMap + internalGetValueMap() { return internalValueMap; } + private static final com.google.protobuf.Internal.EnumLiteMap< + OverwriteWhen> internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap() { + public OverwriteWhen findValueByNumber(int number) { + return OverwriteWhen.forNumber(number); + } + }; - private static final com.google.protobuf.Internal.EnumLiteMap - internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public OverwriteWhen findValueByNumber(int number) { - return OverwriteWhen.forNumber(number); - } - }; - - public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() { + public final com.google.protobuf.Descriptors.EnumValueDescriptor + getValueDescriptor() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalStateException( "Can't get the descriptor of an unrecognized enum value."); } return getDescriptor().getValues().get(ordinal()); } - - public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() { + public final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptorForType() { return getDescriptor(); } - - public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { - return com.google.storagetransfer.v1.proto.TransferTypes.TransferOptions.getDescriptor() - .getEnumTypes() - .get(0); + public static final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptor() { + return com.google.storagetransfer.v1.proto.TransferTypes.TransferOptions.getDescriptor().getEnumTypes().get(0); } private static final OverwriteWhen[] VALUES = values(); @@ -13941,7 +15776,8 @@ public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor public static OverwriteWhen valueOf( com.google.protobuf.Descriptors.EnumValueDescriptor desc) { if (desc.getType() != getDescriptor()) { - throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type."); + throw new java.lang.IllegalArgumentException( + "EnumValueDescriptor is not for this type."); } if (desc.getIndex() == -1) { return UNRECOGNIZED; @@ -13961,8 +15797,6 @@ private OverwriteWhen(int value) { public static final int OVERWRITE_OBJECTS_ALREADY_EXISTING_IN_SINK_FIELD_NUMBER = 1; private boolean overwriteObjectsAlreadyExistingInSink_; /** - * - * *
      * When to overwrite objects that already exist in the sink. The default is
      * that only objects that are different from the source are ovewritten. If
@@ -13971,7 +15805,6 @@ private OverwriteWhen(int value) {
      * 
* * bool overwrite_objects_already_existing_in_sink = 1; - * * @return The overwriteObjectsAlreadyExistingInSink. */ @java.lang.Override @@ -13982,8 +15815,6 @@ public boolean getOverwriteObjectsAlreadyExistingInSink() { public static final int DELETE_OBJECTS_UNIQUE_IN_SINK_FIELD_NUMBER = 2; private boolean deleteObjectsUniqueInSink_; /** - * - * *
      * Whether objects that exist only in the sink should be deleted.
      * **Note:** This option and [delete_objects_from_source_after_transfer][google.storagetransfer.v1.TransferOptions.delete_objects_from_source_after_transfer] are
@@ -13991,7 +15822,6 @@ public boolean getOverwriteObjectsAlreadyExistingInSink() {
      * 
* * bool delete_objects_unique_in_sink = 2; - * * @return The deleteObjectsUniqueInSink. */ @java.lang.Override @@ -14002,8 +15832,6 @@ public boolean getDeleteObjectsUniqueInSink() { public static final int DELETE_OBJECTS_FROM_SOURCE_AFTER_TRANSFER_FIELD_NUMBER = 3; private boolean deleteObjectsFromSourceAfterTransfer_; /** - * - * *
      * Whether objects should be deleted from the source after they are
      * transferred to the sink.
@@ -14012,7 +15840,6 @@ public boolean getDeleteObjectsUniqueInSink() {
      * 
* * bool delete_objects_from_source_after_transfer = 3; - * * @return The deleteObjectsFromSourceAfterTransfer. */ @java.lang.Override @@ -14023,60 +15850,42 @@ public boolean getDeleteObjectsFromSourceAfterTransfer() { public static final int OVERWRITE_WHEN_FIELD_NUMBER = 4; private int overwriteWhen_; /** - * - * *
-     * When to overwrite objects that already exist in the sink. If not set
+     * When to overwrite objects that already exist in the sink. If not set,
      * overwrite behavior is determined by
      * [overwrite_objects_already_existing_in_sink][google.storagetransfer.v1.TransferOptions.overwrite_objects_already_existing_in_sink].
      * 
* * .google.storagetransfer.v1.TransferOptions.OverwriteWhen overwrite_when = 4; - * * @return The enum numeric value on the wire for overwriteWhen. */ - @java.lang.Override - public int getOverwriteWhenValue() { + @java.lang.Override public int getOverwriteWhenValue() { return overwriteWhen_; } /** - * - * *
-     * When to overwrite objects that already exist in the sink. If not set
+     * When to overwrite objects that already exist in the sink. If not set,
      * overwrite behavior is determined by
      * [overwrite_objects_already_existing_in_sink][google.storagetransfer.v1.TransferOptions.overwrite_objects_already_existing_in_sink].
      * 
* * .google.storagetransfer.v1.TransferOptions.OverwriteWhen overwrite_when = 4; - * * @return The overwriteWhen. */ - @java.lang.Override - public com.google.storagetransfer.v1.proto.TransferTypes.TransferOptions.OverwriteWhen - getOverwriteWhen() { + @java.lang.Override public com.google.storagetransfer.v1.proto.TransferTypes.TransferOptions.OverwriteWhen getOverwriteWhen() { @SuppressWarnings("deprecation") - com.google.storagetransfer.v1.proto.TransferTypes.TransferOptions.OverwriteWhen result = - com.google.storagetransfer.v1.proto.TransferTypes.TransferOptions.OverwriteWhen.valueOf( - overwriteWhen_); - return result == null - ? com.google.storagetransfer.v1.proto.TransferTypes.TransferOptions.OverwriteWhen - .UNRECOGNIZED - : result; + com.google.storagetransfer.v1.proto.TransferTypes.TransferOptions.OverwriteWhen result = com.google.storagetransfer.v1.proto.TransferTypes.TransferOptions.OverwriteWhen.valueOf(overwriteWhen_); + return result == null ? com.google.storagetransfer.v1.proto.TransferTypes.TransferOptions.OverwriteWhen.UNRECOGNIZED : result; } public static final int METADATA_OPTIONS_FIELD_NUMBER = 5; private com.google.storagetransfer.v1.proto.TransferTypes.MetadataOptions metadataOptions_; /** - * - * *
-     * Represents the selected metadata options for a transfer job. This feature
-     * is in Preview.
+     * Represents the selected metadata options for a transfer job.
      * 
* * .google.storagetransfer.v1.MetadataOptions metadata_options = 5; - * * @return Whether the metadataOptions field is set. */ @java.lang.Override @@ -14084,41 +15893,30 @@ public boolean hasMetadataOptions() { return metadataOptions_ != null; } /** - * - * *
-     * Represents the selected metadata options for a transfer job. This feature
-     * is in Preview.
+     * Represents the selected metadata options for a transfer job.
      * 
* * .google.storagetransfer.v1.MetadataOptions metadata_options = 5; - * * @return The metadataOptions. */ @java.lang.Override public com.google.storagetransfer.v1.proto.TransferTypes.MetadataOptions getMetadataOptions() { - return metadataOptions_ == null - ? com.google.storagetransfer.v1.proto.TransferTypes.MetadataOptions.getDefaultInstance() - : metadataOptions_; + return metadataOptions_ == null ? com.google.storagetransfer.v1.proto.TransferTypes.MetadataOptions.getDefaultInstance() : metadataOptions_; } /** - * - * *
-     * Represents the selected metadata options for a transfer job. This feature
-     * is in Preview.
+     * Represents the selected metadata options for a transfer job.
      * 
* * .google.storagetransfer.v1.MetadataOptions metadata_options = 5; */ @java.lang.Override - public com.google.storagetransfer.v1.proto.TransferTypes.MetadataOptionsOrBuilder - getMetadataOptionsOrBuilder() { + public com.google.storagetransfer.v1.proto.TransferTypes.MetadataOptionsOrBuilder getMetadataOptionsOrBuilder() { return getMetadataOptions(); } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -14130,7 +15928,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 (overwriteObjectsAlreadyExistingInSink_ != false) { output.writeBool(1, overwriteObjectsAlreadyExistingInSink_); } @@ -14140,10 +15939,7 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io if (deleteObjectsFromSourceAfterTransfer_ != false) { output.writeBool(3, deleteObjectsFromSourceAfterTransfer_); } - if (overwriteWhen_ - != com.google.storagetransfer.v1.proto.TransferTypes.TransferOptions.OverwriteWhen - .OVERWRITE_WHEN_UNSPECIFIED - .getNumber()) { + if (overwriteWhen_ != com.google.storagetransfer.v1.proto.TransferTypes.TransferOptions.OverwriteWhen.OVERWRITE_WHEN_UNSPECIFIED.getNumber()) { output.writeEnum(4, overwriteWhen_); } if (metadataOptions_ != null) { @@ -14159,27 +15955,24 @@ public int getSerializedSize() { size = 0; if (overwriteObjectsAlreadyExistingInSink_ != false) { - size += - com.google.protobuf.CodedOutputStream.computeBoolSize( - 1, overwriteObjectsAlreadyExistingInSink_); + size += com.google.protobuf.CodedOutputStream + .computeBoolSize(1, overwriteObjectsAlreadyExistingInSink_); } if (deleteObjectsUniqueInSink_ != false) { - size += - com.google.protobuf.CodedOutputStream.computeBoolSize(2, deleteObjectsUniqueInSink_); + size += com.google.protobuf.CodedOutputStream + .computeBoolSize(2, deleteObjectsUniqueInSink_); } if (deleteObjectsFromSourceAfterTransfer_ != false) { - size += - com.google.protobuf.CodedOutputStream.computeBoolSize( - 3, deleteObjectsFromSourceAfterTransfer_); + size += com.google.protobuf.CodedOutputStream + .computeBoolSize(3, deleteObjectsFromSourceAfterTransfer_); } - if (overwriteWhen_ - != com.google.storagetransfer.v1.proto.TransferTypes.TransferOptions.OverwriteWhen - .OVERWRITE_WHEN_UNSPECIFIED - .getNumber()) { - size += com.google.protobuf.CodedOutputStream.computeEnumSize(4, overwriteWhen_); + if (overwriteWhen_ != com.google.storagetransfer.v1.proto.TransferTypes.TransferOptions.OverwriteWhen.OVERWRITE_WHEN_UNSPECIFIED.getNumber()) { + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(4, overwriteWhen_); } if (metadataOptions_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(5, getMetadataOptions()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(5, getMetadataOptions()); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -14189,23 +15982,24 @@ 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.storagetransfer.v1.proto.TransferTypes.TransferOptions)) { return super.equals(obj); } - com.google.storagetransfer.v1.proto.TransferTypes.TransferOptions other = - (com.google.storagetransfer.v1.proto.TransferTypes.TransferOptions) obj; + com.google.storagetransfer.v1.proto.TransferTypes.TransferOptions other = (com.google.storagetransfer.v1.proto.TransferTypes.TransferOptions) obj; if (getOverwriteObjectsAlreadyExistingInSink() != other.getOverwriteObjectsAlreadyExistingInSink()) return false; - if (getDeleteObjectsUniqueInSink() != other.getDeleteObjectsUniqueInSink()) return false; + if (getDeleteObjectsUniqueInSink() + != other.getDeleteObjectsUniqueInSink()) return false; if (getDeleteObjectsFromSourceAfterTransfer() != other.getDeleteObjectsFromSourceAfterTransfer()) return false; if (overwriteWhen_ != other.overwriteWhen_) return false; if (hasMetadataOptions() != other.hasMetadataOptions()) return false; if (hasMetadataOptions()) { - if (!getMetadataOptions().equals(other.getMetadataOptions())) return false; + if (!getMetadataOptions() + .equals(other.getMetadataOptions())) return false; } if (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -14219,16 +16013,14 @@ public int hashCode() { int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); hash = (37 * hash) + OVERWRITE_OBJECTS_ALREADY_EXISTING_IN_SINK_FIELD_NUMBER; - hash = - (53 * hash) - + com.google.protobuf.Internal.hashBoolean( - getOverwriteObjectsAlreadyExistingInSink()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( + getOverwriteObjectsAlreadyExistingInSink()); hash = (37 * hash) + DELETE_OBJECTS_UNIQUE_IN_SINK_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getDeleteObjectsUniqueInSink()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( + getDeleteObjectsUniqueInSink()); hash = (37 * hash) + DELETE_OBJECTS_FROM_SOURCE_AFTER_TRANSFER_FIELD_NUMBER; - hash = - (53 * hash) - + com.google.protobuf.Internal.hashBoolean(getDeleteObjectsFromSourceAfterTransfer()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( + getDeleteObjectsFromSourceAfterTransfer()); hash = (37 * hash) + OVERWRITE_WHEN_FIELD_NUMBER; hash = (53 * hash) + overwriteWhen_; if (hasMetadataOptions()) { @@ -14241,95 +16033,87 @@ public int hashCode() { } public static com.google.storagetransfer.v1.proto.TransferTypes.TransferOptions parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.storagetransfer.v1.proto.TransferTypes.TransferOptions 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.storagetransfer.v1.proto.TransferTypes.TransferOptions parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.storagetransfer.v1.proto.TransferTypes.TransferOptions 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.storagetransfer.v1.proto.TransferTypes.TransferOptions parseFrom( - byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.storagetransfer.v1.proto.TransferTypes.TransferOptions parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.storagetransfer.v1.proto.TransferTypes.TransferOptions 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.storagetransfer.v1.proto.TransferTypes.TransferOptions parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.storagetransfer.v1.proto.TransferTypes.TransferOptions parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.storagetransfer.v1.proto.TransferTypes.TransferOptions 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.storagetransfer.v1.proto.TransferTypes.TransferOptions - parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.storagetransfer.v1.proto.TransferTypes.TransferOptions parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - - public static com.google.storagetransfer.v1.proto.TransferTypes.TransferOptions - parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + public static com.google.storagetransfer.v1.proto.TransferTypes.TransferOptions parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.storagetransfer.v1.proto.TransferTypes.TransferOptions 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.storagetransfer.v1.proto.TransferTypes.TransferOptions 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.storagetransfer.v1.proto.TransferTypes.TransferOptions prototype) { + public static Builder newBuilder(com.google.storagetransfer.v1.proto.TransferTypes.TransferOptions 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 @@ -14339,49 +16123,44 @@ protected Builder newBuilderForType( return builder; } /** - * - * *
      * TransferOptions define the actions to be performed on objects in a transfer.
      * 
* * Protobuf type {@code google.storagetransfer.v1.TransferOptions} */ - public static final class Builder - extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.storagetransfer.v1.TransferOptions) com.google.storagetransfer.v1.proto.TransferTypes.TransferOptionsOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.storagetransfer.v1.proto.TransferTypes - .internal_static_google_storagetransfer_v1_TransferOptions_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.storagetransfer.v1.proto.TransferTypes.internal_static_google_storagetransfer_v1_TransferOptions_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.storagetransfer.v1.proto.TransferTypes - .internal_static_google_storagetransfer_v1_TransferOptions_fieldAccessorTable + return com.google.storagetransfer.v1.proto.TransferTypes.internal_static_google_storagetransfer_v1_TransferOptions_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.storagetransfer.v1.proto.TransferTypes.TransferOptions.class, - com.google.storagetransfer.v1.proto.TransferTypes.TransferOptions.Builder.class); + com.google.storagetransfer.v1.proto.TransferTypes.TransferOptions.class, com.google.storagetransfer.v1.proto.TransferTypes.TransferOptions.Builder.class); } - // Construct using - // com.google.storagetransfer.v1.proto.TransferTypes.TransferOptions.newBuilder() + // Construct using com.google.storagetransfer.v1.proto.TransferTypes.TransferOptions.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -14403,16 +16182,14 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.storagetransfer.v1.proto.TransferTypes - .internal_static_google_storagetransfer_v1_TransferOptions_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.storagetransfer.v1.proto.TransferTypes.internal_static_google_storagetransfer_v1_TransferOptions_descriptor; } @java.lang.Override - public com.google.storagetransfer.v1.proto.TransferTypes.TransferOptions - getDefaultInstanceForType() { - return com.google.storagetransfer.v1.proto.TransferTypes.TransferOptions - .getDefaultInstance(); + public com.google.storagetransfer.v1.proto.TransferTypes.TransferOptions getDefaultInstanceForType() { + return com.google.storagetransfer.v1.proto.TransferTypes.TransferOptions.getDefaultInstance(); } @java.lang.Override @@ -14426,8 +16203,7 @@ public com.google.storagetransfer.v1.proto.TransferTypes.TransferOptions build() @java.lang.Override public com.google.storagetransfer.v1.proto.TransferTypes.TransferOptions buildPartial() { - com.google.storagetransfer.v1.proto.TransferTypes.TransferOptions result = - new com.google.storagetransfer.v1.proto.TransferTypes.TransferOptions(this); + com.google.storagetransfer.v1.proto.TransferTypes.TransferOptions result = new com.google.storagetransfer.v1.proto.TransferTypes.TransferOptions(this); result.overwriteObjectsAlreadyExistingInSink_ = overwriteObjectsAlreadyExistingInSink_; result.deleteObjectsUniqueInSink_ = deleteObjectsUniqueInSink_; result.deleteObjectsFromSourceAfterTransfer_ = deleteObjectsFromSourceAfterTransfer_; @@ -14445,56 +16221,48 @@ public com.google.storagetransfer.v1.proto.TransferTypes.TransferOptions buildPa public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, - int index, - java.lang.Object value) { + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.storagetransfer.v1.proto.TransferTypes.TransferOptions) { - return mergeFrom( - (com.google.storagetransfer.v1.proto.TransferTypes.TransferOptions) other); + return mergeFrom((com.google.storagetransfer.v1.proto.TransferTypes.TransferOptions)other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom( - com.google.storagetransfer.v1.proto.TransferTypes.TransferOptions other) { - if (other - == com.google.storagetransfer.v1.proto.TransferTypes.TransferOptions - .getDefaultInstance()) return this; + public Builder mergeFrom(com.google.storagetransfer.v1.proto.TransferTypes.TransferOptions other) { + if (other == com.google.storagetransfer.v1.proto.TransferTypes.TransferOptions.getDefaultInstance()) return this; if (other.getOverwriteObjectsAlreadyExistingInSink() != false) { - setOverwriteObjectsAlreadyExistingInSink( - other.getOverwriteObjectsAlreadyExistingInSink()); + setOverwriteObjectsAlreadyExistingInSink(other.getOverwriteObjectsAlreadyExistingInSink()); } if (other.getDeleteObjectsUniqueInSink() != false) { setDeleteObjectsUniqueInSink(other.getDeleteObjectsUniqueInSink()); @@ -14527,9 +16295,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.storagetransfer.v1.proto.TransferTypes.TransferOptions) - e.getUnfinishedMessage(); + parsedMessage = (com.google.storagetransfer.v1.proto.TransferTypes.TransferOptions) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -14539,10 +16305,8 @@ public Builder mergeFrom( return this; } - private boolean overwriteObjectsAlreadyExistingInSink_; + private boolean overwriteObjectsAlreadyExistingInSink_ ; /** - * - * *
        * When to overwrite objects that already exist in the sink. The default is
        * that only objects that are different from the source are ovewritten. If
@@ -14551,7 +16315,6 @@ public Builder mergeFrom(
        * 
* * bool overwrite_objects_already_existing_in_sink = 1; - * * @return The overwriteObjectsAlreadyExistingInSink. */ @java.lang.Override @@ -14559,8 +16322,6 @@ public boolean getOverwriteObjectsAlreadyExistingInSink() { return overwriteObjectsAlreadyExistingInSink_; } /** - * - * *
        * When to overwrite objects that already exist in the sink. The default is
        * that only objects that are different from the source are ovewritten. If
@@ -14569,19 +16330,16 @@ public boolean getOverwriteObjectsAlreadyExistingInSink() {
        * 
* * bool overwrite_objects_already_existing_in_sink = 1; - * * @param value The overwriteObjectsAlreadyExistingInSink to set. * @return This builder for chaining. */ public Builder setOverwriteObjectsAlreadyExistingInSink(boolean value) { - + overwriteObjectsAlreadyExistingInSink_ = value; onChanged(); return this; } /** - * - * *
        * When to overwrite objects that already exist in the sink. The default is
        * that only objects that are different from the source are ovewritten. If
@@ -14590,20 +16348,17 @@ public Builder setOverwriteObjectsAlreadyExistingInSink(boolean value) {
        * 
* * bool overwrite_objects_already_existing_in_sink = 1; - * * @return This builder for chaining. */ public Builder clearOverwriteObjectsAlreadyExistingInSink() { - + overwriteObjectsAlreadyExistingInSink_ = false; onChanged(); return this; } - private boolean deleteObjectsUniqueInSink_; + private boolean deleteObjectsUniqueInSink_ ; /** - * - * *
        * Whether objects that exist only in the sink should be deleted.
        * **Note:** This option and [delete_objects_from_source_after_transfer][google.storagetransfer.v1.TransferOptions.delete_objects_from_source_after_transfer] are
@@ -14611,7 +16366,6 @@ public Builder clearOverwriteObjectsAlreadyExistingInSink() {
        * 
* * bool delete_objects_unique_in_sink = 2; - * * @return The deleteObjectsUniqueInSink. */ @java.lang.Override @@ -14619,8 +16373,6 @@ public boolean getDeleteObjectsUniqueInSink() { return deleteObjectsUniqueInSink_; } /** - * - * *
        * Whether objects that exist only in the sink should be deleted.
        * **Note:** This option and [delete_objects_from_source_after_transfer][google.storagetransfer.v1.TransferOptions.delete_objects_from_source_after_transfer] are
@@ -14628,19 +16380,16 @@ public boolean getDeleteObjectsUniqueInSink() {
        * 
* * bool delete_objects_unique_in_sink = 2; - * * @param value The deleteObjectsUniqueInSink to set. * @return This builder for chaining. */ public Builder setDeleteObjectsUniqueInSink(boolean value) { - + deleteObjectsUniqueInSink_ = value; onChanged(); return this; } /** - * - * *
        * Whether objects that exist only in the sink should be deleted.
        * **Note:** This option and [delete_objects_from_source_after_transfer][google.storagetransfer.v1.TransferOptions.delete_objects_from_source_after_transfer] are
@@ -14648,20 +16397,17 @@ public Builder setDeleteObjectsUniqueInSink(boolean value) {
        * 
* * bool delete_objects_unique_in_sink = 2; - * * @return This builder for chaining. */ public Builder clearDeleteObjectsUniqueInSink() { - + deleteObjectsUniqueInSink_ = false; onChanged(); return this; } - private boolean deleteObjectsFromSourceAfterTransfer_; + private boolean deleteObjectsFromSourceAfterTransfer_ ; /** - * - * *
        * Whether objects should be deleted from the source after they are
        * transferred to the sink.
@@ -14670,7 +16416,6 @@ public Builder clearDeleteObjectsUniqueInSink() {
        * 
* * bool delete_objects_from_source_after_transfer = 3; - * * @return The deleteObjectsFromSourceAfterTransfer. */ @java.lang.Override @@ -14678,8 +16423,6 @@ public boolean getDeleteObjectsFromSourceAfterTransfer() { return deleteObjectsFromSourceAfterTransfer_; } /** - * - * *
        * Whether objects should be deleted from the source after they are
        * transferred to the sink.
@@ -14688,19 +16431,16 @@ public boolean getDeleteObjectsFromSourceAfterTransfer() {
        * 
* * bool delete_objects_from_source_after_transfer = 3; - * * @param value The deleteObjectsFromSourceAfterTransfer to set. * @return This builder for chaining. */ public Builder setDeleteObjectsFromSourceAfterTransfer(boolean value) { - + deleteObjectsFromSourceAfterTransfer_ = value; onChanged(); return this; } /** - * - * *
        * Whether objects should be deleted from the source after they are
        * transferred to the sink.
@@ -14709,11 +16449,10 @@ public Builder setDeleteObjectsFromSourceAfterTransfer(boolean value) {
        * 
* * bool delete_objects_from_source_after_transfer = 3; - * * @return This builder for chaining. */ public Builder clearDeleteObjectsFromSourceAfterTransfer() { - + deleteObjectsFromSourceAfterTransfer_ = false; onChanged(); return this; @@ -14721,106 +16460,83 @@ public Builder clearDeleteObjectsFromSourceAfterTransfer() { private int overwriteWhen_ = 0; /** - * - * *
-       * When to overwrite objects that already exist in the sink. If not set
+       * When to overwrite objects that already exist in the sink. If not set,
        * overwrite behavior is determined by
        * [overwrite_objects_already_existing_in_sink][google.storagetransfer.v1.TransferOptions.overwrite_objects_already_existing_in_sink].
        * 
* * .google.storagetransfer.v1.TransferOptions.OverwriteWhen overwrite_when = 4; - * * @return The enum numeric value on the wire for overwriteWhen. */ - @java.lang.Override - public int getOverwriteWhenValue() { + @java.lang.Override public int getOverwriteWhenValue() { return overwriteWhen_; } /** - * - * *
-       * When to overwrite objects that already exist in the sink. If not set
+       * When to overwrite objects that already exist in the sink. If not set,
        * overwrite behavior is determined by
        * [overwrite_objects_already_existing_in_sink][google.storagetransfer.v1.TransferOptions.overwrite_objects_already_existing_in_sink].
        * 
* * .google.storagetransfer.v1.TransferOptions.OverwriteWhen overwrite_when = 4; - * * @param value The enum numeric value on the wire for overwriteWhen to set. * @return This builder for chaining. */ public Builder setOverwriteWhenValue(int value) { - + overwriteWhen_ = value; onChanged(); return this; } /** - * - * *
-       * When to overwrite objects that already exist in the sink. If not set
+       * When to overwrite objects that already exist in the sink. If not set,
        * overwrite behavior is determined by
        * [overwrite_objects_already_existing_in_sink][google.storagetransfer.v1.TransferOptions.overwrite_objects_already_existing_in_sink].
        * 
* * .google.storagetransfer.v1.TransferOptions.OverwriteWhen overwrite_when = 4; - * * @return The overwriteWhen. */ @java.lang.Override - public com.google.storagetransfer.v1.proto.TransferTypes.TransferOptions.OverwriteWhen - getOverwriteWhen() { + public com.google.storagetransfer.v1.proto.TransferTypes.TransferOptions.OverwriteWhen getOverwriteWhen() { @SuppressWarnings("deprecation") - com.google.storagetransfer.v1.proto.TransferTypes.TransferOptions.OverwriteWhen result = - com.google.storagetransfer.v1.proto.TransferTypes.TransferOptions.OverwriteWhen.valueOf( - overwriteWhen_); - return result == null - ? com.google.storagetransfer.v1.proto.TransferTypes.TransferOptions.OverwriteWhen - .UNRECOGNIZED - : result; + com.google.storagetransfer.v1.proto.TransferTypes.TransferOptions.OverwriteWhen result = com.google.storagetransfer.v1.proto.TransferTypes.TransferOptions.OverwriteWhen.valueOf(overwriteWhen_); + return result == null ? com.google.storagetransfer.v1.proto.TransferTypes.TransferOptions.OverwriteWhen.UNRECOGNIZED : result; } /** - * - * *
-       * When to overwrite objects that already exist in the sink. If not set
+       * When to overwrite objects that already exist in the sink. If not set,
        * overwrite behavior is determined by
        * [overwrite_objects_already_existing_in_sink][google.storagetransfer.v1.TransferOptions.overwrite_objects_already_existing_in_sink].
        * 
* * .google.storagetransfer.v1.TransferOptions.OverwriteWhen overwrite_when = 4; - * * @param value The overwriteWhen to set. * @return This builder for chaining. */ - public Builder setOverwriteWhen( - com.google.storagetransfer.v1.proto.TransferTypes.TransferOptions.OverwriteWhen value) { + public Builder setOverwriteWhen(com.google.storagetransfer.v1.proto.TransferTypes.TransferOptions.OverwriteWhen value) { if (value == null) { throw new NullPointerException(); } - + overwriteWhen_ = value.getNumber(); onChanged(); return this; } /** - * - * *
-       * When to overwrite objects that already exist in the sink. If not set
+       * When to overwrite objects that already exist in the sink. If not set,
        * overwrite behavior is determined by
        * [overwrite_objects_already_existing_in_sink][google.storagetransfer.v1.TransferOptions.overwrite_objects_already_existing_in_sink].
        * 
* * .google.storagetransfer.v1.TransferOptions.OverwriteWhen overwrite_when = 4; - * * @return This builder for chaining. */ public Builder clearOverwriteWhen() { - + overwriteWhen_ = 0; onChanged(); return this; @@ -14828,60 +16544,41 @@ public Builder clearOverwriteWhen() { private com.google.storagetransfer.v1.proto.TransferTypes.MetadataOptions metadataOptions_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.storagetransfer.v1.proto.TransferTypes.MetadataOptions, - com.google.storagetransfer.v1.proto.TransferTypes.MetadataOptions.Builder, - com.google.storagetransfer.v1.proto.TransferTypes.MetadataOptionsOrBuilder> - metadataOptionsBuilder_; + com.google.storagetransfer.v1.proto.TransferTypes.MetadataOptions, com.google.storagetransfer.v1.proto.TransferTypes.MetadataOptions.Builder, com.google.storagetransfer.v1.proto.TransferTypes.MetadataOptionsOrBuilder> metadataOptionsBuilder_; /** - * - * *
-       * Represents the selected metadata options for a transfer job. This feature
-       * is in Preview.
+       * Represents the selected metadata options for a transfer job.
        * 
* * .google.storagetransfer.v1.MetadataOptions metadata_options = 5; - * * @return Whether the metadataOptions field is set. */ public boolean hasMetadataOptions() { return metadataOptionsBuilder_ != null || metadataOptions_ != null; } /** - * - * *
-       * Represents the selected metadata options for a transfer job. This feature
-       * is in Preview.
+       * Represents the selected metadata options for a transfer job.
        * 
* * .google.storagetransfer.v1.MetadataOptions metadata_options = 5; - * * @return The metadataOptions. */ - public com.google.storagetransfer.v1.proto.TransferTypes.MetadataOptions - getMetadataOptions() { + public com.google.storagetransfer.v1.proto.TransferTypes.MetadataOptions getMetadataOptions() { if (metadataOptionsBuilder_ == null) { - return metadataOptions_ == null - ? com.google.storagetransfer.v1.proto.TransferTypes.MetadataOptions - .getDefaultInstance() - : metadataOptions_; + return metadataOptions_ == null ? com.google.storagetransfer.v1.proto.TransferTypes.MetadataOptions.getDefaultInstance() : metadataOptions_; } else { return metadataOptionsBuilder_.getMessage(); } } /** - * - * *
-       * Represents the selected metadata options for a transfer job. This feature
-       * is in Preview.
+       * Represents the selected metadata options for a transfer job.
        * 
* * .google.storagetransfer.v1.MetadataOptions metadata_options = 5; */ - public Builder setMetadataOptions( - com.google.storagetransfer.v1.proto.TransferTypes.MetadataOptions value) { + public Builder setMetadataOptions(com.google.storagetransfer.v1.proto.TransferTypes.MetadataOptions value) { if (metadataOptionsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -14895,18 +16592,14 @@ public Builder setMetadataOptions( return this; } /** - * - * *
-       * Represents the selected metadata options for a transfer job. This feature
-       * is in Preview.
+       * Represents the selected metadata options for a transfer job.
        * 
* * .google.storagetransfer.v1.MetadataOptions metadata_options = 5; */ public Builder setMetadataOptions( - com.google.storagetransfer.v1.proto.TransferTypes.MetadataOptions.Builder - builderForValue) { + com.google.storagetransfer.v1.proto.TransferTypes.MetadataOptions.Builder builderForValue) { if (metadataOptionsBuilder_ == null) { metadataOptions_ = builderForValue.build(); onChanged(); @@ -14917,24 +16610,17 @@ public Builder setMetadataOptions( return this; } /** - * - * *
-       * Represents the selected metadata options for a transfer job. This feature
-       * is in Preview.
+       * Represents the selected metadata options for a transfer job.
        * 
* * .google.storagetransfer.v1.MetadataOptions metadata_options = 5; */ - public Builder mergeMetadataOptions( - com.google.storagetransfer.v1.proto.TransferTypes.MetadataOptions value) { + public Builder mergeMetadataOptions(com.google.storagetransfer.v1.proto.TransferTypes.MetadataOptions value) { if (metadataOptionsBuilder_ == null) { if (metadataOptions_ != null) { metadataOptions_ = - com.google.storagetransfer.v1.proto.TransferTypes.MetadataOptions.newBuilder( - metadataOptions_) - .mergeFrom(value) - .buildPartial(); + com.google.storagetransfer.v1.proto.TransferTypes.MetadataOptions.newBuilder(metadataOptions_).mergeFrom(value).buildPartial(); } else { metadataOptions_ = value; } @@ -14946,11 +16632,8 @@ public Builder mergeMetadataOptions( return this; } /** - * - * *
-       * Represents the selected metadata options for a transfer job. This feature
-       * is in Preview.
+       * Represents the selected metadata options for a transfer job.
        * 
* * .google.storagetransfer.v1.MetadataOptions metadata_options = 5; @@ -14967,69 +16650,52 @@ public Builder clearMetadataOptions() { return this; } /** - * - * *
-       * Represents the selected metadata options for a transfer job. This feature
-       * is in Preview.
+       * Represents the selected metadata options for a transfer job.
        * 
* * .google.storagetransfer.v1.MetadataOptions metadata_options = 5; */ - public com.google.storagetransfer.v1.proto.TransferTypes.MetadataOptions.Builder - getMetadataOptionsBuilder() { - + public com.google.storagetransfer.v1.proto.TransferTypes.MetadataOptions.Builder getMetadataOptionsBuilder() { + onChanged(); return getMetadataOptionsFieldBuilder().getBuilder(); } /** - * - * *
-       * Represents the selected metadata options for a transfer job. This feature
-       * is in Preview.
+       * Represents the selected metadata options for a transfer job.
        * 
* * .google.storagetransfer.v1.MetadataOptions metadata_options = 5; */ - public com.google.storagetransfer.v1.proto.TransferTypes.MetadataOptionsOrBuilder - getMetadataOptionsOrBuilder() { + public com.google.storagetransfer.v1.proto.TransferTypes.MetadataOptionsOrBuilder getMetadataOptionsOrBuilder() { if (metadataOptionsBuilder_ != null) { return metadataOptionsBuilder_.getMessageOrBuilder(); } else { - return metadataOptions_ == null - ? com.google.storagetransfer.v1.proto.TransferTypes.MetadataOptions - .getDefaultInstance() - : metadataOptions_; + return metadataOptions_ == null ? + com.google.storagetransfer.v1.proto.TransferTypes.MetadataOptions.getDefaultInstance() : metadataOptions_; } } /** - * - * *
-       * Represents the selected metadata options for a transfer job. This feature
-       * is in Preview.
+       * Represents the selected metadata options for a transfer job.
        * 
* * .google.storagetransfer.v1.MetadataOptions metadata_options = 5; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.storagetransfer.v1.proto.TransferTypes.MetadataOptions, - com.google.storagetransfer.v1.proto.TransferTypes.MetadataOptions.Builder, - com.google.storagetransfer.v1.proto.TransferTypes.MetadataOptionsOrBuilder> + com.google.storagetransfer.v1.proto.TransferTypes.MetadataOptions, com.google.storagetransfer.v1.proto.TransferTypes.MetadataOptions.Builder, com.google.storagetransfer.v1.proto.TransferTypes.MetadataOptionsOrBuilder> getMetadataOptionsFieldBuilder() { if (metadataOptionsBuilder_ == null) { - metadataOptionsBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.storagetransfer.v1.proto.TransferTypes.MetadataOptions, - com.google.storagetransfer.v1.proto.TransferTypes.MetadataOptions.Builder, - com.google.storagetransfer.v1.proto.TransferTypes.MetadataOptionsOrBuilder>( - getMetadataOptions(), getParentForChildren(), isClean()); + metadataOptionsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.storagetransfer.v1.proto.TransferTypes.MetadataOptions, com.google.storagetransfer.v1.proto.TransferTypes.MetadataOptions.Builder, com.google.storagetransfer.v1.proto.TransferTypes.MetadataOptionsOrBuilder>( + getMetadataOptions(), + getParentForChildren(), + isClean()); metadataOptions_ = null; } return metadataOptionsBuilder_; } - @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -15042,32 +16708,30 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.storagetransfer.v1.TransferOptions) } // @@protoc_insertion_point(class_scope:google.storagetransfer.v1.TransferOptions) - private static final com.google.storagetransfer.v1.proto.TransferTypes.TransferOptions - DEFAULT_INSTANCE; - + private static final com.google.storagetransfer.v1.proto.TransferTypes.TransferOptions DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.storagetransfer.v1.proto.TransferTypes.TransferOptions(); } - public static com.google.storagetransfer.v1.proto.TransferTypes.TransferOptions - getDefaultInstance() { + public static com.google.storagetransfer.v1.proto.TransferTypes.TransferOptions getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public TransferOptions parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new TransferOptions(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public TransferOptions parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new TransferOptions(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -15079,44 +16743,35 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.storagetransfer.v1.proto.TransferTypes.TransferOptions - getDefaultInstanceForType() { + public com.google.storagetransfer.v1.proto.TransferTypes.TransferOptions getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } - public interface TransferSpecOrBuilder - extends + public interface TransferSpecOrBuilder extends // @@protoc_insertion_point(interface_extends:google.storagetransfer.v1.TransferSpec) com.google.protobuf.MessageOrBuilder { /** - * - * *
      * A Cloud Storage data sink.
      * 
* * .google.storagetransfer.v1.GcsData gcs_data_sink = 4; - * * @return Whether the gcsDataSink field is set. */ boolean hasGcsDataSink(); /** - * - * *
      * A Cloud Storage data sink.
      * 
* * .google.storagetransfer.v1.GcsData gcs_data_sink = 4; - * * @return The gcsDataSink. */ com.google.storagetransfer.v1.proto.TransferTypes.GcsData getGcsDataSink(); /** - * - * *
      * A Cloud Storage data sink.
      * 
@@ -15126,68 +16781,51 @@ public interface TransferSpecOrBuilder com.google.storagetransfer.v1.proto.TransferTypes.GcsDataOrBuilder getGcsDataSinkOrBuilder(); /** - * - * *
      * A POSIX Filesystem data sink.
      * 
* * .google.storagetransfer.v1.PosixFilesystem posix_data_sink = 13; - * * @return Whether the posixDataSink field is set. */ boolean hasPosixDataSink(); /** - * - * *
      * A POSIX Filesystem data sink.
      * 
* * .google.storagetransfer.v1.PosixFilesystem posix_data_sink = 13; - * * @return The posixDataSink. */ com.google.storagetransfer.v1.proto.TransferTypes.PosixFilesystem getPosixDataSink(); /** - * - * *
      * A POSIX Filesystem data sink.
      * 
* * .google.storagetransfer.v1.PosixFilesystem posix_data_sink = 13; */ - com.google.storagetransfer.v1.proto.TransferTypes.PosixFilesystemOrBuilder - getPosixDataSinkOrBuilder(); + com.google.storagetransfer.v1.proto.TransferTypes.PosixFilesystemOrBuilder getPosixDataSinkOrBuilder(); /** - * - * *
      * A Cloud Storage data source.
      * 
* * .google.storagetransfer.v1.GcsData gcs_data_source = 1; - * * @return Whether the gcsDataSource field is set. */ boolean hasGcsDataSource(); /** - * - * *
      * A Cloud Storage data source.
      * 
* * .google.storagetransfer.v1.GcsData gcs_data_source = 1; - * * @return The gcsDataSource. */ com.google.storagetransfer.v1.proto.TransferTypes.GcsData getGcsDataSource(); /** - * - * *
      * A Cloud Storage data source.
      * 
@@ -15197,192 +16835,168 @@ public interface TransferSpecOrBuilder com.google.storagetransfer.v1.proto.TransferTypes.GcsDataOrBuilder getGcsDataSourceOrBuilder(); /** - * - * *
      * An AWS S3 data source.
      * 
* * .google.storagetransfer.v1.AwsS3Data aws_s3_data_source = 2; - * * @return Whether the awsS3DataSource field is set. */ boolean hasAwsS3DataSource(); /** - * - * *
      * An AWS S3 data source.
      * 
* * .google.storagetransfer.v1.AwsS3Data aws_s3_data_source = 2; - * * @return The awsS3DataSource. */ com.google.storagetransfer.v1.proto.TransferTypes.AwsS3Data getAwsS3DataSource(); /** - * - * *
      * An AWS S3 data source.
      * 
* * .google.storagetransfer.v1.AwsS3Data aws_s3_data_source = 2; */ - com.google.storagetransfer.v1.proto.TransferTypes.AwsS3DataOrBuilder - getAwsS3DataSourceOrBuilder(); + com.google.storagetransfer.v1.proto.TransferTypes.AwsS3DataOrBuilder getAwsS3DataSourceOrBuilder(); /** - * - * *
      * An HTTP URL data source.
      * 
* * .google.storagetransfer.v1.HttpData http_data_source = 3; - * * @return Whether the httpDataSource field is set. */ boolean hasHttpDataSource(); /** - * - * *
      * An HTTP URL data source.
      * 
* * .google.storagetransfer.v1.HttpData http_data_source = 3; - * * @return The httpDataSource. */ com.google.storagetransfer.v1.proto.TransferTypes.HttpData getHttpDataSource(); /** - * - * *
      * An HTTP URL data source.
      * 
* * .google.storagetransfer.v1.HttpData http_data_source = 3; */ - com.google.storagetransfer.v1.proto.TransferTypes.HttpDataOrBuilder - getHttpDataSourceOrBuilder(); + com.google.storagetransfer.v1.proto.TransferTypes.HttpDataOrBuilder getHttpDataSourceOrBuilder(); /** - * - * *
      * A POSIX Filesystem data source.
      * 
* * .google.storagetransfer.v1.PosixFilesystem posix_data_source = 14; - * * @return Whether the posixDataSource field is set. */ boolean hasPosixDataSource(); /** - * - * *
      * A POSIX Filesystem data source.
      * 
* * .google.storagetransfer.v1.PosixFilesystem posix_data_source = 14; - * * @return The posixDataSource. */ com.google.storagetransfer.v1.proto.TransferTypes.PosixFilesystem getPosixDataSource(); /** - * - * *
      * A POSIX Filesystem data source.
      * 
* * .google.storagetransfer.v1.PosixFilesystem posix_data_source = 14; */ - com.google.storagetransfer.v1.proto.TransferTypes.PosixFilesystemOrBuilder - getPosixDataSourceOrBuilder(); + com.google.storagetransfer.v1.proto.TransferTypes.PosixFilesystemOrBuilder getPosixDataSourceOrBuilder(); /** - * - * *
      * An Azure Blob Storage data source.
      * 
* - * .google.storagetransfer.v1.AzureBlobStorageData azure_blob_storage_data_source = 8; - * - * + * .google.storagetransfer.v1.AzureBlobStorageData azure_blob_storage_data_source = 8; * @return Whether the azureBlobStorageDataSource field is set. */ boolean hasAzureBlobStorageDataSource(); /** - * - * *
      * An Azure Blob Storage data source.
      * 
* - * .google.storagetransfer.v1.AzureBlobStorageData azure_blob_storage_data_source = 8; - * - * + * .google.storagetransfer.v1.AzureBlobStorageData azure_blob_storage_data_source = 8; * @return The azureBlobStorageDataSource. */ - com.google.storagetransfer.v1.proto.TransferTypes.AzureBlobStorageData - getAzureBlobStorageDataSource(); + com.google.storagetransfer.v1.proto.TransferTypes.AzureBlobStorageData getAzureBlobStorageDataSource(); /** - * - * *
      * An Azure Blob Storage data source.
      * 
* - * .google.storagetransfer.v1.AzureBlobStorageData azure_blob_storage_data_source = 8; - * + * .google.storagetransfer.v1.AzureBlobStorageData azure_blob_storage_data_source = 8; */ - com.google.storagetransfer.v1.proto.TransferTypes.AzureBlobStorageDataOrBuilder - getAzureBlobStorageDataSourceOrBuilder(); + com.google.storagetransfer.v1.proto.TransferTypes.AzureBlobStorageDataOrBuilder getAzureBlobStorageDataSourceOrBuilder(); /** + *
+     * An AWS S3 compatible data source.
+     * 
+ * + * .google.storagetransfer.v1.AwsS3CompatibleData aws_s3_compatible_data_source = 19; + * @return Whether the awsS3CompatibleDataSource field is set. + */ + boolean hasAwsS3CompatibleDataSource(); + /** + *
+     * An AWS S3 compatible data source.
+     * 
* + * .google.storagetransfer.v1.AwsS3CompatibleData aws_s3_compatible_data_source = 19; + * @return The awsS3CompatibleDataSource. + */ + com.google.storagetransfer.v1.proto.TransferTypes.AwsS3CompatibleData getAwsS3CompatibleDataSource(); + /** + *
+     * An AWS S3 compatible data source.
+     * 
* + * .google.storagetransfer.v1.AwsS3CompatibleData aws_s3_compatible_data_source = 19; + */ + com.google.storagetransfer.v1.proto.TransferTypes.AwsS3CompatibleDataOrBuilder getAwsS3CompatibleDataSourceOrBuilder(); + + /** *
      * Cloud Storage intermediate data location.
      * 
* * .google.storagetransfer.v1.GcsData gcs_intermediate_data_location = 16; - * * @return Whether the gcsIntermediateDataLocation field is set. */ boolean hasGcsIntermediateDataLocation(); /** - * - * *
      * Cloud Storage intermediate data location.
      * 
* * .google.storagetransfer.v1.GcsData gcs_intermediate_data_location = 16; - * * @return The gcsIntermediateDataLocation. */ com.google.storagetransfer.v1.proto.TransferTypes.GcsData getGcsIntermediateDataLocation(); /** - * - * *
      * Cloud Storage intermediate data location.
      * 
* * .google.storagetransfer.v1.GcsData gcs_intermediate_data_location = 16; */ - com.google.storagetransfer.v1.proto.TransferTypes.GcsDataOrBuilder - getGcsIntermediateDataLocationOrBuilder(); + com.google.storagetransfer.v1.proto.TransferTypes.GcsDataOrBuilder getGcsIntermediateDataLocationOrBuilder(); /** - * - * *
      * Only objects that satisfy these object conditions are included in the set
      * of data source and data sink objects.  Object conditions based on
@@ -15390,13 +17004,10 @@ public interface TransferSpecOrBuilder
      * 
* * .google.storagetransfer.v1.ObjectConditions object_conditions = 5; - * * @return Whether the objectConditions field is set. */ boolean hasObjectConditions(); /** - * - * *
      * Only objects that satisfy these object conditions are included in the set
      * of data source and data sink objects.  Object conditions based on
@@ -15404,13 +17015,10 @@ public interface TransferSpecOrBuilder
      * 
* * .google.storagetransfer.v1.ObjectConditions object_conditions = 5; - * * @return The objectConditions. */ com.google.storagetransfer.v1.proto.TransferTypes.ObjectConditions getObjectConditions(); /** - * - * *
      * Only objects that satisfy these object conditions are included in the set
      * of data source and data sink objects.  Object conditions based on
@@ -15419,12 +17027,9 @@ public interface TransferSpecOrBuilder
      *
      * .google.storagetransfer.v1.ObjectConditions object_conditions = 5;
      */
-    com.google.storagetransfer.v1.proto.TransferTypes.ObjectConditionsOrBuilder
-        getObjectConditionsOrBuilder();
+    com.google.storagetransfer.v1.proto.TransferTypes.ObjectConditionsOrBuilder getObjectConditionsOrBuilder();
 
     /**
-     *
-     *
      * 
      * If the option
      * [delete_objects_unique_in_sink][google.storagetransfer.v1.TransferOptions.delete_objects_unique_in_sink]
@@ -15434,13 +17039,10 @@ public interface TransferSpecOrBuilder
      * 
* * .google.storagetransfer.v1.TransferOptions transfer_options = 6; - * * @return Whether the transferOptions field is set. */ boolean hasTransferOptions(); /** - * - * *
      * If the option
      * [delete_objects_unique_in_sink][google.storagetransfer.v1.TransferOptions.delete_objects_unique_in_sink]
@@ -15450,13 +17052,10 @@ public interface TransferSpecOrBuilder
      * 
* * .google.storagetransfer.v1.TransferOptions transfer_options = 6; - * * @return The transferOptions. */ com.google.storagetransfer.v1.proto.TransferTypes.TransferOptions getTransferOptions(); /** - * - * *
      * If the option
      * [delete_objects_unique_in_sink][google.storagetransfer.v1.TransferOptions.delete_objects_unique_in_sink]
@@ -15467,12 +17066,9 @@ public interface TransferSpecOrBuilder
      *
      * .google.storagetransfer.v1.TransferOptions transfer_options = 6;
      */
-    com.google.storagetransfer.v1.proto.TransferTypes.TransferOptionsOrBuilder
-        getTransferOptionsOrBuilder();
+    com.google.storagetransfer.v1.proto.TransferTypes.TransferOptionsOrBuilder getTransferOptionsOrBuilder();
 
     /**
-     *
-     *
      * 
      * A manifest file provides a list of objects to be transferred from the data
      * source. This field points to the location of the manifest file.
@@ -15480,13 +17076,10 @@ public interface TransferSpecOrBuilder
      * 
* * .google.storagetransfer.v1.TransferManifest transfer_manifest = 15; - * * @return Whether the transferManifest field is set. */ boolean hasTransferManifest(); /** - * - * *
      * A manifest file provides a list of objects to be transferred from the data
      * source. This field points to the location of the manifest file.
@@ -15494,13 +17087,10 @@ public interface TransferSpecOrBuilder
      * 
* * .google.storagetransfer.v1.TransferManifest transfer_manifest = 15; - * * @return The transferManifest. */ com.google.storagetransfer.v1.proto.TransferTypes.TransferManifest getTransferManifest(); /** - * - * *
      * A manifest file provides a list of objects to be transferred from the data
      * source. This field points to the location of the manifest file.
@@ -15509,92 +17099,74 @@ public interface TransferSpecOrBuilder
      *
      * .google.storagetransfer.v1.TransferManifest transfer_manifest = 15;
      */
-    com.google.storagetransfer.v1.proto.TransferTypes.TransferManifestOrBuilder
-        getTransferManifestOrBuilder();
+    com.google.storagetransfer.v1.proto.TransferTypes.TransferManifestOrBuilder getTransferManifestOrBuilder();
 
     /**
-     *
-     *
      * 
      * Specifies the agent pool name associated with the posix data source. When
      * unspecified, the default name is used.
      * 
* * string source_agent_pool_name = 17; - * * @return The sourceAgentPoolName. */ java.lang.String getSourceAgentPoolName(); /** - * - * *
      * Specifies the agent pool name associated with the posix data source. When
      * unspecified, the default name is used.
      * 
* * string source_agent_pool_name = 17; - * * @return The bytes for sourceAgentPoolName. */ - com.google.protobuf.ByteString getSourceAgentPoolNameBytes(); + com.google.protobuf.ByteString + getSourceAgentPoolNameBytes(); /** - * - * *
      * Specifies the agent pool name associated with the posix data sink. When
      * unspecified, the default name is used.
      * 
* * string sink_agent_pool_name = 18; - * * @return The sinkAgentPoolName. */ java.lang.String getSinkAgentPoolName(); /** - * - * *
      * Specifies the agent pool name associated with the posix data sink. When
      * unspecified, the default name is used.
      * 
* * string sink_agent_pool_name = 18; - * * @return The bytes for sinkAgentPoolName. */ - com.google.protobuf.ByteString getSinkAgentPoolNameBytes(); + com.google.protobuf.ByteString + getSinkAgentPoolNameBytes(); - public com.google.storagetransfer.v1.proto.TransferTypes.TransferSpec.DataSinkCase - getDataSinkCase(); + public com.google.storagetransfer.v1.proto.TransferTypes.TransferSpec.DataSinkCase getDataSinkCase(); - public com.google.storagetransfer.v1.proto.TransferTypes.TransferSpec.DataSourceCase - getDataSourceCase(); + public com.google.storagetransfer.v1.proto.TransferTypes.TransferSpec.DataSourceCase getDataSourceCase(); - public com.google.storagetransfer.v1.proto.TransferTypes.TransferSpec - .IntermediateDataLocationCase - getIntermediateDataLocationCase(); + public com.google.storagetransfer.v1.proto.TransferTypes.TransferSpec.IntermediateDataLocationCase getIntermediateDataLocationCase(); } /** - * - * *
    * Configuration for running a transfer.
    * 
* * Protobuf type {@code google.storagetransfer.v1.TransferSpec} */ - public static final class TransferSpec extends com.google.protobuf.GeneratedMessageV3 - implements + public static final class TransferSpec extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.storagetransfer.v1.TransferSpec) TransferSpecOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use TransferSpec.newBuilder() to construct. private TransferSpec(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private TransferSpec() { sourceAgentPoolName_ = ""; sinkAgentPoolName_ = ""; @@ -15602,15 +17174,16 @@ private TransferSpec() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new TransferSpec(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private TransferSpec( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -15629,255 +17202,190 @@ private TransferSpec( case 0: done = true; break; - case 10: - { - com.google.storagetransfer.v1.proto.TransferTypes.GcsData.Builder subBuilder = null; - if (dataSourceCase_ == 1) { - subBuilder = - ((com.google.storagetransfer.v1.proto.TransferTypes.GcsData) dataSource_) - .toBuilder(); - } - dataSource_ = - input.readMessage( - com.google.storagetransfer.v1.proto.TransferTypes.GcsData.parser(), - extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom( - (com.google.storagetransfer.v1.proto.TransferTypes.GcsData) dataSource_); - dataSource_ = subBuilder.buildPartial(); - } - dataSourceCase_ = 1; - break; + case 10: { + com.google.storagetransfer.v1.proto.TransferTypes.GcsData.Builder subBuilder = null; + if (dataSourceCase_ == 1) { + subBuilder = ((com.google.storagetransfer.v1.proto.TransferTypes.GcsData) dataSource_).toBuilder(); } - case 18: - { - com.google.storagetransfer.v1.proto.TransferTypes.AwsS3Data.Builder subBuilder = - null; - if (dataSourceCase_ == 2) { - subBuilder = - ((com.google.storagetransfer.v1.proto.TransferTypes.AwsS3Data) dataSource_) - .toBuilder(); - } - dataSource_ = - input.readMessage( - com.google.storagetransfer.v1.proto.TransferTypes.AwsS3Data.parser(), - extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom( - (com.google.storagetransfer.v1.proto.TransferTypes.AwsS3Data) dataSource_); - dataSource_ = subBuilder.buildPartial(); - } - dataSourceCase_ = 2; - break; + dataSource_ = + input.readMessage(com.google.storagetransfer.v1.proto.TransferTypes.GcsData.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom((com.google.storagetransfer.v1.proto.TransferTypes.GcsData) dataSource_); + dataSource_ = subBuilder.buildPartial(); } - case 26: - { - com.google.storagetransfer.v1.proto.TransferTypes.HttpData.Builder subBuilder = - null; - if (dataSourceCase_ == 3) { - subBuilder = - ((com.google.storagetransfer.v1.proto.TransferTypes.HttpData) dataSource_) - .toBuilder(); - } - dataSource_ = - input.readMessage( - com.google.storagetransfer.v1.proto.TransferTypes.HttpData.parser(), - extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom( - (com.google.storagetransfer.v1.proto.TransferTypes.HttpData) dataSource_); - dataSource_ = subBuilder.buildPartial(); - } - dataSourceCase_ = 3; - break; + dataSourceCase_ = 1; + break; + } + case 18: { + com.google.storagetransfer.v1.proto.TransferTypes.AwsS3Data.Builder subBuilder = null; + if (dataSourceCase_ == 2) { + subBuilder = ((com.google.storagetransfer.v1.proto.TransferTypes.AwsS3Data) dataSource_).toBuilder(); } - case 34: - { - com.google.storagetransfer.v1.proto.TransferTypes.GcsData.Builder subBuilder = null; - if (dataSinkCase_ == 4) { - subBuilder = - ((com.google.storagetransfer.v1.proto.TransferTypes.GcsData) dataSink_) - .toBuilder(); - } - dataSink_ = - input.readMessage( - com.google.storagetransfer.v1.proto.TransferTypes.GcsData.parser(), - extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom( - (com.google.storagetransfer.v1.proto.TransferTypes.GcsData) dataSink_); - dataSink_ = subBuilder.buildPartial(); - } - dataSinkCase_ = 4; - break; + dataSource_ = + input.readMessage(com.google.storagetransfer.v1.proto.TransferTypes.AwsS3Data.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom((com.google.storagetransfer.v1.proto.TransferTypes.AwsS3Data) dataSource_); + dataSource_ = subBuilder.buildPartial(); + } + dataSourceCase_ = 2; + break; + } + case 26: { + com.google.storagetransfer.v1.proto.TransferTypes.HttpData.Builder subBuilder = null; + if (dataSourceCase_ == 3) { + subBuilder = ((com.google.storagetransfer.v1.proto.TransferTypes.HttpData) dataSource_).toBuilder(); + } + dataSource_ = + input.readMessage(com.google.storagetransfer.v1.proto.TransferTypes.HttpData.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom((com.google.storagetransfer.v1.proto.TransferTypes.HttpData) dataSource_); + dataSource_ = subBuilder.buildPartial(); + } + dataSourceCase_ = 3; + break; + } + case 34: { + com.google.storagetransfer.v1.proto.TransferTypes.GcsData.Builder subBuilder = null; + if (dataSinkCase_ == 4) { + subBuilder = ((com.google.storagetransfer.v1.proto.TransferTypes.GcsData) dataSink_).toBuilder(); + } + dataSink_ = + input.readMessage(com.google.storagetransfer.v1.proto.TransferTypes.GcsData.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom((com.google.storagetransfer.v1.proto.TransferTypes.GcsData) dataSink_); + dataSink_ = subBuilder.buildPartial(); + } + dataSinkCase_ = 4; + break; + } + case 42: { + com.google.storagetransfer.v1.proto.TransferTypes.ObjectConditions.Builder subBuilder = null; + if (objectConditions_ != null) { + subBuilder = objectConditions_.toBuilder(); + } + objectConditions_ = input.readMessage(com.google.storagetransfer.v1.proto.TransferTypes.ObjectConditions.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(objectConditions_); + objectConditions_ = subBuilder.buildPartial(); } - case 42: - { - com.google.storagetransfer.v1.proto.TransferTypes.ObjectConditions.Builder - subBuilder = null; - if (objectConditions_ != null) { - subBuilder = objectConditions_.toBuilder(); - } - objectConditions_ = - input.readMessage( - com.google.storagetransfer.v1.proto.TransferTypes.ObjectConditions.parser(), - extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(objectConditions_); - objectConditions_ = subBuilder.buildPartial(); - } - break; + break; + } + case 50: { + com.google.storagetransfer.v1.proto.TransferTypes.TransferOptions.Builder subBuilder = null; + if (transferOptions_ != null) { + subBuilder = transferOptions_.toBuilder(); + } + transferOptions_ = input.readMessage(com.google.storagetransfer.v1.proto.TransferTypes.TransferOptions.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(transferOptions_); + transferOptions_ = subBuilder.buildPartial(); } - case 50: - { - com.google.storagetransfer.v1.proto.TransferTypes.TransferOptions.Builder - subBuilder = null; - if (transferOptions_ != null) { - subBuilder = transferOptions_.toBuilder(); - } - transferOptions_ = - input.readMessage( - com.google.storagetransfer.v1.proto.TransferTypes.TransferOptions.parser(), - extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(transferOptions_); - transferOptions_ = subBuilder.buildPartial(); - } - break; + break; + } + case 66: { + com.google.storagetransfer.v1.proto.TransferTypes.AzureBlobStorageData.Builder subBuilder = null; + if (dataSourceCase_ == 8) { + subBuilder = ((com.google.storagetransfer.v1.proto.TransferTypes.AzureBlobStorageData) dataSource_).toBuilder(); } - case 66: - { - com.google.storagetransfer.v1.proto.TransferTypes.AzureBlobStorageData.Builder - subBuilder = null; - if (dataSourceCase_ == 8) { - subBuilder = - ((com.google.storagetransfer.v1.proto.TransferTypes.AzureBlobStorageData) - dataSource_) - .toBuilder(); - } - dataSource_ = - input.readMessage( - com.google.storagetransfer.v1.proto.TransferTypes.AzureBlobStorageData - .parser(), - extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom( - (com.google.storagetransfer.v1.proto.TransferTypes.AzureBlobStorageData) - dataSource_); - dataSource_ = subBuilder.buildPartial(); - } - dataSourceCase_ = 8; - break; + dataSource_ = + input.readMessage(com.google.storagetransfer.v1.proto.TransferTypes.AzureBlobStorageData.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom((com.google.storagetransfer.v1.proto.TransferTypes.AzureBlobStorageData) dataSource_); + dataSource_ = subBuilder.buildPartial(); } - case 106: - { - com.google.storagetransfer.v1.proto.TransferTypes.PosixFilesystem.Builder - subBuilder = null; - if (dataSinkCase_ == 13) { - subBuilder = - ((com.google.storagetransfer.v1.proto.TransferTypes.PosixFilesystem) - dataSink_) - .toBuilder(); - } - dataSink_ = - input.readMessage( - com.google.storagetransfer.v1.proto.TransferTypes.PosixFilesystem.parser(), - extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom( - (com.google.storagetransfer.v1.proto.TransferTypes.PosixFilesystem) - dataSink_); - dataSink_ = subBuilder.buildPartial(); - } - dataSinkCase_ = 13; - break; + dataSourceCase_ = 8; + break; + } + case 106: { + com.google.storagetransfer.v1.proto.TransferTypes.PosixFilesystem.Builder subBuilder = null; + if (dataSinkCase_ == 13) { + subBuilder = ((com.google.storagetransfer.v1.proto.TransferTypes.PosixFilesystem) dataSink_).toBuilder(); } - case 114: - { - com.google.storagetransfer.v1.proto.TransferTypes.PosixFilesystem.Builder - subBuilder = null; - if (dataSourceCase_ == 14) { - subBuilder = - ((com.google.storagetransfer.v1.proto.TransferTypes.PosixFilesystem) - dataSource_) - .toBuilder(); - } - dataSource_ = - input.readMessage( - com.google.storagetransfer.v1.proto.TransferTypes.PosixFilesystem.parser(), - extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom( - (com.google.storagetransfer.v1.proto.TransferTypes.PosixFilesystem) - dataSource_); - dataSource_ = subBuilder.buildPartial(); - } - dataSourceCase_ = 14; - break; + dataSink_ = + input.readMessage(com.google.storagetransfer.v1.proto.TransferTypes.PosixFilesystem.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom((com.google.storagetransfer.v1.proto.TransferTypes.PosixFilesystem) dataSink_); + dataSink_ = subBuilder.buildPartial(); } - case 122: - { - com.google.storagetransfer.v1.proto.TransferTypes.TransferManifest.Builder - subBuilder = null; - if (transferManifest_ != null) { - subBuilder = transferManifest_.toBuilder(); - } - transferManifest_ = - input.readMessage( - com.google.storagetransfer.v1.proto.TransferTypes.TransferManifest.parser(), - extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(transferManifest_); - transferManifest_ = subBuilder.buildPartial(); - } - - break; + dataSinkCase_ = 13; + break; + } + case 114: { + com.google.storagetransfer.v1.proto.TransferTypes.PosixFilesystem.Builder subBuilder = null; + if (dataSourceCase_ == 14) { + subBuilder = ((com.google.storagetransfer.v1.proto.TransferTypes.PosixFilesystem) dataSource_).toBuilder(); } - case 130: - { - com.google.storagetransfer.v1.proto.TransferTypes.GcsData.Builder subBuilder = null; - if (intermediateDataLocationCase_ == 16) { - subBuilder = - ((com.google.storagetransfer.v1.proto.TransferTypes.GcsData) - intermediateDataLocation_) - .toBuilder(); - } - intermediateDataLocation_ = - input.readMessage( - com.google.storagetransfer.v1.proto.TransferTypes.GcsData.parser(), - extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom( - (com.google.storagetransfer.v1.proto.TransferTypes.GcsData) - intermediateDataLocation_); - intermediateDataLocation_ = subBuilder.buildPartial(); - } - intermediateDataLocationCase_ = 16; - break; + dataSource_ = + input.readMessage(com.google.storagetransfer.v1.proto.TransferTypes.PosixFilesystem.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom((com.google.storagetransfer.v1.proto.TransferTypes.PosixFilesystem) dataSource_); + dataSource_ = subBuilder.buildPartial(); + } + dataSourceCase_ = 14; + break; + } + case 122: { + com.google.storagetransfer.v1.proto.TransferTypes.TransferManifest.Builder subBuilder = null; + if (transferManifest_ != null) { + subBuilder = transferManifest_.toBuilder(); + } + transferManifest_ = input.readMessage(com.google.storagetransfer.v1.proto.TransferTypes.TransferManifest.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(transferManifest_); + transferManifest_ = subBuilder.buildPartial(); } - case 138: - { - java.lang.String s = input.readStringRequireUtf8(); - sourceAgentPoolName_ = s; - break; + break; + } + case 130: { + com.google.storagetransfer.v1.proto.TransferTypes.GcsData.Builder subBuilder = null; + if (intermediateDataLocationCase_ == 16) { + subBuilder = ((com.google.storagetransfer.v1.proto.TransferTypes.GcsData) intermediateDataLocation_).toBuilder(); } - case 146: - { - java.lang.String s = input.readStringRequireUtf8(); + intermediateDataLocation_ = + input.readMessage(com.google.storagetransfer.v1.proto.TransferTypes.GcsData.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom((com.google.storagetransfer.v1.proto.TransferTypes.GcsData) intermediateDataLocation_); + intermediateDataLocation_ = subBuilder.buildPartial(); + } + intermediateDataLocationCase_ = 16; + break; + } + case 138: { + java.lang.String s = input.readStringRequireUtf8(); - sinkAgentPoolName_ = s; - break; + sourceAgentPoolName_ = s; + break; + } + case 146: { + java.lang.String s = input.readStringRequireUtf8(); + + sinkAgentPoolName_ = s; + break; + } + case 154: { + com.google.storagetransfer.v1.proto.TransferTypes.AwsS3CompatibleData.Builder subBuilder = null; + if (dataSourceCase_ == 19) { + subBuilder = ((com.google.storagetransfer.v1.proto.TransferTypes.AwsS3CompatibleData) dataSource_).toBuilder(); } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + dataSource_ = + input.readMessage(com.google.storagetransfer.v1.proto.TransferTypes.AwsS3CompatibleData.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom((com.google.storagetransfer.v1.proto.TransferTypes.AwsS3CompatibleData) dataSource_); + dataSource_ = subBuilder.buildPartial(); } + dataSourceCase_ = 19; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -15885,40 +17393,35 @@ private TransferSpec( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.storagetransfer.v1.proto.TransferTypes - .internal_static_google_storagetransfer_v1_TransferSpec_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.storagetransfer.v1.proto.TransferTypes.internal_static_google_storagetransfer_v1_TransferSpec_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.storagetransfer.v1.proto.TransferTypes - .internal_static_google_storagetransfer_v1_TransferSpec_fieldAccessorTable + return com.google.storagetransfer.v1.proto.TransferTypes.internal_static_google_storagetransfer_v1_TransferSpec_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.storagetransfer.v1.proto.TransferTypes.TransferSpec.class, - com.google.storagetransfer.v1.proto.TransferTypes.TransferSpec.Builder.class); + com.google.storagetransfer.v1.proto.TransferTypes.TransferSpec.class, com.google.storagetransfer.v1.proto.TransferTypes.TransferSpec.Builder.class); } private int dataSinkCase_ = 0; private java.lang.Object dataSink_; - public enum DataSinkCase - implements - com.google.protobuf.Internal.EnumLite, + implements com.google.protobuf.Internal.EnumLite, com.google.protobuf.AbstractMessage.InternalOneOfEnum { GCS_DATA_SINK(4), POSIX_DATA_SINK(13), DATASINK_NOT_SET(0); private final int value; - private DataSinkCase(int value) { this.value = value; } @@ -15934,41 +17437,36 @@ public static DataSinkCase valueOf(int value) { public static DataSinkCase forNumber(int value) { switch (value) { - case 4: - return GCS_DATA_SINK; - case 13: - return POSIX_DATA_SINK; - case 0: - return DATASINK_NOT_SET; - default: - return null; + case 4: return GCS_DATA_SINK; + case 13: return POSIX_DATA_SINK; + case 0: return DATASINK_NOT_SET; + default: return null; } } - public int getNumber() { return this.value; } }; - public DataSinkCase getDataSinkCase() { - return DataSinkCase.forNumber(dataSinkCase_); + public DataSinkCase + getDataSinkCase() { + return DataSinkCase.forNumber( + dataSinkCase_); } private int dataSourceCase_ = 0; private java.lang.Object dataSource_; - public enum DataSourceCase - implements - com.google.protobuf.Internal.EnumLite, + implements com.google.protobuf.Internal.EnumLite, com.google.protobuf.AbstractMessage.InternalOneOfEnum { GCS_DATA_SOURCE(1), AWS_S3_DATA_SOURCE(2), HTTP_DATA_SOURCE(3), POSIX_DATA_SOURCE(14), AZURE_BLOB_STORAGE_DATA_SOURCE(8), + AWS_S3_COMPATIBLE_DATA_SOURCE(19), DATASOURCE_NOT_SET(0); private final int value; - private DataSourceCase(int value) { this.value = value; } @@ -15984,43 +17482,35 @@ public static DataSourceCase valueOf(int value) { public static DataSourceCase forNumber(int value) { switch (value) { - case 1: - return GCS_DATA_SOURCE; - case 2: - return AWS_S3_DATA_SOURCE; - case 3: - return HTTP_DATA_SOURCE; - case 14: - return POSIX_DATA_SOURCE; - case 8: - return AZURE_BLOB_STORAGE_DATA_SOURCE; - case 0: - return DATASOURCE_NOT_SET; - default: - return null; + case 1: return GCS_DATA_SOURCE; + case 2: return AWS_S3_DATA_SOURCE; + case 3: return HTTP_DATA_SOURCE; + case 14: return POSIX_DATA_SOURCE; + case 8: return AZURE_BLOB_STORAGE_DATA_SOURCE; + case 19: return AWS_S3_COMPATIBLE_DATA_SOURCE; + case 0: return DATASOURCE_NOT_SET; + default: return null; } } - public int getNumber() { return this.value; } }; - public DataSourceCase getDataSourceCase() { - return DataSourceCase.forNumber(dataSourceCase_); + public DataSourceCase + getDataSourceCase() { + return DataSourceCase.forNumber( + dataSourceCase_); } private int intermediateDataLocationCase_ = 0; private java.lang.Object intermediateDataLocation_; - public enum IntermediateDataLocationCase - implements - com.google.protobuf.Internal.EnumLite, + implements com.google.protobuf.Internal.EnumLite, com.google.protobuf.AbstractMessage.InternalOneOfEnum { GCS_INTERMEDIATE_DATA_LOCATION(16), INTERMEDIATEDATALOCATION_NOT_SET(0); private final int value; - private IntermediateDataLocationCase(int value) { this.value = value; } @@ -16036,34 +17526,29 @@ public static IntermediateDataLocationCase valueOf(int value) { public static IntermediateDataLocationCase forNumber(int value) { switch (value) { - case 16: - return GCS_INTERMEDIATE_DATA_LOCATION; - case 0: - return INTERMEDIATEDATALOCATION_NOT_SET; - default: - return null; + case 16: return GCS_INTERMEDIATE_DATA_LOCATION; + case 0: return INTERMEDIATEDATALOCATION_NOT_SET; + default: return null; } } - public int getNumber() { return this.value; } }; - public IntermediateDataLocationCase getIntermediateDataLocationCase() { - return IntermediateDataLocationCase.forNumber(intermediateDataLocationCase_); + public IntermediateDataLocationCase + getIntermediateDataLocationCase() { + return IntermediateDataLocationCase.forNumber( + intermediateDataLocationCase_); } public static final int GCS_DATA_SINK_FIELD_NUMBER = 4; /** - * - * *
      * A Cloud Storage data sink.
      * 
* * .google.storagetransfer.v1.GcsData gcs_data_sink = 4; - * * @return Whether the gcsDataSink field is set. */ @java.lang.Override @@ -16071,26 +17556,21 @@ public boolean hasGcsDataSink() { return dataSinkCase_ == 4; } /** - * - * *
      * A Cloud Storage data sink.
      * 
* * .google.storagetransfer.v1.GcsData gcs_data_sink = 4; - * * @return The gcsDataSink. */ @java.lang.Override public com.google.storagetransfer.v1.proto.TransferTypes.GcsData getGcsDataSink() { if (dataSinkCase_ == 4) { - return (com.google.storagetransfer.v1.proto.TransferTypes.GcsData) dataSink_; + return (com.google.storagetransfer.v1.proto.TransferTypes.GcsData) dataSink_; } return com.google.storagetransfer.v1.proto.TransferTypes.GcsData.getDefaultInstance(); } /** - * - * *
      * A Cloud Storage data sink.
      * 
@@ -16098,24 +17578,20 @@ public com.google.storagetransfer.v1.proto.TransferTypes.GcsData getGcsDataSink( * .google.storagetransfer.v1.GcsData gcs_data_sink = 4; */ @java.lang.Override - public com.google.storagetransfer.v1.proto.TransferTypes.GcsDataOrBuilder - getGcsDataSinkOrBuilder() { + public com.google.storagetransfer.v1.proto.TransferTypes.GcsDataOrBuilder getGcsDataSinkOrBuilder() { if (dataSinkCase_ == 4) { - return (com.google.storagetransfer.v1.proto.TransferTypes.GcsData) dataSink_; + return (com.google.storagetransfer.v1.proto.TransferTypes.GcsData) dataSink_; } return com.google.storagetransfer.v1.proto.TransferTypes.GcsData.getDefaultInstance(); } public static final int POSIX_DATA_SINK_FIELD_NUMBER = 13; /** - * - * *
      * A POSIX Filesystem data sink.
      * 
* * .google.storagetransfer.v1.PosixFilesystem posix_data_sink = 13; - * * @return Whether the posixDataSink field is set. */ @java.lang.Override @@ -16123,26 +17599,21 @@ public boolean hasPosixDataSink() { return dataSinkCase_ == 13; } /** - * - * *
      * A POSIX Filesystem data sink.
      * 
* * .google.storagetransfer.v1.PosixFilesystem posix_data_sink = 13; - * * @return The posixDataSink. */ @java.lang.Override public com.google.storagetransfer.v1.proto.TransferTypes.PosixFilesystem getPosixDataSink() { if (dataSinkCase_ == 13) { - return (com.google.storagetransfer.v1.proto.TransferTypes.PosixFilesystem) dataSink_; + return (com.google.storagetransfer.v1.proto.TransferTypes.PosixFilesystem) dataSink_; } return com.google.storagetransfer.v1.proto.TransferTypes.PosixFilesystem.getDefaultInstance(); } /** - * - * *
      * A POSIX Filesystem data sink.
      * 
@@ -16150,24 +17621,20 @@ public com.google.storagetransfer.v1.proto.TransferTypes.PosixFilesystem getPosi * .google.storagetransfer.v1.PosixFilesystem posix_data_sink = 13; */ @java.lang.Override - public com.google.storagetransfer.v1.proto.TransferTypes.PosixFilesystemOrBuilder - getPosixDataSinkOrBuilder() { + public com.google.storagetransfer.v1.proto.TransferTypes.PosixFilesystemOrBuilder getPosixDataSinkOrBuilder() { if (dataSinkCase_ == 13) { - return (com.google.storagetransfer.v1.proto.TransferTypes.PosixFilesystem) dataSink_; + return (com.google.storagetransfer.v1.proto.TransferTypes.PosixFilesystem) dataSink_; } return com.google.storagetransfer.v1.proto.TransferTypes.PosixFilesystem.getDefaultInstance(); } public static final int GCS_DATA_SOURCE_FIELD_NUMBER = 1; /** - * - * *
      * A Cloud Storage data source.
      * 
* * .google.storagetransfer.v1.GcsData gcs_data_source = 1; - * * @return Whether the gcsDataSource field is set. */ @java.lang.Override @@ -16175,26 +17642,21 @@ public boolean hasGcsDataSource() { return dataSourceCase_ == 1; } /** - * - * *
      * A Cloud Storage data source.
      * 
* * .google.storagetransfer.v1.GcsData gcs_data_source = 1; - * * @return The gcsDataSource. */ @java.lang.Override public com.google.storagetransfer.v1.proto.TransferTypes.GcsData getGcsDataSource() { if (dataSourceCase_ == 1) { - return (com.google.storagetransfer.v1.proto.TransferTypes.GcsData) dataSource_; + return (com.google.storagetransfer.v1.proto.TransferTypes.GcsData) dataSource_; } return com.google.storagetransfer.v1.proto.TransferTypes.GcsData.getDefaultInstance(); } /** - * - * *
      * A Cloud Storage data source.
      * 
@@ -16202,24 +17664,20 @@ public com.google.storagetransfer.v1.proto.TransferTypes.GcsData getGcsDataSourc * .google.storagetransfer.v1.GcsData gcs_data_source = 1; */ @java.lang.Override - public com.google.storagetransfer.v1.proto.TransferTypes.GcsDataOrBuilder - getGcsDataSourceOrBuilder() { + public com.google.storagetransfer.v1.proto.TransferTypes.GcsDataOrBuilder getGcsDataSourceOrBuilder() { if (dataSourceCase_ == 1) { - return (com.google.storagetransfer.v1.proto.TransferTypes.GcsData) dataSource_; + return (com.google.storagetransfer.v1.proto.TransferTypes.GcsData) dataSource_; } return com.google.storagetransfer.v1.proto.TransferTypes.GcsData.getDefaultInstance(); } public static final int AWS_S3_DATA_SOURCE_FIELD_NUMBER = 2; /** - * - * *
      * An AWS S3 data source.
      * 
* * .google.storagetransfer.v1.AwsS3Data aws_s3_data_source = 2; - * * @return Whether the awsS3DataSource field is set. */ @java.lang.Override @@ -16227,26 +17685,21 @@ public boolean hasAwsS3DataSource() { return dataSourceCase_ == 2; } /** - * - * *
      * An AWS S3 data source.
      * 
* * .google.storagetransfer.v1.AwsS3Data aws_s3_data_source = 2; - * * @return The awsS3DataSource. */ @java.lang.Override public com.google.storagetransfer.v1.proto.TransferTypes.AwsS3Data getAwsS3DataSource() { if (dataSourceCase_ == 2) { - return (com.google.storagetransfer.v1.proto.TransferTypes.AwsS3Data) dataSource_; + return (com.google.storagetransfer.v1.proto.TransferTypes.AwsS3Data) dataSource_; } return com.google.storagetransfer.v1.proto.TransferTypes.AwsS3Data.getDefaultInstance(); } /** - * - * *
      * An AWS S3 data source.
      * 
@@ -16254,24 +17707,20 @@ public com.google.storagetransfer.v1.proto.TransferTypes.AwsS3Data getAwsS3DataS * .google.storagetransfer.v1.AwsS3Data aws_s3_data_source = 2; */ @java.lang.Override - public com.google.storagetransfer.v1.proto.TransferTypes.AwsS3DataOrBuilder - getAwsS3DataSourceOrBuilder() { + public com.google.storagetransfer.v1.proto.TransferTypes.AwsS3DataOrBuilder getAwsS3DataSourceOrBuilder() { if (dataSourceCase_ == 2) { - return (com.google.storagetransfer.v1.proto.TransferTypes.AwsS3Data) dataSource_; + return (com.google.storagetransfer.v1.proto.TransferTypes.AwsS3Data) dataSource_; } return com.google.storagetransfer.v1.proto.TransferTypes.AwsS3Data.getDefaultInstance(); } public static final int HTTP_DATA_SOURCE_FIELD_NUMBER = 3; /** - * - * *
      * An HTTP URL data source.
      * 
* * .google.storagetransfer.v1.HttpData http_data_source = 3; - * * @return Whether the httpDataSource field is set. */ @java.lang.Override @@ -16279,26 +17728,21 @@ public boolean hasHttpDataSource() { return dataSourceCase_ == 3; } /** - * - * *
      * An HTTP URL data source.
      * 
* * .google.storagetransfer.v1.HttpData http_data_source = 3; - * * @return The httpDataSource. */ @java.lang.Override public com.google.storagetransfer.v1.proto.TransferTypes.HttpData getHttpDataSource() { if (dataSourceCase_ == 3) { - return (com.google.storagetransfer.v1.proto.TransferTypes.HttpData) dataSource_; + return (com.google.storagetransfer.v1.proto.TransferTypes.HttpData) dataSource_; } return com.google.storagetransfer.v1.proto.TransferTypes.HttpData.getDefaultInstance(); } /** - * - * *
      * An HTTP URL data source.
      * 
@@ -16306,24 +17750,20 @@ public com.google.storagetransfer.v1.proto.TransferTypes.HttpData getHttpDataSou * .google.storagetransfer.v1.HttpData http_data_source = 3; */ @java.lang.Override - public com.google.storagetransfer.v1.proto.TransferTypes.HttpDataOrBuilder - getHttpDataSourceOrBuilder() { + public com.google.storagetransfer.v1.proto.TransferTypes.HttpDataOrBuilder getHttpDataSourceOrBuilder() { if (dataSourceCase_ == 3) { - return (com.google.storagetransfer.v1.proto.TransferTypes.HttpData) dataSource_; + return (com.google.storagetransfer.v1.proto.TransferTypes.HttpData) dataSource_; } return com.google.storagetransfer.v1.proto.TransferTypes.HttpData.getDefaultInstance(); } public static final int POSIX_DATA_SOURCE_FIELD_NUMBER = 14; /** - * - * *
      * A POSIX Filesystem data source.
      * 
* * .google.storagetransfer.v1.PosixFilesystem posix_data_source = 14; - * * @return Whether the posixDataSource field is set. */ @java.lang.Override @@ -16331,26 +17771,21 @@ public boolean hasPosixDataSource() { return dataSourceCase_ == 14; } /** - * - * *
      * A POSIX Filesystem data source.
      * 
* * .google.storagetransfer.v1.PosixFilesystem posix_data_source = 14; - * * @return The posixDataSource. */ @java.lang.Override public com.google.storagetransfer.v1.proto.TransferTypes.PosixFilesystem getPosixDataSource() { if (dataSourceCase_ == 14) { - return (com.google.storagetransfer.v1.proto.TransferTypes.PosixFilesystem) dataSource_; + return (com.google.storagetransfer.v1.proto.TransferTypes.PosixFilesystem) dataSource_; } return com.google.storagetransfer.v1.proto.TransferTypes.PosixFilesystem.getDefaultInstance(); } /** - * - * *
      * A POSIX Filesystem data source.
      * 
@@ -16358,25 +17793,20 @@ public com.google.storagetransfer.v1.proto.TransferTypes.PosixFilesystem getPosi * .google.storagetransfer.v1.PosixFilesystem posix_data_source = 14; */ @java.lang.Override - public com.google.storagetransfer.v1.proto.TransferTypes.PosixFilesystemOrBuilder - getPosixDataSourceOrBuilder() { + public com.google.storagetransfer.v1.proto.TransferTypes.PosixFilesystemOrBuilder getPosixDataSourceOrBuilder() { if (dataSourceCase_ == 14) { - return (com.google.storagetransfer.v1.proto.TransferTypes.PosixFilesystem) dataSource_; + return (com.google.storagetransfer.v1.proto.TransferTypes.PosixFilesystem) dataSource_; } return com.google.storagetransfer.v1.proto.TransferTypes.PosixFilesystem.getDefaultInstance(); } public static final int AZURE_BLOB_STORAGE_DATA_SOURCE_FIELD_NUMBER = 8; /** - * - * *
      * An Azure Blob Storage data source.
      * 
* - * .google.storagetransfer.v1.AzureBlobStorageData azure_blob_storage_data_source = 8; - * - * + * .google.storagetransfer.v1.AzureBlobStorageData azure_blob_storage_data_source = 8; * @return Whether the azureBlobStorageDataSource field is set. */ @java.lang.Override @@ -16384,56 +17814,85 @@ public boolean hasAzureBlobStorageDataSource() { return dataSourceCase_ == 8; } /** - * - * *
      * An Azure Blob Storage data source.
      * 
* - * .google.storagetransfer.v1.AzureBlobStorageData azure_blob_storage_data_source = 8; - * - * + * .google.storagetransfer.v1.AzureBlobStorageData azure_blob_storage_data_source = 8; * @return The azureBlobStorageDataSource. */ @java.lang.Override - public com.google.storagetransfer.v1.proto.TransferTypes.AzureBlobStorageData - getAzureBlobStorageDataSource() { + public com.google.storagetransfer.v1.proto.TransferTypes.AzureBlobStorageData getAzureBlobStorageDataSource() { if (dataSourceCase_ == 8) { - return (com.google.storagetransfer.v1.proto.TransferTypes.AzureBlobStorageData) dataSource_; + return (com.google.storagetransfer.v1.proto.TransferTypes.AzureBlobStorageData) dataSource_; } - return com.google.storagetransfer.v1.proto.TransferTypes.AzureBlobStorageData - .getDefaultInstance(); + return com.google.storagetransfer.v1.proto.TransferTypes.AzureBlobStorageData.getDefaultInstance(); } /** - * - * *
      * An Azure Blob Storage data source.
      * 
* - * .google.storagetransfer.v1.AzureBlobStorageData azure_blob_storage_data_source = 8; - * + * .google.storagetransfer.v1.AzureBlobStorageData azure_blob_storage_data_source = 8; */ @java.lang.Override - public com.google.storagetransfer.v1.proto.TransferTypes.AzureBlobStorageDataOrBuilder - getAzureBlobStorageDataSourceOrBuilder() { + public com.google.storagetransfer.v1.proto.TransferTypes.AzureBlobStorageDataOrBuilder getAzureBlobStorageDataSourceOrBuilder() { if (dataSourceCase_ == 8) { - return (com.google.storagetransfer.v1.proto.TransferTypes.AzureBlobStorageData) dataSource_; + return (com.google.storagetransfer.v1.proto.TransferTypes.AzureBlobStorageData) dataSource_; } - return com.google.storagetransfer.v1.proto.TransferTypes.AzureBlobStorageData - .getDefaultInstance(); + return com.google.storagetransfer.v1.proto.TransferTypes.AzureBlobStorageData.getDefaultInstance(); } - public static final int GCS_INTERMEDIATE_DATA_LOCATION_FIELD_NUMBER = 16; + public static final int AWS_S3_COMPATIBLE_DATA_SOURCE_FIELD_NUMBER = 19; + /** + *
+     * An AWS S3 compatible data source.
+     * 
+ * + * .google.storagetransfer.v1.AwsS3CompatibleData aws_s3_compatible_data_source = 19; + * @return Whether the awsS3CompatibleDataSource field is set. + */ + @java.lang.Override + public boolean hasAwsS3CompatibleDataSource() { + return dataSourceCase_ == 19; + } /** + *
+     * An AWS S3 compatible data source.
+     * 
* + * .google.storagetransfer.v1.AwsS3CompatibleData aws_s3_compatible_data_source = 19; + * @return The awsS3CompatibleDataSource. + */ + @java.lang.Override + public com.google.storagetransfer.v1.proto.TransferTypes.AwsS3CompatibleData getAwsS3CompatibleDataSource() { + if (dataSourceCase_ == 19) { + return (com.google.storagetransfer.v1.proto.TransferTypes.AwsS3CompatibleData) dataSource_; + } + return com.google.storagetransfer.v1.proto.TransferTypes.AwsS3CompatibleData.getDefaultInstance(); + } + /** + *
+     * An AWS S3 compatible data source.
+     * 
* + * .google.storagetransfer.v1.AwsS3CompatibleData aws_s3_compatible_data_source = 19; + */ + @java.lang.Override + public com.google.storagetransfer.v1.proto.TransferTypes.AwsS3CompatibleDataOrBuilder getAwsS3CompatibleDataSourceOrBuilder() { + if (dataSourceCase_ == 19) { + return (com.google.storagetransfer.v1.proto.TransferTypes.AwsS3CompatibleData) dataSource_; + } + return com.google.storagetransfer.v1.proto.TransferTypes.AwsS3CompatibleData.getDefaultInstance(); + } + + public static final int GCS_INTERMEDIATE_DATA_LOCATION_FIELD_NUMBER = 16; + /** *
      * Cloud Storage intermediate data location.
      * 
* * .google.storagetransfer.v1.GcsData gcs_intermediate_data_location = 16; - * * @return Whether the gcsIntermediateDataLocation field is set. */ @java.lang.Override @@ -16441,28 +17900,21 @@ public boolean hasGcsIntermediateDataLocation() { return intermediateDataLocationCase_ == 16; } /** - * - * *
      * Cloud Storage intermediate data location.
      * 
* * .google.storagetransfer.v1.GcsData gcs_intermediate_data_location = 16; - * * @return The gcsIntermediateDataLocation. */ @java.lang.Override - public com.google.storagetransfer.v1.proto.TransferTypes.GcsData - getGcsIntermediateDataLocation() { + public com.google.storagetransfer.v1.proto.TransferTypes.GcsData getGcsIntermediateDataLocation() { if (intermediateDataLocationCase_ == 16) { - return (com.google.storagetransfer.v1.proto.TransferTypes.GcsData) - intermediateDataLocation_; + return (com.google.storagetransfer.v1.proto.TransferTypes.GcsData) intermediateDataLocation_; } return com.google.storagetransfer.v1.proto.TransferTypes.GcsData.getDefaultInstance(); } /** - * - * *
      * Cloud Storage intermediate data location.
      * 
@@ -16470,11 +17922,9 @@ public boolean hasGcsIntermediateDataLocation() { * .google.storagetransfer.v1.GcsData gcs_intermediate_data_location = 16; */ @java.lang.Override - public com.google.storagetransfer.v1.proto.TransferTypes.GcsDataOrBuilder - getGcsIntermediateDataLocationOrBuilder() { + public com.google.storagetransfer.v1.proto.TransferTypes.GcsDataOrBuilder getGcsIntermediateDataLocationOrBuilder() { if (intermediateDataLocationCase_ == 16) { - return (com.google.storagetransfer.v1.proto.TransferTypes.GcsData) - intermediateDataLocation_; + return (com.google.storagetransfer.v1.proto.TransferTypes.GcsData) intermediateDataLocation_; } return com.google.storagetransfer.v1.proto.TransferTypes.GcsData.getDefaultInstance(); } @@ -16482,8 +17932,6 @@ public boolean hasGcsIntermediateDataLocation() { public static final int OBJECT_CONDITIONS_FIELD_NUMBER = 5; private com.google.storagetransfer.v1.proto.TransferTypes.ObjectConditions objectConditions_; /** - * - * *
      * Only objects that satisfy these object conditions are included in the set
      * of data source and data sink objects.  Object conditions based on
@@ -16491,7 +17939,6 @@ public boolean hasGcsIntermediateDataLocation() {
      * 
* * .google.storagetransfer.v1.ObjectConditions object_conditions = 5; - * * @return Whether the objectConditions field is set. */ @java.lang.Override @@ -16499,8 +17946,6 @@ public boolean hasObjectConditions() { return objectConditions_ != null; } /** - * - * *
      * Only objects that satisfy these object conditions are included in the set
      * of data source and data sink objects.  Object conditions based on
@@ -16508,19 +17953,13 @@ public boolean hasObjectConditions() {
      * 
* * .google.storagetransfer.v1.ObjectConditions object_conditions = 5; - * * @return The objectConditions. */ @java.lang.Override - public com.google.storagetransfer.v1.proto.TransferTypes.ObjectConditions - getObjectConditions() { - return objectConditions_ == null - ? com.google.storagetransfer.v1.proto.TransferTypes.ObjectConditions.getDefaultInstance() - : objectConditions_; + public com.google.storagetransfer.v1.proto.TransferTypes.ObjectConditions getObjectConditions() { + return objectConditions_ == null ? com.google.storagetransfer.v1.proto.TransferTypes.ObjectConditions.getDefaultInstance() : objectConditions_; } /** - * - * *
      * Only objects that satisfy these object conditions are included in the set
      * of data source and data sink objects.  Object conditions based on
@@ -16530,16 +17969,13 @@ public boolean hasObjectConditions() {
      * .google.storagetransfer.v1.ObjectConditions object_conditions = 5;
      */
     @java.lang.Override
-    public com.google.storagetransfer.v1.proto.TransferTypes.ObjectConditionsOrBuilder
-        getObjectConditionsOrBuilder() {
+    public com.google.storagetransfer.v1.proto.TransferTypes.ObjectConditionsOrBuilder getObjectConditionsOrBuilder() {
       return getObjectConditions();
     }
 
     public static final int TRANSFER_OPTIONS_FIELD_NUMBER = 6;
     private com.google.storagetransfer.v1.proto.TransferTypes.TransferOptions transferOptions_;
     /**
-     *
-     *
      * 
      * If the option
      * [delete_objects_unique_in_sink][google.storagetransfer.v1.TransferOptions.delete_objects_unique_in_sink]
@@ -16549,7 +17985,6 @@ public boolean hasObjectConditions() {
      * 
* * .google.storagetransfer.v1.TransferOptions transfer_options = 6; - * * @return Whether the transferOptions field is set. */ @java.lang.Override @@ -16557,8 +17992,6 @@ public boolean hasTransferOptions() { return transferOptions_ != null; } /** - * - * *
      * If the option
      * [delete_objects_unique_in_sink][google.storagetransfer.v1.TransferOptions.delete_objects_unique_in_sink]
@@ -16568,18 +18001,13 @@ public boolean hasTransferOptions() {
      * 
* * .google.storagetransfer.v1.TransferOptions transfer_options = 6; - * * @return The transferOptions. */ @java.lang.Override public com.google.storagetransfer.v1.proto.TransferTypes.TransferOptions getTransferOptions() { - return transferOptions_ == null - ? com.google.storagetransfer.v1.proto.TransferTypes.TransferOptions.getDefaultInstance() - : transferOptions_; + return transferOptions_ == null ? com.google.storagetransfer.v1.proto.TransferTypes.TransferOptions.getDefaultInstance() : transferOptions_; } /** - * - * *
      * If the option
      * [delete_objects_unique_in_sink][google.storagetransfer.v1.TransferOptions.delete_objects_unique_in_sink]
@@ -16591,16 +18019,13 @@ public com.google.storagetransfer.v1.proto.TransferTypes.TransferOptions getTran
      * .google.storagetransfer.v1.TransferOptions transfer_options = 6;
      */
     @java.lang.Override
-    public com.google.storagetransfer.v1.proto.TransferTypes.TransferOptionsOrBuilder
-        getTransferOptionsOrBuilder() {
+    public com.google.storagetransfer.v1.proto.TransferTypes.TransferOptionsOrBuilder getTransferOptionsOrBuilder() {
       return getTransferOptions();
     }
 
     public static final int TRANSFER_MANIFEST_FIELD_NUMBER = 15;
     private com.google.storagetransfer.v1.proto.TransferTypes.TransferManifest transferManifest_;
     /**
-     *
-     *
      * 
      * A manifest file provides a list of objects to be transferred from the data
      * source. This field points to the location of the manifest file.
@@ -16608,7 +18033,6 @@ public com.google.storagetransfer.v1.proto.TransferTypes.TransferOptions getTran
      * 
* * .google.storagetransfer.v1.TransferManifest transfer_manifest = 15; - * * @return Whether the transferManifest field is set. */ @java.lang.Override @@ -16616,8 +18040,6 @@ public boolean hasTransferManifest() { return transferManifest_ != null; } /** - * - * *
      * A manifest file provides a list of objects to be transferred from the data
      * source. This field points to the location of the manifest file.
@@ -16625,19 +18047,13 @@ public boolean hasTransferManifest() {
      * 
* * .google.storagetransfer.v1.TransferManifest transfer_manifest = 15; - * * @return The transferManifest. */ @java.lang.Override - public com.google.storagetransfer.v1.proto.TransferTypes.TransferManifest - getTransferManifest() { - return transferManifest_ == null - ? com.google.storagetransfer.v1.proto.TransferTypes.TransferManifest.getDefaultInstance() - : transferManifest_; + public com.google.storagetransfer.v1.proto.TransferTypes.TransferManifest getTransferManifest() { + return transferManifest_ == null ? com.google.storagetransfer.v1.proto.TransferTypes.TransferManifest.getDefaultInstance() : transferManifest_; } /** - * - * *
      * A manifest file provides a list of objects to be transferred from the data
      * source. This field points to the location of the manifest file.
@@ -16647,23 +18063,19 @@ public boolean hasTransferManifest() {
      * .google.storagetransfer.v1.TransferManifest transfer_manifest = 15;
      */
     @java.lang.Override
-    public com.google.storagetransfer.v1.proto.TransferTypes.TransferManifestOrBuilder
-        getTransferManifestOrBuilder() {
+    public com.google.storagetransfer.v1.proto.TransferTypes.TransferManifestOrBuilder getTransferManifestOrBuilder() {
       return getTransferManifest();
     }
 
     public static final int SOURCE_AGENT_POOL_NAME_FIELD_NUMBER = 17;
     private volatile java.lang.Object sourceAgentPoolName_;
     /**
-     *
-     *
      * 
      * Specifies the agent pool name associated with the posix data source. When
      * unspecified, the default name is used.
      * 
* * string source_agent_pool_name = 17; - * * @return The sourceAgentPoolName. */ @java.lang.Override @@ -16672,30 +18084,30 @@ public java.lang.String getSourceAgentPoolName() { 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(); sourceAgentPoolName_ = s; return s; } } /** - * - * *
      * Specifies the agent pool name associated with the posix data source. When
      * unspecified, the default name is used.
      * 
* * string source_agent_pool_name = 17; - * * @return The bytes for sourceAgentPoolName. */ @java.lang.Override - public com.google.protobuf.ByteString getSourceAgentPoolNameBytes() { + public com.google.protobuf.ByteString + getSourceAgentPoolNameBytes() { java.lang.Object ref = sourceAgentPoolName_; 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); sourceAgentPoolName_ = b; return b; } else { @@ -16706,15 +18118,12 @@ public com.google.protobuf.ByteString getSourceAgentPoolNameBytes() { public static final int SINK_AGENT_POOL_NAME_FIELD_NUMBER = 18; private volatile java.lang.Object sinkAgentPoolName_; /** - * - * *
      * Specifies the agent pool name associated with the posix data sink. When
      * unspecified, the default name is used.
      * 
* * string sink_agent_pool_name = 18; - * * @return The sinkAgentPoolName. */ @java.lang.Override @@ -16723,30 +18132,30 @@ public java.lang.String getSinkAgentPoolName() { 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(); sinkAgentPoolName_ = s; return s; } } /** - * - * *
      * Specifies the agent pool name associated with the posix data sink. When
      * unspecified, the default name is used.
      * 
* * string sink_agent_pool_name = 18; - * * @return The bytes for sinkAgentPoolName. */ @java.lang.Override - public com.google.protobuf.ByteString getSinkAgentPoolNameBytes() { + public com.google.protobuf.ByteString + getSinkAgentPoolNameBytes() { java.lang.Object ref = sinkAgentPoolName_; 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); sinkAgentPoolName_ = b; return b; } else { @@ -16755,7 +18164,6 @@ public com.google.protobuf.ByteString getSinkAgentPoolNameBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -16767,22 +18175,19 @@ 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 (dataSourceCase_ == 1) { - output.writeMessage( - 1, (com.google.storagetransfer.v1.proto.TransferTypes.GcsData) dataSource_); + output.writeMessage(1, (com.google.storagetransfer.v1.proto.TransferTypes.GcsData) dataSource_); } if (dataSourceCase_ == 2) { - output.writeMessage( - 2, (com.google.storagetransfer.v1.proto.TransferTypes.AwsS3Data) dataSource_); + output.writeMessage(2, (com.google.storagetransfer.v1.proto.TransferTypes.AwsS3Data) dataSource_); } if (dataSourceCase_ == 3) { - output.writeMessage( - 3, (com.google.storagetransfer.v1.proto.TransferTypes.HttpData) dataSource_); + output.writeMessage(3, (com.google.storagetransfer.v1.proto.TransferTypes.HttpData) dataSource_); } if (dataSinkCase_ == 4) { - output.writeMessage( - 4, (com.google.storagetransfer.v1.proto.TransferTypes.GcsData) dataSink_); + output.writeMessage(4, (com.google.storagetransfer.v1.proto.TransferTypes.GcsData) dataSink_); } if (objectConditions_ != null) { output.writeMessage(5, getObjectConditions()); @@ -16791,25 +18196,19 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io output.writeMessage(6, getTransferOptions()); } if (dataSourceCase_ == 8) { - output.writeMessage( - 8, - (com.google.storagetransfer.v1.proto.TransferTypes.AzureBlobStorageData) dataSource_); + output.writeMessage(8, (com.google.storagetransfer.v1.proto.TransferTypes.AzureBlobStorageData) dataSource_); } if (dataSinkCase_ == 13) { - output.writeMessage( - 13, (com.google.storagetransfer.v1.proto.TransferTypes.PosixFilesystem) dataSink_); + output.writeMessage(13, (com.google.storagetransfer.v1.proto.TransferTypes.PosixFilesystem) dataSink_); } if (dataSourceCase_ == 14) { - output.writeMessage( - 14, (com.google.storagetransfer.v1.proto.TransferTypes.PosixFilesystem) dataSource_); + output.writeMessage(14, (com.google.storagetransfer.v1.proto.TransferTypes.PosixFilesystem) dataSource_); } if (transferManifest_ != null) { output.writeMessage(15, getTransferManifest()); } if (intermediateDataLocationCase_ == 16) { - output.writeMessage( - 16, - (com.google.storagetransfer.v1.proto.TransferTypes.GcsData) intermediateDataLocation_); + output.writeMessage(16, (com.google.storagetransfer.v1.proto.TransferTypes.GcsData) intermediateDataLocation_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(sourceAgentPoolName_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 17, sourceAgentPoolName_); @@ -16817,6 +18216,9 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(sinkAgentPoolName_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 18, sinkAgentPoolName_); } + if (dataSourceCase_ == 19) { + output.writeMessage(19, (com.google.storagetransfer.v1.proto.TransferTypes.AwsS3CompatibleData) dataSource_); + } unknownFields.writeTo(output); } @@ -16827,58 +18229,48 @@ public int getSerializedSize() { size = 0; if (dataSourceCase_ == 1) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize( - 1, (com.google.storagetransfer.v1.proto.TransferTypes.GcsData) dataSource_); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, (com.google.storagetransfer.v1.proto.TransferTypes.GcsData) dataSource_); } if (dataSourceCase_ == 2) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize( - 2, (com.google.storagetransfer.v1.proto.TransferTypes.AwsS3Data) dataSource_); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, (com.google.storagetransfer.v1.proto.TransferTypes.AwsS3Data) dataSource_); } if (dataSourceCase_ == 3) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize( - 3, (com.google.storagetransfer.v1.proto.TransferTypes.HttpData) dataSource_); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(3, (com.google.storagetransfer.v1.proto.TransferTypes.HttpData) dataSource_); } if (dataSinkCase_ == 4) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize( - 4, (com.google.storagetransfer.v1.proto.TransferTypes.GcsData) dataSink_); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(4, (com.google.storagetransfer.v1.proto.TransferTypes.GcsData) dataSink_); } if (objectConditions_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(5, getObjectConditions()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(5, getObjectConditions()); } if (transferOptions_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(6, getTransferOptions()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(6, getTransferOptions()); } if (dataSourceCase_ == 8) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize( - 8, - (com.google.storagetransfer.v1.proto.TransferTypes.AzureBlobStorageData) - dataSource_); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(8, (com.google.storagetransfer.v1.proto.TransferTypes.AzureBlobStorageData) dataSource_); } if (dataSinkCase_ == 13) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize( - 13, (com.google.storagetransfer.v1.proto.TransferTypes.PosixFilesystem) dataSink_); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(13, (com.google.storagetransfer.v1.proto.TransferTypes.PosixFilesystem) dataSink_); } if (dataSourceCase_ == 14) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize( - 14, - (com.google.storagetransfer.v1.proto.TransferTypes.PosixFilesystem) dataSource_); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(14, (com.google.storagetransfer.v1.proto.TransferTypes.PosixFilesystem) dataSource_); } if (transferManifest_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(15, getTransferManifest()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(15, getTransferManifest()); } if (intermediateDataLocationCase_ == 16) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize( - 16, - (com.google.storagetransfer.v1.proto.TransferTypes.GcsData) - intermediateDataLocation_); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(16, (com.google.storagetransfer.v1.proto.TransferTypes.GcsData) intermediateDataLocation_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(sourceAgentPoolName_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(17, sourceAgentPoolName_); @@ -16886,6 +18278,10 @@ public int getSerializedSize() { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(sinkAgentPoolName_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(18, sinkAgentPoolName_); } + if (dataSourceCase_ == 19) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(19, (com.google.storagetransfer.v1.proto.TransferTypes.AwsS3CompatibleData) dataSource_); + } size += unknownFields.getSerializedSize(); memoizedSize = size; return size; @@ -16894,35 +18290,41 @@ 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.storagetransfer.v1.proto.TransferTypes.TransferSpec)) { return super.equals(obj); } - com.google.storagetransfer.v1.proto.TransferTypes.TransferSpec other = - (com.google.storagetransfer.v1.proto.TransferTypes.TransferSpec) obj; + com.google.storagetransfer.v1.proto.TransferTypes.TransferSpec other = (com.google.storagetransfer.v1.proto.TransferTypes.TransferSpec) obj; if (hasObjectConditions() != other.hasObjectConditions()) return false; if (hasObjectConditions()) { - if (!getObjectConditions().equals(other.getObjectConditions())) return false; + if (!getObjectConditions() + .equals(other.getObjectConditions())) return false; } if (hasTransferOptions() != other.hasTransferOptions()) return false; if (hasTransferOptions()) { - if (!getTransferOptions().equals(other.getTransferOptions())) return false; + if (!getTransferOptions() + .equals(other.getTransferOptions())) return false; } if (hasTransferManifest() != other.hasTransferManifest()) return false; if (hasTransferManifest()) { - if (!getTransferManifest().equals(other.getTransferManifest())) return false; + if (!getTransferManifest() + .equals(other.getTransferManifest())) return false; } - if (!getSourceAgentPoolName().equals(other.getSourceAgentPoolName())) return false; - if (!getSinkAgentPoolName().equals(other.getSinkAgentPoolName())) return false; + if (!getSourceAgentPoolName() + .equals(other.getSourceAgentPoolName())) return false; + if (!getSinkAgentPoolName() + .equals(other.getSinkAgentPoolName())) return false; if (!getDataSinkCase().equals(other.getDataSinkCase())) return false; switch (dataSinkCase_) { case 4: - if (!getGcsDataSink().equals(other.getGcsDataSink())) return false; + if (!getGcsDataSink() + .equals(other.getGcsDataSink())) return false; break; case 13: - if (!getPosixDataSink().equals(other.getPosixDataSink())) return false; + if (!getPosixDataSink() + .equals(other.getPosixDataSink())) return false; break; case 0: default: @@ -16930,30 +18332,37 @@ public boolean equals(final java.lang.Object obj) { if (!getDataSourceCase().equals(other.getDataSourceCase())) return false; switch (dataSourceCase_) { case 1: - if (!getGcsDataSource().equals(other.getGcsDataSource())) return false; + if (!getGcsDataSource() + .equals(other.getGcsDataSource())) return false; break; case 2: - if (!getAwsS3DataSource().equals(other.getAwsS3DataSource())) return false; + if (!getAwsS3DataSource() + .equals(other.getAwsS3DataSource())) return false; break; case 3: - if (!getHttpDataSource().equals(other.getHttpDataSource())) return false; + if (!getHttpDataSource() + .equals(other.getHttpDataSource())) return false; break; case 14: - if (!getPosixDataSource().equals(other.getPosixDataSource())) return false; + if (!getPosixDataSource() + .equals(other.getPosixDataSource())) return false; break; case 8: - if (!getAzureBlobStorageDataSource().equals(other.getAzureBlobStorageDataSource())) - return false; + if (!getAzureBlobStorageDataSource() + .equals(other.getAzureBlobStorageDataSource())) return false; + break; + case 19: + if (!getAwsS3CompatibleDataSource() + .equals(other.getAwsS3CompatibleDataSource())) return false; break; case 0: default: } - if (!getIntermediateDataLocationCase().equals(other.getIntermediateDataLocationCase())) - return false; + if (!getIntermediateDataLocationCase().equals(other.getIntermediateDataLocationCase())) return false; switch (intermediateDataLocationCase_) { case 16: - if (!getGcsIntermediateDataLocation().equals(other.getGcsIntermediateDataLocation())) - return false; + if (!getGcsIntermediateDataLocation() + .equals(other.getGcsIntermediateDataLocation())) return false; break; case 0: default: @@ -17018,6 +18427,10 @@ public int hashCode() { hash = (37 * hash) + AZURE_BLOB_STORAGE_DATA_SOURCE_FIELD_NUMBER; hash = (53 * hash) + getAzureBlobStorageDataSource().hashCode(); break; + case 19: + hash = (37 * hash) + AWS_S3_COMPATIBLE_DATA_SOURCE_FIELD_NUMBER; + hash = (53 * hash) + getAwsS3CompatibleDataSource().hashCode(); + break; case 0: default: } @@ -17035,94 +18448,87 @@ public int hashCode() { } public static com.google.storagetransfer.v1.proto.TransferTypes.TransferSpec parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.storagetransfer.v1.proto.TransferTypes.TransferSpec 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.storagetransfer.v1.proto.TransferTypes.TransferSpec parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.storagetransfer.v1.proto.TransferTypes.TransferSpec 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.storagetransfer.v1.proto.TransferTypes.TransferSpec parseFrom( - byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.storagetransfer.v1.proto.TransferTypes.TransferSpec parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.storagetransfer.v1.proto.TransferTypes.TransferSpec 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.storagetransfer.v1.proto.TransferTypes.TransferSpec parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.storagetransfer.v1.proto.TransferTypes.TransferSpec parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.storagetransfer.v1.proto.TransferTypes.TransferSpec 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.storagetransfer.v1.proto.TransferTypes.TransferSpec parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.storagetransfer.v1.proto.TransferTypes.TransferSpec parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.storagetransfer.v1.proto.TransferTypes.TransferSpec 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.storagetransfer.v1.proto.TransferTypes.TransferSpec 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.storagetransfer.v1.proto.TransferTypes.TransferSpec 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.storagetransfer.v1.proto.TransferTypes.TransferSpec prototype) { + public static Builder newBuilder(com.google.storagetransfer.v1.proto.TransferTypes.TransferSpec 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 @@ -17132,32 +18538,27 @@ protected Builder newBuilderForType( return builder; } /** - * - * *
      * Configuration for running a transfer.
      * 
* * Protobuf type {@code google.storagetransfer.v1.TransferSpec} */ - public static final class Builder - extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.storagetransfer.v1.TransferSpec) com.google.storagetransfer.v1.proto.TransferTypes.TransferSpecOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.storagetransfer.v1.proto.TransferTypes - .internal_static_google_storagetransfer_v1_TransferSpec_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.storagetransfer.v1.proto.TransferTypes.internal_static_google_storagetransfer_v1_TransferSpec_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.storagetransfer.v1.proto.TransferTypes - .internal_static_google_storagetransfer_v1_TransferSpec_fieldAccessorTable + return com.google.storagetransfer.v1.proto.TransferTypes.internal_static_google_storagetransfer_v1_TransferSpec_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.storagetransfer.v1.proto.TransferTypes.TransferSpec.class, - com.google.storagetransfer.v1.proto.TransferTypes.TransferSpec.Builder.class); + com.google.storagetransfer.v1.proto.TransferTypes.TransferSpec.class, com.google.storagetransfer.v1.proto.TransferTypes.TransferSpec.Builder.class); } // Construct using com.google.storagetransfer.v1.proto.TransferTypes.TransferSpec.newBuilder() @@ -17165,15 +18566,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -17209,14 +18611,13 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.storagetransfer.v1.proto.TransferTypes - .internal_static_google_storagetransfer_v1_TransferSpec_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.storagetransfer.v1.proto.TransferTypes.internal_static_google_storagetransfer_v1_TransferSpec_descriptor; } @java.lang.Override - public com.google.storagetransfer.v1.proto.TransferTypes.TransferSpec - getDefaultInstanceForType() { + public com.google.storagetransfer.v1.proto.TransferTypes.TransferSpec getDefaultInstanceForType() { return com.google.storagetransfer.v1.proto.TransferTypes.TransferSpec.getDefaultInstance(); } @@ -17231,8 +18632,7 @@ public com.google.storagetransfer.v1.proto.TransferTypes.TransferSpec build() { @java.lang.Override public com.google.storagetransfer.v1.proto.TransferTypes.TransferSpec buildPartial() { - com.google.storagetransfer.v1.proto.TransferTypes.TransferSpec result = - new com.google.storagetransfer.v1.proto.TransferTypes.TransferSpec(this); + com.google.storagetransfer.v1.proto.TransferTypes.TransferSpec result = new com.google.storagetransfer.v1.proto.TransferTypes.TransferSpec(this); if (dataSinkCase_ == 4) { if (gcsDataSinkBuilder_ == null) { result.dataSink_ = dataSink_; @@ -17282,6 +18682,13 @@ public com.google.storagetransfer.v1.proto.TransferTypes.TransferSpec buildParti result.dataSource_ = azureBlobStorageDataSourceBuilder_.build(); } } + if (dataSourceCase_ == 19) { + if (awsS3CompatibleDataSourceBuilder_ == null) { + result.dataSource_ = dataSource_; + } else { + result.dataSource_ = awsS3CompatibleDataSourceBuilder_.build(); + } + } if (intermediateDataLocationCase_ == 16) { if (gcsIntermediateDataLocationBuilder_ == null) { result.intermediateDataLocation_ = intermediateDataLocation_; @@ -17317,52 +18724,46 @@ public com.google.storagetransfer.v1.proto.TransferTypes.TransferSpec buildParti public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, - int index, - java.lang.Object value) { + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.storagetransfer.v1.proto.TransferTypes.TransferSpec) { - return mergeFrom((com.google.storagetransfer.v1.proto.TransferTypes.TransferSpec) other); + return mergeFrom((com.google.storagetransfer.v1.proto.TransferTypes.TransferSpec)other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom( - com.google.storagetransfer.v1.proto.TransferTypes.TransferSpec other) { - if (other - == com.google.storagetransfer.v1.proto.TransferTypes.TransferSpec.getDefaultInstance()) - return this; + public Builder mergeFrom(com.google.storagetransfer.v1.proto.TransferTypes.TransferSpec other) { + if (other == com.google.storagetransfer.v1.proto.TransferTypes.TransferSpec.getDefaultInstance()) return this; if (other.hasObjectConditions()) { mergeObjectConditions(other.getObjectConditions()); } @@ -17381,62 +18782,55 @@ public Builder mergeFrom( onChanged(); } switch (other.getDataSinkCase()) { - case GCS_DATA_SINK: - { - mergeGcsDataSink(other.getGcsDataSink()); - break; - } - case POSIX_DATA_SINK: - { - mergePosixDataSink(other.getPosixDataSink()); - break; - } - case DATASINK_NOT_SET: - { - break; - } + case GCS_DATA_SINK: { + mergeGcsDataSink(other.getGcsDataSink()); + break; + } + case POSIX_DATA_SINK: { + mergePosixDataSink(other.getPosixDataSink()); + break; + } + case DATASINK_NOT_SET: { + break; + } } switch (other.getDataSourceCase()) { - case GCS_DATA_SOURCE: - { - mergeGcsDataSource(other.getGcsDataSource()); - break; - } - case AWS_S3_DATA_SOURCE: - { - mergeAwsS3DataSource(other.getAwsS3DataSource()); - break; - } - case HTTP_DATA_SOURCE: - { - mergeHttpDataSource(other.getHttpDataSource()); - break; - } - case POSIX_DATA_SOURCE: - { - mergePosixDataSource(other.getPosixDataSource()); - break; - } - case AZURE_BLOB_STORAGE_DATA_SOURCE: - { - mergeAzureBlobStorageDataSource(other.getAzureBlobStorageDataSource()); - break; - } - case DATASOURCE_NOT_SET: - { - break; - } + case GCS_DATA_SOURCE: { + mergeGcsDataSource(other.getGcsDataSource()); + break; + } + case AWS_S3_DATA_SOURCE: { + mergeAwsS3DataSource(other.getAwsS3DataSource()); + break; + } + case HTTP_DATA_SOURCE: { + mergeHttpDataSource(other.getHttpDataSource()); + break; + } + case POSIX_DATA_SOURCE: { + mergePosixDataSource(other.getPosixDataSource()); + break; + } + case AZURE_BLOB_STORAGE_DATA_SOURCE: { + mergeAzureBlobStorageDataSource(other.getAzureBlobStorageDataSource()); + break; + } + case AWS_S3_COMPATIBLE_DATA_SOURCE: { + mergeAwsS3CompatibleDataSource(other.getAwsS3CompatibleDataSource()); + break; + } + case DATASOURCE_NOT_SET: { + break; + } } switch (other.getIntermediateDataLocationCase()) { - case GCS_INTERMEDIATE_DATA_LOCATION: - { - mergeGcsIntermediateDataLocation(other.getGcsIntermediateDataLocation()); - break; - } - case INTERMEDIATEDATALOCATION_NOT_SET: - { - break; - } + case GCS_INTERMEDIATE_DATA_LOCATION: { + mergeGcsIntermediateDataLocation(other.getGcsIntermediateDataLocation()); + break; + } + case INTERMEDIATEDATALOCATION_NOT_SET: { + break; + } } this.mergeUnknownFields(other.unknownFields); onChanged(); @@ -17457,9 +18851,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.storagetransfer.v1.proto.TransferTypes.TransferSpec) - e.getUnfinishedMessage(); + parsedMessage = (com.google.storagetransfer.v1.proto.TransferTypes.TransferSpec) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -17468,12 +18860,12 @@ public Builder mergeFrom( } return this; } - private int dataSinkCase_ = 0; private java.lang.Object dataSink_; - - public DataSinkCase getDataSinkCase() { - return DataSinkCase.forNumber(dataSinkCase_); + public DataSinkCase + getDataSinkCase() { + return DataSinkCase.forNumber( + dataSinkCase_); } public Builder clearDataSink() { @@ -17485,9 +18877,10 @@ public Builder clearDataSink() { private int dataSourceCase_ = 0; private java.lang.Object dataSource_; - - public DataSourceCase getDataSourceCase() { - return DataSourceCase.forNumber(dataSourceCase_); + public DataSourceCase + getDataSourceCase() { + return DataSourceCase.forNumber( + dataSourceCase_); } public Builder clearDataSource() { @@ -17499,9 +18892,10 @@ public Builder clearDataSource() { private int intermediateDataLocationCase_ = 0; private java.lang.Object intermediateDataLocation_; - - public IntermediateDataLocationCase getIntermediateDataLocationCase() { - return IntermediateDataLocationCase.forNumber(intermediateDataLocationCase_); + public IntermediateDataLocationCase + getIntermediateDataLocationCase() { + return IntermediateDataLocationCase.forNumber( + intermediateDataLocationCase_); } public Builder clearIntermediateDataLocation() { @@ -17511,20 +18905,15 @@ public Builder clearIntermediateDataLocation() { return this; } + private com.google.protobuf.SingleFieldBuilderV3< - com.google.storagetransfer.v1.proto.TransferTypes.GcsData, - com.google.storagetransfer.v1.proto.TransferTypes.GcsData.Builder, - com.google.storagetransfer.v1.proto.TransferTypes.GcsDataOrBuilder> - gcsDataSinkBuilder_; + com.google.storagetransfer.v1.proto.TransferTypes.GcsData, com.google.storagetransfer.v1.proto.TransferTypes.GcsData.Builder, com.google.storagetransfer.v1.proto.TransferTypes.GcsDataOrBuilder> gcsDataSinkBuilder_; /** - * - * *
        * A Cloud Storage data sink.
        * 
* * .google.storagetransfer.v1.GcsData gcs_data_sink = 4; - * * @return Whether the gcsDataSink field is set. */ @java.lang.Override @@ -17532,14 +18921,11 @@ public boolean hasGcsDataSink() { return dataSinkCase_ == 4; } /** - * - * *
        * A Cloud Storage data sink.
        * 
* * .google.storagetransfer.v1.GcsData gcs_data_sink = 4; - * * @return The gcsDataSink. */ @java.lang.Override @@ -17557,16 +18943,13 @@ public com.google.storagetransfer.v1.proto.TransferTypes.GcsData getGcsDataSink( } } /** - * - * *
        * A Cloud Storage data sink.
        * 
* * .google.storagetransfer.v1.GcsData gcs_data_sink = 4; */ - public Builder setGcsDataSink( - com.google.storagetransfer.v1.proto.TransferTypes.GcsData value) { + public Builder setGcsDataSink(com.google.storagetransfer.v1.proto.TransferTypes.GcsData value) { if (gcsDataSinkBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -17580,8 +18963,6 @@ public Builder setGcsDataSink( return this; } /** - * - * *
        * A Cloud Storage data sink.
        * 
@@ -17600,26 +18981,18 @@ public Builder setGcsDataSink( return this; } /** - * - * *
        * A Cloud Storage data sink.
        * 
* * .google.storagetransfer.v1.GcsData gcs_data_sink = 4; */ - public Builder mergeGcsDataSink( - com.google.storagetransfer.v1.proto.TransferTypes.GcsData value) { + public Builder mergeGcsDataSink(com.google.storagetransfer.v1.proto.TransferTypes.GcsData value) { if (gcsDataSinkBuilder_ == null) { - if (dataSinkCase_ == 4 - && dataSink_ - != com.google.storagetransfer.v1.proto.TransferTypes.GcsData - .getDefaultInstance()) { - dataSink_ = - com.google.storagetransfer.v1.proto.TransferTypes.GcsData.newBuilder( - (com.google.storagetransfer.v1.proto.TransferTypes.GcsData) dataSink_) - .mergeFrom(value) - .buildPartial(); + if (dataSinkCase_ == 4 && + dataSink_ != com.google.storagetransfer.v1.proto.TransferTypes.GcsData.getDefaultInstance()) { + dataSink_ = com.google.storagetransfer.v1.proto.TransferTypes.GcsData.newBuilder((com.google.storagetransfer.v1.proto.TransferTypes.GcsData) dataSink_) + .mergeFrom(value).buildPartial(); } else { dataSink_ = value; } @@ -17635,8 +19008,6 @@ public Builder mergeGcsDataSink( return this; } /** - * - * *
        * A Cloud Storage data sink.
        * 
@@ -17660,21 +19031,16 @@ public Builder clearGcsDataSink() { return this; } /** - * - * *
        * A Cloud Storage data sink.
        * 
* * .google.storagetransfer.v1.GcsData gcs_data_sink = 4; */ - public com.google.storagetransfer.v1.proto.TransferTypes.GcsData.Builder - getGcsDataSinkBuilder() { + public com.google.storagetransfer.v1.proto.TransferTypes.GcsData.Builder getGcsDataSinkBuilder() { return getGcsDataSinkFieldBuilder().getBuilder(); } /** - * - * *
        * A Cloud Storage data sink.
        * 
@@ -17682,8 +19048,7 @@ public Builder clearGcsDataSink() { * .google.storagetransfer.v1.GcsData gcs_data_sink = 4; */ @java.lang.Override - public com.google.storagetransfer.v1.proto.TransferTypes.GcsDataOrBuilder - getGcsDataSinkOrBuilder() { + public com.google.storagetransfer.v1.proto.TransferTypes.GcsDataOrBuilder getGcsDataSinkOrBuilder() { if ((dataSinkCase_ == 4) && (gcsDataSinkBuilder_ != null)) { return gcsDataSinkBuilder_.getMessageOrBuilder(); } else { @@ -17694,8 +19059,6 @@ public Builder clearGcsDataSink() { } } /** - * - * *
        * A Cloud Storage data sink.
        * 
@@ -17703,45 +19066,32 @@ public Builder clearGcsDataSink() { * .google.storagetransfer.v1.GcsData gcs_data_sink = 4; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.storagetransfer.v1.proto.TransferTypes.GcsData, - com.google.storagetransfer.v1.proto.TransferTypes.GcsData.Builder, - com.google.storagetransfer.v1.proto.TransferTypes.GcsDataOrBuilder> + com.google.storagetransfer.v1.proto.TransferTypes.GcsData, com.google.storagetransfer.v1.proto.TransferTypes.GcsData.Builder, com.google.storagetransfer.v1.proto.TransferTypes.GcsDataOrBuilder> getGcsDataSinkFieldBuilder() { if (gcsDataSinkBuilder_ == null) { if (!(dataSinkCase_ == 4)) { - dataSink_ = - com.google.storagetransfer.v1.proto.TransferTypes.GcsData.getDefaultInstance(); + dataSink_ = com.google.storagetransfer.v1.proto.TransferTypes.GcsData.getDefaultInstance(); } - gcsDataSinkBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.storagetransfer.v1.proto.TransferTypes.GcsData, - com.google.storagetransfer.v1.proto.TransferTypes.GcsData.Builder, - com.google.storagetransfer.v1.proto.TransferTypes.GcsDataOrBuilder>( + gcsDataSinkBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.storagetransfer.v1.proto.TransferTypes.GcsData, com.google.storagetransfer.v1.proto.TransferTypes.GcsData.Builder, com.google.storagetransfer.v1.proto.TransferTypes.GcsDataOrBuilder>( (com.google.storagetransfer.v1.proto.TransferTypes.GcsData) dataSink_, getParentForChildren(), isClean()); dataSink_ = null; } dataSinkCase_ = 4; - onChanged(); - ; + onChanged();; return gcsDataSinkBuilder_; } private com.google.protobuf.SingleFieldBuilderV3< - com.google.storagetransfer.v1.proto.TransferTypes.PosixFilesystem, - com.google.storagetransfer.v1.proto.TransferTypes.PosixFilesystem.Builder, - com.google.storagetransfer.v1.proto.TransferTypes.PosixFilesystemOrBuilder> - posixDataSinkBuilder_; + com.google.storagetransfer.v1.proto.TransferTypes.PosixFilesystem, com.google.storagetransfer.v1.proto.TransferTypes.PosixFilesystem.Builder, com.google.storagetransfer.v1.proto.TransferTypes.PosixFilesystemOrBuilder> posixDataSinkBuilder_; /** - * - * *
        * A POSIX Filesystem data sink.
        * 
* * .google.storagetransfer.v1.PosixFilesystem posix_data_sink = 13; - * * @return Whether the posixDataSink field is set. */ @java.lang.Override @@ -17749,14 +19099,11 @@ public boolean hasPosixDataSink() { return dataSinkCase_ == 13; } /** - * - * *
        * A POSIX Filesystem data sink.
        * 
* * .google.storagetransfer.v1.PosixFilesystem posix_data_sink = 13; - * * @return The posixDataSink. */ @java.lang.Override @@ -17765,27 +19112,22 @@ public com.google.storagetransfer.v1.proto.TransferTypes.PosixFilesystem getPosi if (dataSinkCase_ == 13) { return (com.google.storagetransfer.v1.proto.TransferTypes.PosixFilesystem) dataSink_; } - return com.google.storagetransfer.v1.proto.TransferTypes.PosixFilesystem - .getDefaultInstance(); + return com.google.storagetransfer.v1.proto.TransferTypes.PosixFilesystem.getDefaultInstance(); } else { if (dataSinkCase_ == 13) { return posixDataSinkBuilder_.getMessage(); } - return com.google.storagetransfer.v1.proto.TransferTypes.PosixFilesystem - .getDefaultInstance(); + return com.google.storagetransfer.v1.proto.TransferTypes.PosixFilesystem.getDefaultInstance(); } } /** - * - * *
        * A POSIX Filesystem data sink.
        * 
* * .google.storagetransfer.v1.PosixFilesystem posix_data_sink = 13; */ - public Builder setPosixDataSink( - com.google.storagetransfer.v1.proto.TransferTypes.PosixFilesystem value) { + public Builder setPosixDataSink(com.google.storagetransfer.v1.proto.TransferTypes.PosixFilesystem value) { if (posixDataSinkBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -17799,8 +19141,6 @@ public Builder setPosixDataSink( return this; } /** - * - * *
        * A POSIX Filesystem data sink.
        * 
@@ -17808,8 +19148,7 @@ public Builder setPosixDataSink( * .google.storagetransfer.v1.PosixFilesystem posix_data_sink = 13; */ public Builder setPosixDataSink( - com.google.storagetransfer.v1.proto.TransferTypes.PosixFilesystem.Builder - builderForValue) { + com.google.storagetransfer.v1.proto.TransferTypes.PosixFilesystem.Builder builderForValue) { if (posixDataSinkBuilder_ == null) { dataSink_ = builderForValue.build(); onChanged(); @@ -17820,27 +19159,18 @@ public Builder setPosixDataSink( return this; } /** - * - * *
        * A POSIX Filesystem data sink.
        * 
* * .google.storagetransfer.v1.PosixFilesystem posix_data_sink = 13; */ - public Builder mergePosixDataSink( - com.google.storagetransfer.v1.proto.TransferTypes.PosixFilesystem value) { + public Builder mergePosixDataSink(com.google.storagetransfer.v1.proto.TransferTypes.PosixFilesystem value) { if (posixDataSinkBuilder_ == null) { - if (dataSinkCase_ == 13 - && dataSink_ - != com.google.storagetransfer.v1.proto.TransferTypes.PosixFilesystem - .getDefaultInstance()) { - dataSink_ = - com.google.storagetransfer.v1.proto.TransferTypes.PosixFilesystem.newBuilder( - (com.google.storagetransfer.v1.proto.TransferTypes.PosixFilesystem) - dataSink_) - .mergeFrom(value) - .buildPartial(); + if (dataSinkCase_ == 13 && + dataSink_ != com.google.storagetransfer.v1.proto.TransferTypes.PosixFilesystem.getDefaultInstance()) { + dataSink_ = com.google.storagetransfer.v1.proto.TransferTypes.PosixFilesystem.newBuilder((com.google.storagetransfer.v1.proto.TransferTypes.PosixFilesystem) dataSink_) + .mergeFrom(value).buildPartial(); } else { dataSink_ = value; } @@ -17856,8 +19186,6 @@ public Builder mergePosixDataSink( return this; } /** - * - * *
        * A POSIX Filesystem data sink.
        * 
@@ -17881,21 +19209,16 @@ public Builder clearPosixDataSink() { return this; } /** - * - * *
        * A POSIX Filesystem data sink.
        * 
* * .google.storagetransfer.v1.PosixFilesystem posix_data_sink = 13; */ - public com.google.storagetransfer.v1.proto.TransferTypes.PosixFilesystem.Builder - getPosixDataSinkBuilder() { + public com.google.storagetransfer.v1.proto.TransferTypes.PosixFilesystem.Builder getPosixDataSinkBuilder() { return getPosixDataSinkFieldBuilder().getBuilder(); } /** - * - * *
        * A POSIX Filesystem data sink.
        * 
@@ -17903,21 +19226,17 @@ public Builder clearPosixDataSink() { * .google.storagetransfer.v1.PosixFilesystem posix_data_sink = 13; */ @java.lang.Override - public com.google.storagetransfer.v1.proto.TransferTypes.PosixFilesystemOrBuilder - getPosixDataSinkOrBuilder() { + public com.google.storagetransfer.v1.proto.TransferTypes.PosixFilesystemOrBuilder getPosixDataSinkOrBuilder() { if ((dataSinkCase_ == 13) && (posixDataSinkBuilder_ != null)) { return posixDataSinkBuilder_.getMessageOrBuilder(); } else { if (dataSinkCase_ == 13) { return (com.google.storagetransfer.v1.proto.TransferTypes.PosixFilesystem) dataSink_; } - return com.google.storagetransfer.v1.proto.TransferTypes.PosixFilesystem - .getDefaultInstance(); + return com.google.storagetransfer.v1.proto.TransferTypes.PosixFilesystem.getDefaultInstance(); } } /** - * - * *
        * A POSIX Filesystem data sink.
        * 
@@ -17925,46 +19244,32 @@ public Builder clearPosixDataSink() { * .google.storagetransfer.v1.PosixFilesystem posix_data_sink = 13; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.storagetransfer.v1.proto.TransferTypes.PosixFilesystem, - com.google.storagetransfer.v1.proto.TransferTypes.PosixFilesystem.Builder, - com.google.storagetransfer.v1.proto.TransferTypes.PosixFilesystemOrBuilder> + com.google.storagetransfer.v1.proto.TransferTypes.PosixFilesystem, com.google.storagetransfer.v1.proto.TransferTypes.PosixFilesystem.Builder, com.google.storagetransfer.v1.proto.TransferTypes.PosixFilesystemOrBuilder> getPosixDataSinkFieldBuilder() { if (posixDataSinkBuilder_ == null) { if (!(dataSinkCase_ == 13)) { - dataSink_ = - com.google.storagetransfer.v1.proto.TransferTypes.PosixFilesystem - .getDefaultInstance(); + dataSink_ = com.google.storagetransfer.v1.proto.TransferTypes.PosixFilesystem.getDefaultInstance(); } - posixDataSinkBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.storagetransfer.v1.proto.TransferTypes.PosixFilesystem, - com.google.storagetransfer.v1.proto.TransferTypes.PosixFilesystem.Builder, - com.google.storagetransfer.v1.proto.TransferTypes.PosixFilesystemOrBuilder>( + posixDataSinkBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.storagetransfer.v1.proto.TransferTypes.PosixFilesystem, com.google.storagetransfer.v1.proto.TransferTypes.PosixFilesystem.Builder, com.google.storagetransfer.v1.proto.TransferTypes.PosixFilesystemOrBuilder>( (com.google.storagetransfer.v1.proto.TransferTypes.PosixFilesystem) dataSink_, getParentForChildren(), isClean()); dataSink_ = null; } dataSinkCase_ = 13; - onChanged(); - ; + onChanged();; return posixDataSinkBuilder_; } private com.google.protobuf.SingleFieldBuilderV3< - com.google.storagetransfer.v1.proto.TransferTypes.GcsData, - com.google.storagetransfer.v1.proto.TransferTypes.GcsData.Builder, - com.google.storagetransfer.v1.proto.TransferTypes.GcsDataOrBuilder> - gcsDataSourceBuilder_; + com.google.storagetransfer.v1.proto.TransferTypes.GcsData, com.google.storagetransfer.v1.proto.TransferTypes.GcsData.Builder, com.google.storagetransfer.v1.proto.TransferTypes.GcsDataOrBuilder> gcsDataSourceBuilder_; /** - * - * *
        * A Cloud Storage data source.
        * 
* * .google.storagetransfer.v1.GcsData gcs_data_source = 1; - * * @return Whether the gcsDataSource field is set. */ @java.lang.Override @@ -17972,14 +19277,11 @@ public boolean hasGcsDataSource() { return dataSourceCase_ == 1; } /** - * - * *
        * A Cloud Storage data source.
        * 
* * .google.storagetransfer.v1.GcsData gcs_data_source = 1; - * * @return The gcsDataSource. */ @java.lang.Override @@ -17997,16 +19299,13 @@ public com.google.storagetransfer.v1.proto.TransferTypes.GcsData getGcsDataSourc } } /** - * - * *
        * A Cloud Storage data source.
        * 
* * .google.storagetransfer.v1.GcsData gcs_data_source = 1; */ - public Builder setGcsDataSource( - com.google.storagetransfer.v1.proto.TransferTypes.GcsData value) { + public Builder setGcsDataSource(com.google.storagetransfer.v1.proto.TransferTypes.GcsData value) { if (gcsDataSourceBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -18020,8 +19319,6 @@ public Builder setGcsDataSource( return this; } /** - * - * *
        * A Cloud Storage data source.
        * 
@@ -18040,26 +19337,18 @@ public Builder setGcsDataSource( return this; } /** - * - * *
        * A Cloud Storage data source.
        * 
* * .google.storagetransfer.v1.GcsData gcs_data_source = 1; */ - public Builder mergeGcsDataSource( - com.google.storagetransfer.v1.proto.TransferTypes.GcsData value) { + public Builder mergeGcsDataSource(com.google.storagetransfer.v1.proto.TransferTypes.GcsData value) { if (gcsDataSourceBuilder_ == null) { - if (dataSourceCase_ == 1 - && dataSource_ - != com.google.storagetransfer.v1.proto.TransferTypes.GcsData - .getDefaultInstance()) { - dataSource_ = - com.google.storagetransfer.v1.proto.TransferTypes.GcsData.newBuilder( - (com.google.storagetransfer.v1.proto.TransferTypes.GcsData) dataSource_) - .mergeFrom(value) - .buildPartial(); + if (dataSourceCase_ == 1 && + dataSource_ != com.google.storagetransfer.v1.proto.TransferTypes.GcsData.getDefaultInstance()) { + dataSource_ = com.google.storagetransfer.v1.proto.TransferTypes.GcsData.newBuilder((com.google.storagetransfer.v1.proto.TransferTypes.GcsData) dataSource_) + .mergeFrom(value).buildPartial(); } else { dataSource_ = value; } @@ -18075,8 +19364,6 @@ public Builder mergeGcsDataSource( return this; } /** - * - * *
        * A Cloud Storage data source.
        * 
@@ -18100,21 +19387,16 @@ public Builder clearGcsDataSource() { return this; } /** - * - * *
        * A Cloud Storage data source.
        * 
* * .google.storagetransfer.v1.GcsData gcs_data_source = 1; */ - public com.google.storagetransfer.v1.proto.TransferTypes.GcsData.Builder - getGcsDataSourceBuilder() { + public com.google.storagetransfer.v1.proto.TransferTypes.GcsData.Builder getGcsDataSourceBuilder() { return getGcsDataSourceFieldBuilder().getBuilder(); } /** - * - * *
        * A Cloud Storage data source.
        * 
@@ -18122,8 +19404,7 @@ public Builder clearGcsDataSource() { * .google.storagetransfer.v1.GcsData gcs_data_source = 1; */ @java.lang.Override - public com.google.storagetransfer.v1.proto.TransferTypes.GcsDataOrBuilder - getGcsDataSourceOrBuilder() { + public com.google.storagetransfer.v1.proto.TransferTypes.GcsDataOrBuilder getGcsDataSourceOrBuilder() { if ((dataSourceCase_ == 1) && (gcsDataSourceBuilder_ != null)) { return gcsDataSourceBuilder_.getMessageOrBuilder(); } else { @@ -18134,8 +19415,6 @@ public Builder clearGcsDataSource() { } } /** - * - * *
        * A Cloud Storage data source.
        * 
@@ -18143,45 +19422,32 @@ public Builder clearGcsDataSource() { * .google.storagetransfer.v1.GcsData gcs_data_source = 1; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.storagetransfer.v1.proto.TransferTypes.GcsData, - com.google.storagetransfer.v1.proto.TransferTypes.GcsData.Builder, - com.google.storagetransfer.v1.proto.TransferTypes.GcsDataOrBuilder> + com.google.storagetransfer.v1.proto.TransferTypes.GcsData, com.google.storagetransfer.v1.proto.TransferTypes.GcsData.Builder, com.google.storagetransfer.v1.proto.TransferTypes.GcsDataOrBuilder> getGcsDataSourceFieldBuilder() { if (gcsDataSourceBuilder_ == null) { if (!(dataSourceCase_ == 1)) { - dataSource_ = - com.google.storagetransfer.v1.proto.TransferTypes.GcsData.getDefaultInstance(); + dataSource_ = com.google.storagetransfer.v1.proto.TransferTypes.GcsData.getDefaultInstance(); } - gcsDataSourceBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.storagetransfer.v1.proto.TransferTypes.GcsData, - com.google.storagetransfer.v1.proto.TransferTypes.GcsData.Builder, - com.google.storagetransfer.v1.proto.TransferTypes.GcsDataOrBuilder>( + gcsDataSourceBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.storagetransfer.v1.proto.TransferTypes.GcsData, com.google.storagetransfer.v1.proto.TransferTypes.GcsData.Builder, com.google.storagetransfer.v1.proto.TransferTypes.GcsDataOrBuilder>( (com.google.storagetransfer.v1.proto.TransferTypes.GcsData) dataSource_, getParentForChildren(), isClean()); dataSource_ = null; } dataSourceCase_ = 1; - onChanged(); - ; + onChanged();; return gcsDataSourceBuilder_; } private com.google.protobuf.SingleFieldBuilderV3< - com.google.storagetransfer.v1.proto.TransferTypes.AwsS3Data, - com.google.storagetransfer.v1.proto.TransferTypes.AwsS3Data.Builder, - com.google.storagetransfer.v1.proto.TransferTypes.AwsS3DataOrBuilder> - awsS3DataSourceBuilder_; + com.google.storagetransfer.v1.proto.TransferTypes.AwsS3Data, com.google.storagetransfer.v1.proto.TransferTypes.AwsS3Data.Builder, com.google.storagetransfer.v1.proto.TransferTypes.AwsS3DataOrBuilder> awsS3DataSourceBuilder_; /** - * - * *
        * An AWS S3 data source.
        * 
* * .google.storagetransfer.v1.AwsS3Data aws_s3_data_source = 2; - * * @return Whether the awsS3DataSource field is set. */ @java.lang.Override @@ -18189,14 +19455,11 @@ public boolean hasAwsS3DataSource() { return dataSourceCase_ == 2; } /** - * - * *
        * An AWS S3 data source.
        * 
* * .google.storagetransfer.v1.AwsS3Data aws_s3_data_source = 2; - * * @return The awsS3DataSource. */ @java.lang.Override @@ -18214,16 +19477,13 @@ public com.google.storagetransfer.v1.proto.TransferTypes.AwsS3Data getAwsS3DataS } } /** - * - * *
        * An AWS S3 data source.
        * 
* * .google.storagetransfer.v1.AwsS3Data aws_s3_data_source = 2; */ - public Builder setAwsS3DataSource( - com.google.storagetransfer.v1.proto.TransferTypes.AwsS3Data value) { + public Builder setAwsS3DataSource(com.google.storagetransfer.v1.proto.TransferTypes.AwsS3Data value) { if (awsS3DataSourceBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -18237,8 +19497,6 @@ public Builder setAwsS3DataSource( return this; } /** - * - * *
        * An AWS S3 data source.
        * 
@@ -18257,26 +19515,18 @@ public Builder setAwsS3DataSource( return this; } /** - * - * *
        * An AWS S3 data source.
        * 
* * .google.storagetransfer.v1.AwsS3Data aws_s3_data_source = 2; */ - public Builder mergeAwsS3DataSource( - com.google.storagetransfer.v1.proto.TransferTypes.AwsS3Data value) { + public Builder mergeAwsS3DataSource(com.google.storagetransfer.v1.proto.TransferTypes.AwsS3Data value) { if (awsS3DataSourceBuilder_ == null) { - if (dataSourceCase_ == 2 - && dataSource_ - != com.google.storagetransfer.v1.proto.TransferTypes.AwsS3Data - .getDefaultInstance()) { - dataSource_ = - com.google.storagetransfer.v1.proto.TransferTypes.AwsS3Data.newBuilder( - (com.google.storagetransfer.v1.proto.TransferTypes.AwsS3Data) dataSource_) - .mergeFrom(value) - .buildPartial(); + if (dataSourceCase_ == 2 && + dataSource_ != com.google.storagetransfer.v1.proto.TransferTypes.AwsS3Data.getDefaultInstance()) { + dataSource_ = com.google.storagetransfer.v1.proto.TransferTypes.AwsS3Data.newBuilder((com.google.storagetransfer.v1.proto.TransferTypes.AwsS3Data) dataSource_) + .mergeFrom(value).buildPartial(); } else { dataSource_ = value; } @@ -18292,8 +19542,6 @@ public Builder mergeAwsS3DataSource( return this; } /** - * - * *
        * An AWS S3 data source.
        * 
@@ -18317,21 +19565,16 @@ public Builder clearAwsS3DataSource() { return this; } /** - * - * *
        * An AWS S3 data source.
        * 
* * .google.storagetransfer.v1.AwsS3Data aws_s3_data_source = 2; */ - public com.google.storagetransfer.v1.proto.TransferTypes.AwsS3Data.Builder - getAwsS3DataSourceBuilder() { + public com.google.storagetransfer.v1.proto.TransferTypes.AwsS3Data.Builder getAwsS3DataSourceBuilder() { return getAwsS3DataSourceFieldBuilder().getBuilder(); } /** - * - * *
        * An AWS S3 data source.
        * 
@@ -18339,8 +19582,7 @@ public Builder clearAwsS3DataSource() { * .google.storagetransfer.v1.AwsS3Data aws_s3_data_source = 2; */ @java.lang.Override - public com.google.storagetransfer.v1.proto.TransferTypes.AwsS3DataOrBuilder - getAwsS3DataSourceOrBuilder() { + public com.google.storagetransfer.v1.proto.TransferTypes.AwsS3DataOrBuilder getAwsS3DataSourceOrBuilder() { if ((dataSourceCase_ == 2) && (awsS3DataSourceBuilder_ != null)) { return awsS3DataSourceBuilder_.getMessageOrBuilder(); } else { @@ -18351,8 +19593,6 @@ public Builder clearAwsS3DataSource() { } } /** - * - * *
        * An AWS S3 data source.
        * 
@@ -18360,45 +19600,32 @@ public Builder clearAwsS3DataSource() { * .google.storagetransfer.v1.AwsS3Data aws_s3_data_source = 2; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.storagetransfer.v1.proto.TransferTypes.AwsS3Data, - com.google.storagetransfer.v1.proto.TransferTypes.AwsS3Data.Builder, - com.google.storagetransfer.v1.proto.TransferTypes.AwsS3DataOrBuilder> + com.google.storagetransfer.v1.proto.TransferTypes.AwsS3Data, com.google.storagetransfer.v1.proto.TransferTypes.AwsS3Data.Builder, com.google.storagetransfer.v1.proto.TransferTypes.AwsS3DataOrBuilder> getAwsS3DataSourceFieldBuilder() { if (awsS3DataSourceBuilder_ == null) { if (!(dataSourceCase_ == 2)) { - dataSource_ = - com.google.storagetransfer.v1.proto.TransferTypes.AwsS3Data.getDefaultInstance(); + dataSource_ = com.google.storagetransfer.v1.proto.TransferTypes.AwsS3Data.getDefaultInstance(); } - awsS3DataSourceBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.storagetransfer.v1.proto.TransferTypes.AwsS3Data, - com.google.storagetransfer.v1.proto.TransferTypes.AwsS3Data.Builder, - com.google.storagetransfer.v1.proto.TransferTypes.AwsS3DataOrBuilder>( + awsS3DataSourceBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.storagetransfer.v1.proto.TransferTypes.AwsS3Data, com.google.storagetransfer.v1.proto.TransferTypes.AwsS3Data.Builder, com.google.storagetransfer.v1.proto.TransferTypes.AwsS3DataOrBuilder>( (com.google.storagetransfer.v1.proto.TransferTypes.AwsS3Data) dataSource_, getParentForChildren(), isClean()); dataSource_ = null; } dataSourceCase_ = 2; - onChanged(); - ; + onChanged();; return awsS3DataSourceBuilder_; } private com.google.protobuf.SingleFieldBuilderV3< - com.google.storagetransfer.v1.proto.TransferTypes.HttpData, - com.google.storagetransfer.v1.proto.TransferTypes.HttpData.Builder, - com.google.storagetransfer.v1.proto.TransferTypes.HttpDataOrBuilder> - httpDataSourceBuilder_; + com.google.storagetransfer.v1.proto.TransferTypes.HttpData, com.google.storagetransfer.v1.proto.TransferTypes.HttpData.Builder, com.google.storagetransfer.v1.proto.TransferTypes.HttpDataOrBuilder> httpDataSourceBuilder_; /** - * - * *
        * An HTTP URL data source.
        * 
* * .google.storagetransfer.v1.HttpData http_data_source = 3; - * * @return Whether the httpDataSource field is set. */ @java.lang.Override @@ -18406,14 +19633,11 @@ public boolean hasHttpDataSource() { return dataSourceCase_ == 3; } /** - * - * *
        * An HTTP URL data source.
        * 
* * .google.storagetransfer.v1.HttpData http_data_source = 3; - * * @return The httpDataSource. */ @java.lang.Override @@ -18431,16 +19655,13 @@ public com.google.storagetransfer.v1.proto.TransferTypes.HttpData getHttpDataSou } } /** - * - * *
        * An HTTP URL data source.
        * 
* * .google.storagetransfer.v1.HttpData http_data_source = 3; */ - public Builder setHttpDataSource( - com.google.storagetransfer.v1.proto.TransferTypes.HttpData value) { + public Builder setHttpDataSource(com.google.storagetransfer.v1.proto.TransferTypes.HttpData value) { if (httpDataSourceBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -18454,8 +19675,6 @@ public Builder setHttpDataSource( return this; } /** - * - * *
        * An HTTP URL data source.
        * 
@@ -18474,26 +19693,18 @@ public Builder setHttpDataSource( return this; } /** - * - * *
        * An HTTP URL data source.
        * 
* * .google.storagetransfer.v1.HttpData http_data_source = 3; */ - public Builder mergeHttpDataSource( - com.google.storagetransfer.v1.proto.TransferTypes.HttpData value) { + public Builder mergeHttpDataSource(com.google.storagetransfer.v1.proto.TransferTypes.HttpData value) { if (httpDataSourceBuilder_ == null) { - if (dataSourceCase_ == 3 - && dataSource_ - != com.google.storagetransfer.v1.proto.TransferTypes.HttpData - .getDefaultInstance()) { - dataSource_ = - com.google.storagetransfer.v1.proto.TransferTypes.HttpData.newBuilder( - (com.google.storagetransfer.v1.proto.TransferTypes.HttpData) dataSource_) - .mergeFrom(value) - .buildPartial(); + if (dataSourceCase_ == 3 && + dataSource_ != com.google.storagetransfer.v1.proto.TransferTypes.HttpData.getDefaultInstance()) { + dataSource_ = com.google.storagetransfer.v1.proto.TransferTypes.HttpData.newBuilder((com.google.storagetransfer.v1.proto.TransferTypes.HttpData) dataSource_) + .mergeFrom(value).buildPartial(); } else { dataSource_ = value; } @@ -18509,8 +19720,6 @@ public Builder mergeHttpDataSource( return this; } /** - * - * *
        * An HTTP URL data source.
        * 
@@ -18534,21 +19743,16 @@ public Builder clearHttpDataSource() { return this; } /** - * - * *
        * An HTTP URL data source.
        * 
* * .google.storagetransfer.v1.HttpData http_data_source = 3; */ - public com.google.storagetransfer.v1.proto.TransferTypes.HttpData.Builder - getHttpDataSourceBuilder() { + public com.google.storagetransfer.v1.proto.TransferTypes.HttpData.Builder getHttpDataSourceBuilder() { return getHttpDataSourceFieldBuilder().getBuilder(); } /** - * - * *
        * An HTTP URL data source.
        * 
@@ -18556,8 +19760,7 @@ public Builder clearHttpDataSource() { * .google.storagetransfer.v1.HttpData http_data_source = 3; */ @java.lang.Override - public com.google.storagetransfer.v1.proto.TransferTypes.HttpDataOrBuilder - getHttpDataSourceOrBuilder() { + public com.google.storagetransfer.v1.proto.TransferTypes.HttpDataOrBuilder getHttpDataSourceOrBuilder() { if ((dataSourceCase_ == 3) && (httpDataSourceBuilder_ != null)) { return httpDataSourceBuilder_.getMessageOrBuilder(); } else { @@ -18568,8 +19771,6 @@ public Builder clearHttpDataSource() { } } /** - * - * *
        * An HTTP URL data source.
        * 
@@ -18577,45 +19778,32 @@ public Builder clearHttpDataSource() { * .google.storagetransfer.v1.HttpData http_data_source = 3; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.storagetransfer.v1.proto.TransferTypes.HttpData, - com.google.storagetransfer.v1.proto.TransferTypes.HttpData.Builder, - com.google.storagetransfer.v1.proto.TransferTypes.HttpDataOrBuilder> + com.google.storagetransfer.v1.proto.TransferTypes.HttpData, com.google.storagetransfer.v1.proto.TransferTypes.HttpData.Builder, com.google.storagetransfer.v1.proto.TransferTypes.HttpDataOrBuilder> getHttpDataSourceFieldBuilder() { if (httpDataSourceBuilder_ == null) { if (!(dataSourceCase_ == 3)) { - dataSource_ = - com.google.storagetransfer.v1.proto.TransferTypes.HttpData.getDefaultInstance(); + dataSource_ = com.google.storagetransfer.v1.proto.TransferTypes.HttpData.getDefaultInstance(); } - httpDataSourceBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.storagetransfer.v1.proto.TransferTypes.HttpData, - com.google.storagetransfer.v1.proto.TransferTypes.HttpData.Builder, - com.google.storagetransfer.v1.proto.TransferTypes.HttpDataOrBuilder>( + httpDataSourceBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.storagetransfer.v1.proto.TransferTypes.HttpData, com.google.storagetransfer.v1.proto.TransferTypes.HttpData.Builder, com.google.storagetransfer.v1.proto.TransferTypes.HttpDataOrBuilder>( (com.google.storagetransfer.v1.proto.TransferTypes.HttpData) dataSource_, getParentForChildren(), isClean()); dataSource_ = null; } dataSourceCase_ = 3; - onChanged(); - ; + onChanged();; return httpDataSourceBuilder_; } private com.google.protobuf.SingleFieldBuilderV3< - com.google.storagetransfer.v1.proto.TransferTypes.PosixFilesystem, - com.google.storagetransfer.v1.proto.TransferTypes.PosixFilesystem.Builder, - com.google.storagetransfer.v1.proto.TransferTypes.PosixFilesystemOrBuilder> - posixDataSourceBuilder_; + com.google.storagetransfer.v1.proto.TransferTypes.PosixFilesystem, com.google.storagetransfer.v1.proto.TransferTypes.PosixFilesystem.Builder, com.google.storagetransfer.v1.proto.TransferTypes.PosixFilesystemOrBuilder> posixDataSourceBuilder_; /** - * - * *
        * A POSIX Filesystem data source.
        * 
* * .google.storagetransfer.v1.PosixFilesystem posix_data_source = 14; - * * @return Whether the posixDataSource field is set. */ @java.lang.Override @@ -18623,44 +19811,35 @@ public boolean hasPosixDataSource() { return dataSourceCase_ == 14; } /** - * - * *
        * A POSIX Filesystem data source.
        * 
* * .google.storagetransfer.v1.PosixFilesystem posix_data_source = 14; - * * @return The posixDataSource. */ @java.lang.Override - public com.google.storagetransfer.v1.proto.TransferTypes.PosixFilesystem - getPosixDataSource() { + public com.google.storagetransfer.v1.proto.TransferTypes.PosixFilesystem getPosixDataSource() { if (posixDataSourceBuilder_ == null) { if (dataSourceCase_ == 14) { return (com.google.storagetransfer.v1.proto.TransferTypes.PosixFilesystem) dataSource_; } - return com.google.storagetransfer.v1.proto.TransferTypes.PosixFilesystem - .getDefaultInstance(); + return com.google.storagetransfer.v1.proto.TransferTypes.PosixFilesystem.getDefaultInstance(); } else { if (dataSourceCase_ == 14) { return posixDataSourceBuilder_.getMessage(); } - return com.google.storagetransfer.v1.proto.TransferTypes.PosixFilesystem - .getDefaultInstance(); + return com.google.storagetransfer.v1.proto.TransferTypes.PosixFilesystem.getDefaultInstance(); } } /** - * - * *
        * A POSIX Filesystem data source.
        * 
* * .google.storagetransfer.v1.PosixFilesystem posix_data_source = 14; */ - public Builder setPosixDataSource( - com.google.storagetransfer.v1.proto.TransferTypes.PosixFilesystem value) { + public Builder setPosixDataSource(com.google.storagetransfer.v1.proto.TransferTypes.PosixFilesystem value) { if (posixDataSourceBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -18674,8 +19853,6 @@ public Builder setPosixDataSource( return this; } /** - * - * *
        * A POSIX Filesystem data source.
        * 
@@ -18683,8 +19860,7 @@ public Builder setPosixDataSource( * .google.storagetransfer.v1.PosixFilesystem posix_data_source = 14; */ public Builder setPosixDataSource( - com.google.storagetransfer.v1.proto.TransferTypes.PosixFilesystem.Builder - builderForValue) { + com.google.storagetransfer.v1.proto.TransferTypes.PosixFilesystem.Builder builderForValue) { if (posixDataSourceBuilder_ == null) { dataSource_ = builderForValue.build(); onChanged(); @@ -18695,27 +19871,18 @@ public Builder setPosixDataSource( return this; } /** - * - * *
        * A POSIX Filesystem data source.
        * 
* * .google.storagetransfer.v1.PosixFilesystem posix_data_source = 14; */ - public Builder mergePosixDataSource( - com.google.storagetransfer.v1.proto.TransferTypes.PosixFilesystem value) { + public Builder mergePosixDataSource(com.google.storagetransfer.v1.proto.TransferTypes.PosixFilesystem value) { if (posixDataSourceBuilder_ == null) { - if (dataSourceCase_ == 14 - && dataSource_ - != com.google.storagetransfer.v1.proto.TransferTypes.PosixFilesystem - .getDefaultInstance()) { - dataSource_ = - com.google.storagetransfer.v1.proto.TransferTypes.PosixFilesystem.newBuilder( - (com.google.storagetransfer.v1.proto.TransferTypes.PosixFilesystem) - dataSource_) - .mergeFrom(value) - .buildPartial(); + if (dataSourceCase_ == 14 && + dataSource_ != com.google.storagetransfer.v1.proto.TransferTypes.PosixFilesystem.getDefaultInstance()) { + dataSource_ = com.google.storagetransfer.v1.proto.TransferTypes.PosixFilesystem.newBuilder((com.google.storagetransfer.v1.proto.TransferTypes.PosixFilesystem) dataSource_) + .mergeFrom(value).buildPartial(); } else { dataSource_ = value; } @@ -18731,8 +19898,6 @@ public Builder mergePosixDataSource( return this; } /** - * - * *
        * A POSIX Filesystem data source.
        * 
@@ -18756,21 +19921,16 @@ public Builder clearPosixDataSource() { return this; } /** - * - * *
        * A POSIX Filesystem data source.
        * 
* * .google.storagetransfer.v1.PosixFilesystem posix_data_source = 14; */ - public com.google.storagetransfer.v1.proto.TransferTypes.PosixFilesystem.Builder - getPosixDataSourceBuilder() { + public com.google.storagetransfer.v1.proto.TransferTypes.PosixFilesystem.Builder getPosixDataSourceBuilder() { return getPosixDataSourceFieldBuilder().getBuilder(); } /** - * - * *
        * A POSIX Filesystem data source.
        * 
@@ -18778,21 +19938,17 @@ public Builder clearPosixDataSource() { * .google.storagetransfer.v1.PosixFilesystem posix_data_source = 14; */ @java.lang.Override - public com.google.storagetransfer.v1.proto.TransferTypes.PosixFilesystemOrBuilder - getPosixDataSourceOrBuilder() { + public com.google.storagetransfer.v1.proto.TransferTypes.PosixFilesystemOrBuilder getPosixDataSourceOrBuilder() { if ((dataSourceCase_ == 14) && (posixDataSourceBuilder_ != null)) { return posixDataSourceBuilder_.getMessageOrBuilder(); } else { if (dataSourceCase_ == 14) { return (com.google.storagetransfer.v1.proto.TransferTypes.PosixFilesystem) dataSource_; } - return com.google.storagetransfer.v1.proto.TransferTypes.PosixFilesystem - .getDefaultInstance(); + return com.google.storagetransfer.v1.proto.TransferTypes.PosixFilesystem.getDefaultInstance(); } } /** - * - * *
        * A POSIX Filesystem data source.
        * 
@@ -18800,47 +19956,32 @@ public Builder clearPosixDataSource() { * .google.storagetransfer.v1.PosixFilesystem posix_data_source = 14; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.storagetransfer.v1.proto.TransferTypes.PosixFilesystem, - com.google.storagetransfer.v1.proto.TransferTypes.PosixFilesystem.Builder, - com.google.storagetransfer.v1.proto.TransferTypes.PosixFilesystemOrBuilder> + com.google.storagetransfer.v1.proto.TransferTypes.PosixFilesystem, com.google.storagetransfer.v1.proto.TransferTypes.PosixFilesystem.Builder, com.google.storagetransfer.v1.proto.TransferTypes.PosixFilesystemOrBuilder> getPosixDataSourceFieldBuilder() { if (posixDataSourceBuilder_ == null) { if (!(dataSourceCase_ == 14)) { - dataSource_ = - com.google.storagetransfer.v1.proto.TransferTypes.PosixFilesystem - .getDefaultInstance(); + dataSource_ = com.google.storagetransfer.v1.proto.TransferTypes.PosixFilesystem.getDefaultInstance(); } - posixDataSourceBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.storagetransfer.v1.proto.TransferTypes.PosixFilesystem, - com.google.storagetransfer.v1.proto.TransferTypes.PosixFilesystem.Builder, - com.google.storagetransfer.v1.proto.TransferTypes.PosixFilesystemOrBuilder>( + posixDataSourceBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.storagetransfer.v1.proto.TransferTypes.PosixFilesystem, com.google.storagetransfer.v1.proto.TransferTypes.PosixFilesystem.Builder, com.google.storagetransfer.v1.proto.TransferTypes.PosixFilesystemOrBuilder>( (com.google.storagetransfer.v1.proto.TransferTypes.PosixFilesystem) dataSource_, getParentForChildren(), isClean()); dataSource_ = null; } dataSourceCase_ = 14; - onChanged(); - ; + onChanged();; return posixDataSourceBuilder_; } private com.google.protobuf.SingleFieldBuilderV3< - com.google.storagetransfer.v1.proto.TransferTypes.AzureBlobStorageData, - com.google.storagetransfer.v1.proto.TransferTypes.AzureBlobStorageData.Builder, - com.google.storagetransfer.v1.proto.TransferTypes.AzureBlobStorageDataOrBuilder> - azureBlobStorageDataSourceBuilder_; + com.google.storagetransfer.v1.proto.TransferTypes.AzureBlobStorageData, com.google.storagetransfer.v1.proto.TransferTypes.AzureBlobStorageData.Builder, com.google.storagetransfer.v1.proto.TransferTypes.AzureBlobStorageDataOrBuilder> azureBlobStorageDataSourceBuilder_; /** - * - * *
        * An Azure Blob Storage data source.
        * 
* - * .google.storagetransfer.v1.AzureBlobStorageData azure_blob_storage_data_source = 8; - * - * + * .google.storagetransfer.v1.AzureBlobStorageData azure_blob_storage_data_source = 8; * @return Whether the azureBlobStorageDataSource field is set. */ @java.lang.Override @@ -18848,47 +19989,35 @@ public boolean hasAzureBlobStorageDataSource() { return dataSourceCase_ == 8; } /** - * - * *
        * An Azure Blob Storage data source.
        * 
* - * .google.storagetransfer.v1.AzureBlobStorageData azure_blob_storage_data_source = 8; - * - * + * .google.storagetransfer.v1.AzureBlobStorageData azure_blob_storage_data_source = 8; * @return The azureBlobStorageDataSource. */ @java.lang.Override - public com.google.storagetransfer.v1.proto.TransferTypes.AzureBlobStorageData - getAzureBlobStorageDataSource() { + public com.google.storagetransfer.v1.proto.TransferTypes.AzureBlobStorageData getAzureBlobStorageDataSource() { if (azureBlobStorageDataSourceBuilder_ == null) { if (dataSourceCase_ == 8) { - return (com.google.storagetransfer.v1.proto.TransferTypes.AzureBlobStorageData) - dataSource_; + return (com.google.storagetransfer.v1.proto.TransferTypes.AzureBlobStorageData) dataSource_; } - return com.google.storagetransfer.v1.proto.TransferTypes.AzureBlobStorageData - .getDefaultInstance(); + return com.google.storagetransfer.v1.proto.TransferTypes.AzureBlobStorageData.getDefaultInstance(); } else { if (dataSourceCase_ == 8) { return azureBlobStorageDataSourceBuilder_.getMessage(); } - return com.google.storagetransfer.v1.proto.TransferTypes.AzureBlobStorageData - .getDefaultInstance(); + return com.google.storagetransfer.v1.proto.TransferTypes.AzureBlobStorageData.getDefaultInstance(); } } /** - * - * *
        * An Azure Blob Storage data source.
        * 
* - * .google.storagetransfer.v1.AzureBlobStorageData azure_blob_storage_data_source = 8; - * + * .google.storagetransfer.v1.AzureBlobStorageData azure_blob_storage_data_source = 8; */ - public Builder setAzureBlobStorageDataSource( - com.google.storagetransfer.v1.proto.TransferTypes.AzureBlobStorageData value) { + public Builder setAzureBlobStorageDataSource(com.google.storagetransfer.v1.proto.TransferTypes.AzureBlobStorageData value) { if (azureBlobStorageDataSourceBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -18902,18 +20031,14 @@ public Builder setAzureBlobStorageDataSource( return this; } /** - * - * *
        * An Azure Blob Storage data source.
        * 
* - * .google.storagetransfer.v1.AzureBlobStorageData azure_blob_storage_data_source = 8; - * + * .google.storagetransfer.v1.AzureBlobStorageData azure_blob_storage_data_source = 8; */ public Builder setAzureBlobStorageDataSource( - com.google.storagetransfer.v1.proto.TransferTypes.AzureBlobStorageData.Builder - builderForValue) { + com.google.storagetransfer.v1.proto.TransferTypes.AzureBlobStorageData.Builder builderForValue) { if (azureBlobStorageDataSourceBuilder_ == null) { dataSource_ = builderForValue.build(); onChanged(); @@ -18924,28 +20049,18 @@ public Builder setAzureBlobStorageDataSource( return this; } /** - * - * *
        * An Azure Blob Storage data source.
        * 
* - * .google.storagetransfer.v1.AzureBlobStorageData azure_blob_storage_data_source = 8; - * + * .google.storagetransfer.v1.AzureBlobStorageData azure_blob_storage_data_source = 8; */ - public Builder mergeAzureBlobStorageDataSource( - com.google.storagetransfer.v1.proto.TransferTypes.AzureBlobStorageData value) { + public Builder mergeAzureBlobStorageDataSource(com.google.storagetransfer.v1.proto.TransferTypes.AzureBlobStorageData value) { if (azureBlobStorageDataSourceBuilder_ == null) { - if (dataSourceCase_ == 8 - && dataSource_ - != com.google.storagetransfer.v1.proto.TransferTypes.AzureBlobStorageData - .getDefaultInstance()) { - dataSource_ = - com.google.storagetransfer.v1.proto.TransferTypes.AzureBlobStorageData.newBuilder( - (com.google.storagetransfer.v1.proto.TransferTypes.AzureBlobStorageData) - dataSource_) - .mergeFrom(value) - .buildPartial(); + if (dataSourceCase_ == 8 && + dataSource_ != com.google.storagetransfer.v1.proto.TransferTypes.AzureBlobStorageData.getDefaultInstance()) { + dataSource_ = com.google.storagetransfer.v1.proto.TransferTypes.AzureBlobStorageData.newBuilder((com.google.storagetransfer.v1.proto.TransferTypes.AzureBlobStorageData) dataSource_) + .mergeFrom(value).buildPartial(); } else { dataSource_ = value; } @@ -18961,14 +20076,11 @@ public Builder mergeAzureBlobStorageDataSource( return this; } /** - * - * *
        * An Azure Blob Storage data source.
        * 
* - * .google.storagetransfer.v1.AzureBlobStorageData azure_blob_storage_data_source = 8; - * + * .google.storagetransfer.v1.AzureBlobStorageData azure_blob_storage_data_source = 8; */ public Builder clearAzureBlobStorageDataSource() { if (azureBlobStorageDataSourceBuilder_ == null) { @@ -18987,95 +20099,245 @@ public Builder clearAzureBlobStorageDataSource() { return this; } /** - * - * *
        * An Azure Blob Storage data source.
        * 
* - * .google.storagetransfer.v1.AzureBlobStorageData azure_blob_storage_data_source = 8; - * + * .google.storagetransfer.v1.AzureBlobStorageData azure_blob_storage_data_source = 8; */ - public com.google.storagetransfer.v1.proto.TransferTypes.AzureBlobStorageData.Builder - getAzureBlobStorageDataSourceBuilder() { + public com.google.storagetransfer.v1.proto.TransferTypes.AzureBlobStorageData.Builder getAzureBlobStorageDataSourceBuilder() { return getAzureBlobStorageDataSourceFieldBuilder().getBuilder(); } /** - * - * *
        * An Azure Blob Storage data source.
        * 
* - * .google.storagetransfer.v1.AzureBlobStorageData azure_blob_storage_data_source = 8; - * + * .google.storagetransfer.v1.AzureBlobStorageData azure_blob_storage_data_source = 8; */ @java.lang.Override - public com.google.storagetransfer.v1.proto.TransferTypes.AzureBlobStorageDataOrBuilder - getAzureBlobStorageDataSourceOrBuilder() { + public com.google.storagetransfer.v1.proto.TransferTypes.AzureBlobStorageDataOrBuilder getAzureBlobStorageDataSourceOrBuilder() { if ((dataSourceCase_ == 8) && (azureBlobStorageDataSourceBuilder_ != null)) { return azureBlobStorageDataSourceBuilder_.getMessageOrBuilder(); } else { if (dataSourceCase_ == 8) { - return (com.google.storagetransfer.v1.proto.TransferTypes.AzureBlobStorageData) - dataSource_; + return (com.google.storagetransfer.v1.proto.TransferTypes.AzureBlobStorageData) dataSource_; } - return com.google.storagetransfer.v1.proto.TransferTypes.AzureBlobStorageData - .getDefaultInstance(); + return com.google.storagetransfer.v1.proto.TransferTypes.AzureBlobStorageData.getDefaultInstance(); } } /** - * - * *
        * An Azure Blob Storage data source.
        * 
* - * .google.storagetransfer.v1.AzureBlobStorageData azure_blob_storage_data_source = 8; - * + * .google.storagetransfer.v1.AzureBlobStorageData azure_blob_storage_data_source = 8; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.storagetransfer.v1.proto.TransferTypes.AzureBlobStorageData, - com.google.storagetransfer.v1.proto.TransferTypes.AzureBlobStorageData.Builder, - com.google.storagetransfer.v1.proto.TransferTypes.AzureBlobStorageDataOrBuilder> + com.google.storagetransfer.v1.proto.TransferTypes.AzureBlobStorageData, com.google.storagetransfer.v1.proto.TransferTypes.AzureBlobStorageData.Builder, com.google.storagetransfer.v1.proto.TransferTypes.AzureBlobStorageDataOrBuilder> getAzureBlobStorageDataSourceFieldBuilder() { if (azureBlobStorageDataSourceBuilder_ == null) { if (!(dataSourceCase_ == 8)) { - dataSource_ = - com.google.storagetransfer.v1.proto.TransferTypes.AzureBlobStorageData - .getDefaultInstance(); + dataSource_ = com.google.storagetransfer.v1.proto.TransferTypes.AzureBlobStorageData.getDefaultInstance(); } - azureBlobStorageDataSourceBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.storagetransfer.v1.proto.TransferTypes.AzureBlobStorageData, - com.google.storagetransfer.v1.proto.TransferTypes.AzureBlobStorageData.Builder, - com.google.storagetransfer.v1.proto.TransferTypes.AzureBlobStorageDataOrBuilder>( - (com.google.storagetransfer.v1.proto.TransferTypes.AzureBlobStorageData) - dataSource_, + azureBlobStorageDataSourceBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.storagetransfer.v1.proto.TransferTypes.AzureBlobStorageData, com.google.storagetransfer.v1.proto.TransferTypes.AzureBlobStorageData.Builder, com.google.storagetransfer.v1.proto.TransferTypes.AzureBlobStorageDataOrBuilder>( + (com.google.storagetransfer.v1.proto.TransferTypes.AzureBlobStorageData) dataSource_, getParentForChildren(), isClean()); dataSource_ = null; } dataSourceCase_ = 8; - onChanged(); - ; + onChanged();; return azureBlobStorageDataSourceBuilder_; } private com.google.protobuf.SingleFieldBuilderV3< - com.google.storagetransfer.v1.proto.TransferTypes.GcsData, - com.google.storagetransfer.v1.proto.TransferTypes.GcsData.Builder, - com.google.storagetransfer.v1.proto.TransferTypes.GcsDataOrBuilder> - gcsIntermediateDataLocationBuilder_; + com.google.storagetransfer.v1.proto.TransferTypes.AwsS3CompatibleData, com.google.storagetransfer.v1.proto.TransferTypes.AwsS3CompatibleData.Builder, com.google.storagetransfer.v1.proto.TransferTypes.AwsS3CompatibleDataOrBuilder> awsS3CompatibleDataSourceBuilder_; + /** + *
+       * An AWS S3 compatible data source.
+       * 
+ * + * .google.storagetransfer.v1.AwsS3CompatibleData aws_s3_compatible_data_source = 19; + * @return Whether the awsS3CompatibleDataSource field is set. + */ + @java.lang.Override + public boolean hasAwsS3CompatibleDataSource() { + return dataSourceCase_ == 19; + } + /** + *
+       * An AWS S3 compatible data source.
+       * 
+ * + * .google.storagetransfer.v1.AwsS3CompatibleData aws_s3_compatible_data_source = 19; + * @return The awsS3CompatibleDataSource. + */ + @java.lang.Override + public com.google.storagetransfer.v1.proto.TransferTypes.AwsS3CompatibleData getAwsS3CompatibleDataSource() { + if (awsS3CompatibleDataSourceBuilder_ == null) { + if (dataSourceCase_ == 19) { + return (com.google.storagetransfer.v1.proto.TransferTypes.AwsS3CompatibleData) dataSource_; + } + return com.google.storagetransfer.v1.proto.TransferTypes.AwsS3CompatibleData.getDefaultInstance(); + } else { + if (dataSourceCase_ == 19) { + return awsS3CompatibleDataSourceBuilder_.getMessage(); + } + return com.google.storagetransfer.v1.proto.TransferTypes.AwsS3CompatibleData.getDefaultInstance(); + } + } + /** + *
+       * An AWS S3 compatible data source.
+       * 
+ * + * .google.storagetransfer.v1.AwsS3CompatibleData aws_s3_compatible_data_source = 19; + */ + public Builder setAwsS3CompatibleDataSource(com.google.storagetransfer.v1.proto.TransferTypes.AwsS3CompatibleData value) { + if (awsS3CompatibleDataSourceBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + dataSource_ = value; + onChanged(); + } else { + awsS3CompatibleDataSourceBuilder_.setMessage(value); + } + dataSourceCase_ = 19; + return this; + } + /** + *
+       * An AWS S3 compatible data source.
+       * 
+ * + * .google.storagetransfer.v1.AwsS3CompatibleData aws_s3_compatible_data_source = 19; + */ + public Builder setAwsS3CompatibleDataSource( + com.google.storagetransfer.v1.proto.TransferTypes.AwsS3CompatibleData.Builder builderForValue) { + if (awsS3CompatibleDataSourceBuilder_ == null) { + dataSource_ = builderForValue.build(); + onChanged(); + } else { + awsS3CompatibleDataSourceBuilder_.setMessage(builderForValue.build()); + } + dataSourceCase_ = 19; + return this; + } + /** + *
+       * An AWS S3 compatible data source.
+       * 
+ * + * .google.storagetransfer.v1.AwsS3CompatibleData aws_s3_compatible_data_source = 19; + */ + public Builder mergeAwsS3CompatibleDataSource(com.google.storagetransfer.v1.proto.TransferTypes.AwsS3CompatibleData value) { + if (awsS3CompatibleDataSourceBuilder_ == null) { + if (dataSourceCase_ == 19 && + dataSource_ != com.google.storagetransfer.v1.proto.TransferTypes.AwsS3CompatibleData.getDefaultInstance()) { + dataSource_ = com.google.storagetransfer.v1.proto.TransferTypes.AwsS3CompatibleData.newBuilder((com.google.storagetransfer.v1.proto.TransferTypes.AwsS3CompatibleData) dataSource_) + .mergeFrom(value).buildPartial(); + } else { + dataSource_ = value; + } + onChanged(); + } else { + if (dataSourceCase_ == 19) { + awsS3CompatibleDataSourceBuilder_.mergeFrom(value); + } else { + awsS3CompatibleDataSourceBuilder_.setMessage(value); + } + } + dataSourceCase_ = 19; + return this; + } /** + *
+       * An AWS S3 compatible data source.
+       * 
* + * .google.storagetransfer.v1.AwsS3CompatibleData aws_s3_compatible_data_source = 19; + */ + public Builder clearAwsS3CompatibleDataSource() { + if (awsS3CompatibleDataSourceBuilder_ == null) { + if (dataSourceCase_ == 19) { + dataSourceCase_ = 0; + dataSource_ = null; + onChanged(); + } + } else { + if (dataSourceCase_ == 19) { + dataSourceCase_ = 0; + dataSource_ = null; + } + awsS3CompatibleDataSourceBuilder_.clear(); + } + return this; + } + /** + *
+       * An AWS S3 compatible data source.
+       * 
* + * .google.storagetransfer.v1.AwsS3CompatibleData aws_s3_compatible_data_source = 19; + */ + public com.google.storagetransfer.v1.proto.TransferTypes.AwsS3CompatibleData.Builder getAwsS3CompatibleDataSourceBuilder() { + return getAwsS3CompatibleDataSourceFieldBuilder().getBuilder(); + } + /** + *
+       * An AWS S3 compatible data source.
+       * 
+ * + * .google.storagetransfer.v1.AwsS3CompatibleData aws_s3_compatible_data_source = 19; + */ + @java.lang.Override + public com.google.storagetransfer.v1.proto.TransferTypes.AwsS3CompatibleDataOrBuilder getAwsS3CompatibleDataSourceOrBuilder() { + if ((dataSourceCase_ == 19) && (awsS3CompatibleDataSourceBuilder_ != null)) { + return awsS3CompatibleDataSourceBuilder_.getMessageOrBuilder(); + } else { + if (dataSourceCase_ == 19) { + return (com.google.storagetransfer.v1.proto.TransferTypes.AwsS3CompatibleData) dataSource_; + } + return com.google.storagetransfer.v1.proto.TransferTypes.AwsS3CompatibleData.getDefaultInstance(); + } + } + /** + *
+       * An AWS S3 compatible data source.
+       * 
+ * + * .google.storagetransfer.v1.AwsS3CompatibleData aws_s3_compatible_data_source = 19; + */ + private com.google.protobuf.SingleFieldBuilderV3< + com.google.storagetransfer.v1.proto.TransferTypes.AwsS3CompatibleData, com.google.storagetransfer.v1.proto.TransferTypes.AwsS3CompatibleData.Builder, com.google.storagetransfer.v1.proto.TransferTypes.AwsS3CompatibleDataOrBuilder> + getAwsS3CompatibleDataSourceFieldBuilder() { + if (awsS3CompatibleDataSourceBuilder_ == null) { + if (!(dataSourceCase_ == 19)) { + dataSource_ = com.google.storagetransfer.v1.proto.TransferTypes.AwsS3CompatibleData.getDefaultInstance(); + } + awsS3CompatibleDataSourceBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.storagetransfer.v1.proto.TransferTypes.AwsS3CompatibleData, com.google.storagetransfer.v1.proto.TransferTypes.AwsS3CompatibleData.Builder, com.google.storagetransfer.v1.proto.TransferTypes.AwsS3CompatibleDataOrBuilder>( + (com.google.storagetransfer.v1.proto.TransferTypes.AwsS3CompatibleData) dataSource_, + getParentForChildren(), + isClean()); + dataSource_ = null; + } + dataSourceCase_ = 19; + onChanged();; + return awsS3CompatibleDataSourceBuilder_; + } + + private com.google.protobuf.SingleFieldBuilderV3< + com.google.storagetransfer.v1.proto.TransferTypes.GcsData, com.google.storagetransfer.v1.proto.TransferTypes.GcsData.Builder, com.google.storagetransfer.v1.proto.TransferTypes.GcsDataOrBuilder> gcsIntermediateDataLocationBuilder_; + /** *
        * Cloud Storage intermediate data location.
        * 
* * .google.storagetransfer.v1.GcsData gcs_intermediate_data_location = 16; - * * @return Whether the gcsIntermediateDataLocation field is set. */ @java.lang.Override @@ -19083,23 +20345,18 @@ public boolean hasGcsIntermediateDataLocation() { return intermediateDataLocationCase_ == 16; } /** - * - * *
        * Cloud Storage intermediate data location.
        * 
* * .google.storagetransfer.v1.GcsData gcs_intermediate_data_location = 16; - * * @return The gcsIntermediateDataLocation. */ @java.lang.Override - public com.google.storagetransfer.v1.proto.TransferTypes.GcsData - getGcsIntermediateDataLocation() { + public com.google.storagetransfer.v1.proto.TransferTypes.GcsData getGcsIntermediateDataLocation() { if (gcsIntermediateDataLocationBuilder_ == null) { if (intermediateDataLocationCase_ == 16) { - return (com.google.storagetransfer.v1.proto.TransferTypes.GcsData) - intermediateDataLocation_; + return (com.google.storagetransfer.v1.proto.TransferTypes.GcsData) intermediateDataLocation_; } return com.google.storagetransfer.v1.proto.TransferTypes.GcsData.getDefaultInstance(); } else { @@ -19110,16 +20367,13 @@ public boolean hasGcsIntermediateDataLocation() { } } /** - * - * *
        * Cloud Storage intermediate data location.
        * 
* * .google.storagetransfer.v1.GcsData gcs_intermediate_data_location = 16; */ - public Builder setGcsIntermediateDataLocation( - com.google.storagetransfer.v1.proto.TransferTypes.GcsData value) { + public Builder setGcsIntermediateDataLocation(com.google.storagetransfer.v1.proto.TransferTypes.GcsData value) { if (gcsIntermediateDataLocationBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -19133,8 +20387,6 @@ public Builder setGcsIntermediateDataLocation( return this; } /** - * - * *
        * Cloud Storage intermediate data location.
        * 
@@ -19153,27 +20405,18 @@ public Builder setGcsIntermediateDataLocation( return this; } /** - * - * *
        * Cloud Storage intermediate data location.
        * 
* * .google.storagetransfer.v1.GcsData gcs_intermediate_data_location = 16; */ - public Builder mergeGcsIntermediateDataLocation( - com.google.storagetransfer.v1.proto.TransferTypes.GcsData value) { + public Builder mergeGcsIntermediateDataLocation(com.google.storagetransfer.v1.proto.TransferTypes.GcsData value) { if (gcsIntermediateDataLocationBuilder_ == null) { - if (intermediateDataLocationCase_ == 16 - && intermediateDataLocation_ - != com.google.storagetransfer.v1.proto.TransferTypes.GcsData - .getDefaultInstance()) { - intermediateDataLocation_ = - com.google.storagetransfer.v1.proto.TransferTypes.GcsData.newBuilder( - (com.google.storagetransfer.v1.proto.TransferTypes.GcsData) - intermediateDataLocation_) - .mergeFrom(value) - .buildPartial(); + if (intermediateDataLocationCase_ == 16 && + intermediateDataLocation_ != com.google.storagetransfer.v1.proto.TransferTypes.GcsData.getDefaultInstance()) { + intermediateDataLocation_ = com.google.storagetransfer.v1.proto.TransferTypes.GcsData.newBuilder((com.google.storagetransfer.v1.proto.TransferTypes.GcsData) intermediateDataLocation_) + .mergeFrom(value).buildPartial(); } else { intermediateDataLocation_ = value; } @@ -19189,8 +20432,6 @@ public Builder mergeGcsIntermediateDataLocation( return this; } /** - * - * *
        * Cloud Storage intermediate data location.
        * 
@@ -19214,21 +20455,16 @@ public Builder clearGcsIntermediateDataLocation() { return this; } /** - * - * *
        * Cloud Storage intermediate data location.
        * 
* * .google.storagetransfer.v1.GcsData gcs_intermediate_data_location = 16; */ - public com.google.storagetransfer.v1.proto.TransferTypes.GcsData.Builder - getGcsIntermediateDataLocationBuilder() { + public com.google.storagetransfer.v1.proto.TransferTypes.GcsData.Builder getGcsIntermediateDataLocationBuilder() { return getGcsIntermediateDataLocationFieldBuilder().getBuilder(); } /** - * - * *
        * Cloud Storage intermediate data location.
        * 
@@ -19236,22 +20472,17 @@ public Builder clearGcsIntermediateDataLocation() { * .google.storagetransfer.v1.GcsData gcs_intermediate_data_location = 16; */ @java.lang.Override - public com.google.storagetransfer.v1.proto.TransferTypes.GcsDataOrBuilder - getGcsIntermediateDataLocationOrBuilder() { - if ((intermediateDataLocationCase_ == 16) - && (gcsIntermediateDataLocationBuilder_ != null)) { + public com.google.storagetransfer.v1.proto.TransferTypes.GcsDataOrBuilder getGcsIntermediateDataLocationOrBuilder() { + if ((intermediateDataLocationCase_ == 16) && (gcsIntermediateDataLocationBuilder_ != null)) { return gcsIntermediateDataLocationBuilder_.getMessageOrBuilder(); } else { if (intermediateDataLocationCase_ == 16) { - return (com.google.storagetransfer.v1.proto.TransferTypes.GcsData) - intermediateDataLocation_; + return (com.google.storagetransfer.v1.proto.TransferTypes.GcsData) intermediateDataLocation_; } return com.google.storagetransfer.v1.proto.TransferTypes.GcsData.getDefaultInstance(); } } /** - * - * *
        * Cloud Storage intermediate data location.
        * 
@@ -19259,41 +20490,28 @@ public Builder clearGcsIntermediateDataLocation() { * .google.storagetransfer.v1.GcsData gcs_intermediate_data_location = 16; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.storagetransfer.v1.proto.TransferTypes.GcsData, - com.google.storagetransfer.v1.proto.TransferTypes.GcsData.Builder, - com.google.storagetransfer.v1.proto.TransferTypes.GcsDataOrBuilder> + com.google.storagetransfer.v1.proto.TransferTypes.GcsData, com.google.storagetransfer.v1.proto.TransferTypes.GcsData.Builder, com.google.storagetransfer.v1.proto.TransferTypes.GcsDataOrBuilder> getGcsIntermediateDataLocationFieldBuilder() { if (gcsIntermediateDataLocationBuilder_ == null) { if (!(intermediateDataLocationCase_ == 16)) { - intermediateDataLocation_ = - com.google.storagetransfer.v1.proto.TransferTypes.GcsData.getDefaultInstance(); + intermediateDataLocation_ = com.google.storagetransfer.v1.proto.TransferTypes.GcsData.getDefaultInstance(); } - gcsIntermediateDataLocationBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.storagetransfer.v1.proto.TransferTypes.GcsData, - com.google.storagetransfer.v1.proto.TransferTypes.GcsData.Builder, - com.google.storagetransfer.v1.proto.TransferTypes.GcsDataOrBuilder>( - (com.google.storagetransfer.v1.proto.TransferTypes.GcsData) - intermediateDataLocation_, + gcsIntermediateDataLocationBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.storagetransfer.v1.proto.TransferTypes.GcsData, com.google.storagetransfer.v1.proto.TransferTypes.GcsData.Builder, com.google.storagetransfer.v1.proto.TransferTypes.GcsDataOrBuilder>( + (com.google.storagetransfer.v1.proto.TransferTypes.GcsData) intermediateDataLocation_, getParentForChildren(), isClean()); intermediateDataLocation_ = null; } intermediateDataLocationCase_ = 16; - onChanged(); - ; + onChanged();; return gcsIntermediateDataLocationBuilder_; } private com.google.storagetransfer.v1.proto.TransferTypes.ObjectConditions objectConditions_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.storagetransfer.v1.proto.TransferTypes.ObjectConditions, - com.google.storagetransfer.v1.proto.TransferTypes.ObjectConditions.Builder, - com.google.storagetransfer.v1.proto.TransferTypes.ObjectConditionsOrBuilder> - objectConditionsBuilder_; + com.google.storagetransfer.v1.proto.TransferTypes.ObjectConditions, com.google.storagetransfer.v1.proto.TransferTypes.ObjectConditions.Builder, com.google.storagetransfer.v1.proto.TransferTypes.ObjectConditionsOrBuilder> objectConditionsBuilder_; /** - * - * *
        * Only objects that satisfy these object conditions are included in the set
        * of data source and data sink objects.  Object conditions based on
@@ -19301,15 +20519,12 @@ public Builder clearGcsIntermediateDataLocation() {
        * 
* * .google.storagetransfer.v1.ObjectConditions object_conditions = 5; - * * @return Whether the objectConditions field is set. */ public boolean hasObjectConditions() { return objectConditionsBuilder_ != null || objectConditions_ != null; } /** - * - * *
        * Only objects that satisfy these object conditions are included in the set
        * of data source and data sink objects.  Object conditions based on
@@ -19317,23 +20532,16 @@ public boolean hasObjectConditions() {
        * 
* * .google.storagetransfer.v1.ObjectConditions object_conditions = 5; - * * @return The objectConditions. */ - public com.google.storagetransfer.v1.proto.TransferTypes.ObjectConditions - getObjectConditions() { + public com.google.storagetransfer.v1.proto.TransferTypes.ObjectConditions getObjectConditions() { if (objectConditionsBuilder_ == null) { - return objectConditions_ == null - ? com.google.storagetransfer.v1.proto.TransferTypes.ObjectConditions - .getDefaultInstance() - : objectConditions_; + return objectConditions_ == null ? com.google.storagetransfer.v1.proto.TransferTypes.ObjectConditions.getDefaultInstance() : objectConditions_; } else { return objectConditionsBuilder_.getMessage(); } } /** - * - * *
        * Only objects that satisfy these object conditions are included in the set
        * of data source and data sink objects.  Object conditions based on
@@ -19342,8 +20550,7 @@ public boolean hasObjectConditions() {
        *
        * .google.storagetransfer.v1.ObjectConditions object_conditions = 5;
        */
-      public Builder setObjectConditions(
-          com.google.storagetransfer.v1.proto.TransferTypes.ObjectConditions value) {
+      public Builder setObjectConditions(com.google.storagetransfer.v1.proto.TransferTypes.ObjectConditions value) {
         if (objectConditionsBuilder_ == null) {
           if (value == null) {
             throw new NullPointerException();
@@ -19357,8 +20564,6 @@ public Builder setObjectConditions(
         return this;
       }
       /**
-       *
-       *
        * 
        * Only objects that satisfy these object conditions are included in the set
        * of data source and data sink objects.  Object conditions based on
@@ -19368,8 +20573,7 @@ public Builder setObjectConditions(
        * .google.storagetransfer.v1.ObjectConditions object_conditions = 5;
        */
       public Builder setObjectConditions(
-          com.google.storagetransfer.v1.proto.TransferTypes.ObjectConditions.Builder
-              builderForValue) {
+          com.google.storagetransfer.v1.proto.TransferTypes.ObjectConditions.Builder builderForValue) {
         if (objectConditionsBuilder_ == null) {
           objectConditions_ = builderForValue.build();
           onChanged();
@@ -19380,8 +20584,6 @@ public Builder setObjectConditions(
         return this;
       }
       /**
-       *
-       *
        * 
        * Only objects that satisfy these object conditions are included in the set
        * of data source and data sink objects.  Object conditions based on
@@ -19390,15 +20592,11 @@ public Builder setObjectConditions(
        *
        * .google.storagetransfer.v1.ObjectConditions object_conditions = 5;
        */
-      public Builder mergeObjectConditions(
-          com.google.storagetransfer.v1.proto.TransferTypes.ObjectConditions value) {
+      public Builder mergeObjectConditions(com.google.storagetransfer.v1.proto.TransferTypes.ObjectConditions value) {
         if (objectConditionsBuilder_ == null) {
           if (objectConditions_ != null) {
             objectConditions_ =
-                com.google.storagetransfer.v1.proto.TransferTypes.ObjectConditions.newBuilder(
-                        objectConditions_)
-                    .mergeFrom(value)
-                    .buildPartial();
+              com.google.storagetransfer.v1.proto.TransferTypes.ObjectConditions.newBuilder(objectConditions_).mergeFrom(value).buildPartial();
           } else {
             objectConditions_ = value;
           }
@@ -19410,8 +20608,6 @@ public Builder mergeObjectConditions(
         return this;
       }
       /**
-       *
-       *
        * 
        * Only objects that satisfy these object conditions are included in the set
        * of data source and data sink objects.  Object conditions based on
@@ -19432,8 +20628,6 @@ public Builder clearObjectConditions() {
         return this;
       }
       /**
-       *
-       *
        * 
        * Only objects that satisfy these object conditions are included in the set
        * of data source and data sink objects.  Object conditions based on
@@ -19442,15 +20636,12 @@ public Builder clearObjectConditions() {
        *
        * .google.storagetransfer.v1.ObjectConditions object_conditions = 5;
        */
-      public com.google.storagetransfer.v1.proto.TransferTypes.ObjectConditions.Builder
-          getObjectConditionsBuilder() {
-
+      public com.google.storagetransfer.v1.proto.TransferTypes.ObjectConditions.Builder getObjectConditionsBuilder() {
+        
         onChanged();
         return getObjectConditionsFieldBuilder().getBuilder();
       }
       /**
-       *
-       *
        * 
        * Only objects that satisfy these object conditions are included in the set
        * of data source and data sink objects.  Object conditions based on
@@ -19459,20 +20650,15 @@ public Builder clearObjectConditions() {
        *
        * .google.storagetransfer.v1.ObjectConditions object_conditions = 5;
        */
-      public com.google.storagetransfer.v1.proto.TransferTypes.ObjectConditionsOrBuilder
-          getObjectConditionsOrBuilder() {
+      public com.google.storagetransfer.v1.proto.TransferTypes.ObjectConditionsOrBuilder getObjectConditionsOrBuilder() {
         if (objectConditionsBuilder_ != null) {
           return objectConditionsBuilder_.getMessageOrBuilder();
         } else {
-          return objectConditions_ == null
-              ? com.google.storagetransfer.v1.proto.TransferTypes.ObjectConditions
-                  .getDefaultInstance()
-              : objectConditions_;
+          return objectConditions_ == null ?
+              com.google.storagetransfer.v1.proto.TransferTypes.ObjectConditions.getDefaultInstance() : objectConditions_;
         }
       }
       /**
-       *
-       *
        * 
        * Only objects that satisfy these object conditions are included in the set
        * of data source and data sink objects.  Object conditions based on
@@ -19482,17 +20668,14 @@ public Builder clearObjectConditions() {
        * .google.storagetransfer.v1.ObjectConditions object_conditions = 5;
        */
       private com.google.protobuf.SingleFieldBuilderV3<
-              com.google.storagetransfer.v1.proto.TransferTypes.ObjectConditions,
-              com.google.storagetransfer.v1.proto.TransferTypes.ObjectConditions.Builder,
-              com.google.storagetransfer.v1.proto.TransferTypes.ObjectConditionsOrBuilder>
+          com.google.storagetransfer.v1.proto.TransferTypes.ObjectConditions, com.google.storagetransfer.v1.proto.TransferTypes.ObjectConditions.Builder, com.google.storagetransfer.v1.proto.TransferTypes.ObjectConditionsOrBuilder> 
           getObjectConditionsFieldBuilder() {
         if (objectConditionsBuilder_ == null) {
-          objectConditionsBuilder_ =
-              new com.google.protobuf.SingleFieldBuilderV3<
-                  com.google.storagetransfer.v1.proto.TransferTypes.ObjectConditions,
-                  com.google.storagetransfer.v1.proto.TransferTypes.ObjectConditions.Builder,
-                  com.google.storagetransfer.v1.proto.TransferTypes.ObjectConditionsOrBuilder>(
-                  getObjectConditions(), getParentForChildren(), isClean());
+          objectConditionsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+              com.google.storagetransfer.v1.proto.TransferTypes.ObjectConditions, com.google.storagetransfer.v1.proto.TransferTypes.ObjectConditions.Builder, com.google.storagetransfer.v1.proto.TransferTypes.ObjectConditionsOrBuilder>(
+                  getObjectConditions(),
+                  getParentForChildren(),
+                  isClean());
           objectConditions_ = null;
         }
         return objectConditionsBuilder_;
@@ -19500,13 +20683,8 @@ public Builder clearObjectConditions() {
 
       private com.google.storagetransfer.v1.proto.TransferTypes.TransferOptions transferOptions_;
       private com.google.protobuf.SingleFieldBuilderV3<
-              com.google.storagetransfer.v1.proto.TransferTypes.TransferOptions,
-              com.google.storagetransfer.v1.proto.TransferTypes.TransferOptions.Builder,
-              com.google.storagetransfer.v1.proto.TransferTypes.TransferOptionsOrBuilder>
-          transferOptionsBuilder_;
+          com.google.storagetransfer.v1.proto.TransferTypes.TransferOptions, com.google.storagetransfer.v1.proto.TransferTypes.TransferOptions.Builder, com.google.storagetransfer.v1.proto.TransferTypes.TransferOptionsOrBuilder> transferOptionsBuilder_;
       /**
-       *
-       *
        * 
        * If the option
        * [delete_objects_unique_in_sink][google.storagetransfer.v1.TransferOptions.delete_objects_unique_in_sink]
@@ -19516,15 +20694,12 @@ public Builder clearObjectConditions() {
        * 
* * .google.storagetransfer.v1.TransferOptions transfer_options = 6; - * * @return Whether the transferOptions field is set. */ public boolean hasTransferOptions() { return transferOptionsBuilder_ != null || transferOptions_ != null; } /** - * - * *
        * If the option
        * [delete_objects_unique_in_sink][google.storagetransfer.v1.TransferOptions.delete_objects_unique_in_sink]
@@ -19534,23 +20709,16 @@ public boolean hasTransferOptions() {
        * 
* * .google.storagetransfer.v1.TransferOptions transfer_options = 6; - * * @return The transferOptions. */ - public com.google.storagetransfer.v1.proto.TransferTypes.TransferOptions - getTransferOptions() { + public com.google.storagetransfer.v1.proto.TransferTypes.TransferOptions getTransferOptions() { if (transferOptionsBuilder_ == null) { - return transferOptions_ == null - ? com.google.storagetransfer.v1.proto.TransferTypes.TransferOptions - .getDefaultInstance() - : transferOptions_; + return transferOptions_ == null ? com.google.storagetransfer.v1.proto.TransferTypes.TransferOptions.getDefaultInstance() : transferOptions_; } else { return transferOptionsBuilder_.getMessage(); } } /** - * - * *
        * If the option
        * [delete_objects_unique_in_sink][google.storagetransfer.v1.TransferOptions.delete_objects_unique_in_sink]
@@ -19561,8 +20729,7 @@ public boolean hasTransferOptions() {
        *
        * .google.storagetransfer.v1.TransferOptions transfer_options = 6;
        */
-      public Builder setTransferOptions(
-          com.google.storagetransfer.v1.proto.TransferTypes.TransferOptions value) {
+      public Builder setTransferOptions(com.google.storagetransfer.v1.proto.TransferTypes.TransferOptions value) {
         if (transferOptionsBuilder_ == null) {
           if (value == null) {
             throw new NullPointerException();
@@ -19576,8 +20743,6 @@ public Builder setTransferOptions(
         return this;
       }
       /**
-       *
-       *
        * 
        * If the option
        * [delete_objects_unique_in_sink][google.storagetransfer.v1.TransferOptions.delete_objects_unique_in_sink]
@@ -19589,8 +20754,7 @@ public Builder setTransferOptions(
        * .google.storagetransfer.v1.TransferOptions transfer_options = 6;
        */
       public Builder setTransferOptions(
-          com.google.storagetransfer.v1.proto.TransferTypes.TransferOptions.Builder
-              builderForValue) {
+          com.google.storagetransfer.v1.proto.TransferTypes.TransferOptions.Builder builderForValue) {
         if (transferOptionsBuilder_ == null) {
           transferOptions_ = builderForValue.build();
           onChanged();
@@ -19601,8 +20765,6 @@ public Builder setTransferOptions(
         return this;
       }
       /**
-       *
-       *
        * 
        * If the option
        * [delete_objects_unique_in_sink][google.storagetransfer.v1.TransferOptions.delete_objects_unique_in_sink]
@@ -19613,15 +20775,11 @@ public Builder setTransferOptions(
        *
        * .google.storagetransfer.v1.TransferOptions transfer_options = 6;
        */
-      public Builder mergeTransferOptions(
-          com.google.storagetransfer.v1.proto.TransferTypes.TransferOptions value) {
+      public Builder mergeTransferOptions(com.google.storagetransfer.v1.proto.TransferTypes.TransferOptions value) {
         if (transferOptionsBuilder_ == null) {
           if (transferOptions_ != null) {
             transferOptions_ =
-                com.google.storagetransfer.v1.proto.TransferTypes.TransferOptions.newBuilder(
-                        transferOptions_)
-                    .mergeFrom(value)
-                    .buildPartial();
+              com.google.storagetransfer.v1.proto.TransferTypes.TransferOptions.newBuilder(transferOptions_).mergeFrom(value).buildPartial();
           } else {
             transferOptions_ = value;
           }
@@ -19633,8 +20791,6 @@ public Builder mergeTransferOptions(
         return this;
       }
       /**
-       *
-       *
        * 
        * If the option
        * [delete_objects_unique_in_sink][google.storagetransfer.v1.TransferOptions.delete_objects_unique_in_sink]
@@ -19657,8 +20813,6 @@ public Builder clearTransferOptions() {
         return this;
       }
       /**
-       *
-       *
        * 
        * If the option
        * [delete_objects_unique_in_sink][google.storagetransfer.v1.TransferOptions.delete_objects_unique_in_sink]
@@ -19669,15 +20823,12 @@ public Builder clearTransferOptions() {
        *
        * .google.storagetransfer.v1.TransferOptions transfer_options = 6;
        */
-      public com.google.storagetransfer.v1.proto.TransferTypes.TransferOptions.Builder
-          getTransferOptionsBuilder() {
-
+      public com.google.storagetransfer.v1.proto.TransferTypes.TransferOptions.Builder getTransferOptionsBuilder() {
+        
         onChanged();
         return getTransferOptionsFieldBuilder().getBuilder();
       }
       /**
-       *
-       *
        * 
        * If the option
        * [delete_objects_unique_in_sink][google.storagetransfer.v1.TransferOptions.delete_objects_unique_in_sink]
@@ -19688,20 +20839,15 @@ public Builder clearTransferOptions() {
        *
        * .google.storagetransfer.v1.TransferOptions transfer_options = 6;
        */
-      public com.google.storagetransfer.v1.proto.TransferTypes.TransferOptionsOrBuilder
-          getTransferOptionsOrBuilder() {
+      public com.google.storagetransfer.v1.proto.TransferTypes.TransferOptionsOrBuilder getTransferOptionsOrBuilder() {
         if (transferOptionsBuilder_ != null) {
           return transferOptionsBuilder_.getMessageOrBuilder();
         } else {
-          return transferOptions_ == null
-              ? com.google.storagetransfer.v1.proto.TransferTypes.TransferOptions
-                  .getDefaultInstance()
-              : transferOptions_;
+          return transferOptions_ == null ?
+              com.google.storagetransfer.v1.proto.TransferTypes.TransferOptions.getDefaultInstance() : transferOptions_;
         }
       }
       /**
-       *
-       *
        * 
        * If the option
        * [delete_objects_unique_in_sink][google.storagetransfer.v1.TransferOptions.delete_objects_unique_in_sink]
@@ -19713,17 +20859,14 @@ public Builder clearTransferOptions() {
        * .google.storagetransfer.v1.TransferOptions transfer_options = 6;
        */
       private com.google.protobuf.SingleFieldBuilderV3<
-              com.google.storagetransfer.v1.proto.TransferTypes.TransferOptions,
-              com.google.storagetransfer.v1.proto.TransferTypes.TransferOptions.Builder,
-              com.google.storagetransfer.v1.proto.TransferTypes.TransferOptionsOrBuilder>
+          com.google.storagetransfer.v1.proto.TransferTypes.TransferOptions, com.google.storagetransfer.v1.proto.TransferTypes.TransferOptions.Builder, com.google.storagetransfer.v1.proto.TransferTypes.TransferOptionsOrBuilder> 
           getTransferOptionsFieldBuilder() {
         if (transferOptionsBuilder_ == null) {
-          transferOptionsBuilder_ =
-              new com.google.protobuf.SingleFieldBuilderV3<
-                  com.google.storagetransfer.v1.proto.TransferTypes.TransferOptions,
-                  com.google.storagetransfer.v1.proto.TransferTypes.TransferOptions.Builder,
-                  com.google.storagetransfer.v1.proto.TransferTypes.TransferOptionsOrBuilder>(
-                  getTransferOptions(), getParentForChildren(), isClean());
+          transferOptionsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+              com.google.storagetransfer.v1.proto.TransferTypes.TransferOptions, com.google.storagetransfer.v1.proto.TransferTypes.TransferOptions.Builder, com.google.storagetransfer.v1.proto.TransferTypes.TransferOptionsOrBuilder>(
+                  getTransferOptions(),
+                  getParentForChildren(),
+                  isClean());
           transferOptions_ = null;
         }
         return transferOptionsBuilder_;
@@ -19731,13 +20874,8 @@ public Builder clearTransferOptions() {
 
       private com.google.storagetransfer.v1.proto.TransferTypes.TransferManifest transferManifest_;
       private com.google.protobuf.SingleFieldBuilderV3<
-              com.google.storagetransfer.v1.proto.TransferTypes.TransferManifest,
-              com.google.storagetransfer.v1.proto.TransferTypes.TransferManifest.Builder,
-              com.google.storagetransfer.v1.proto.TransferTypes.TransferManifestOrBuilder>
-          transferManifestBuilder_;
+          com.google.storagetransfer.v1.proto.TransferTypes.TransferManifest, com.google.storagetransfer.v1.proto.TransferTypes.TransferManifest.Builder, com.google.storagetransfer.v1.proto.TransferTypes.TransferManifestOrBuilder> transferManifestBuilder_;
       /**
-       *
-       *
        * 
        * A manifest file provides a list of objects to be transferred from the data
        * source. This field points to the location of the manifest file.
@@ -19745,15 +20883,12 @@ public Builder clearTransferOptions() {
        * 
* * .google.storagetransfer.v1.TransferManifest transfer_manifest = 15; - * * @return Whether the transferManifest field is set. */ public boolean hasTransferManifest() { return transferManifestBuilder_ != null || transferManifest_ != null; } /** - * - * *
        * A manifest file provides a list of objects to be transferred from the data
        * source. This field points to the location of the manifest file.
@@ -19761,23 +20896,16 @@ public boolean hasTransferManifest() {
        * 
* * .google.storagetransfer.v1.TransferManifest transfer_manifest = 15; - * * @return The transferManifest. */ - public com.google.storagetransfer.v1.proto.TransferTypes.TransferManifest - getTransferManifest() { + public com.google.storagetransfer.v1.proto.TransferTypes.TransferManifest getTransferManifest() { if (transferManifestBuilder_ == null) { - return transferManifest_ == null - ? com.google.storagetransfer.v1.proto.TransferTypes.TransferManifest - .getDefaultInstance() - : transferManifest_; + return transferManifest_ == null ? com.google.storagetransfer.v1.proto.TransferTypes.TransferManifest.getDefaultInstance() : transferManifest_; } else { return transferManifestBuilder_.getMessage(); } } /** - * - * *
        * A manifest file provides a list of objects to be transferred from the data
        * source. This field points to the location of the manifest file.
@@ -19786,8 +20914,7 @@ public boolean hasTransferManifest() {
        *
        * .google.storagetransfer.v1.TransferManifest transfer_manifest = 15;
        */
-      public Builder setTransferManifest(
-          com.google.storagetransfer.v1.proto.TransferTypes.TransferManifest value) {
+      public Builder setTransferManifest(com.google.storagetransfer.v1.proto.TransferTypes.TransferManifest value) {
         if (transferManifestBuilder_ == null) {
           if (value == null) {
             throw new NullPointerException();
@@ -19801,8 +20928,6 @@ public Builder setTransferManifest(
         return this;
       }
       /**
-       *
-       *
        * 
        * A manifest file provides a list of objects to be transferred from the data
        * source. This field points to the location of the manifest file.
@@ -19812,8 +20937,7 @@ public Builder setTransferManifest(
        * .google.storagetransfer.v1.TransferManifest transfer_manifest = 15;
        */
       public Builder setTransferManifest(
-          com.google.storagetransfer.v1.proto.TransferTypes.TransferManifest.Builder
-              builderForValue) {
+          com.google.storagetransfer.v1.proto.TransferTypes.TransferManifest.Builder builderForValue) {
         if (transferManifestBuilder_ == null) {
           transferManifest_ = builderForValue.build();
           onChanged();
@@ -19824,8 +20948,6 @@ public Builder setTransferManifest(
         return this;
       }
       /**
-       *
-       *
        * 
        * A manifest file provides a list of objects to be transferred from the data
        * source. This field points to the location of the manifest file.
@@ -19834,15 +20956,11 @@ public Builder setTransferManifest(
        *
        * .google.storagetransfer.v1.TransferManifest transfer_manifest = 15;
        */
-      public Builder mergeTransferManifest(
-          com.google.storagetransfer.v1.proto.TransferTypes.TransferManifest value) {
+      public Builder mergeTransferManifest(com.google.storagetransfer.v1.proto.TransferTypes.TransferManifest value) {
         if (transferManifestBuilder_ == null) {
           if (transferManifest_ != null) {
             transferManifest_ =
-                com.google.storagetransfer.v1.proto.TransferTypes.TransferManifest.newBuilder(
-                        transferManifest_)
-                    .mergeFrom(value)
-                    .buildPartial();
+              com.google.storagetransfer.v1.proto.TransferTypes.TransferManifest.newBuilder(transferManifest_).mergeFrom(value).buildPartial();
           } else {
             transferManifest_ = value;
           }
@@ -19854,8 +20972,6 @@ public Builder mergeTransferManifest(
         return this;
       }
       /**
-       *
-       *
        * 
        * A manifest file provides a list of objects to be transferred from the data
        * source. This field points to the location of the manifest file.
@@ -19876,8 +20992,6 @@ public Builder clearTransferManifest() {
         return this;
       }
       /**
-       *
-       *
        * 
        * A manifest file provides a list of objects to be transferred from the data
        * source. This field points to the location of the manifest file.
@@ -19886,15 +21000,12 @@ public Builder clearTransferManifest() {
        *
        * .google.storagetransfer.v1.TransferManifest transfer_manifest = 15;
        */
-      public com.google.storagetransfer.v1.proto.TransferTypes.TransferManifest.Builder
-          getTransferManifestBuilder() {
-
+      public com.google.storagetransfer.v1.proto.TransferTypes.TransferManifest.Builder getTransferManifestBuilder() {
+        
         onChanged();
         return getTransferManifestFieldBuilder().getBuilder();
       }
       /**
-       *
-       *
        * 
        * A manifest file provides a list of objects to be transferred from the data
        * source. This field points to the location of the manifest file.
@@ -19903,20 +21014,15 @@ public Builder clearTransferManifest() {
        *
        * .google.storagetransfer.v1.TransferManifest transfer_manifest = 15;
        */
-      public com.google.storagetransfer.v1.proto.TransferTypes.TransferManifestOrBuilder
-          getTransferManifestOrBuilder() {
+      public com.google.storagetransfer.v1.proto.TransferTypes.TransferManifestOrBuilder getTransferManifestOrBuilder() {
         if (transferManifestBuilder_ != null) {
           return transferManifestBuilder_.getMessageOrBuilder();
         } else {
-          return transferManifest_ == null
-              ? com.google.storagetransfer.v1.proto.TransferTypes.TransferManifest
-                  .getDefaultInstance()
-              : transferManifest_;
+          return transferManifest_ == null ?
+              com.google.storagetransfer.v1.proto.TransferTypes.TransferManifest.getDefaultInstance() : transferManifest_;
         }
       }
       /**
-       *
-       *
        * 
        * A manifest file provides a list of objects to be transferred from the data
        * source. This field points to the location of the manifest file.
@@ -19926,17 +21032,14 @@ public Builder clearTransferManifest() {
        * .google.storagetransfer.v1.TransferManifest transfer_manifest = 15;
        */
       private com.google.protobuf.SingleFieldBuilderV3<
-              com.google.storagetransfer.v1.proto.TransferTypes.TransferManifest,
-              com.google.storagetransfer.v1.proto.TransferTypes.TransferManifest.Builder,
-              com.google.storagetransfer.v1.proto.TransferTypes.TransferManifestOrBuilder>
+          com.google.storagetransfer.v1.proto.TransferTypes.TransferManifest, com.google.storagetransfer.v1.proto.TransferTypes.TransferManifest.Builder, com.google.storagetransfer.v1.proto.TransferTypes.TransferManifestOrBuilder> 
           getTransferManifestFieldBuilder() {
         if (transferManifestBuilder_ == null) {
-          transferManifestBuilder_ =
-              new com.google.protobuf.SingleFieldBuilderV3<
-                  com.google.storagetransfer.v1.proto.TransferTypes.TransferManifest,
-                  com.google.storagetransfer.v1.proto.TransferTypes.TransferManifest.Builder,
-                  com.google.storagetransfer.v1.proto.TransferTypes.TransferManifestOrBuilder>(
-                  getTransferManifest(), getParentForChildren(), isClean());
+          transferManifestBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+              com.google.storagetransfer.v1.proto.TransferTypes.TransferManifest, com.google.storagetransfer.v1.proto.TransferTypes.TransferManifest.Builder, com.google.storagetransfer.v1.proto.TransferTypes.TransferManifestOrBuilder>(
+                  getTransferManifest(),
+                  getParentForChildren(),
+                  isClean());
           transferManifest_ = null;
         }
         return transferManifestBuilder_;
@@ -19944,21 +21047,19 @@ public Builder clearTransferManifest() {
 
       private java.lang.Object sourceAgentPoolName_ = "";
       /**
-       *
-       *
        * 
        * Specifies the agent pool name associated with the posix data source. When
        * unspecified, the default name is used.
        * 
* * string source_agent_pool_name = 17; - * * @return The sourceAgentPoolName. */ public java.lang.String getSourceAgentPoolName() { java.lang.Object ref = sourceAgentPoolName_; 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(); sourceAgentPoolName_ = s; return s; @@ -19967,22 +21068,21 @@ public java.lang.String getSourceAgentPoolName() { } } /** - * - * *
        * Specifies the agent pool name associated with the posix data source. When
        * unspecified, the default name is used.
        * 
* * string source_agent_pool_name = 17; - * * @return The bytes for sourceAgentPoolName. */ - public com.google.protobuf.ByteString getSourceAgentPoolNameBytes() { + public com.google.protobuf.ByteString + getSourceAgentPoolNameBytes() { java.lang.Object ref = sourceAgentPoolName_; 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); sourceAgentPoolName_ = b; return b; } else { @@ -19990,64 +21090,57 @@ public com.google.protobuf.ByteString getSourceAgentPoolNameBytes() { } } /** - * - * *
        * Specifies the agent pool name associated with the posix data source. When
        * unspecified, the default name is used.
        * 
* * string source_agent_pool_name = 17; - * * @param value The sourceAgentPoolName to set. * @return This builder for chaining. */ - public Builder setSourceAgentPoolName(java.lang.String value) { + public Builder setSourceAgentPoolName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + sourceAgentPoolName_ = value; onChanged(); return this; } /** - * - * *
        * Specifies the agent pool name associated with the posix data source. When
        * unspecified, the default name is used.
        * 
* * string source_agent_pool_name = 17; - * * @return This builder for chaining. */ public Builder clearSourceAgentPoolName() { - + sourceAgentPoolName_ = getDefaultInstance().getSourceAgentPoolName(); onChanged(); return this; } /** - * - * *
        * Specifies the agent pool name associated with the posix data source. When
        * unspecified, the default name is used.
        * 
* * string source_agent_pool_name = 17; - * * @param value The bytes for sourceAgentPoolName to set. * @return This builder for chaining. */ - public Builder setSourceAgentPoolNameBytes(com.google.protobuf.ByteString value) { + public Builder setSourceAgentPoolNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + sourceAgentPoolName_ = value; onChanged(); return this; @@ -20055,21 +21148,19 @@ public Builder setSourceAgentPoolNameBytes(com.google.protobuf.ByteString value) private java.lang.Object sinkAgentPoolName_ = ""; /** - * - * *
        * Specifies the agent pool name associated with the posix data sink. When
        * unspecified, the default name is used.
        * 
* * string sink_agent_pool_name = 18; - * * @return The sinkAgentPoolName. */ public java.lang.String getSinkAgentPoolName() { java.lang.Object ref = sinkAgentPoolName_; 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(); sinkAgentPoolName_ = s; return s; @@ -20078,22 +21169,21 @@ public java.lang.String getSinkAgentPoolName() { } } /** - * - * *
        * Specifies the agent pool name associated with the posix data sink. When
        * unspecified, the default name is used.
        * 
* * string sink_agent_pool_name = 18; - * * @return The bytes for sinkAgentPoolName. */ - public com.google.protobuf.ByteString getSinkAgentPoolNameBytes() { + public com.google.protobuf.ByteString + getSinkAgentPoolNameBytes() { java.lang.Object ref = sinkAgentPoolName_; 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); sinkAgentPoolName_ = b; return b; } else { @@ -20101,69 +21191,61 @@ public com.google.protobuf.ByteString getSinkAgentPoolNameBytes() { } } /** - * - * *
        * Specifies the agent pool name associated with the posix data sink. When
        * unspecified, the default name is used.
        * 
* * string sink_agent_pool_name = 18; - * * @param value The sinkAgentPoolName to set. * @return This builder for chaining. */ - public Builder setSinkAgentPoolName(java.lang.String value) { + public Builder setSinkAgentPoolName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + sinkAgentPoolName_ = value; onChanged(); return this; } /** - * - * *
        * Specifies the agent pool name associated with the posix data sink. When
        * unspecified, the default name is used.
        * 
* * string sink_agent_pool_name = 18; - * * @return This builder for chaining. */ public Builder clearSinkAgentPoolName() { - + sinkAgentPoolName_ = getDefaultInstance().getSinkAgentPoolName(); onChanged(); return this; } /** - * - * *
        * Specifies the agent pool name associated with the posix data sink. When
        * unspecified, the default name is used.
        * 
* * string sink_agent_pool_name = 18; - * * @param value The bytes for sinkAgentPoolName to set. * @return This builder for chaining. */ - public Builder setSinkAgentPoolNameBytes(com.google.protobuf.ByteString value) { + public Builder setSinkAgentPoolNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + sinkAgentPoolName_ = value; onChanged(); return this; } - @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -20176,32 +21258,30 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.storagetransfer.v1.TransferSpec) } // @@protoc_insertion_point(class_scope:google.storagetransfer.v1.TransferSpec) - private static final com.google.storagetransfer.v1.proto.TransferTypes.TransferSpec - DEFAULT_INSTANCE; - + private static final com.google.storagetransfer.v1.proto.TransferTypes.TransferSpec DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.storagetransfer.v1.proto.TransferTypes.TransferSpec(); } - public static com.google.storagetransfer.v1.proto.TransferTypes.TransferSpec - getDefaultInstance() { + public static com.google.storagetransfer.v1.proto.TransferTypes.TransferSpec getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public TransferSpec parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new TransferSpec(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public TransferSpec parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new TransferSpec(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -20213,20 +21293,17 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.storagetransfer.v1.proto.TransferTypes.TransferSpec - getDefaultInstanceForType() { + public com.google.storagetransfer.v1.proto.TransferTypes.TransferSpec getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } - public interface MetadataOptionsOrBuilder - extends + public interface MetadataOptionsOrBuilder extends // @@protoc_insertion_point(interface_extends:google.storagetransfer.v1.MetadataOptions) com.google.protobuf.MessageOrBuilder { /** - * - * *
      * Specifies how symlinks should be handled by the transfer. By default,
      * symlinks are not preserved. Only applicable to transfers involving
@@ -20234,13 +21311,10 @@ public interface MetadataOptionsOrBuilder
      * 
* * .google.storagetransfer.v1.MetadataOptions.Symlink symlink = 1; - * * @return The enum numeric value on the wire for symlink. */ int getSymlinkValue(); /** - * - * *
      * Specifies how symlinks should be handled by the transfer. By default,
      * symlinks are not preserved. Only applicable to transfers involving
@@ -20248,14 +21322,11 @@ public interface MetadataOptionsOrBuilder
      * 
* * .google.storagetransfer.v1.MetadataOptions.Symlink symlink = 1; - * * @return The symlink. */ com.google.storagetransfer.v1.proto.TransferTypes.MetadataOptions.Symlink getSymlink(); /** - * - * *
      * Specifies how each file's mode attribute should be handled by the transfer.
      * By default, mode is not preserved. Only applicable to transfers involving
@@ -20263,13 +21334,10 @@ public interface MetadataOptionsOrBuilder
      * 
* * .google.storagetransfer.v1.MetadataOptions.Mode mode = 2; - * * @return The enum numeric value on the wire for mode. */ int getModeValue(); /** - * - * *
      * Specifies how each file's mode attribute should be handled by the transfer.
      * By default, mode is not preserved. Only applicable to transfers involving
@@ -20277,14 +21345,11 @@ public interface MetadataOptionsOrBuilder
      * 
* * .google.storagetransfer.v1.MetadataOptions.Mode mode = 2; - * * @return The mode. */ com.google.storagetransfer.v1.proto.TransferTypes.MetadataOptions.Mode getMode(); /** - * - * *
      * Specifies how each file's POSIX group ID (GID) attribute should be handled
      * by the transfer. By default, GID is not preserved. Only applicable to
@@ -20292,13 +21357,10 @@ public interface MetadataOptionsOrBuilder
      * 
* * .google.storagetransfer.v1.MetadataOptions.GID gid = 3; - * * @return The enum numeric value on the wire for gid. */ int getGidValue(); /** - * - * *
      * Specifies how each file's POSIX group ID (GID) attribute should be handled
      * by the transfer. By default, GID is not preserved. Only applicable to
@@ -20306,14 +21368,11 @@ public interface MetadataOptionsOrBuilder
      * 
* * .google.storagetransfer.v1.MetadataOptions.GID gid = 3; - * * @return The gid. */ com.google.storagetransfer.v1.proto.TransferTypes.MetadataOptions.GID getGid(); /** - * - * *
      * Specifies how each file's POSIX user ID (UID) attribute should be handled
      * by the transfer. By default, UID is not preserved. Only applicable to
@@ -20321,13 +21380,10 @@ public interface MetadataOptionsOrBuilder
      * 
* * .google.storagetransfer.v1.MetadataOptions.UID uid = 4; - * * @return The enum numeric value on the wire for uid. */ int getUidValue(); /** - * - * *
      * Specifies how each file's POSIX user ID (UID) attribute should be handled
      * by the transfer. By default, UID is not preserved. Only applicable to
@@ -20335,14 +21391,11 @@ public interface MetadataOptionsOrBuilder
      * 
* * .google.storagetransfer.v1.MetadataOptions.UID uid = 4; - * * @return The uid. */ com.google.storagetransfer.v1.proto.TransferTypes.MetadataOptions.UID getUid(); /** - * - * *
      * Specifies how each object's ACLs should be preserved for transfers between
      * Google Cloud Storage buckets. If unspecified, the default behavior is the
@@ -20350,13 +21403,10 @@ public interface MetadataOptionsOrBuilder
      * 
* * .google.storagetransfer.v1.MetadataOptions.Acl acl = 5; - * * @return The enum numeric value on the wire for acl. */ int getAclValue(); /** - * - * *
      * Specifies how each object's ACLs should be preserved for transfers between
      * Google Cloud Storage buckets. If unspecified, the default behavior is the
@@ -20364,14 +21414,11 @@ public interface MetadataOptionsOrBuilder
      * 
* * .google.storagetransfer.v1.MetadataOptions.Acl acl = 5; - * * @return The acl. */ com.google.storagetransfer.v1.proto.TransferTypes.MetadataOptions.Acl getAcl(); /** - * - * *
      * Specifies the storage class to set on objects being transferred to Google
      * Cloud Storage buckets.  If unspecified, the default behavior is the same as
@@ -20379,13 +21426,10 @@ public interface MetadataOptionsOrBuilder
      * 
* * .google.storagetransfer.v1.MetadataOptions.StorageClass storage_class = 6; - * * @return The enum numeric value on the wire for storageClass. */ int getStorageClassValue(); /** - * - * *
      * Specifies the storage class to set on objects being transferred to Google
      * Cloud Storage buckets.  If unspecified, the default behavior is the same as
@@ -20393,15 +21437,11 @@ public interface MetadataOptionsOrBuilder
      * 
* * .google.storagetransfer.v1.MetadataOptions.StorageClass storage_class = 6; - * * @return The storageClass. */ - com.google.storagetransfer.v1.proto.TransferTypes.MetadataOptions.StorageClass - getStorageClass(); + com.google.storagetransfer.v1.proto.TransferTypes.MetadataOptions.StorageClass getStorageClass(); /** - * - * *
      * Specifies how each object's temporary hold status should be preserved for
      * transfers between Google Cloud Storage buckets.  If unspecified, the
@@ -20410,13 +21450,10 @@ public interface MetadataOptionsOrBuilder
      * 
* * .google.storagetransfer.v1.MetadataOptions.TemporaryHold temporary_hold = 7; - * * @return The enum numeric value on the wire for temporaryHold. */ int getTemporaryHoldValue(); /** - * - * *
      * Specifies how each object's temporary hold status should be preserved for
      * transfers between Google Cloud Storage buckets.  If unspecified, the
@@ -20425,15 +21462,11 @@ public interface MetadataOptionsOrBuilder
      * 
* * .google.storagetransfer.v1.MetadataOptions.TemporaryHold temporary_hold = 7; - * * @return The temporaryHold. */ - com.google.storagetransfer.v1.proto.TransferTypes.MetadataOptions.TemporaryHold - getTemporaryHold(); + com.google.storagetransfer.v1.proto.TransferTypes.MetadataOptions.TemporaryHold getTemporaryHold(); /** - * - * *
      * Specifies how each object's Cloud KMS customer-managed encryption key
      * (CMEK) is preserved for transfers between Google Cloud Storage buckets.  If
@@ -20442,13 +21475,10 @@ public interface MetadataOptionsOrBuilder
      * 
* * .google.storagetransfer.v1.MetadataOptions.KmsKey kms_key = 8; - * * @return The enum numeric value on the wire for kmsKey. */ int getKmsKeyValue(); /** - * - * *
      * Specifies how each object's Cloud KMS customer-managed encryption key
      * (CMEK) is preserved for transfers between Google Cloud Storage buckets.  If
@@ -20457,14 +21487,11 @@ public interface MetadataOptionsOrBuilder
      * 
* * .google.storagetransfer.v1.MetadataOptions.KmsKey kms_key = 8; - * * @return The kmsKey. */ com.google.storagetransfer.v1.proto.TransferTypes.MetadataOptions.KmsKey getKmsKey(); /** - * - * *
      * Specifies how each object's `timeCreated` metadata is preserved for
      * transfers between Google Cloud Storage buckets.  If unspecified, the
@@ -20473,13 +21500,10 @@ public interface MetadataOptionsOrBuilder
      * 
* * .google.storagetransfer.v1.MetadataOptions.TimeCreated time_created = 9; - * * @return The enum numeric value on the wire for timeCreated. */ int getTimeCreatedValue(); /** - * - * *
      * Specifies how each object's `timeCreated` metadata is preserved for
      * transfers between Google Cloud Storage buckets.  If unspecified, the
@@ -20488,30 +21512,26 @@ public interface MetadataOptionsOrBuilder
      * 
* * .google.storagetransfer.v1.MetadataOptions.TimeCreated time_created = 9; - * * @return The timeCreated. */ com.google.storagetransfer.v1.proto.TransferTypes.MetadataOptions.TimeCreated getTimeCreated(); } /** - * - * *
    * Specifies the metadata options for running a transfer.
    * 
* * Protobuf type {@code google.storagetransfer.v1.MetadataOptions} */ - public static final class MetadataOptions extends com.google.protobuf.GeneratedMessageV3 - implements + public static final class MetadataOptions extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.storagetransfer.v1.MetadataOptions) MetadataOptionsOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use MetadataOptions.newBuilder() to construct. private MetadataOptions(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private MetadataOptions() { symlink_ = 0; mode_ = 0; @@ -20526,15 +21546,16 @@ private MetadataOptions() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new MetadataOptions(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private MetadataOptions( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -20553,76 +21574,67 @@ private MetadataOptions( case 0: done = true; break; - case 8: - { - int rawValue = input.readEnum(); + case 8: { + int rawValue = input.readEnum(); - symlink_ = rawValue; - break; - } - case 16: - { - int rawValue = input.readEnum(); + symlink_ = rawValue; + break; + } + case 16: { + int rawValue = input.readEnum(); - mode_ = rawValue; - break; - } - case 24: - { - int rawValue = input.readEnum(); + mode_ = rawValue; + break; + } + case 24: { + int rawValue = input.readEnum(); - gid_ = rawValue; - break; - } - case 32: - { - int rawValue = input.readEnum(); + gid_ = rawValue; + break; + } + case 32: { + int rawValue = input.readEnum(); - uid_ = rawValue; - break; - } - case 40: - { - int rawValue = input.readEnum(); + uid_ = rawValue; + break; + } + case 40: { + int rawValue = input.readEnum(); - acl_ = rawValue; - break; - } - case 48: - { - int rawValue = input.readEnum(); + acl_ = rawValue; + break; + } + case 48: { + int rawValue = input.readEnum(); - storageClass_ = rawValue; - break; - } - case 56: - { - int rawValue = input.readEnum(); + storageClass_ = rawValue; + break; + } + case 56: { + int rawValue = input.readEnum(); - temporaryHold_ = rawValue; - break; - } - case 64: - { - int rawValue = input.readEnum(); + temporaryHold_ = rawValue; + break; + } + case 64: { + int rawValue = input.readEnum(); - kmsKey_ = rawValue; - break; - } - case 72: - { - int rawValue = input.readEnum(); + kmsKey_ = rawValue; + break; + } + case 72: { + int rawValue = input.readEnum(); - timeCreated_ = rawValue; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + timeCreated_ = rawValue; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -20630,41 +21642,36 @@ private MetadataOptions( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.storagetransfer.v1.proto.TransferTypes - .internal_static_google_storagetransfer_v1_MetadataOptions_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.storagetransfer.v1.proto.TransferTypes.internal_static_google_storagetransfer_v1_MetadataOptions_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.storagetransfer.v1.proto.TransferTypes - .internal_static_google_storagetransfer_v1_MetadataOptions_fieldAccessorTable + return com.google.storagetransfer.v1.proto.TransferTypes.internal_static_google_storagetransfer_v1_MetadataOptions_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.storagetransfer.v1.proto.TransferTypes.MetadataOptions.class, - com.google.storagetransfer.v1.proto.TransferTypes.MetadataOptions.Builder.class); + com.google.storagetransfer.v1.proto.TransferTypes.MetadataOptions.class, com.google.storagetransfer.v1.proto.TransferTypes.MetadataOptions.Builder.class); } /** - * - * *
      * Whether symlinks should be skipped or preserved during a transfer job.
      * 
* * Protobuf enum {@code google.storagetransfer.v1.MetadataOptions.Symlink} */ - public enum Symlink implements com.google.protobuf.ProtocolMessageEnum { + public enum Symlink + implements com.google.protobuf.ProtocolMessageEnum { /** - * - * *
        * Symlink behavior is unspecified.
        * 
@@ -20673,8 +21680,6 @@ public enum Symlink implements com.google.protobuf.ProtocolMessageEnum { */ SYMLINK_UNSPECIFIED(0), /** - * - * *
        * Do not preserve symlinks during a transfer job.
        * 
@@ -20683,8 +21688,6 @@ public enum Symlink implements com.google.protobuf.ProtocolMessageEnum { */ SYMLINK_SKIP(1), /** - * - * *
        * Preserve symlinks during a transfer job.
        * 
@@ -20696,8 +21699,6 @@ public enum Symlink implements com.google.protobuf.ProtocolMessageEnum { ; /** - * - * *
        * Symlink behavior is unspecified.
        * 
@@ -20706,8 +21707,6 @@ public enum Symlink implements com.google.protobuf.ProtocolMessageEnum { */ public static final int SYMLINK_UNSPECIFIED_VALUE = 0; /** - * - * *
        * Do not preserve symlinks during a transfer job.
        * 
@@ -20716,8 +21715,6 @@ public enum Symlink implements com.google.protobuf.ProtocolMessageEnum { */ public static final int SYMLINK_SKIP_VALUE = 1; /** - * - * *
        * Preserve symlinks during a transfer job.
        * 
@@ -20726,6 +21723,7 @@ public enum Symlink implements com.google.protobuf.ProtocolMessageEnum { */ public static final int SYMLINK_PRESERVE_VALUE = 2; + public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -20750,51 +21748,49 @@ public static Symlink valueOf(int value) { */ public static Symlink forNumber(int value) { switch (value) { - case 0: - return SYMLINK_UNSPECIFIED; - case 1: - return SYMLINK_SKIP; - case 2: - return SYMLINK_PRESERVE; - default: - return null; + case 0: return SYMLINK_UNSPECIFIED; + case 1: return SYMLINK_SKIP; + case 2: return SYMLINK_PRESERVE; + default: return null; } } - public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() { + public static com.google.protobuf.Internal.EnumLiteMap + internalGetValueMap() { return internalValueMap; } + private static final com.google.protobuf.Internal.EnumLiteMap< + Symlink> internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap() { + public Symlink findValueByNumber(int number) { + return Symlink.forNumber(number); + } + }; - private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public Symlink findValueByNumber(int number) { - return Symlink.forNumber(number); - } - }; - - public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() { + public final com.google.protobuf.Descriptors.EnumValueDescriptor + getValueDescriptor() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalStateException( "Can't get the descriptor of an unrecognized enum value."); } return getDescriptor().getValues().get(ordinal()); } - - public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() { + public final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptorForType() { return getDescriptor(); } - - public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { - return com.google.storagetransfer.v1.proto.TransferTypes.MetadataOptions.getDescriptor() - .getEnumTypes() - .get(0); + public static final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptor() { + return com.google.storagetransfer.v1.proto.TransferTypes.MetadataOptions.getDescriptor().getEnumTypes().get(0); } private static final Symlink[] VALUES = values(); - public static Symlink valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) { + public static Symlink valueOf( + com.google.protobuf.Descriptors.EnumValueDescriptor desc) { if (desc.getType() != getDescriptor()) { - throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type."); + throw new java.lang.IllegalArgumentException( + "EnumValueDescriptor is not for this type."); } if (desc.getIndex() == -1) { return UNRECOGNIZED; @@ -20812,18 +21808,15 @@ private Symlink(int value) { } /** - * - * *
      * Options for handling file mode attribute.
      * 
* * Protobuf enum {@code google.storagetransfer.v1.MetadataOptions.Mode} */ - public enum Mode implements com.google.protobuf.ProtocolMessageEnum { + public enum Mode + implements com.google.protobuf.ProtocolMessageEnum { /** - * - * *
        * Mode behavior is unspecified.
        * 
@@ -20832,8 +21825,6 @@ public enum Mode implements com.google.protobuf.ProtocolMessageEnum { */ MODE_UNSPECIFIED(0), /** - * - * *
        * Do not preserve mode during a transfer job.
        * 
@@ -20842,8 +21833,6 @@ public enum Mode implements com.google.protobuf.ProtocolMessageEnum { */ MODE_SKIP(1), /** - * - * *
        * Preserve mode during a transfer job.
        * 
@@ -20855,8 +21844,6 @@ public enum Mode implements com.google.protobuf.ProtocolMessageEnum { ; /** - * - * *
        * Mode behavior is unspecified.
        * 
@@ -20865,8 +21852,6 @@ public enum Mode implements com.google.protobuf.ProtocolMessageEnum { */ public static final int MODE_UNSPECIFIED_VALUE = 0; /** - * - * *
        * Do not preserve mode during a transfer job.
        * 
@@ -20875,8 +21860,6 @@ public enum Mode implements com.google.protobuf.ProtocolMessageEnum { */ public static final int MODE_SKIP_VALUE = 1; /** - * - * *
        * Preserve mode during a transfer job.
        * 
@@ -20885,6 +21868,7 @@ public enum Mode implements com.google.protobuf.ProtocolMessageEnum { */ public static final int MODE_PRESERVE_VALUE = 2; + public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -20909,51 +21893,49 @@ public static Mode valueOf(int value) { */ public static Mode forNumber(int value) { switch (value) { - case 0: - return MODE_UNSPECIFIED; - case 1: - return MODE_SKIP; - case 2: - return MODE_PRESERVE; - default: - return null; + case 0: return MODE_UNSPECIFIED; + case 1: return MODE_SKIP; + case 2: return MODE_PRESERVE; + default: return null; } } - public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() { + public static com.google.protobuf.Internal.EnumLiteMap + internalGetValueMap() { return internalValueMap; } + private static final com.google.protobuf.Internal.EnumLiteMap< + Mode> internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap() { + public Mode findValueByNumber(int number) { + return Mode.forNumber(number); + } + }; - private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public Mode findValueByNumber(int number) { - return Mode.forNumber(number); - } - }; - - public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() { + public final com.google.protobuf.Descriptors.EnumValueDescriptor + getValueDescriptor() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalStateException( "Can't get the descriptor of an unrecognized enum value."); } return getDescriptor().getValues().get(ordinal()); } - - public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() { + public final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptorForType() { return getDescriptor(); } - - public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { - return com.google.storagetransfer.v1.proto.TransferTypes.MetadataOptions.getDescriptor() - .getEnumTypes() - .get(1); + public static final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptor() { + return com.google.storagetransfer.v1.proto.TransferTypes.MetadataOptions.getDescriptor().getEnumTypes().get(1); } private static final Mode[] VALUES = values(); - public static Mode valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) { + public static Mode valueOf( + com.google.protobuf.Descriptors.EnumValueDescriptor desc) { if (desc.getType() != getDescriptor()) { - throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type."); + throw new java.lang.IllegalArgumentException( + "EnumValueDescriptor is not for this type."); } if (desc.getIndex() == -1) { return UNRECOGNIZED; @@ -20971,18 +21953,15 @@ private Mode(int value) { } /** - * - * *
      * Options for handling file GID attribute.
      * 
* * Protobuf enum {@code google.storagetransfer.v1.MetadataOptions.GID} */ - public enum GID implements com.google.protobuf.ProtocolMessageEnum { + public enum GID + implements com.google.protobuf.ProtocolMessageEnum { /** - * - * *
        * GID behavior is unspecified.
        * 
@@ -20991,8 +21970,6 @@ public enum GID implements com.google.protobuf.ProtocolMessageEnum { */ GID_UNSPECIFIED(0), /** - * - * *
        * Do not preserve GID during a transfer job.
        * 
@@ -21001,8 +21978,6 @@ public enum GID implements com.google.protobuf.ProtocolMessageEnum { */ GID_SKIP(1), /** - * - * *
        * Preserve GID during a transfer job.
        * 
@@ -21014,8 +21989,6 @@ public enum GID implements com.google.protobuf.ProtocolMessageEnum { ; /** - * - * *
        * GID behavior is unspecified.
        * 
@@ -21024,8 +21997,6 @@ public enum GID implements com.google.protobuf.ProtocolMessageEnum { */ public static final int GID_UNSPECIFIED_VALUE = 0; /** - * - * *
        * Do not preserve GID during a transfer job.
        * 
@@ -21034,8 +22005,6 @@ public enum GID implements com.google.protobuf.ProtocolMessageEnum { */ public static final int GID_SKIP_VALUE = 1; /** - * - * *
        * Preserve GID during a transfer job.
        * 
@@ -21044,6 +22013,7 @@ public enum GID implements com.google.protobuf.ProtocolMessageEnum { */ public static final int GID_NUMBER_VALUE = 2; + public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -21068,51 +22038,49 @@ public static GID valueOf(int value) { */ public static GID forNumber(int value) { switch (value) { - case 0: - return GID_UNSPECIFIED; - case 1: - return GID_SKIP; - case 2: - return GID_NUMBER; - default: - return null; + case 0: return GID_UNSPECIFIED; + case 1: return GID_SKIP; + case 2: return GID_NUMBER; + default: return null; } } - public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() { + public static com.google.protobuf.Internal.EnumLiteMap + internalGetValueMap() { return internalValueMap; } + private static final com.google.protobuf.Internal.EnumLiteMap< + GID> internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap() { + public GID findValueByNumber(int number) { + return GID.forNumber(number); + } + }; - private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public GID findValueByNumber(int number) { - return GID.forNumber(number); - } - }; - - public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() { + public final com.google.protobuf.Descriptors.EnumValueDescriptor + getValueDescriptor() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalStateException( "Can't get the descriptor of an unrecognized enum value."); } return getDescriptor().getValues().get(ordinal()); } - - public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() { + public final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptorForType() { return getDescriptor(); } - - public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { - return com.google.storagetransfer.v1.proto.TransferTypes.MetadataOptions.getDescriptor() - .getEnumTypes() - .get(2); + public static final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptor() { + return com.google.storagetransfer.v1.proto.TransferTypes.MetadataOptions.getDescriptor().getEnumTypes().get(2); } private static final GID[] VALUES = values(); - public static GID valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) { + public static GID valueOf( + com.google.protobuf.Descriptors.EnumValueDescriptor desc) { if (desc.getType() != getDescriptor()) { - throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type."); + throw new java.lang.IllegalArgumentException( + "EnumValueDescriptor is not for this type."); } if (desc.getIndex() == -1) { return UNRECOGNIZED; @@ -21130,18 +22098,15 @@ private GID(int value) { } /** - * - * *
      * Options for handling file UID attribute.
      * 
* * Protobuf enum {@code google.storagetransfer.v1.MetadataOptions.UID} */ - public enum UID implements com.google.protobuf.ProtocolMessageEnum { + public enum UID + implements com.google.protobuf.ProtocolMessageEnum { /** - * - * *
        * UID behavior is unspecified.
        * 
@@ -21150,8 +22115,6 @@ public enum UID implements com.google.protobuf.ProtocolMessageEnum { */ UID_UNSPECIFIED(0), /** - * - * *
        * Do not preserve UID during a transfer job.
        * 
@@ -21160,8 +22123,6 @@ public enum UID implements com.google.protobuf.ProtocolMessageEnum { */ UID_SKIP(1), /** - * - * *
        * Preserve UID during a transfer job.
        * 
@@ -21173,8 +22134,6 @@ public enum UID implements com.google.protobuf.ProtocolMessageEnum { ; /** - * - * *
        * UID behavior is unspecified.
        * 
@@ -21183,8 +22142,6 @@ public enum UID implements com.google.protobuf.ProtocolMessageEnum { */ public static final int UID_UNSPECIFIED_VALUE = 0; /** - * - * *
        * Do not preserve UID during a transfer job.
        * 
@@ -21193,8 +22150,6 @@ public enum UID implements com.google.protobuf.ProtocolMessageEnum { */ public static final int UID_SKIP_VALUE = 1; /** - * - * *
        * Preserve UID during a transfer job.
        * 
@@ -21203,6 +22158,7 @@ public enum UID implements com.google.protobuf.ProtocolMessageEnum { */ public static final int UID_NUMBER_VALUE = 2; + public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -21227,51 +22183,49 @@ public static UID valueOf(int value) { */ public static UID forNumber(int value) { switch (value) { - case 0: - return UID_UNSPECIFIED; - case 1: - return UID_SKIP; - case 2: - return UID_NUMBER; - default: - return null; + case 0: return UID_UNSPECIFIED; + case 1: return UID_SKIP; + case 2: return UID_NUMBER; + default: return null; } } - public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() { + public static com.google.protobuf.Internal.EnumLiteMap + internalGetValueMap() { return internalValueMap; } + private static final com.google.protobuf.Internal.EnumLiteMap< + UID> internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap() { + public UID findValueByNumber(int number) { + return UID.forNumber(number); + } + }; - private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public UID findValueByNumber(int number) { - return UID.forNumber(number); - } - }; - - public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() { + public final com.google.protobuf.Descriptors.EnumValueDescriptor + getValueDescriptor() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalStateException( "Can't get the descriptor of an unrecognized enum value."); } return getDescriptor().getValues().get(ordinal()); } - - public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() { + public final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptorForType() { return getDescriptor(); } - - public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { - return com.google.storagetransfer.v1.proto.TransferTypes.MetadataOptions.getDescriptor() - .getEnumTypes() - .get(3); + public static final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptor() { + return com.google.storagetransfer.v1.proto.TransferTypes.MetadataOptions.getDescriptor().getEnumTypes().get(3); } private static final UID[] VALUES = values(); - public static UID valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) { + public static UID valueOf( + com.google.protobuf.Descriptors.EnumValueDescriptor desc) { if (desc.getType() != getDescriptor()) { - throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type."); + throw new java.lang.IllegalArgumentException( + "EnumValueDescriptor is not for this type."); } if (desc.getIndex() == -1) { return UNRECOGNIZED; @@ -21289,18 +22243,15 @@ private UID(int value) { } /** - * - * *
      * Options for handling Cloud Storage object ACLs.
      * 
* * Protobuf enum {@code google.storagetransfer.v1.MetadataOptions.Acl} */ - public enum Acl implements com.google.protobuf.ProtocolMessageEnum { + public enum Acl + implements com.google.protobuf.ProtocolMessageEnum { /** - * - * *
        * ACL behavior is unspecified.
        * 
@@ -21309,8 +22260,6 @@ public enum Acl implements com.google.protobuf.ProtocolMessageEnum { */ ACL_UNSPECIFIED(0), /** - * - * *
        * Use the destination bucket's default object ACLS, if applicable.
        * 
@@ -21319,8 +22268,6 @@ public enum Acl implements com.google.protobuf.ProtocolMessageEnum { */ ACL_DESTINATION_BUCKET_DEFAULT(1), /** - * - * *
        * Preserve the object's original ACLs. This requires the service account
        * to have `storage.objects.getIamPolicy` permission for the source object.
@@ -21336,8 +22283,6 @@ public enum Acl implements com.google.protobuf.ProtocolMessageEnum {
       ;
 
       /**
-       *
-       *
        * 
        * ACL behavior is unspecified.
        * 
@@ -21346,8 +22291,6 @@ public enum Acl implements com.google.protobuf.ProtocolMessageEnum { */ public static final int ACL_UNSPECIFIED_VALUE = 0; /** - * - * *
        * Use the destination bucket's default object ACLS, if applicable.
        * 
@@ -21356,8 +22299,6 @@ public enum Acl implements com.google.protobuf.ProtocolMessageEnum { */ public static final int ACL_DESTINATION_BUCKET_DEFAULT_VALUE = 1; /** - * - * *
        * Preserve the object's original ACLs. This requires the service account
        * to have `storage.objects.getIamPolicy` permission for the source object.
@@ -21370,6 +22311,7 @@ public enum Acl implements com.google.protobuf.ProtocolMessageEnum {
        */
       public static final int ACL_PRESERVE_VALUE = 2;
 
+
       public final int getNumber() {
         if (this == UNRECOGNIZED) {
           throw new java.lang.IllegalArgumentException(
@@ -21394,51 +22336,49 @@ public static Acl valueOf(int value) {
        */
       public static Acl forNumber(int value) {
         switch (value) {
-          case 0:
-            return ACL_UNSPECIFIED;
-          case 1:
-            return ACL_DESTINATION_BUCKET_DEFAULT;
-          case 2:
-            return ACL_PRESERVE;
-          default:
-            return null;
+          case 0: return ACL_UNSPECIFIED;
+          case 1: return ACL_DESTINATION_BUCKET_DEFAULT;
+          case 2: return ACL_PRESERVE;
+          default: return null;
         }
       }
 
-      public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() {
+      public static com.google.protobuf.Internal.EnumLiteMap
+          internalGetValueMap() {
         return internalValueMap;
       }
+      private static final com.google.protobuf.Internal.EnumLiteMap<
+          Acl> internalValueMap =
+            new com.google.protobuf.Internal.EnumLiteMap() {
+              public Acl findValueByNumber(int number) {
+                return Acl.forNumber(number);
+              }
+            };
 
-      private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap =
-          new com.google.protobuf.Internal.EnumLiteMap() {
-            public Acl findValueByNumber(int number) {
-              return Acl.forNumber(number);
-            }
-          };
-
-      public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() {
+      public final com.google.protobuf.Descriptors.EnumValueDescriptor
+          getValueDescriptor() {
         if (this == UNRECOGNIZED) {
           throw new java.lang.IllegalStateException(
               "Can't get the descriptor of an unrecognized enum value.");
         }
         return getDescriptor().getValues().get(ordinal());
       }
-
-      public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() {
+      public final com.google.protobuf.Descriptors.EnumDescriptor
+          getDescriptorForType() {
         return getDescriptor();
       }
-
-      public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() {
-        return com.google.storagetransfer.v1.proto.TransferTypes.MetadataOptions.getDescriptor()
-            .getEnumTypes()
-            .get(4);
+      public static final com.google.protobuf.Descriptors.EnumDescriptor
+          getDescriptor() {
+        return com.google.storagetransfer.v1.proto.TransferTypes.MetadataOptions.getDescriptor().getEnumTypes().get(4);
       }
 
       private static final Acl[] VALUES = values();
 
-      public static Acl valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
+      public static Acl valueOf(
+          com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
         if (desc.getType() != getDescriptor()) {
-          throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type.");
+          throw new java.lang.IllegalArgumentException(
+            "EnumValueDescriptor is not for this type.");
         }
         if (desc.getIndex() == -1) {
           return UNRECOGNIZED;
@@ -21456,18 +22396,15 @@ private Acl(int value) {
     }
 
     /**
-     *
-     *
      * 
      * Options for handling Google Cloud Storage object storage class.
      * 
* * Protobuf enum {@code google.storagetransfer.v1.MetadataOptions.StorageClass} */ - public enum StorageClass implements com.google.protobuf.ProtocolMessageEnum { + public enum StorageClass + implements com.google.protobuf.ProtocolMessageEnum { /** - * - * *
        * Storage class behavior is unspecified.
        * 
@@ -21476,8 +22413,6 @@ public enum StorageClass implements com.google.protobuf.ProtocolMessageEnum { */ STORAGE_CLASS_UNSPECIFIED(0), /** - * - * *
        * Use the destination bucket's default storage class.
        * 
@@ -21486,8 +22421,6 @@ public enum StorageClass implements com.google.protobuf.ProtocolMessageEnum { */ STORAGE_CLASS_DESTINATION_BUCKET_DEFAULT(1), /** - * - * *
        * Preserve the object's original storage class. This is only supported for
        * transfers from Google Cloud Storage buckets.
@@ -21497,8 +22430,6 @@ public enum StorageClass implements com.google.protobuf.ProtocolMessageEnum {
        */
       STORAGE_CLASS_PRESERVE(2),
       /**
-       *
-       *
        * 
        * Set the storage class to STANDARD.
        * 
@@ -21507,8 +22438,6 @@ public enum StorageClass implements com.google.protobuf.ProtocolMessageEnum { */ STORAGE_CLASS_STANDARD(3), /** - * - * *
        * Set the storage class to NEARLINE.
        * 
@@ -21517,8 +22446,6 @@ public enum StorageClass implements com.google.protobuf.ProtocolMessageEnum { */ STORAGE_CLASS_NEARLINE(4), /** - * - * *
        * Set the storage class to COLDLINE.
        * 
@@ -21527,8 +22454,6 @@ public enum StorageClass implements com.google.protobuf.ProtocolMessageEnum { */ STORAGE_CLASS_COLDLINE(5), /** - * - * *
        * Set the storage class to ARCHIVE.
        * 
@@ -21540,8 +22465,6 @@ public enum StorageClass implements com.google.protobuf.ProtocolMessageEnum { ; /** - * - * *
        * Storage class behavior is unspecified.
        * 
@@ -21550,8 +22473,6 @@ public enum StorageClass implements com.google.protobuf.ProtocolMessageEnum { */ public static final int STORAGE_CLASS_UNSPECIFIED_VALUE = 0; /** - * - * *
        * Use the destination bucket's default storage class.
        * 
@@ -21560,8 +22481,6 @@ public enum StorageClass implements com.google.protobuf.ProtocolMessageEnum { */ public static final int STORAGE_CLASS_DESTINATION_BUCKET_DEFAULT_VALUE = 1; /** - * - * *
        * Preserve the object's original storage class. This is only supported for
        * transfers from Google Cloud Storage buckets.
@@ -21571,8 +22490,6 @@ public enum StorageClass implements com.google.protobuf.ProtocolMessageEnum {
        */
       public static final int STORAGE_CLASS_PRESERVE_VALUE = 2;
       /**
-       *
-       *
        * 
        * Set the storage class to STANDARD.
        * 
@@ -21581,8 +22498,6 @@ public enum StorageClass implements com.google.protobuf.ProtocolMessageEnum { */ public static final int STORAGE_CLASS_STANDARD_VALUE = 3; /** - * - * *
        * Set the storage class to NEARLINE.
        * 
@@ -21591,8 +22506,6 @@ public enum StorageClass implements com.google.protobuf.ProtocolMessageEnum { */ public static final int STORAGE_CLASS_NEARLINE_VALUE = 4; /** - * - * *
        * Set the storage class to COLDLINE.
        * 
@@ -21601,8 +22514,6 @@ public enum StorageClass implements com.google.protobuf.ProtocolMessageEnum { */ public static final int STORAGE_CLASS_COLDLINE_VALUE = 5; /** - * - * *
        * Set the storage class to ARCHIVE.
        * 
@@ -21611,6 +22522,7 @@ public enum StorageClass implements com.google.protobuf.ProtocolMessageEnum { */ public static final int STORAGE_CLASS_ARCHIVE_VALUE = 6; + public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -21635,59 +22547,53 @@ public static StorageClass valueOf(int value) { */ public static StorageClass forNumber(int value) { switch (value) { - case 0: - return STORAGE_CLASS_UNSPECIFIED; - case 1: - return STORAGE_CLASS_DESTINATION_BUCKET_DEFAULT; - case 2: - return STORAGE_CLASS_PRESERVE; - case 3: - return STORAGE_CLASS_STANDARD; - case 4: - return STORAGE_CLASS_NEARLINE; - case 5: - return STORAGE_CLASS_COLDLINE; - case 6: - return STORAGE_CLASS_ARCHIVE; - default: - return null; - } - } - - public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() { - return internalValueMap; + case 0: return STORAGE_CLASS_UNSPECIFIED; + case 1: return STORAGE_CLASS_DESTINATION_BUCKET_DEFAULT; + case 2: return STORAGE_CLASS_PRESERVE; + case 3: return STORAGE_CLASS_STANDARD; + case 4: return STORAGE_CLASS_NEARLINE; + case 5: return STORAGE_CLASS_COLDLINE; + case 6: return STORAGE_CLASS_ARCHIVE; + default: return null; + } } - private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public StorageClass findValueByNumber(int number) { - return StorageClass.forNumber(number); - } - }; + public static com.google.protobuf.Internal.EnumLiteMap + internalGetValueMap() { + return internalValueMap; + } + private static final com.google.protobuf.Internal.EnumLiteMap< + StorageClass> internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap() { + public StorageClass findValueByNumber(int number) { + return StorageClass.forNumber(number); + } + }; - public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() { + public final com.google.protobuf.Descriptors.EnumValueDescriptor + getValueDescriptor() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalStateException( "Can't get the descriptor of an unrecognized enum value."); } return getDescriptor().getValues().get(ordinal()); } - - public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() { + public final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptorForType() { return getDescriptor(); } - - public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { - return com.google.storagetransfer.v1.proto.TransferTypes.MetadataOptions.getDescriptor() - .getEnumTypes() - .get(5); + public static final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptor() { + return com.google.storagetransfer.v1.proto.TransferTypes.MetadataOptions.getDescriptor().getEnumTypes().get(5); } private static final StorageClass[] VALUES = values(); - public static StorageClass valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) { + public static StorageClass valueOf( + com.google.protobuf.Descriptors.EnumValueDescriptor desc) { if (desc.getType() != getDescriptor()) { - throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type."); + throw new java.lang.IllegalArgumentException( + "EnumValueDescriptor is not for this type."); } if (desc.getIndex() == -1) { return UNRECOGNIZED; @@ -21705,18 +22611,15 @@ private StorageClass(int value) { } /** - * - * *
      * Options for handling temporary holds for Google Cloud Storage objects.
      * 
* * Protobuf enum {@code google.storagetransfer.v1.MetadataOptions.TemporaryHold} */ - public enum TemporaryHold implements com.google.protobuf.ProtocolMessageEnum { + public enum TemporaryHold + implements com.google.protobuf.ProtocolMessageEnum { /** - * - * *
        * Temporary hold behavior is unspecified.
        * 
@@ -21725,8 +22628,6 @@ public enum TemporaryHold implements com.google.protobuf.ProtocolMessageEnum { */ TEMPORARY_HOLD_UNSPECIFIED(0), /** - * - * *
        * Do not set a temporary hold on the destination object.
        * 
@@ -21735,8 +22636,6 @@ public enum TemporaryHold implements com.google.protobuf.ProtocolMessageEnum { */ TEMPORARY_HOLD_SKIP(1), /** - * - * *
        * Preserve the object's original temporary hold status.
        * 
@@ -21748,8 +22647,6 @@ public enum TemporaryHold implements com.google.protobuf.ProtocolMessageEnum { ; /** - * - * *
        * Temporary hold behavior is unspecified.
        * 
@@ -21758,8 +22655,6 @@ public enum TemporaryHold implements com.google.protobuf.ProtocolMessageEnum { */ public static final int TEMPORARY_HOLD_UNSPECIFIED_VALUE = 0; /** - * - * *
        * Do not set a temporary hold on the destination object.
        * 
@@ -21768,8 +22663,6 @@ public enum TemporaryHold implements com.google.protobuf.ProtocolMessageEnum { */ public static final int TEMPORARY_HOLD_SKIP_VALUE = 1; /** - * - * *
        * Preserve the object's original temporary hold status.
        * 
@@ -21778,6 +22671,7 @@ public enum TemporaryHold implements com.google.protobuf.ProtocolMessageEnum { */ public static final int TEMPORARY_HOLD_PRESERVE_VALUE = 2; + public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -21802,45 +22696,40 @@ public static TemporaryHold valueOf(int value) { */ public static TemporaryHold forNumber(int value) { switch (value) { - case 0: - return TEMPORARY_HOLD_UNSPECIFIED; - case 1: - return TEMPORARY_HOLD_SKIP; - case 2: - return TEMPORARY_HOLD_PRESERVE; - default: - return null; + case 0: return TEMPORARY_HOLD_UNSPECIFIED; + case 1: return TEMPORARY_HOLD_SKIP; + case 2: return TEMPORARY_HOLD_PRESERVE; + default: return null; } } - public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() { + public static com.google.protobuf.Internal.EnumLiteMap + internalGetValueMap() { return internalValueMap; } + private static final com.google.protobuf.Internal.EnumLiteMap< + TemporaryHold> internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap() { + public TemporaryHold findValueByNumber(int number) { + return TemporaryHold.forNumber(number); + } + }; - private static final com.google.protobuf.Internal.EnumLiteMap - internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public TemporaryHold findValueByNumber(int number) { - return TemporaryHold.forNumber(number); - } - }; - - public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() { + public final com.google.protobuf.Descriptors.EnumValueDescriptor + getValueDescriptor() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalStateException( "Can't get the descriptor of an unrecognized enum value."); } return getDescriptor().getValues().get(ordinal()); } - - public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() { + public final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptorForType() { return getDescriptor(); } - - public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { - return com.google.storagetransfer.v1.proto.TransferTypes.MetadataOptions.getDescriptor() - .getEnumTypes() - .get(6); + public static final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptor() { + return com.google.storagetransfer.v1.proto.TransferTypes.MetadataOptions.getDescriptor().getEnumTypes().get(6); } private static final TemporaryHold[] VALUES = values(); @@ -21848,7 +22737,8 @@ public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor public static TemporaryHold valueOf( com.google.protobuf.Descriptors.EnumValueDescriptor desc) { if (desc.getType() != getDescriptor()) { - throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type."); + throw new java.lang.IllegalArgumentException( + "EnumValueDescriptor is not for this type."); } if (desc.getIndex() == -1) { return UNRECOGNIZED; @@ -21866,18 +22756,15 @@ private TemporaryHold(int value) { } /** - * - * *
      * Options for handling the KmsKey setting for Google Cloud Storage objects.
      * 
* * Protobuf enum {@code google.storagetransfer.v1.MetadataOptions.KmsKey} */ - public enum KmsKey implements com.google.protobuf.ProtocolMessageEnum { + public enum KmsKey + implements com.google.protobuf.ProtocolMessageEnum { /** - * - * *
        * KmsKey behavior is unspecified.
        * 
@@ -21886,8 +22773,6 @@ public enum KmsKey implements com.google.protobuf.ProtocolMessageEnum { */ KMS_KEY_UNSPECIFIED(0), /** - * - * *
        * Use the destination bucket's default encryption settings.
        * 
@@ -21896,8 +22781,6 @@ public enum KmsKey implements com.google.protobuf.ProtocolMessageEnum { */ KMS_KEY_DESTINATION_BUCKET_DEFAULT(1), /** - * - * *
        * Preserve the object's original Cloud KMS customer-managed encryption key
        * (CMEK) if present. Objects that do not use a Cloud KMS encryption key
@@ -21911,8 +22794,6 @@ public enum KmsKey implements com.google.protobuf.ProtocolMessageEnum {
       ;
 
       /**
-       *
-       *
        * 
        * KmsKey behavior is unspecified.
        * 
@@ -21921,8 +22802,6 @@ public enum KmsKey implements com.google.protobuf.ProtocolMessageEnum { */ public static final int KMS_KEY_UNSPECIFIED_VALUE = 0; /** - * - * *
        * Use the destination bucket's default encryption settings.
        * 
@@ -21931,8 +22810,6 @@ public enum KmsKey implements com.google.protobuf.ProtocolMessageEnum { */ public static final int KMS_KEY_DESTINATION_BUCKET_DEFAULT_VALUE = 1; /** - * - * *
        * Preserve the object's original Cloud KMS customer-managed encryption key
        * (CMEK) if present. Objects that do not use a Cloud KMS encryption key
@@ -21943,6 +22820,7 @@ public enum KmsKey implements com.google.protobuf.ProtocolMessageEnum {
        */
       public static final int KMS_KEY_PRESERVE_VALUE = 2;
 
+
       public final int getNumber() {
         if (this == UNRECOGNIZED) {
           throw new java.lang.IllegalArgumentException(
@@ -21967,51 +22845,49 @@ public static KmsKey valueOf(int value) {
        */
       public static KmsKey forNumber(int value) {
         switch (value) {
-          case 0:
-            return KMS_KEY_UNSPECIFIED;
-          case 1:
-            return KMS_KEY_DESTINATION_BUCKET_DEFAULT;
-          case 2:
-            return KMS_KEY_PRESERVE;
-          default:
-            return null;
+          case 0: return KMS_KEY_UNSPECIFIED;
+          case 1: return KMS_KEY_DESTINATION_BUCKET_DEFAULT;
+          case 2: return KMS_KEY_PRESERVE;
+          default: return null;
         }
       }
 
-      public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() {
+      public static com.google.protobuf.Internal.EnumLiteMap
+          internalGetValueMap() {
         return internalValueMap;
       }
+      private static final com.google.protobuf.Internal.EnumLiteMap<
+          KmsKey> internalValueMap =
+            new com.google.protobuf.Internal.EnumLiteMap() {
+              public KmsKey findValueByNumber(int number) {
+                return KmsKey.forNumber(number);
+              }
+            };
 
-      private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap =
-          new com.google.protobuf.Internal.EnumLiteMap() {
-            public KmsKey findValueByNumber(int number) {
-              return KmsKey.forNumber(number);
-            }
-          };
-
-      public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() {
+      public final com.google.protobuf.Descriptors.EnumValueDescriptor
+          getValueDescriptor() {
         if (this == UNRECOGNIZED) {
           throw new java.lang.IllegalStateException(
               "Can't get the descriptor of an unrecognized enum value.");
         }
         return getDescriptor().getValues().get(ordinal());
       }
-
-      public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() {
+      public final com.google.protobuf.Descriptors.EnumDescriptor
+          getDescriptorForType() {
         return getDescriptor();
       }
-
-      public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() {
-        return com.google.storagetransfer.v1.proto.TransferTypes.MetadataOptions.getDescriptor()
-            .getEnumTypes()
-            .get(7);
+      public static final com.google.protobuf.Descriptors.EnumDescriptor
+          getDescriptor() {
+        return com.google.storagetransfer.v1.proto.TransferTypes.MetadataOptions.getDescriptor().getEnumTypes().get(7);
       }
 
       private static final KmsKey[] VALUES = values();
 
-      public static KmsKey valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
+      public static KmsKey valueOf(
+          com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
         if (desc.getType() != getDescriptor()) {
-          throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type.");
+          throw new java.lang.IllegalArgumentException(
+            "EnumValueDescriptor is not for this type.");
         }
         if (desc.getIndex() == -1) {
           return UNRECOGNIZED;
@@ -22029,8 +22905,6 @@ private KmsKey(int value) {
     }
 
     /**
-     *
-     *
      * 
      * Options for handling `timeCreated` metadata for Google Cloud Storage
      * objects.
@@ -22038,10 +22912,9 @@ private KmsKey(int value) {
      *
      * Protobuf enum {@code google.storagetransfer.v1.MetadataOptions.TimeCreated}
      */
-    public enum TimeCreated implements com.google.protobuf.ProtocolMessageEnum {
+    public enum TimeCreated
+        implements com.google.protobuf.ProtocolMessageEnum {
       /**
-       *
-       *
        * 
        * TimeCreated behavior is unspecified.
        * 
@@ -22050,8 +22923,6 @@ public enum TimeCreated implements com.google.protobuf.ProtocolMessageEnum { */ TIME_CREATED_UNSPECIFIED(0), /** - * - * *
        * Do not preserve the `timeCreated` metadata from the source object.
        * 
@@ -22060,8 +22931,6 @@ public enum TimeCreated implements com.google.protobuf.ProtocolMessageEnum { */ TIME_CREATED_SKIP(1), /** - * - * *
        * Preserves the source object's `timeCreated` metadata in the `customTime`
        * field in the destination object.  Note that any value stored in the
@@ -22076,8 +22945,6 @@ public enum TimeCreated implements com.google.protobuf.ProtocolMessageEnum {
       ;
 
       /**
-       *
-       *
        * 
        * TimeCreated behavior is unspecified.
        * 
@@ -22086,8 +22953,6 @@ public enum TimeCreated implements com.google.protobuf.ProtocolMessageEnum { */ public static final int TIME_CREATED_UNSPECIFIED_VALUE = 0; /** - * - * *
        * Do not preserve the `timeCreated` metadata from the source object.
        * 
@@ -22096,8 +22961,6 @@ public enum TimeCreated implements com.google.protobuf.ProtocolMessageEnum { */ public static final int TIME_CREATED_SKIP_VALUE = 1; /** - * - * *
        * Preserves the source object's `timeCreated` metadata in the `customTime`
        * field in the destination object.  Note that any value stored in the
@@ -22109,6 +22972,7 @@ public enum TimeCreated implements com.google.protobuf.ProtocolMessageEnum {
        */
       public static final int TIME_CREATED_PRESERVE_AS_CUSTOM_TIME_VALUE = 2;
 
+
       public final int getNumber() {
         if (this == UNRECOGNIZED) {
           throw new java.lang.IllegalArgumentException(
@@ -22133,51 +22997,49 @@ public static TimeCreated valueOf(int value) {
        */
       public static TimeCreated forNumber(int value) {
         switch (value) {
-          case 0:
-            return TIME_CREATED_UNSPECIFIED;
-          case 1:
-            return TIME_CREATED_SKIP;
-          case 2:
-            return TIME_CREATED_PRESERVE_AS_CUSTOM_TIME;
-          default:
-            return null;
+          case 0: return TIME_CREATED_UNSPECIFIED;
+          case 1: return TIME_CREATED_SKIP;
+          case 2: return TIME_CREATED_PRESERVE_AS_CUSTOM_TIME;
+          default: return null;
         }
       }
 
-      public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() {
+      public static com.google.protobuf.Internal.EnumLiteMap
+          internalGetValueMap() {
         return internalValueMap;
       }
+      private static final com.google.protobuf.Internal.EnumLiteMap<
+          TimeCreated> internalValueMap =
+            new com.google.protobuf.Internal.EnumLiteMap() {
+              public TimeCreated findValueByNumber(int number) {
+                return TimeCreated.forNumber(number);
+              }
+            };
 
-      private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap =
-          new com.google.protobuf.Internal.EnumLiteMap() {
-            public TimeCreated findValueByNumber(int number) {
-              return TimeCreated.forNumber(number);
-            }
-          };
-
-      public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() {
+      public final com.google.protobuf.Descriptors.EnumValueDescriptor
+          getValueDescriptor() {
         if (this == UNRECOGNIZED) {
           throw new java.lang.IllegalStateException(
               "Can't get the descriptor of an unrecognized enum value.");
         }
         return getDescriptor().getValues().get(ordinal());
       }
-
-      public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() {
+      public final com.google.protobuf.Descriptors.EnumDescriptor
+          getDescriptorForType() {
         return getDescriptor();
       }
-
-      public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() {
-        return com.google.storagetransfer.v1.proto.TransferTypes.MetadataOptions.getDescriptor()
-            .getEnumTypes()
-            .get(8);
+      public static final com.google.protobuf.Descriptors.EnumDescriptor
+          getDescriptor() {
+        return com.google.storagetransfer.v1.proto.TransferTypes.MetadataOptions.getDescriptor().getEnumTypes().get(8);
       }
 
       private static final TimeCreated[] VALUES = values();
 
-      public static TimeCreated valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
+      public static TimeCreated valueOf(
+          com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
         if (desc.getType() != getDescriptor()) {
-          throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type.");
+          throw new java.lang.IllegalArgumentException(
+            "EnumValueDescriptor is not for this type.");
         }
         if (desc.getIndex() == -1) {
           return UNRECOGNIZED;
@@ -22197,8 +23059,6 @@ private TimeCreated(int value) {
     public static final int SYMLINK_FIELD_NUMBER = 1;
     private int symlink_;
     /**
-     *
-     *
      * 
      * Specifies how symlinks should be handled by the transfer. By default,
      * symlinks are not preserved. Only applicable to transfers involving
@@ -22206,16 +23066,12 @@ private TimeCreated(int value) {
      * 
* * .google.storagetransfer.v1.MetadataOptions.Symlink symlink = 1; - * * @return The enum numeric value on the wire for symlink. */ - @java.lang.Override - public int getSymlinkValue() { + @java.lang.Override public int getSymlinkValue() { return symlink_; } /** - * - * *
      * Specifies how symlinks should be handled by the transfer. By default,
      * symlinks are not preserved. Only applicable to transfers involving
@@ -22223,25 +23079,17 @@ public int getSymlinkValue() {
      * 
* * .google.storagetransfer.v1.MetadataOptions.Symlink symlink = 1; - * * @return The symlink. */ - @java.lang.Override - public com.google.storagetransfer.v1.proto.TransferTypes.MetadataOptions.Symlink getSymlink() { + @java.lang.Override public com.google.storagetransfer.v1.proto.TransferTypes.MetadataOptions.Symlink getSymlink() { @SuppressWarnings("deprecation") - com.google.storagetransfer.v1.proto.TransferTypes.MetadataOptions.Symlink result = - com.google.storagetransfer.v1.proto.TransferTypes.MetadataOptions.Symlink.valueOf( - symlink_); - return result == null - ? com.google.storagetransfer.v1.proto.TransferTypes.MetadataOptions.Symlink.UNRECOGNIZED - : result; + com.google.storagetransfer.v1.proto.TransferTypes.MetadataOptions.Symlink result = com.google.storagetransfer.v1.proto.TransferTypes.MetadataOptions.Symlink.valueOf(symlink_); + return result == null ? com.google.storagetransfer.v1.proto.TransferTypes.MetadataOptions.Symlink.UNRECOGNIZED : result; } public static final int MODE_FIELD_NUMBER = 2; private int mode_; /** - * - * *
      * Specifies how each file's mode attribute should be handled by the transfer.
      * By default, mode is not preserved. Only applicable to transfers involving
@@ -22249,16 +23097,12 @@ public com.google.storagetransfer.v1.proto.TransferTypes.MetadataOptions.Symlink
      * 
* * .google.storagetransfer.v1.MetadataOptions.Mode mode = 2; - * * @return The enum numeric value on the wire for mode. */ - @java.lang.Override - public int getModeValue() { + @java.lang.Override public int getModeValue() { return mode_; } /** - * - * *
      * Specifies how each file's mode attribute should be handled by the transfer.
      * By default, mode is not preserved. Only applicable to transfers involving
@@ -22266,24 +23110,17 @@ public int getModeValue() {
      * 
* * .google.storagetransfer.v1.MetadataOptions.Mode mode = 2; - * * @return The mode. */ - @java.lang.Override - public com.google.storagetransfer.v1.proto.TransferTypes.MetadataOptions.Mode getMode() { + @java.lang.Override public com.google.storagetransfer.v1.proto.TransferTypes.MetadataOptions.Mode getMode() { @SuppressWarnings("deprecation") - com.google.storagetransfer.v1.proto.TransferTypes.MetadataOptions.Mode result = - com.google.storagetransfer.v1.proto.TransferTypes.MetadataOptions.Mode.valueOf(mode_); - return result == null - ? com.google.storagetransfer.v1.proto.TransferTypes.MetadataOptions.Mode.UNRECOGNIZED - : result; + com.google.storagetransfer.v1.proto.TransferTypes.MetadataOptions.Mode result = com.google.storagetransfer.v1.proto.TransferTypes.MetadataOptions.Mode.valueOf(mode_); + return result == null ? com.google.storagetransfer.v1.proto.TransferTypes.MetadataOptions.Mode.UNRECOGNIZED : result; } public static final int GID_FIELD_NUMBER = 3; private int gid_; /** - * - * *
      * Specifies how each file's POSIX group ID (GID) attribute should be handled
      * by the transfer. By default, GID is not preserved. Only applicable to
@@ -22291,16 +23128,12 @@ public com.google.storagetransfer.v1.proto.TransferTypes.MetadataOptions.Mode ge
      * 
* * .google.storagetransfer.v1.MetadataOptions.GID gid = 3; - * * @return The enum numeric value on the wire for gid. */ - @java.lang.Override - public int getGidValue() { + @java.lang.Override public int getGidValue() { return gid_; } /** - * - * *
      * Specifies how each file's POSIX group ID (GID) attribute should be handled
      * by the transfer. By default, GID is not preserved. Only applicable to
@@ -22308,24 +23141,17 @@ public int getGidValue() {
      * 
* * .google.storagetransfer.v1.MetadataOptions.GID gid = 3; - * * @return The gid. */ - @java.lang.Override - public com.google.storagetransfer.v1.proto.TransferTypes.MetadataOptions.GID getGid() { + @java.lang.Override public com.google.storagetransfer.v1.proto.TransferTypes.MetadataOptions.GID getGid() { @SuppressWarnings("deprecation") - com.google.storagetransfer.v1.proto.TransferTypes.MetadataOptions.GID result = - com.google.storagetransfer.v1.proto.TransferTypes.MetadataOptions.GID.valueOf(gid_); - return result == null - ? com.google.storagetransfer.v1.proto.TransferTypes.MetadataOptions.GID.UNRECOGNIZED - : result; + com.google.storagetransfer.v1.proto.TransferTypes.MetadataOptions.GID result = com.google.storagetransfer.v1.proto.TransferTypes.MetadataOptions.GID.valueOf(gid_); + return result == null ? com.google.storagetransfer.v1.proto.TransferTypes.MetadataOptions.GID.UNRECOGNIZED : result; } public static final int UID_FIELD_NUMBER = 4; private int uid_; /** - * - * *
      * Specifies how each file's POSIX user ID (UID) attribute should be handled
      * by the transfer. By default, UID is not preserved. Only applicable to
@@ -22333,16 +23159,12 @@ public com.google.storagetransfer.v1.proto.TransferTypes.MetadataOptions.GID get
      * 
* * .google.storagetransfer.v1.MetadataOptions.UID uid = 4; - * * @return The enum numeric value on the wire for uid. */ - @java.lang.Override - public int getUidValue() { + @java.lang.Override public int getUidValue() { return uid_; } /** - * - * *
      * Specifies how each file's POSIX user ID (UID) attribute should be handled
      * by the transfer. By default, UID is not preserved. Only applicable to
@@ -22350,24 +23172,17 @@ public int getUidValue() {
      * 
* * .google.storagetransfer.v1.MetadataOptions.UID uid = 4; - * * @return The uid. */ - @java.lang.Override - public com.google.storagetransfer.v1.proto.TransferTypes.MetadataOptions.UID getUid() { + @java.lang.Override public com.google.storagetransfer.v1.proto.TransferTypes.MetadataOptions.UID getUid() { @SuppressWarnings("deprecation") - com.google.storagetransfer.v1.proto.TransferTypes.MetadataOptions.UID result = - com.google.storagetransfer.v1.proto.TransferTypes.MetadataOptions.UID.valueOf(uid_); - return result == null - ? com.google.storagetransfer.v1.proto.TransferTypes.MetadataOptions.UID.UNRECOGNIZED - : result; + com.google.storagetransfer.v1.proto.TransferTypes.MetadataOptions.UID result = com.google.storagetransfer.v1.proto.TransferTypes.MetadataOptions.UID.valueOf(uid_); + return result == null ? com.google.storagetransfer.v1.proto.TransferTypes.MetadataOptions.UID.UNRECOGNIZED : result; } public static final int ACL_FIELD_NUMBER = 5; private int acl_; /** - * - * *
      * Specifies how each object's ACLs should be preserved for transfers between
      * Google Cloud Storage buckets. If unspecified, the default behavior is the
@@ -22375,16 +23190,12 @@ public com.google.storagetransfer.v1.proto.TransferTypes.MetadataOptions.UID get
      * 
* * .google.storagetransfer.v1.MetadataOptions.Acl acl = 5; - * * @return The enum numeric value on the wire for acl. */ - @java.lang.Override - public int getAclValue() { + @java.lang.Override public int getAclValue() { return acl_; } /** - * - * *
      * Specifies how each object's ACLs should be preserved for transfers between
      * Google Cloud Storage buckets. If unspecified, the default behavior is the
@@ -22392,24 +23203,17 @@ public int getAclValue() {
      * 
* * .google.storagetransfer.v1.MetadataOptions.Acl acl = 5; - * * @return The acl. */ - @java.lang.Override - public com.google.storagetransfer.v1.proto.TransferTypes.MetadataOptions.Acl getAcl() { + @java.lang.Override public com.google.storagetransfer.v1.proto.TransferTypes.MetadataOptions.Acl getAcl() { @SuppressWarnings("deprecation") - com.google.storagetransfer.v1.proto.TransferTypes.MetadataOptions.Acl result = - com.google.storagetransfer.v1.proto.TransferTypes.MetadataOptions.Acl.valueOf(acl_); - return result == null - ? com.google.storagetransfer.v1.proto.TransferTypes.MetadataOptions.Acl.UNRECOGNIZED - : result; + com.google.storagetransfer.v1.proto.TransferTypes.MetadataOptions.Acl result = com.google.storagetransfer.v1.proto.TransferTypes.MetadataOptions.Acl.valueOf(acl_); + return result == null ? com.google.storagetransfer.v1.proto.TransferTypes.MetadataOptions.Acl.UNRECOGNIZED : result; } public static final int STORAGE_CLASS_FIELD_NUMBER = 6; private int storageClass_; /** - * - * *
      * Specifies the storage class to set on objects being transferred to Google
      * Cloud Storage buckets.  If unspecified, the default behavior is the same as
@@ -22417,16 +23221,12 @@ public com.google.storagetransfer.v1.proto.TransferTypes.MetadataOptions.Acl get
      * 
* * .google.storagetransfer.v1.MetadataOptions.StorageClass storage_class = 6; - * * @return The enum numeric value on the wire for storageClass. */ - @java.lang.Override - public int getStorageClassValue() { + @java.lang.Override public int getStorageClassValue() { return storageClass_; } /** - * - * *
      * Specifies the storage class to set on objects being transferred to Google
      * Cloud Storage buckets.  If unspecified, the default behavior is the same as
@@ -22434,27 +23234,17 @@ public int getStorageClassValue() {
      * 
* * .google.storagetransfer.v1.MetadataOptions.StorageClass storage_class = 6; - * * @return The storageClass. */ - @java.lang.Override - public com.google.storagetransfer.v1.proto.TransferTypes.MetadataOptions.StorageClass - getStorageClass() { + @java.lang.Override public com.google.storagetransfer.v1.proto.TransferTypes.MetadataOptions.StorageClass getStorageClass() { @SuppressWarnings("deprecation") - com.google.storagetransfer.v1.proto.TransferTypes.MetadataOptions.StorageClass result = - com.google.storagetransfer.v1.proto.TransferTypes.MetadataOptions.StorageClass.valueOf( - storageClass_); - return result == null - ? com.google.storagetransfer.v1.proto.TransferTypes.MetadataOptions.StorageClass - .UNRECOGNIZED - : result; + com.google.storagetransfer.v1.proto.TransferTypes.MetadataOptions.StorageClass result = com.google.storagetransfer.v1.proto.TransferTypes.MetadataOptions.StorageClass.valueOf(storageClass_); + return result == null ? com.google.storagetransfer.v1.proto.TransferTypes.MetadataOptions.StorageClass.UNRECOGNIZED : result; } public static final int TEMPORARY_HOLD_FIELD_NUMBER = 7; private int temporaryHold_; /** - * - * *
      * Specifies how each object's temporary hold status should be preserved for
      * transfers between Google Cloud Storage buckets.  If unspecified, the
@@ -22463,16 +23253,12 @@ public int getStorageClassValue() {
      * 
* * .google.storagetransfer.v1.MetadataOptions.TemporaryHold temporary_hold = 7; - * * @return The enum numeric value on the wire for temporaryHold. */ - @java.lang.Override - public int getTemporaryHoldValue() { + @java.lang.Override public int getTemporaryHoldValue() { return temporaryHold_; } /** - * - * *
      * Specifies how each object's temporary hold status should be preserved for
      * transfers between Google Cloud Storage buckets.  If unspecified, the
@@ -22481,27 +23267,17 @@ public int getTemporaryHoldValue() {
      * 
* * .google.storagetransfer.v1.MetadataOptions.TemporaryHold temporary_hold = 7; - * * @return The temporaryHold. */ - @java.lang.Override - public com.google.storagetransfer.v1.proto.TransferTypes.MetadataOptions.TemporaryHold - getTemporaryHold() { + @java.lang.Override public com.google.storagetransfer.v1.proto.TransferTypes.MetadataOptions.TemporaryHold getTemporaryHold() { @SuppressWarnings("deprecation") - com.google.storagetransfer.v1.proto.TransferTypes.MetadataOptions.TemporaryHold result = - com.google.storagetransfer.v1.proto.TransferTypes.MetadataOptions.TemporaryHold.valueOf( - temporaryHold_); - return result == null - ? com.google.storagetransfer.v1.proto.TransferTypes.MetadataOptions.TemporaryHold - .UNRECOGNIZED - : result; + com.google.storagetransfer.v1.proto.TransferTypes.MetadataOptions.TemporaryHold result = com.google.storagetransfer.v1.proto.TransferTypes.MetadataOptions.TemporaryHold.valueOf(temporaryHold_); + return result == null ? com.google.storagetransfer.v1.proto.TransferTypes.MetadataOptions.TemporaryHold.UNRECOGNIZED : result; } public static final int KMS_KEY_FIELD_NUMBER = 8; private int kmsKey_; /** - * - * *
      * Specifies how each object's Cloud KMS customer-managed encryption key
      * (CMEK) is preserved for transfers between Google Cloud Storage buckets.  If
@@ -22510,16 +23286,12 @@ public int getTemporaryHoldValue() {
      * 
* * .google.storagetransfer.v1.MetadataOptions.KmsKey kms_key = 8; - * * @return The enum numeric value on the wire for kmsKey. */ - @java.lang.Override - public int getKmsKeyValue() { + @java.lang.Override public int getKmsKeyValue() { return kmsKey_; } /** - * - * *
      * Specifies how each object's Cloud KMS customer-managed encryption key
      * (CMEK) is preserved for transfers between Google Cloud Storage buckets.  If
@@ -22528,24 +23300,17 @@ public int getKmsKeyValue() {
      * 
* * .google.storagetransfer.v1.MetadataOptions.KmsKey kms_key = 8; - * * @return The kmsKey. */ - @java.lang.Override - public com.google.storagetransfer.v1.proto.TransferTypes.MetadataOptions.KmsKey getKmsKey() { + @java.lang.Override public com.google.storagetransfer.v1.proto.TransferTypes.MetadataOptions.KmsKey getKmsKey() { @SuppressWarnings("deprecation") - com.google.storagetransfer.v1.proto.TransferTypes.MetadataOptions.KmsKey result = - com.google.storagetransfer.v1.proto.TransferTypes.MetadataOptions.KmsKey.valueOf(kmsKey_); - return result == null - ? com.google.storagetransfer.v1.proto.TransferTypes.MetadataOptions.KmsKey.UNRECOGNIZED - : result; + com.google.storagetransfer.v1.proto.TransferTypes.MetadataOptions.KmsKey result = com.google.storagetransfer.v1.proto.TransferTypes.MetadataOptions.KmsKey.valueOf(kmsKey_); + return result == null ? com.google.storagetransfer.v1.proto.TransferTypes.MetadataOptions.KmsKey.UNRECOGNIZED : result; } public static final int TIME_CREATED_FIELD_NUMBER = 9; private int timeCreated_; /** - * - * *
      * Specifies how each object's `timeCreated` metadata is preserved for
      * transfers between Google Cloud Storage buckets.  If unspecified, the
@@ -22554,16 +23319,12 @@ public com.google.storagetransfer.v1.proto.TransferTypes.MetadataOptions.KmsKey
      * 
* * .google.storagetransfer.v1.MetadataOptions.TimeCreated time_created = 9; - * * @return The enum numeric value on the wire for timeCreated. */ - @java.lang.Override - public int getTimeCreatedValue() { + @java.lang.Override public int getTimeCreatedValue() { return timeCreated_; } /** - * - * *
      * Specifies how each object's `timeCreated` metadata is preserved for
      * transfers between Google Cloud Storage buckets.  If unspecified, the
@@ -22572,24 +23333,15 @@ public int getTimeCreatedValue() {
      * 
* * .google.storagetransfer.v1.MetadataOptions.TimeCreated time_created = 9; - * * @return The timeCreated. */ - @java.lang.Override - public com.google.storagetransfer.v1.proto.TransferTypes.MetadataOptions.TimeCreated - getTimeCreated() { + @java.lang.Override public com.google.storagetransfer.v1.proto.TransferTypes.MetadataOptions.TimeCreated getTimeCreated() { @SuppressWarnings("deprecation") - com.google.storagetransfer.v1.proto.TransferTypes.MetadataOptions.TimeCreated result = - com.google.storagetransfer.v1.proto.TransferTypes.MetadataOptions.TimeCreated.valueOf( - timeCreated_); - return result == null - ? com.google.storagetransfer.v1.proto.TransferTypes.MetadataOptions.TimeCreated - .UNRECOGNIZED - : result; + com.google.storagetransfer.v1.proto.TransferTypes.MetadataOptions.TimeCreated result = com.google.storagetransfer.v1.proto.TransferTypes.MetadataOptions.TimeCreated.valueOf(timeCreated_); + return result == null ? com.google.storagetransfer.v1.proto.TransferTypes.MetadataOptions.TimeCreated.UNRECOGNIZED : result; } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -22601,55 +23353,33 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { - if (symlink_ - != com.google.storagetransfer.v1.proto.TransferTypes.MetadataOptions.Symlink - .SYMLINK_UNSPECIFIED - .getNumber()) { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + if (symlink_ != com.google.storagetransfer.v1.proto.TransferTypes.MetadataOptions.Symlink.SYMLINK_UNSPECIFIED.getNumber()) { output.writeEnum(1, symlink_); } - if (mode_ - != com.google.storagetransfer.v1.proto.TransferTypes.MetadataOptions.Mode.MODE_UNSPECIFIED - .getNumber()) { + if (mode_ != com.google.storagetransfer.v1.proto.TransferTypes.MetadataOptions.Mode.MODE_UNSPECIFIED.getNumber()) { output.writeEnum(2, mode_); } - if (gid_ - != com.google.storagetransfer.v1.proto.TransferTypes.MetadataOptions.GID.GID_UNSPECIFIED - .getNumber()) { + if (gid_ != com.google.storagetransfer.v1.proto.TransferTypes.MetadataOptions.GID.GID_UNSPECIFIED.getNumber()) { output.writeEnum(3, gid_); } - if (uid_ - != com.google.storagetransfer.v1.proto.TransferTypes.MetadataOptions.UID.UID_UNSPECIFIED - .getNumber()) { + if (uid_ != com.google.storagetransfer.v1.proto.TransferTypes.MetadataOptions.UID.UID_UNSPECIFIED.getNumber()) { output.writeEnum(4, uid_); } - if (acl_ - != com.google.storagetransfer.v1.proto.TransferTypes.MetadataOptions.Acl.ACL_UNSPECIFIED - .getNumber()) { + if (acl_ != com.google.storagetransfer.v1.proto.TransferTypes.MetadataOptions.Acl.ACL_UNSPECIFIED.getNumber()) { output.writeEnum(5, acl_); } - if (storageClass_ - != com.google.storagetransfer.v1.proto.TransferTypes.MetadataOptions.StorageClass - .STORAGE_CLASS_UNSPECIFIED - .getNumber()) { + if (storageClass_ != com.google.storagetransfer.v1.proto.TransferTypes.MetadataOptions.StorageClass.STORAGE_CLASS_UNSPECIFIED.getNumber()) { output.writeEnum(6, storageClass_); } - if (temporaryHold_ - != com.google.storagetransfer.v1.proto.TransferTypes.MetadataOptions.TemporaryHold - .TEMPORARY_HOLD_UNSPECIFIED - .getNumber()) { + if (temporaryHold_ != com.google.storagetransfer.v1.proto.TransferTypes.MetadataOptions.TemporaryHold.TEMPORARY_HOLD_UNSPECIFIED.getNumber()) { output.writeEnum(7, temporaryHold_); } - if (kmsKey_ - != com.google.storagetransfer.v1.proto.TransferTypes.MetadataOptions.KmsKey - .KMS_KEY_UNSPECIFIED - .getNumber()) { + if (kmsKey_ != com.google.storagetransfer.v1.proto.TransferTypes.MetadataOptions.KmsKey.KMS_KEY_UNSPECIFIED.getNumber()) { output.writeEnum(8, kmsKey_); } - if (timeCreated_ - != com.google.storagetransfer.v1.proto.TransferTypes.MetadataOptions.TimeCreated - .TIME_CREATED_UNSPECIFIED - .getNumber()) { + if (timeCreated_ != com.google.storagetransfer.v1.proto.TransferTypes.MetadataOptions.TimeCreated.TIME_CREATED_UNSPECIFIED.getNumber()) { output.writeEnum(9, timeCreated_); } unknownFields.writeTo(output); @@ -22661,55 +23391,41 @@ public int getSerializedSize() { if (size != -1) return size; size = 0; - if (symlink_ - != com.google.storagetransfer.v1.proto.TransferTypes.MetadataOptions.Symlink - .SYMLINK_UNSPECIFIED - .getNumber()) { - size += com.google.protobuf.CodedOutputStream.computeEnumSize(1, symlink_); - } - if (mode_ - != com.google.storagetransfer.v1.proto.TransferTypes.MetadataOptions.Mode.MODE_UNSPECIFIED - .getNumber()) { - size += com.google.protobuf.CodedOutputStream.computeEnumSize(2, mode_); - } - if (gid_ - != com.google.storagetransfer.v1.proto.TransferTypes.MetadataOptions.GID.GID_UNSPECIFIED - .getNumber()) { - size += com.google.protobuf.CodedOutputStream.computeEnumSize(3, gid_); - } - if (uid_ - != com.google.storagetransfer.v1.proto.TransferTypes.MetadataOptions.UID.UID_UNSPECIFIED - .getNumber()) { - size += com.google.protobuf.CodedOutputStream.computeEnumSize(4, uid_); - } - if (acl_ - != com.google.storagetransfer.v1.proto.TransferTypes.MetadataOptions.Acl.ACL_UNSPECIFIED - .getNumber()) { - size += com.google.protobuf.CodedOutputStream.computeEnumSize(5, acl_); - } - if (storageClass_ - != com.google.storagetransfer.v1.proto.TransferTypes.MetadataOptions.StorageClass - .STORAGE_CLASS_UNSPECIFIED - .getNumber()) { - size += com.google.protobuf.CodedOutputStream.computeEnumSize(6, storageClass_); - } - if (temporaryHold_ - != com.google.storagetransfer.v1.proto.TransferTypes.MetadataOptions.TemporaryHold - .TEMPORARY_HOLD_UNSPECIFIED - .getNumber()) { - size += com.google.protobuf.CodedOutputStream.computeEnumSize(7, temporaryHold_); - } - if (kmsKey_ - != com.google.storagetransfer.v1.proto.TransferTypes.MetadataOptions.KmsKey - .KMS_KEY_UNSPECIFIED - .getNumber()) { - size += com.google.protobuf.CodedOutputStream.computeEnumSize(8, kmsKey_); - } - if (timeCreated_ - != com.google.storagetransfer.v1.proto.TransferTypes.MetadataOptions.TimeCreated - .TIME_CREATED_UNSPECIFIED - .getNumber()) { - size += com.google.protobuf.CodedOutputStream.computeEnumSize(9, timeCreated_); + if (symlink_ != com.google.storagetransfer.v1.proto.TransferTypes.MetadataOptions.Symlink.SYMLINK_UNSPECIFIED.getNumber()) { + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(1, symlink_); + } + if (mode_ != com.google.storagetransfer.v1.proto.TransferTypes.MetadataOptions.Mode.MODE_UNSPECIFIED.getNumber()) { + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(2, mode_); + } + if (gid_ != com.google.storagetransfer.v1.proto.TransferTypes.MetadataOptions.GID.GID_UNSPECIFIED.getNumber()) { + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(3, gid_); + } + if (uid_ != com.google.storagetransfer.v1.proto.TransferTypes.MetadataOptions.UID.UID_UNSPECIFIED.getNumber()) { + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(4, uid_); + } + if (acl_ != com.google.storagetransfer.v1.proto.TransferTypes.MetadataOptions.Acl.ACL_UNSPECIFIED.getNumber()) { + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(5, acl_); + } + if (storageClass_ != com.google.storagetransfer.v1.proto.TransferTypes.MetadataOptions.StorageClass.STORAGE_CLASS_UNSPECIFIED.getNumber()) { + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(6, storageClass_); + } + if (temporaryHold_ != com.google.storagetransfer.v1.proto.TransferTypes.MetadataOptions.TemporaryHold.TEMPORARY_HOLD_UNSPECIFIED.getNumber()) { + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(7, temporaryHold_); + } + if (kmsKey_ != com.google.storagetransfer.v1.proto.TransferTypes.MetadataOptions.KmsKey.KMS_KEY_UNSPECIFIED.getNumber()) { + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(8, kmsKey_); + } + if (timeCreated_ != com.google.storagetransfer.v1.proto.TransferTypes.MetadataOptions.TimeCreated.TIME_CREATED_UNSPECIFIED.getNumber()) { + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(9, timeCreated_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -22719,13 +23435,12 @@ 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.storagetransfer.v1.proto.TransferTypes.MetadataOptions)) { return super.equals(obj); } - com.google.storagetransfer.v1.proto.TransferTypes.MetadataOptions other = - (com.google.storagetransfer.v1.proto.TransferTypes.MetadataOptions) obj; + com.google.storagetransfer.v1.proto.TransferTypes.MetadataOptions other = (com.google.storagetransfer.v1.proto.TransferTypes.MetadataOptions) obj; if (symlink_ != other.symlink_) return false; if (mode_ != other.mode_) return false; @@ -22771,95 +23486,87 @@ public int hashCode() { } public static com.google.storagetransfer.v1.proto.TransferTypes.MetadataOptions parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.storagetransfer.v1.proto.TransferTypes.MetadataOptions 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.storagetransfer.v1.proto.TransferTypes.MetadataOptions parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.storagetransfer.v1.proto.TransferTypes.MetadataOptions 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.storagetransfer.v1.proto.TransferTypes.MetadataOptions parseFrom( - byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.storagetransfer.v1.proto.TransferTypes.MetadataOptions parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.storagetransfer.v1.proto.TransferTypes.MetadataOptions 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.storagetransfer.v1.proto.TransferTypes.MetadataOptions parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.storagetransfer.v1.proto.TransferTypes.MetadataOptions parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.storagetransfer.v1.proto.TransferTypes.MetadataOptions 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.storagetransfer.v1.proto.TransferTypes.MetadataOptions - parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.storagetransfer.v1.proto.TransferTypes.MetadataOptions parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - - public static com.google.storagetransfer.v1.proto.TransferTypes.MetadataOptions - parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + public static com.google.storagetransfer.v1.proto.TransferTypes.MetadataOptions parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.storagetransfer.v1.proto.TransferTypes.MetadataOptions 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.storagetransfer.v1.proto.TransferTypes.MetadataOptions 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.storagetransfer.v1.proto.TransferTypes.MetadataOptions prototype) { + public static Builder newBuilder(com.google.storagetransfer.v1.proto.TransferTypes.MetadataOptions 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 @@ -22869,49 +23576,44 @@ protected Builder newBuilderForType( return builder; } /** - * - * *
      * Specifies the metadata options for running a transfer.
      * 
* * Protobuf type {@code google.storagetransfer.v1.MetadataOptions} */ - public static final class Builder - extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.storagetransfer.v1.MetadataOptions) com.google.storagetransfer.v1.proto.TransferTypes.MetadataOptionsOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.storagetransfer.v1.proto.TransferTypes - .internal_static_google_storagetransfer_v1_MetadataOptions_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.storagetransfer.v1.proto.TransferTypes.internal_static_google_storagetransfer_v1_MetadataOptions_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.storagetransfer.v1.proto.TransferTypes - .internal_static_google_storagetransfer_v1_MetadataOptions_fieldAccessorTable + return com.google.storagetransfer.v1.proto.TransferTypes.internal_static_google_storagetransfer_v1_MetadataOptions_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.storagetransfer.v1.proto.TransferTypes.MetadataOptions.class, - com.google.storagetransfer.v1.proto.TransferTypes.MetadataOptions.Builder.class); + com.google.storagetransfer.v1.proto.TransferTypes.MetadataOptions.class, com.google.storagetransfer.v1.proto.TransferTypes.MetadataOptions.Builder.class); } - // Construct using - // com.google.storagetransfer.v1.proto.TransferTypes.MetadataOptions.newBuilder() + // Construct using com.google.storagetransfer.v1.proto.TransferTypes.MetadataOptions.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -22937,16 +23639,14 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.storagetransfer.v1.proto.TransferTypes - .internal_static_google_storagetransfer_v1_MetadataOptions_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.storagetransfer.v1.proto.TransferTypes.internal_static_google_storagetransfer_v1_MetadataOptions_descriptor; } @java.lang.Override - public com.google.storagetransfer.v1.proto.TransferTypes.MetadataOptions - getDefaultInstanceForType() { - return com.google.storagetransfer.v1.proto.TransferTypes.MetadataOptions - .getDefaultInstance(); + public com.google.storagetransfer.v1.proto.TransferTypes.MetadataOptions getDefaultInstanceForType() { + return com.google.storagetransfer.v1.proto.TransferTypes.MetadataOptions.getDefaultInstance(); } @java.lang.Override @@ -22960,8 +23660,7 @@ public com.google.storagetransfer.v1.proto.TransferTypes.MetadataOptions build() @java.lang.Override public com.google.storagetransfer.v1.proto.TransferTypes.MetadataOptions buildPartial() { - com.google.storagetransfer.v1.proto.TransferTypes.MetadataOptions result = - new com.google.storagetransfer.v1.proto.TransferTypes.MetadataOptions(this); + com.google.storagetransfer.v1.proto.TransferTypes.MetadataOptions result = new com.google.storagetransfer.v1.proto.TransferTypes.MetadataOptions(this); result.symlink_ = symlink_; result.mode_ = mode_; result.gid_ = gid_; @@ -22979,53 +23678,46 @@ public com.google.storagetransfer.v1.proto.TransferTypes.MetadataOptions buildPa public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, - int index, - java.lang.Object value) { + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.storagetransfer.v1.proto.TransferTypes.MetadataOptions) { - return mergeFrom( - (com.google.storagetransfer.v1.proto.TransferTypes.MetadataOptions) other); + return mergeFrom((com.google.storagetransfer.v1.proto.TransferTypes.MetadataOptions)other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom( - com.google.storagetransfer.v1.proto.TransferTypes.MetadataOptions other) { - if (other - == com.google.storagetransfer.v1.proto.TransferTypes.MetadataOptions - .getDefaultInstance()) return this; + public Builder mergeFrom(com.google.storagetransfer.v1.proto.TransferTypes.MetadataOptions other) { + if (other == com.google.storagetransfer.v1.proto.TransferTypes.MetadataOptions.getDefaultInstance()) return this; if (other.symlink_ != 0) { setSymlinkValue(other.getSymlinkValue()); } @@ -23072,9 +23764,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.storagetransfer.v1.proto.TransferTypes.MetadataOptions) - e.getUnfinishedMessage(); + parsedMessage = (com.google.storagetransfer.v1.proto.TransferTypes.MetadataOptions) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -23086,8 +23776,6 @@ public Builder mergeFrom( private int symlink_ = 0; /** - * - * *
        * Specifies how symlinks should be handled by the transfer. By default,
        * symlinks are not preserved. Only applicable to transfers involving
@@ -23095,16 +23783,12 @@ public Builder mergeFrom(
        * 
* * .google.storagetransfer.v1.MetadataOptions.Symlink symlink = 1; - * * @return The enum numeric value on the wire for symlink. */ - @java.lang.Override - public int getSymlinkValue() { + @java.lang.Override public int getSymlinkValue() { return symlink_; } /** - * - * *
        * Specifies how symlinks should be handled by the transfer. By default,
        * symlinks are not preserved. Only applicable to transfers involving
@@ -23112,19 +23796,16 @@ public int getSymlinkValue() {
        * 
* * .google.storagetransfer.v1.MetadataOptions.Symlink symlink = 1; - * * @param value The enum numeric value on the wire for symlink to set. * @return This builder for chaining. */ public Builder setSymlinkValue(int value) { - + symlink_ = value; onChanged(); return this; } /** - * - * *
        * Specifies how symlinks should be handled by the transfer. By default,
        * symlinks are not preserved. Only applicable to transfers involving
@@ -23132,23 +23813,15 @@ public Builder setSymlinkValue(int value) {
        * 
* * .google.storagetransfer.v1.MetadataOptions.Symlink symlink = 1; - * * @return The symlink. */ @java.lang.Override - public com.google.storagetransfer.v1.proto.TransferTypes.MetadataOptions.Symlink - getSymlink() { + public com.google.storagetransfer.v1.proto.TransferTypes.MetadataOptions.Symlink getSymlink() { @SuppressWarnings("deprecation") - com.google.storagetransfer.v1.proto.TransferTypes.MetadataOptions.Symlink result = - com.google.storagetransfer.v1.proto.TransferTypes.MetadataOptions.Symlink.valueOf( - symlink_); - return result == null - ? com.google.storagetransfer.v1.proto.TransferTypes.MetadataOptions.Symlink.UNRECOGNIZED - : result; + com.google.storagetransfer.v1.proto.TransferTypes.MetadataOptions.Symlink result = com.google.storagetransfer.v1.proto.TransferTypes.MetadataOptions.Symlink.valueOf(symlink_); + return result == null ? com.google.storagetransfer.v1.proto.TransferTypes.MetadataOptions.Symlink.UNRECOGNIZED : result; } /** - * - * *
        * Specifies how symlinks should be handled by the transfer. By default,
        * symlinks are not preserved. Only applicable to transfers involving
@@ -23156,23 +23829,19 @@ public Builder setSymlinkValue(int value) {
        * 
* * .google.storagetransfer.v1.MetadataOptions.Symlink symlink = 1; - * * @param value The symlink to set. * @return This builder for chaining. */ - public Builder setSymlink( - com.google.storagetransfer.v1.proto.TransferTypes.MetadataOptions.Symlink value) { + public Builder setSymlink(com.google.storagetransfer.v1.proto.TransferTypes.MetadataOptions.Symlink value) { if (value == null) { throw new NullPointerException(); } - + symlink_ = value.getNumber(); onChanged(); return this; } /** - * - * *
        * Specifies how symlinks should be handled by the transfer. By default,
        * symlinks are not preserved. Only applicable to transfers involving
@@ -23180,11 +23849,10 @@ public Builder setSymlink(
        * 
* * .google.storagetransfer.v1.MetadataOptions.Symlink symlink = 1; - * * @return This builder for chaining. */ public Builder clearSymlink() { - + symlink_ = 0; onChanged(); return this; @@ -23192,8 +23860,6 @@ public Builder clearSymlink() { private int mode_ = 0; /** - * - * *
        * Specifies how each file's mode attribute should be handled by the transfer.
        * By default, mode is not preserved. Only applicable to transfers involving
@@ -23201,16 +23867,12 @@ public Builder clearSymlink() {
        * 
* * .google.storagetransfer.v1.MetadataOptions.Mode mode = 2; - * * @return The enum numeric value on the wire for mode. */ - @java.lang.Override - public int getModeValue() { + @java.lang.Override public int getModeValue() { return mode_; } /** - * - * *
        * Specifies how each file's mode attribute should be handled by the transfer.
        * By default, mode is not preserved. Only applicable to transfers involving
@@ -23218,19 +23880,16 @@ public int getModeValue() {
        * 
* * .google.storagetransfer.v1.MetadataOptions.Mode mode = 2; - * * @param value The enum numeric value on the wire for mode to set. * @return This builder for chaining. */ public Builder setModeValue(int value) { - + mode_ = value; onChanged(); return this; } /** - * - * *
        * Specifies how each file's mode attribute should be handled by the transfer.
        * By default, mode is not preserved. Only applicable to transfers involving
@@ -23238,21 +23897,15 @@ public Builder setModeValue(int value) {
        * 
* * .google.storagetransfer.v1.MetadataOptions.Mode mode = 2; - * * @return The mode. */ @java.lang.Override public com.google.storagetransfer.v1.proto.TransferTypes.MetadataOptions.Mode getMode() { @SuppressWarnings("deprecation") - com.google.storagetransfer.v1.proto.TransferTypes.MetadataOptions.Mode result = - com.google.storagetransfer.v1.proto.TransferTypes.MetadataOptions.Mode.valueOf(mode_); - return result == null - ? com.google.storagetransfer.v1.proto.TransferTypes.MetadataOptions.Mode.UNRECOGNIZED - : result; + com.google.storagetransfer.v1.proto.TransferTypes.MetadataOptions.Mode result = com.google.storagetransfer.v1.proto.TransferTypes.MetadataOptions.Mode.valueOf(mode_); + return result == null ? com.google.storagetransfer.v1.proto.TransferTypes.MetadataOptions.Mode.UNRECOGNIZED : result; } /** - * - * *
        * Specifies how each file's mode attribute should be handled by the transfer.
        * By default, mode is not preserved. Only applicable to transfers involving
@@ -23260,23 +23913,19 @@ public com.google.storagetransfer.v1.proto.TransferTypes.MetadataOptions.Mode ge
        * 
* * .google.storagetransfer.v1.MetadataOptions.Mode mode = 2; - * * @param value The mode to set. * @return This builder for chaining. */ - public Builder setMode( - com.google.storagetransfer.v1.proto.TransferTypes.MetadataOptions.Mode value) { + public Builder setMode(com.google.storagetransfer.v1.proto.TransferTypes.MetadataOptions.Mode value) { if (value == null) { throw new NullPointerException(); } - + mode_ = value.getNumber(); onChanged(); return this; } /** - * - * *
        * Specifies how each file's mode attribute should be handled by the transfer.
        * By default, mode is not preserved. Only applicable to transfers involving
@@ -23284,11 +23933,10 @@ public Builder setMode(
        * 
* * .google.storagetransfer.v1.MetadataOptions.Mode mode = 2; - * * @return This builder for chaining. */ public Builder clearMode() { - + mode_ = 0; onChanged(); return this; @@ -23296,8 +23944,6 @@ public Builder clearMode() { private int gid_ = 0; /** - * - * *
        * Specifies how each file's POSIX group ID (GID) attribute should be handled
        * by the transfer. By default, GID is not preserved. Only applicable to
@@ -23305,16 +23951,12 @@ public Builder clearMode() {
        * 
* * .google.storagetransfer.v1.MetadataOptions.GID gid = 3; - * * @return The enum numeric value on the wire for gid. */ - @java.lang.Override - public int getGidValue() { + @java.lang.Override public int getGidValue() { return gid_; } /** - * - * *
        * Specifies how each file's POSIX group ID (GID) attribute should be handled
        * by the transfer. By default, GID is not preserved. Only applicable to
@@ -23322,19 +23964,16 @@ public int getGidValue() {
        * 
* * .google.storagetransfer.v1.MetadataOptions.GID gid = 3; - * * @param value The enum numeric value on the wire for gid to set. * @return This builder for chaining. */ public Builder setGidValue(int value) { - + gid_ = value; onChanged(); return this; } /** - * - * *
        * Specifies how each file's POSIX group ID (GID) attribute should be handled
        * by the transfer. By default, GID is not preserved. Only applicable to
@@ -23342,21 +23981,15 @@ public Builder setGidValue(int value) {
        * 
* * .google.storagetransfer.v1.MetadataOptions.GID gid = 3; - * * @return The gid. */ @java.lang.Override public com.google.storagetransfer.v1.proto.TransferTypes.MetadataOptions.GID getGid() { @SuppressWarnings("deprecation") - com.google.storagetransfer.v1.proto.TransferTypes.MetadataOptions.GID result = - com.google.storagetransfer.v1.proto.TransferTypes.MetadataOptions.GID.valueOf(gid_); - return result == null - ? com.google.storagetransfer.v1.proto.TransferTypes.MetadataOptions.GID.UNRECOGNIZED - : result; + com.google.storagetransfer.v1.proto.TransferTypes.MetadataOptions.GID result = com.google.storagetransfer.v1.proto.TransferTypes.MetadataOptions.GID.valueOf(gid_); + return result == null ? com.google.storagetransfer.v1.proto.TransferTypes.MetadataOptions.GID.UNRECOGNIZED : result; } /** - * - * *
        * Specifies how each file's POSIX group ID (GID) attribute should be handled
        * by the transfer. By default, GID is not preserved. Only applicable to
@@ -23364,23 +23997,19 @@ public com.google.storagetransfer.v1.proto.TransferTypes.MetadataOptions.GID get
        * 
* * .google.storagetransfer.v1.MetadataOptions.GID gid = 3; - * * @param value The gid to set. * @return This builder for chaining. */ - public Builder setGid( - com.google.storagetransfer.v1.proto.TransferTypes.MetadataOptions.GID value) { + public Builder setGid(com.google.storagetransfer.v1.proto.TransferTypes.MetadataOptions.GID value) { if (value == null) { throw new NullPointerException(); } - + gid_ = value.getNumber(); onChanged(); return this; } /** - * - * *
        * Specifies how each file's POSIX group ID (GID) attribute should be handled
        * by the transfer. By default, GID is not preserved. Only applicable to
@@ -23388,11 +24017,10 @@ public Builder setGid(
        * 
* * .google.storagetransfer.v1.MetadataOptions.GID gid = 3; - * * @return This builder for chaining. */ public Builder clearGid() { - + gid_ = 0; onChanged(); return this; @@ -23400,8 +24028,6 @@ public Builder clearGid() { private int uid_ = 0; /** - * - * *
        * Specifies how each file's POSIX user ID (UID) attribute should be handled
        * by the transfer. By default, UID is not preserved. Only applicable to
@@ -23409,16 +24035,12 @@ public Builder clearGid() {
        * 
* * .google.storagetransfer.v1.MetadataOptions.UID uid = 4; - * * @return The enum numeric value on the wire for uid. */ - @java.lang.Override - public int getUidValue() { + @java.lang.Override public int getUidValue() { return uid_; } /** - * - * *
        * Specifies how each file's POSIX user ID (UID) attribute should be handled
        * by the transfer. By default, UID is not preserved. Only applicable to
@@ -23426,19 +24048,16 @@ public int getUidValue() {
        * 
* * .google.storagetransfer.v1.MetadataOptions.UID uid = 4; - * * @param value The enum numeric value on the wire for uid to set. * @return This builder for chaining. */ public Builder setUidValue(int value) { - + uid_ = value; onChanged(); return this; } /** - * - * *
        * Specifies how each file's POSIX user ID (UID) attribute should be handled
        * by the transfer. By default, UID is not preserved. Only applicable to
@@ -23446,21 +24065,15 @@ public Builder setUidValue(int value) {
        * 
* * .google.storagetransfer.v1.MetadataOptions.UID uid = 4; - * * @return The uid. */ @java.lang.Override public com.google.storagetransfer.v1.proto.TransferTypes.MetadataOptions.UID getUid() { @SuppressWarnings("deprecation") - com.google.storagetransfer.v1.proto.TransferTypes.MetadataOptions.UID result = - com.google.storagetransfer.v1.proto.TransferTypes.MetadataOptions.UID.valueOf(uid_); - return result == null - ? com.google.storagetransfer.v1.proto.TransferTypes.MetadataOptions.UID.UNRECOGNIZED - : result; + com.google.storagetransfer.v1.proto.TransferTypes.MetadataOptions.UID result = com.google.storagetransfer.v1.proto.TransferTypes.MetadataOptions.UID.valueOf(uid_); + return result == null ? com.google.storagetransfer.v1.proto.TransferTypes.MetadataOptions.UID.UNRECOGNIZED : result; } /** - * - * *
        * Specifies how each file's POSIX user ID (UID) attribute should be handled
        * by the transfer. By default, UID is not preserved. Only applicable to
@@ -23468,23 +24081,19 @@ public com.google.storagetransfer.v1.proto.TransferTypes.MetadataOptions.UID get
        * 
* * .google.storagetransfer.v1.MetadataOptions.UID uid = 4; - * * @param value The uid to set. * @return This builder for chaining. */ - public Builder setUid( - com.google.storagetransfer.v1.proto.TransferTypes.MetadataOptions.UID value) { + public Builder setUid(com.google.storagetransfer.v1.proto.TransferTypes.MetadataOptions.UID value) { if (value == null) { throw new NullPointerException(); } - + uid_ = value.getNumber(); onChanged(); return this; } /** - * - * *
        * Specifies how each file's POSIX user ID (UID) attribute should be handled
        * by the transfer. By default, UID is not preserved. Only applicable to
@@ -23492,11 +24101,10 @@ public Builder setUid(
        * 
* * .google.storagetransfer.v1.MetadataOptions.UID uid = 4; - * * @return This builder for chaining. */ public Builder clearUid() { - + uid_ = 0; onChanged(); return this; @@ -23504,8 +24112,6 @@ public Builder clearUid() { private int acl_ = 0; /** - * - * *
        * Specifies how each object's ACLs should be preserved for transfers between
        * Google Cloud Storage buckets. If unspecified, the default behavior is the
@@ -23513,16 +24119,12 @@ public Builder clearUid() {
        * 
* * .google.storagetransfer.v1.MetadataOptions.Acl acl = 5; - * * @return The enum numeric value on the wire for acl. */ - @java.lang.Override - public int getAclValue() { + @java.lang.Override public int getAclValue() { return acl_; } /** - * - * *
        * Specifies how each object's ACLs should be preserved for transfers between
        * Google Cloud Storage buckets. If unspecified, the default behavior is the
@@ -23530,19 +24132,16 @@ public int getAclValue() {
        * 
* * .google.storagetransfer.v1.MetadataOptions.Acl acl = 5; - * * @param value The enum numeric value on the wire for acl to set. * @return This builder for chaining. */ public Builder setAclValue(int value) { - + acl_ = value; onChanged(); return this; } /** - * - * *
        * Specifies how each object's ACLs should be preserved for transfers between
        * Google Cloud Storage buckets. If unspecified, the default behavior is the
@@ -23550,21 +24149,15 @@ public Builder setAclValue(int value) {
        * 
* * .google.storagetransfer.v1.MetadataOptions.Acl acl = 5; - * * @return The acl. */ @java.lang.Override public com.google.storagetransfer.v1.proto.TransferTypes.MetadataOptions.Acl getAcl() { @SuppressWarnings("deprecation") - com.google.storagetransfer.v1.proto.TransferTypes.MetadataOptions.Acl result = - com.google.storagetransfer.v1.proto.TransferTypes.MetadataOptions.Acl.valueOf(acl_); - return result == null - ? com.google.storagetransfer.v1.proto.TransferTypes.MetadataOptions.Acl.UNRECOGNIZED - : result; + com.google.storagetransfer.v1.proto.TransferTypes.MetadataOptions.Acl result = com.google.storagetransfer.v1.proto.TransferTypes.MetadataOptions.Acl.valueOf(acl_); + return result == null ? com.google.storagetransfer.v1.proto.TransferTypes.MetadataOptions.Acl.UNRECOGNIZED : result; } /** - * - * *
        * Specifies how each object's ACLs should be preserved for transfers between
        * Google Cloud Storage buckets. If unspecified, the default behavior is the
@@ -23572,23 +24165,19 @@ public com.google.storagetransfer.v1.proto.TransferTypes.MetadataOptions.Acl get
        * 
* * .google.storagetransfer.v1.MetadataOptions.Acl acl = 5; - * * @param value The acl to set. * @return This builder for chaining. */ - public Builder setAcl( - com.google.storagetransfer.v1.proto.TransferTypes.MetadataOptions.Acl value) { + public Builder setAcl(com.google.storagetransfer.v1.proto.TransferTypes.MetadataOptions.Acl value) { if (value == null) { throw new NullPointerException(); } - + acl_ = value.getNumber(); onChanged(); return this; } /** - * - * *
        * Specifies how each object's ACLs should be preserved for transfers between
        * Google Cloud Storage buckets. If unspecified, the default behavior is the
@@ -23596,11 +24185,10 @@ public Builder setAcl(
        * 
* * .google.storagetransfer.v1.MetadataOptions.Acl acl = 5; - * * @return This builder for chaining. */ public Builder clearAcl() { - + acl_ = 0; onChanged(); return this; @@ -23608,8 +24196,6 @@ public Builder clearAcl() { private int storageClass_ = 0; /** - * - * *
        * Specifies the storage class to set on objects being transferred to Google
        * Cloud Storage buckets.  If unspecified, the default behavior is the same as
@@ -23617,16 +24203,12 @@ public Builder clearAcl() {
        * 
* * .google.storagetransfer.v1.MetadataOptions.StorageClass storage_class = 6; - * * @return The enum numeric value on the wire for storageClass. */ - @java.lang.Override - public int getStorageClassValue() { + @java.lang.Override public int getStorageClassValue() { return storageClass_; } /** - * - * *
        * Specifies the storage class to set on objects being transferred to Google
        * Cloud Storage buckets.  If unspecified, the default behavior is the same as
@@ -23634,19 +24216,16 @@ public int getStorageClassValue() {
        * 
* * .google.storagetransfer.v1.MetadataOptions.StorageClass storage_class = 6; - * * @param value The enum numeric value on the wire for storageClass to set. * @return This builder for chaining. */ public Builder setStorageClassValue(int value) { - + storageClass_ = value; onChanged(); return this; } /** - * - * *
        * Specifies the storage class to set on objects being transferred to Google
        * Cloud Storage buckets.  If unspecified, the default behavior is the same as
@@ -23654,24 +24233,15 @@ public Builder setStorageClassValue(int value) {
        * 
* * .google.storagetransfer.v1.MetadataOptions.StorageClass storage_class = 6; - * * @return The storageClass. */ @java.lang.Override - public com.google.storagetransfer.v1.proto.TransferTypes.MetadataOptions.StorageClass - getStorageClass() { + public com.google.storagetransfer.v1.proto.TransferTypes.MetadataOptions.StorageClass getStorageClass() { @SuppressWarnings("deprecation") - com.google.storagetransfer.v1.proto.TransferTypes.MetadataOptions.StorageClass result = - com.google.storagetransfer.v1.proto.TransferTypes.MetadataOptions.StorageClass.valueOf( - storageClass_); - return result == null - ? com.google.storagetransfer.v1.proto.TransferTypes.MetadataOptions.StorageClass - .UNRECOGNIZED - : result; + com.google.storagetransfer.v1.proto.TransferTypes.MetadataOptions.StorageClass result = com.google.storagetransfer.v1.proto.TransferTypes.MetadataOptions.StorageClass.valueOf(storageClass_); + return result == null ? com.google.storagetransfer.v1.proto.TransferTypes.MetadataOptions.StorageClass.UNRECOGNIZED : result; } /** - * - * *
        * Specifies the storage class to set on objects being transferred to Google
        * Cloud Storage buckets.  If unspecified, the default behavior is the same as
@@ -23679,23 +24249,19 @@ public Builder setStorageClassValue(int value) {
        * 
* * .google.storagetransfer.v1.MetadataOptions.StorageClass storage_class = 6; - * * @param value The storageClass to set. * @return This builder for chaining. */ - public Builder setStorageClass( - com.google.storagetransfer.v1.proto.TransferTypes.MetadataOptions.StorageClass value) { + public Builder setStorageClass(com.google.storagetransfer.v1.proto.TransferTypes.MetadataOptions.StorageClass value) { if (value == null) { throw new NullPointerException(); } - + storageClass_ = value.getNumber(); onChanged(); return this; } /** - * - * *
        * Specifies the storage class to set on objects being transferred to Google
        * Cloud Storage buckets.  If unspecified, the default behavior is the same as
@@ -23703,11 +24269,10 @@ public Builder setStorageClass(
        * 
* * .google.storagetransfer.v1.MetadataOptions.StorageClass storage_class = 6; - * * @return This builder for chaining. */ public Builder clearStorageClass() { - + storageClass_ = 0; onChanged(); return this; @@ -23715,8 +24280,6 @@ public Builder clearStorageClass() { private int temporaryHold_ = 0; /** - * - * *
        * Specifies how each object's temporary hold status should be preserved for
        * transfers between Google Cloud Storage buckets.  If unspecified, the
@@ -23725,16 +24288,12 @@ public Builder clearStorageClass() {
        * 
* * .google.storagetransfer.v1.MetadataOptions.TemporaryHold temporary_hold = 7; - * * @return The enum numeric value on the wire for temporaryHold. */ - @java.lang.Override - public int getTemporaryHoldValue() { + @java.lang.Override public int getTemporaryHoldValue() { return temporaryHold_; } /** - * - * *
        * Specifies how each object's temporary hold status should be preserved for
        * transfers between Google Cloud Storage buckets.  If unspecified, the
@@ -23743,19 +24302,16 @@ public int getTemporaryHoldValue() {
        * 
* * .google.storagetransfer.v1.MetadataOptions.TemporaryHold temporary_hold = 7; - * * @param value The enum numeric value on the wire for temporaryHold to set. * @return This builder for chaining. */ public Builder setTemporaryHoldValue(int value) { - + temporaryHold_ = value; onChanged(); return this; } /** - * - * *
        * Specifies how each object's temporary hold status should be preserved for
        * transfers between Google Cloud Storage buckets.  If unspecified, the
@@ -23764,24 +24320,15 @@ public Builder setTemporaryHoldValue(int value) {
        * 
* * .google.storagetransfer.v1.MetadataOptions.TemporaryHold temporary_hold = 7; - * * @return The temporaryHold. */ @java.lang.Override - public com.google.storagetransfer.v1.proto.TransferTypes.MetadataOptions.TemporaryHold - getTemporaryHold() { + public com.google.storagetransfer.v1.proto.TransferTypes.MetadataOptions.TemporaryHold getTemporaryHold() { @SuppressWarnings("deprecation") - com.google.storagetransfer.v1.proto.TransferTypes.MetadataOptions.TemporaryHold result = - com.google.storagetransfer.v1.proto.TransferTypes.MetadataOptions.TemporaryHold.valueOf( - temporaryHold_); - return result == null - ? com.google.storagetransfer.v1.proto.TransferTypes.MetadataOptions.TemporaryHold - .UNRECOGNIZED - : result; + com.google.storagetransfer.v1.proto.TransferTypes.MetadataOptions.TemporaryHold result = com.google.storagetransfer.v1.proto.TransferTypes.MetadataOptions.TemporaryHold.valueOf(temporaryHold_); + return result == null ? com.google.storagetransfer.v1.proto.TransferTypes.MetadataOptions.TemporaryHold.UNRECOGNIZED : result; } /** - * - * *
        * Specifies how each object's temporary hold status should be preserved for
        * transfers between Google Cloud Storage buckets.  If unspecified, the
@@ -23790,23 +24337,19 @@ public Builder setTemporaryHoldValue(int value) {
        * 
* * .google.storagetransfer.v1.MetadataOptions.TemporaryHold temporary_hold = 7; - * * @param value The temporaryHold to set. * @return This builder for chaining. */ - public Builder setTemporaryHold( - com.google.storagetransfer.v1.proto.TransferTypes.MetadataOptions.TemporaryHold value) { + public Builder setTemporaryHold(com.google.storagetransfer.v1.proto.TransferTypes.MetadataOptions.TemporaryHold value) { if (value == null) { throw new NullPointerException(); } - + temporaryHold_ = value.getNumber(); onChanged(); return this; } /** - * - * *
        * Specifies how each object's temporary hold status should be preserved for
        * transfers between Google Cloud Storage buckets.  If unspecified, the
@@ -23815,11 +24358,10 @@ public Builder setTemporaryHold(
        * 
* * .google.storagetransfer.v1.MetadataOptions.TemporaryHold temporary_hold = 7; - * * @return This builder for chaining. */ public Builder clearTemporaryHold() { - + temporaryHold_ = 0; onChanged(); return this; @@ -23827,8 +24369,6 @@ public Builder clearTemporaryHold() { private int kmsKey_ = 0; /** - * - * *
        * Specifies how each object's Cloud KMS customer-managed encryption key
        * (CMEK) is preserved for transfers between Google Cloud Storage buckets.  If
@@ -23837,16 +24377,12 @@ public Builder clearTemporaryHold() {
        * 
* * .google.storagetransfer.v1.MetadataOptions.KmsKey kms_key = 8; - * * @return The enum numeric value on the wire for kmsKey. */ - @java.lang.Override - public int getKmsKeyValue() { + @java.lang.Override public int getKmsKeyValue() { return kmsKey_; } /** - * - * *
        * Specifies how each object's Cloud KMS customer-managed encryption key
        * (CMEK) is preserved for transfers between Google Cloud Storage buckets.  If
@@ -23855,19 +24391,16 @@ public int getKmsKeyValue() {
        * 
* * .google.storagetransfer.v1.MetadataOptions.KmsKey kms_key = 8; - * * @param value The enum numeric value on the wire for kmsKey to set. * @return This builder for chaining. */ public Builder setKmsKeyValue(int value) { - + kmsKey_ = value; onChanged(); return this; } /** - * - * *
        * Specifies how each object's Cloud KMS customer-managed encryption key
        * (CMEK) is preserved for transfers between Google Cloud Storage buckets.  If
@@ -23876,22 +24409,15 @@ public Builder setKmsKeyValue(int value) {
        * 
* * .google.storagetransfer.v1.MetadataOptions.KmsKey kms_key = 8; - * * @return The kmsKey. */ @java.lang.Override public com.google.storagetransfer.v1.proto.TransferTypes.MetadataOptions.KmsKey getKmsKey() { @SuppressWarnings("deprecation") - com.google.storagetransfer.v1.proto.TransferTypes.MetadataOptions.KmsKey result = - com.google.storagetransfer.v1.proto.TransferTypes.MetadataOptions.KmsKey.valueOf( - kmsKey_); - return result == null - ? com.google.storagetransfer.v1.proto.TransferTypes.MetadataOptions.KmsKey.UNRECOGNIZED - : result; + com.google.storagetransfer.v1.proto.TransferTypes.MetadataOptions.KmsKey result = com.google.storagetransfer.v1.proto.TransferTypes.MetadataOptions.KmsKey.valueOf(kmsKey_); + return result == null ? com.google.storagetransfer.v1.proto.TransferTypes.MetadataOptions.KmsKey.UNRECOGNIZED : result; } /** - * - * *
        * Specifies how each object's Cloud KMS customer-managed encryption key
        * (CMEK) is preserved for transfers between Google Cloud Storage buckets.  If
@@ -23900,23 +24426,19 @@ public com.google.storagetransfer.v1.proto.TransferTypes.MetadataOptions.KmsKey
        * 
* * .google.storagetransfer.v1.MetadataOptions.KmsKey kms_key = 8; - * * @param value The kmsKey to set. * @return This builder for chaining. */ - public Builder setKmsKey( - com.google.storagetransfer.v1.proto.TransferTypes.MetadataOptions.KmsKey value) { + public Builder setKmsKey(com.google.storagetransfer.v1.proto.TransferTypes.MetadataOptions.KmsKey value) { if (value == null) { throw new NullPointerException(); } - + kmsKey_ = value.getNumber(); onChanged(); return this; } /** - * - * *
        * Specifies how each object's Cloud KMS customer-managed encryption key
        * (CMEK) is preserved for transfers between Google Cloud Storage buckets.  If
@@ -23925,11 +24447,10 @@ public Builder setKmsKey(
        * 
* * .google.storagetransfer.v1.MetadataOptions.KmsKey kms_key = 8; - * * @return This builder for chaining. */ public Builder clearKmsKey() { - + kmsKey_ = 0; onChanged(); return this; @@ -23937,8 +24458,6 @@ public Builder clearKmsKey() { private int timeCreated_ = 0; /** - * - * *
        * Specifies how each object's `timeCreated` metadata is preserved for
        * transfers between Google Cloud Storage buckets.  If unspecified, the
@@ -23947,16 +24466,12 @@ public Builder clearKmsKey() {
        * 
* * .google.storagetransfer.v1.MetadataOptions.TimeCreated time_created = 9; - * * @return The enum numeric value on the wire for timeCreated. */ - @java.lang.Override - public int getTimeCreatedValue() { + @java.lang.Override public int getTimeCreatedValue() { return timeCreated_; } /** - * - * *
        * Specifies how each object's `timeCreated` metadata is preserved for
        * transfers between Google Cloud Storage buckets.  If unspecified, the
@@ -23965,19 +24480,16 @@ public int getTimeCreatedValue() {
        * 
* * .google.storagetransfer.v1.MetadataOptions.TimeCreated time_created = 9; - * * @param value The enum numeric value on the wire for timeCreated to set. * @return This builder for chaining. */ public Builder setTimeCreatedValue(int value) { - + timeCreated_ = value; onChanged(); return this; } /** - * - * *
        * Specifies how each object's `timeCreated` metadata is preserved for
        * transfers between Google Cloud Storage buckets.  If unspecified, the
@@ -23986,24 +24498,15 @@ public Builder setTimeCreatedValue(int value) {
        * 
* * .google.storagetransfer.v1.MetadataOptions.TimeCreated time_created = 9; - * * @return The timeCreated. */ @java.lang.Override - public com.google.storagetransfer.v1.proto.TransferTypes.MetadataOptions.TimeCreated - getTimeCreated() { + public com.google.storagetransfer.v1.proto.TransferTypes.MetadataOptions.TimeCreated getTimeCreated() { @SuppressWarnings("deprecation") - com.google.storagetransfer.v1.proto.TransferTypes.MetadataOptions.TimeCreated result = - com.google.storagetransfer.v1.proto.TransferTypes.MetadataOptions.TimeCreated.valueOf( - timeCreated_); - return result == null - ? com.google.storagetransfer.v1.proto.TransferTypes.MetadataOptions.TimeCreated - .UNRECOGNIZED - : result; + com.google.storagetransfer.v1.proto.TransferTypes.MetadataOptions.TimeCreated result = com.google.storagetransfer.v1.proto.TransferTypes.MetadataOptions.TimeCreated.valueOf(timeCreated_); + return result == null ? com.google.storagetransfer.v1.proto.TransferTypes.MetadataOptions.TimeCreated.UNRECOGNIZED : result; } /** - * - * *
        * Specifies how each object's `timeCreated` metadata is preserved for
        * transfers between Google Cloud Storage buckets.  If unspecified, the
@@ -24012,23 +24515,19 @@ public Builder setTimeCreatedValue(int value) {
        * 
* * .google.storagetransfer.v1.MetadataOptions.TimeCreated time_created = 9; - * * @param value The timeCreated to set. * @return This builder for chaining. */ - public Builder setTimeCreated( - com.google.storagetransfer.v1.proto.TransferTypes.MetadataOptions.TimeCreated value) { + public Builder setTimeCreated(com.google.storagetransfer.v1.proto.TransferTypes.MetadataOptions.TimeCreated value) { if (value == null) { throw new NullPointerException(); } - + timeCreated_ = value.getNumber(); onChanged(); return this; } /** - * - * *
        * Specifies how each object's `timeCreated` metadata is preserved for
        * transfers between Google Cloud Storage buckets.  If unspecified, the
@@ -24037,16 +24536,14 @@ public Builder setTimeCreated(
        * 
* * .google.storagetransfer.v1.MetadataOptions.TimeCreated time_created = 9; - * * @return This builder for chaining. */ public Builder clearTimeCreated() { - + timeCreated_ = 0; onChanged(); return this; } - @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -24059,32 +24556,30 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.storagetransfer.v1.MetadataOptions) } // @@protoc_insertion_point(class_scope:google.storagetransfer.v1.MetadataOptions) - private static final com.google.storagetransfer.v1.proto.TransferTypes.MetadataOptions - DEFAULT_INSTANCE; - + private static final com.google.storagetransfer.v1.proto.TransferTypes.MetadataOptions DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.storagetransfer.v1.proto.TransferTypes.MetadataOptions(); } - public static com.google.storagetransfer.v1.proto.TransferTypes.MetadataOptions - getDefaultInstance() { + public static com.google.storagetransfer.v1.proto.TransferTypes.MetadataOptions getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public MetadataOptions parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new MetadataOptions(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public MetadataOptions parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new MetadataOptions(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -24096,20 +24591,17 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.storagetransfer.v1.proto.TransferTypes.MetadataOptions - getDefaultInstanceForType() { + public com.google.storagetransfer.v1.proto.TransferTypes.MetadataOptions getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } - public interface TransferManifestOrBuilder - extends + public interface TransferManifestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.storagetransfer.v1.TransferManifest) com.google.protobuf.MessageOrBuilder { /** - * - * *
      * Specifies the path to the manifest in Cloud Storage. The Google-managed
      * service account for the transfer must have `storage.objects.get`
@@ -24118,13 +24610,10 @@ public interface TransferManifestOrBuilder
      * 
* * string location = 1; - * * @return The location. */ java.lang.String getLocation(); /** - * - * *
      * Specifies the path to the manifest in Cloud Storage. The Google-managed
      * service account for the transfer must have `storage.objects.get`
@@ -24133,45 +24622,43 @@ public interface TransferManifestOrBuilder
      * 
* * string location = 1; - * * @return The bytes for location. */ - com.google.protobuf.ByteString getLocationBytes(); + com.google.protobuf.ByteString + getLocationBytes(); } /** - * - * *
    * Specifies where the manifest is located.
    * 
* * Protobuf type {@code google.storagetransfer.v1.TransferManifest} */ - public static final class TransferManifest extends com.google.protobuf.GeneratedMessageV3 - implements + public static final class TransferManifest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.storagetransfer.v1.TransferManifest) TransferManifestOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use TransferManifest.newBuilder() to construct. private TransferManifest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private TransferManifest() { location_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new TransferManifest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private TransferManifest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -24190,20 +24677,19 @@ private TransferManifest( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - location_ = s; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + location_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -24211,33 +24697,29 @@ private TransferManifest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.storagetransfer.v1.proto.TransferTypes - .internal_static_google_storagetransfer_v1_TransferManifest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.storagetransfer.v1.proto.TransferTypes.internal_static_google_storagetransfer_v1_TransferManifest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.storagetransfer.v1.proto.TransferTypes - .internal_static_google_storagetransfer_v1_TransferManifest_fieldAccessorTable + return com.google.storagetransfer.v1.proto.TransferTypes.internal_static_google_storagetransfer_v1_TransferManifest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.storagetransfer.v1.proto.TransferTypes.TransferManifest.class, - com.google.storagetransfer.v1.proto.TransferTypes.TransferManifest.Builder.class); + com.google.storagetransfer.v1.proto.TransferTypes.TransferManifest.class, com.google.storagetransfer.v1.proto.TransferTypes.TransferManifest.Builder.class); } public static final int LOCATION_FIELD_NUMBER = 1; private volatile java.lang.Object location_; /** - * - * *
      * Specifies the path to the manifest in Cloud Storage. The Google-managed
      * service account for the transfer must have `storage.objects.get`
@@ -24246,7 +24728,6 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
      * 
* * string location = 1; - * * @return The location. */ @java.lang.Override @@ -24255,15 +24736,14 @@ public java.lang.String getLocation() { 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(); location_ = s; return s; } } /** - * - * *
      * Specifies the path to the manifest in Cloud Storage. The Google-managed
      * service account for the transfer must have `storage.objects.get`
@@ -24272,15 +24752,16 @@ public java.lang.String getLocation() {
      * 
* * string location = 1; - * * @return The bytes for location. */ @java.lang.Override - public com.google.protobuf.ByteString getLocationBytes() { + public com.google.protobuf.ByteString + getLocationBytes() { java.lang.Object ref = location_; 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); location_ = b; return b; } else { @@ -24289,7 +24770,6 @@ public com.google.protobuf.ByteString getLocationBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -24301,7 +24781,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 (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(location_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, location_); } @@ -24325,15 +24806,15 @@ 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.storagetransfer.v1.proto.TransferTypes.TransferManifest)) { return super.equals(obj); } - com.google.storagetransfer.v1.proto.TransferTypes.TransferManifest other = - (com.google.storagetransfer.v1.proto.TransferTypes.TransferManifest) obj; + com.google.storagetransfer.v1.proto.TransferTypes.TransferManifest other = (com.google.storagetransfer.v1.proto.TransferTypes.TransferManifest) obj; - if (!getLocation().equals(other.getLocation())) return false; + if (!getLocation() + .equals(other.getLocation())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -24353,95 +24834,87 @@ public int hashCode() { } public static com.google.storagetransfer.v1.proto.TransferTypes.TransferManifest parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.storagetransfer.v1.proto.TransferTypes.TransferManifest 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.storagetransfer.v1.proto.TransferTypes.TransferManifest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.storagetransfer.v1.proto.TransferTypes.TransferManifest 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.storagetransfer.v1.proto.TransferTypes.TransferManifest parseFrom( - byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.storagetransfer.v1.proto.TransferTypes.TransferManifest parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.storagetransfer.v1.proto.TransferTypes.TransferManifest 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.storagetransfer.v1.proto.TransferTypes.TransferManifest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.storagetransfer.v1.proto.TransferTypes.TransferManifest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.storagetransfer.v1.proto.TransferTypes.TransferManifest 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.storagetransfer.v1.proto.TransferTypes.TransferManifest - parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.storagetransfer.v1.proto.TransferTypes.TransferManifest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - - public static com.google.storagetransfer.v1.proto.TransferTypes.TransferManifest - parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + public static com.google.storagetransfer.v1.proto.TransferTypes.TransferManifest parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.storagetransfer.v1.proto.TransferTypes.TransferManifest 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.storagetransfer.v1.proto.TransferTypes.TransferManifest 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.storagetransfer.v1.proto.TransferTypes.TransferManifest prototype) { + public static Builder newBuilder(com.google.storagetransfer.v1.proto.TransferTypes.TransferManifest 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 @@ -24451,49 +24924,44 @@ protected Builder newBuilderForType( return builder; } /** - * - * *
      * Specifies where the manifest is located.
      * 
* * Protobuf type {@code google.storagetransfer.v1.TransferManifest} */ - public static final class Builder - extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.storagetransfer.v1.TransferManifest) com.google.storagetransfer.v1.proto.TransferTypes.TransferManifestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.storagetransfer.v1.proto.TransferTypes - .internal_static_google_storagetransfer_v1_TransferManifest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.storagetransfer.v1.proto.TransferTypes.internal_static_google_storagetransfer_v1_TransferManifest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.storagetransfer.v1.proto.TransferTypes - .internal_static_google_storagetransfer_v1_TransferManifest_fieldAccessorTable + return com.google.storagetransfer.v1.proto.TransferTypes.internal_static_google_storagetransfer_v1_TransferManifest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.storagetransfer.v1.proto.TransferTypes.TransferManifest.class, - com.google.storagetransfer.v1.proto.TransferTypes.TransferManifest.Builder.class); + com.google.storagetransfer.v1.proto.TransferTypes.TransferManifest.class, com.google.storagetransfer.v1.proto.TransferTypes.TransferManifest.Builder.class); } - // Construct using - // com.google.storagetransfer.v1.proto.TransferTypes.TransferManifest.newBuilder() + // Construct using com.google.storagetransfer.v1.proto.TransferTypes.TransferManifest.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -24503,16 +24971,14 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.storagetransfer.v1.proto.TransferTypes - .internal_static_google_storagetransfer_v1_TransferManifest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.storagetransfer.v1.proto.TransferTypes.internal_static_google_storagetransfer_v1_TransferManifest_descriptor; } @java.lang.Override - public com.google.storagetransfer.v1.proto.TransferTypes.TransferManifest - getDefaultInstanceForType() { - return com.google.storagetransfer.v1.proto.TransferTypes.TransferManifest - .getDefaultInstance(); + public com.google.storagetransfer.v1.proto.TransferTypes.TransferManifest getDefaultInstanceForType() { + return com.google.storagetransfer.v1.proto.TransferTypes.TransferManifest.getDefaultInstance(); } @java.lang.Override @@ -24526,8 +24992,7 @@ public com.google.storagetransfer.v1.proto.TransferTypes.TransferManifest build( @java.lang.Override public com.google.storagetransfer.v1.proto.TransferTypes.TransferManifest buildPartial() { - com.google.storagetransfer.v1.proto.TransferTypes.TransferManifest result = - new com.google.storagetransfer.v1.proto.TransferTypes.TransferManifest(this); + com.google.storagetransfer.v1.proto.TransferTypes.TransferManifest result = new com.google.storagetransfer.v1.proto.TransferTypes.TransferManifest(this); result.location_ = location_; onBuilt(); return result; @@ -24537,53 +25002,46 @@ public com.google.storagetransfer.v1.proto.TransferTypes.TransferManifest buildP public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, - int index, - java.lang.Object value) { + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.storagetransfer.v1.proto.TransferTypes.TransferManifest) { - return mergeFrom( - (com.google.storagetransfer.v1.proto.TransferTypes.TransferManifest) other); + return mergeFrom((com.google.storagetransfer.v1.proto.TransferTypes.TransferManifest)other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom( - com.google.storagetransfer.v1.proto.TransferTypes.TransferManifest other) { - if (other - == com.google.storagetransfer.v1.proto.TransferTypes.TransferManifest - .getDefaultInstance()) return this; + public Builder mergeFrom(com.google.storagetransfer.v1.proto.TransferTypes.TransferManifest other) { + if (other == com.google.storagetransfer.v1.proto.TransferTypes.TransferManifest.getDefaultInstance()) return this; if (!other.getLocation().isEmpty()) { location_ = other.location_; onChanged(); @@ -24607,9 +25065,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.storagetransfer.v1.proto.TransferTypes.TransferManifest) - e.getUnfinishedMessage(); + parsedMessage = (com.google.storagetransfer.v1.proto.TransferTypes.TransferManifest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -24621,8 +25077,6 @@ public Builder mergeFrom( private java.lang.Object location_ = ""; /** - * - * *
        * Specifies the path to the manifest in Cloud Storage. The Google-managed
        * service account for the transfer must have `storage.objects.get`
@@ -24631,13 +25085,13 @@ public Builder mergeFrom(
        * 
* * string location = 1; - * * @return The location. */ public java.lang.String getLocation() { java.lang.Object ref = location_; 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(); location_ = s; return s; @@ -24646,8 +25100,6 @@ public java.lang.String getLocation() { } } /** - * - * *
        * Specifies the path to the manifest in Cloud Storage. The Google-managed
        * service account for the transfer must have `storage.objects.get`
@@ -24656,14 +25108,15 @@ public java.lang.String getLocation() {
        * 
* * string location = 1; - * * @return The bytes for location. */ - public com.google.protobuf.ByteString getLocationBytes() { + public com.google.protobuf.ByteString + getLocationBytes() { java.lang.Object ref = location_; 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); location_ = b; return b; } else { @@ -24671,8 +25124,6 @@ public com.google.protobuf.ByteString getLocationBytes() { } } /** - * - * *
        * Specifies the path to the manifest in Cloud Storage. The Google-managed
        * service account for the transfer must have `storage.objects.get`
@@ -24681,22 +25132,20 @@ public com.google.protobuf.ByteString getLocationBytes() {
        * 
* * string location = 1; - * * @param value The location to set. * @return This builder for chaining. */ - public Builder setLocation(java.lang.String value) { + public Builder setLocation( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + location_ = value; onChanged(); return this; } /** - * - * *
        * Specifies the path to the manifest in Cloud Storage. The Google-managed
        * service account for the transfer must have `storage.objects.get`
@@ -24705,18 +25154,15 @@ public Builder setLocation(java.lang.String value) {
        * 
* * string location = 1; - * * @return This builder for chaining. */ public Builder clearLocation() { - + location_ = getDefaultInstance().getLocation(); onChanged(); return this; } /** - * - * *
        * Specifies the path to the manifest in Cloud Storage. The Google-managed
        * service account for the transfer must have `storage.objects.get`
@@ -24725,21 +25171,20 @@ public Builder clearLocation() {
        * 
* * string location = 1; - * * @param value The bytes for location to set. * @return This builder for chaining. */ - public Builder setLocationBytes(com.google.protobuf.ByteString value) { + public Builder setLocationBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + location_ = value; onChanged(); return this; } - @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -24752,32 +25197,30 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.storagetransfer.v1.TransferManifest) } // @@protoc_insertion_point(class_scope:google.storagetransfer.v1.TransferManifest) - private static final com.google.storagetransfer.v1.proto.TransferTypes.TransferManifest - DEFAULT_INSTANCE; - + private static final com.google.storagetransfer.v1.proto.TransferTypes.TransferManifest DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.storagetransfer.v1.proto.TransferTypes.TransferManifest(); } - public static com.google.storagetransfer.v1.proto.TransferTypes.TransferManifest - getDefaultInstance() { + public static com.google.storagetransfer.v1.proto.TransferTypes.TransferManifest getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public TransferManifest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new TransferManifest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public TransferManifest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new TransferManifest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -24789,20 +25232,17 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.storagetransfer.v1.proto.TransferTypes.TransferManifest - getDefaultInstanceForType() { + public com.google.storagetransfer.v1.proto.TransferTypes.TransferManifest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } - public interface ScheduleOrBuilder - extends + public interface ScheduleOrBuilder extends // @@protoc_insertion_point(interface_extends:google.storagetransfer.v1.Schedule) com.google.protobuf.MessageOrBuilder { /** - * - * *
      * Required. The start date of a transfer. Date boundaries are determined
      * relative to UTC time. If `schedule_start_date` and [start_time_of_day][google.storagetransfer.v1.Schedule.start_time_of_day]
@@ -24817,15 +25257,11 @@ public interface ScheduleOrBuilder
      * [TransferOperation][google.storagetransfer.v1.TransferOperation] takes place on June 3 at midnight UTC.
      * 
* - * .google.type.Date schedule_start_date = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.type.Date schedule_start_date = 1 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the scheduleStartDate field is set. */ boolean hasScheduleStartDate(); /** - * - * *
      * Required. The start date of a transfer. Date boundaries are determined
      * relative to UTC time. If `schedule_start_date` and [start_time_of_day][google.storagetransfer.v1.Schedule.start_time_of_day]
@@ -24840,15 +25276,11 @@ public interface ScheduleOrBuilder
      * [TransferOperation][google.storagetransfer.v1.TransferOperation] takes place on June 3 at midnight UTC.
      * 
* - * .google.type.Date schedule_start_date = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.type.Date schedule_start_date = 1 [(.google.api.field_behavior) = REQUIRED]; * @return The scheduleStartDate. */ com.google.type.Date getScheduleStartDate(); /** - * - * *
      * Required. The start date of a transfer. Date boundaries are determined
      * relative to UTC time. If `schedule_start_date` and [start_time_of_day][google.storagetransfer.v1.Schedule.start_time_of_day]
@@ -24863,14 +25295,11 @@ public interface ScheduleOrBuilder
      * [TransferOperation][google.storagetransfer.v1.TransferOperation] takes place on June 3 at midnight UTC.
      * 
* - * .google.type.Date schedule_start_date = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.type.Date schedule_start_date = 1 [(.google.api.field_behavior) = REQUIRED]; */ com.google.type.DateOrBuilder getScheduleStartDateOrBuilder(); /** - * - * *
      * The last day a transfer runs. Date boundaries are determined relative to
      * UTC time. A job runs once per 24 hours within the following guidelines:
@@ -24882,13 +25311,10 @@ public interface ScheduleOrBuilder
      * 
* * .google.type.Date schedule_end_date = 2; - * * @return Whether the scheduleEndDate field is set. */ boolean hasScheduleEndDate(); /** - * - * *
      * The last day a transfer runs. Date boundaries are determined relative to
      * UTC time. A job runs once per 24 hours within the following guidelines:
@@ -24900,13 +25326,10 @@ public interface ScheduleOrBuilder
      * 
* * .google.type.Date schedule_end_date = 2; - * * @return The scheduleEndDate. */ com.google.type.Date getScheduleEndDate(); /** - * - * *
      * The last day a transfer runs. Date boundaries are determined relative to
      * UTC time. A job runs once per 24 hours within the following guidelines:
@@ -24922,8 +25345,6 @@ public interface ScheduleOrBuilder
     com.google.type.DateOrBuilder getScheduleEndDateOrBuilder();
 
     /**
-     *
-     *
      * 
      * The time in UTC that a transfer job is scheduled to run. Transfers may
      * start later than this time.
@@ -24938,13 +25359,10 @@ public interface ScheduleOrBuilder
      * 
* * .google.type.TimeOfDay start_time_of_day = 3; - * * @return Whether the startTimeOfDay field is set. */ boolean hasStartTimeOfDay(); /** - * - * *
      * The time in UTC that a transfer job is scheduled to run. Transfers may
      * start later than this time.
@@ -24959,13 +25377,10 @@ public interface ScheduleOrBuilder
      * 
* * .google.type.TimeOfDay start_time_of_day = 3; - * * @return The startTimeOfDay. */ com.google.type.TimeOfDay getStartTimeOfDay(); /** - * - * *
      * The time in UTC that a transfer job is scheduled to run. Transfers may
      * start later than this time.
@@ -24984,8 +25399,6 @@ public interface ScheduleOrBuilder
     com.google.type.TimeOfDayOrBuilder getStartTimeOfDayOrBuilder();
 
     /**
-     *
-     *
      * 
      * The time in UTC that no further transfer operations are scheduled. Combined
      * with [schedule_end_date][google.storagetransfer.v1.Schedule.schedule_end_date], `end_time_of_day` specifies the end date and
@@ -25000,13 +25413,10 @@ public interface ScheduleOrBuilder
      * 
* * .google.type.TimeOfDay end_time_of_day = 4; - * * @return Whether the endTimeOfDay field is set. */ boolean hasEndTimeOfDay(); /** - * - * *
      * The time in UTC that no further transfer operations are scheduled. Combined
      * with [schedule_end_date][google.storagetransfer.v1.Schedule.schedule_end_date], `end_time_of_day` specifies the end date and
@@ -25021,13 +25431,10 @@ public interface ScheduleOrBuilder
      * 
* * .google.type.TimeOfDay end_time_of_day = 4; - * * @return The endTimeOfDay. */ com.google.type.TimeOfDay getEndTimeOfDay(); /** - * - * *
      * The time in UTC that no further transfer operations are scheduled. Combined
      * with [schedule_end_date][google.storagetransfer.v1.Schedule.schedule_end_date], `end_time_of_day` specifies the end date and
@@ -25046,8 +25453,6 @@ public interface ScheduleOrBuilder
     com.google.type.TimeOfDayOrBuilder getEndTimeOfDayOrBuilder();
 
     /**
-     *
-     *
      * 
      * Interval between the start of each scheduled TransferOperation. If
      * unspecified, the default value is 24 hours. This value may not be less than
@@ -25055,13 +25460,10 @@ public interface ScheduleOrBuilder
      * 
* * .google.protobuf.Duration repeat_interval = 5; - * * @return Whether the repeatInterval field is set. */ boolean hasRepeatInterval(); /** - * - * *
      * Interval between the start of each scheduled TransferOperation. If
      * unspecified, the default value is 24 hours. This value may not be less than
@@ -25069,13 +25471,10 @@ public interface ScheduleOrBuilder
      * 
* * .google.protobuf.Duration repeat_interval = 5; - * * @return The repeatInterval. */ com.google.protobuf.Duration getRepeatInterval(); /** - * - * *
      * Interval between the start of each scheduled TransferOperation. If
      * unspecified, the default value is 24 hours. This value may not be less than
@@ -25087,37 +25486,36 @@ public interface ScheduleOrBuilder
     com.google.protobuf.DurationOrBuilder getRepeatIntervalOrBuilder();
   }
   /**
-   *
-   *
    * 
    * Transfers can be scheduled to recur or to run just once.
    * 
* * Protobuf type {@code google.storagetransfer.v1.Schedule} */ - public static final class Schedule extends com.google.protobuf.GeneratedMessageV3 - implements + public static final class Schedule extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.storagetransfer.v1.Schedule) ScheduleOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use Schedule.newBuilder() to construct. private Schedule(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - - private Schedule() {} + private Schedule() { + } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new Schedule(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private Schedule( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -25136,88 +25534,78 @@ private Schedule( case 0: done = true; break; - case 10: - { - com.google.type.Date.Builder subBuilder = null; - if (scheduleStartDate_ != null) { - subBuilder = scheduleStartDate_.toBuilder(); - } - scheduleStartDate_ = - input.readMessage(com.google.type.Date.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(scheduleStartDate_); - scheduleStartDate_ = subBuilder.buildPartial(); - } - - break; + case 10: { + com.google.type.Date.Builder subBuilder = null; + if (scheduleStartDate_ != null) { + subBuilder = scheduleStartDate_.toBuilder(); + } + scheduleStartDate_ = input.readMessage(com.google.type.Date.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(scheduleStartDate_); + scheduleStartDate_ = subBuilder.buildPartial(); } - case 18: - { - com.google.type.Date.Builder subBuilder = null; - if (scheduleEndDate_ != null) { - subBuilder = scheduleEndDate_.toBuilder(); - } - scheduleEndDate_ = - input.readMessage(com.google.type.Date.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(scheduleEndDate_); - scheduleEndDate_ = subBuilder.buildPartial(); - } - break; + break; + } + case 18: { + com.google.type.Date.Builder subBuilder = null; + if (scheduleEndDate_ != null) { + subBuilder = scheduleEndDate_.toBuilder(); + } + scheduleEndDate_ = input.readMessage(com.google.type.Date.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(scheduleEndDate_); + scheduleEndDate_ = subBuilder.buildPartial(); } - case 26: - { - com.google.type.TimeOfDay.Builder subBuilder = null; - if (startTimeOfDay_ != null) { - subBuilder = startTimeOfDay_.toBuilder(); - } - startTimeOfDay_ = - input.readMessage(com.google.type.TimeOfDay.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(startTimeOfDay_); - startTimeOfDay_ = subBuilder.buildPartial(); - } - break; + break; + } + case 26: { + com.google.type.TimeOfDay.Builder subBuilder = null; + if (startTimeOfDay_ != null) { + subBuilder = startTimeOfDay_.toBuilder(); + } + startTimeOfDay_ = input.readMessage(com.google.type.TimeOfDay.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(startTimeOfDay_); + startTimeOfDay_ = subBuilder.buildPartial(); } - case 34: - { - com.google.type.TimeOfDay.Builder subBuilder = null; - if (endTimeOfDay_ != null) { - subBuilder = endTimeOfDay_.toBuilder(); - } - endTimeOfDay_ = - input.readMessage(com.google.type.TimeOfDay.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(endTimeOfDay_); - endTimeOfDay_ = subBuilder.buildPartial(); - } - break; + break; + } + case 34: { + com.google.type.TimeOfDay.Builder subBuilder = null; + if (endTimeOfDay_ != null) { + subBuilder = endTimeOfDay_.toBuilder(); + } + endTimeOfDay_ = input.readMessage(com.google.type.TimeOfDay.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(endTimeOfDay_); + endTimeOfDay_ = subBuilder.buildPartial(); } - case 42: - { - com.google.protobuf.Duration.Builder subBuilder = null; - if (repeatInterval_ != null) { - subBuilder = repeatInterval_.toBuilder(); - } - repeatInterval_ = - input.readMessage(com.google.protobuf.Duration.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(repeatInterval_); - repeatInterval_ = subBuilder.buildPartial(); - } - break; + break; + } + case 42: { + com.google.protobuf.Duration.Builder subBuilder = null; + if (repeatInterval_ != null) { + subBuilder = repeatInterval_.toBuilder(); } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + repeatInterval_ = input.readMessage(com.google.protobuf.Duration.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(repeatInterval_); + repeatInterval_ = subBuilder.buildPartial(); + } + + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -25225,33 +25613,29 @@ private Schedule( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.storagetransfer.v1.proto.TransferTypes - .internal_static_google_storagetransfer_v1_Schedule_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.storagetransfer.v1.proto.TransferTypes.internal_static_google_storagetransfer_v1_Schedule_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.storagetransfer.v1.proto.TransferTypes - .internal_static_google_storagetransfer_v1_Schedule_fieldAccessorTable + return com.google.storagetransfer.v1.proto.TransferTypes.internal_static_google_storagetransfer_v1_Schedule_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.storagetransfer.v1.proto.TransferTypes.Schedule.class, - com.google.storagetransfer.v1.proto.TransferTypes.Schedule.Builder.class); + com.google.storagetransfer.v1.proto.TransferTypes.Schedule.class, com.google.storagetransfer.v1.proto.TransferTypes.Schedule.Builder.class); } public static final int SCHEDULE_START_DATE_FIELD_NUMBER = 1; private com.google.type.Date scheduleStartDate_; /** - * - * *
      * Required. The start date of a transfer. Date boundaries are determined
      * relative to UTC time. If `schedule_start_date` and [start_time_of_day][google.storagetransfer.v1.Schedule.start_time_of_day]
@@ -25266,9 +25650,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
      * [TransferOperation][google.storagetransfer.v1.TransferOperation] takes place on June 3 at midnight UTC.
      * 
* - * .google.type.Date schedule_start_date = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.type.Date schedule_start_date = 1 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the scheduleStartDate field is set. */ @java.lang.Override @@ -25276,8 +25658,6 @@ public boolean hasScheduleStartDate() { return scheduleStartDate_ != null; } /** - * - * *
      * Required. The start date of a transfer. Date boundaries are determined
      * relative to UTC time. If `schedule_start_date` and [start_time_of_day][google.storagetransfer.v1.Schedule.start_time_of_day]
@@ -25292,20 +25672,14 @@ public boolean hasScheduleStartDate() {
      * [TransferOperation][google.storagetransfer.v1.TransferOperation] takes place on June 3 at midnight UTC.
      * 
* - * .google.type.Date schedule_start_date = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.type.Date schedule_start_date = 1 [(.google.api.field_behavior) = REQUIRED]; * @return The scheduleStartDate. */ @java.lang.Override public com.google.type.Date getScheduleStartDate() { - return scheduleStartDate_ == null - ? com.google.type.Date.getDefaultInstance() - : scheduleStartDate_; + return scheduleStartDate_ == null ? com.google.type.Date.getDefaultInstance() : scheduleStartDate_; } /** - * - * *
      * Required. The start date of a transfer. Date boundaries are determined
      * relative to UTC time. If `schedule_start_date` and [start_time_of_day][google.storagetransfer.v1.Schedule.start_time_of_day]
@@ -25320,8 +25694,7 @@ public com.google.type.Date getScheduleStartDate() {
      * [TransferOperation][google.storagetransfer.v1.TransferOperation] takes place on June 3 at midnight UTC.
      * 
* - * .google.type.Date schedule_start_date = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.type.Date schedule_start_date = 1 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override public com.google.type.DateOrBuilder getScheduleStartDateOrBuilder() { @@ -25331,8 +25704,6 @@ public com.google.type.DateOrBuilder getScheduleStartDateOrBuilder() { public static final int SCHEDULE_END_DATE_FIELD_NUMBER = 2; private com.google.type.Date scheduleEndDate_; /** - * - * *
      * The last day a transfer runs. Date boundaries are determined relative to
      * UTC time. A job runs once per 24 hours within the following guidelines:
@@ -25344,7 +25715,6 @@ public com.google.type.DateOrBuilder getScheduleStartDateOrBuilder() {
      * 
* * .google.type.Date schedule_end_date = 2; - * * @return Whether the scheduleEndDate field is set. */ @java.lang.Override @@ -25352,8 +25722,6 @@ public boolean hasScheduleEndDate() { return scheduleEndDate_ != null; } /** - * - * *
      * The last day a transfer runs. Date boundaries are determined relative to
      * UTC time. A job runs once per 24 hours within the following guidelines:
@@ -25365,18 +25733,13 @@ public boolean hasScheduleEndDate() {
      * 
* * .google.type.Date schedule_end_date = 2; - * * @return The scheduleEndDate. */ @java.lang.Override public com.google.type.Date getScheduleEndDate() { - return scheduleEndDate_ == null - ? com.google.type.Date.getDefaultInstance() - : scheduleEndDate_; + return scheduleEndDate_ == null ? com.google.type.Date.getDefaultInstance() : scheduleEndDate_; } /** - * - * *
      * The last day a transfer runs. Date boundaries are determined relative to
      * UTC time. A job runs once per 24 hours within the following guidelines:
@@ -25397,8 +25760,6 @@ public com.google.type.DateOrBuilder getScheduleEndDateOrBuilder() {
     public static final int START_TIME_OF_DAY_FIELD_NUMBER = 3;
     private com.google.type.TimeOfDay startTimeOfDay_;
     /**
-     *
-     *
      * 
      * The time in UTC that a transfer job is scheduled to run. Transfers may
      * start later than this time.
@@ -25413,7 +25774,6 @@ public com.google.type.DateOrBuilder getScheduleEndDateOrBuilder() {
      * 
* * .google.type.TimeOfDay start_time_of_day = 3; - * * @return Whether the startTimeOfDay field is set. */ @java.lang.Override @@ -25421,8 +25781,6 @@ public boolean hasStartTimeOfDay() { return startTimeOfDay_ != null; } /** - * - * *
      * The time in UTC that a transfer job is scheduled to run. Transfers may
      * start later than this time.
@@ -25437,18 +25795,13 @@ public boolean hasStartTimeOfDay() {
      * 
* * .google.type.TimeOfDay start_time_of_day = 3; - * * @return The startTimeOfDay. */ @java.lang.Override public com.google.type.TimeOfDay getStartTimeOfDay() { - return startTimeOfDay_ == null - ? com.google.type.TimeOfDay.getDefaultInstance() - : startTimeOfDay_; + return startTimeOfDay_ == null ? com.google.type.TimeOfDay.getDefaultInstance() : startTimeOfDay_; } /** - * - * *
      * The time in UTC that a transfer job is scheduled to run. Transfers may
      * start later than this time.
@@ -25472,8 +25825,6 @@ public com.google.type.TimeOfDayOrBuilder getStartTimeOfDayOrBuilder() {
     public static final int END_TIME_OF_DAY_FIELD_NUMBER = 4;
     private com.google.type.TimeOfDay endTimeOfDay_;
     /**
-     *
-     *
      * 
      * The time in UTC that no further transfer operations are scheduled. Combined
      * with [schedule_end_date][google.storagetransfer.v1.Schedule.schedule_end_date], `end_time_of_day` specifies the end date and
@@ -25488,7 +25839,6 @@ public com.google.type.TimeOfDayOrBuilder getStartTimeOfDayOrBuilder() {
      * 
* * .google.type.TimeOfDay end_time_of_day = 4; - * * @return Whether the endTimeOfDay field is set. */ @java.lang.Override @@ -25496,8 +25846,6 @@ public boolean hasEndTimeOfDay() { return endTimeOfDay_ != null; } /** - * - * *
      * The time in UTC that no further transfer operations are scheduled. Combined
      * with [schedule_end_date][google.storagetransfer.v1.Schedule.schedule_end_date], `end_time_of_day` specifies the end date and
@@ -25512,7 +25860,6 @@ public boolean hasEndTimeOfDay() {
      * 
* * .google.type.TimeOfDay end_time_of_day = 4; - * * @return The endTimeOfDay. */ @java.lang.Override @@ -25520,8 +25867,6 @@ public com.google.type.TimeOfDay getEndTimeOfDay() { return endTimeOfDay_ == null ? com.google.type.TimeOfDay.getDefaultInstance() : endTimeOfDay_; } /** - * - * *
      * The time in UTC that no further transfer operations are scheduled. Combined
      * with [schedule_end_date][google.storagetransfer.v1.Schedule.schedule_end_date], `end_time_of_day` specifies the end date and
@@ -25545,8 +25890,6 @@ public com.google.type.TimeOfDayOrBuilder getEndTimeOfDayOrBuilder() {
     public static final int REPEAT_INTERVAL_FIELD_NUMBER = 5;
     private com.google.protobuf.Duration repeatInterval_;
     /**
-     *
-     *
      * 
      * Interval between the start of each scheduled TransferOperation. If
      * unspecified, the default value is 24 hours. This value may not be less than
@@ -25554,7 +25897,6 @@ public com.google.type.TimeOfDayOrBuilder getEndTimeOfDayOrBuilder() {
      * 
* * .google.protobuf.Duration repeat_interval = 5; - * * @return Whether the repeatInterval field is set. */ @java.lang.Override @@ -25562,8 +25904,6 @@ public boolean hasRepeatInterval() { return repeatInterval_ != null; } /** - * - * *
      * Interval between the start of each scheduled TransferOperation. If
      * unspecified, the default value is 24 hours. This value may not be less than
@@ -25571,18 +25911,13 @@ public boolean hasRepeatInterval() {
      * 
* * .google.protobuf.Duration repeat_interval = 5; - * * @return The repeatInterval. */ @java.lang.Override public com.google.protobuf.Duration getRepeatInterval() { - return repeatInterval_ == null - ? com.google.protobuf.Duration.getDefaultInstance() - : repeatInterval_; + return repeatInterval_ == null ? com.google.protobuf.Duration.getDefaultInstance() : repeatInterval_; } /** - * - * *
      * Interval between the start of each scheduled TransferOperation. If
      * unspecified, the default value is 24 hours. This value may not be less than
@@ -25597,7 +25932,6 @@ public com.google.protobuf.DurationOrBuilder getRepeatIntervalOrBuilder() {
     }
 
     private byte memoizedIsInitialized = -1;
-
     @java.lang.Override
     public final boolean isInitialized() {
       byte isInitialized = memoizedIsInitialized;
@@ -25609,7 +25943,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 (scheduleStartDate_ != null) {
         output.writeMessage(1, getScheduleStartDate());
       }
@@ -25635,19 +25970,24 @@ public int getSerializedSize() {
 
       size = 0;
       if (scheduleStartDate_ != null) {
-        size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getScheduleStartDate());
+        size += com.google.protobuf.CodedOutputStream
+          .computeMessageSize(1, getScheduleStartDate());
       }
       if (scheduleEndDate_ != null) {
-        size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getScheduleEndDate());
+        size += com.google.protobuf.CodedOutputStream
+          .computeMessageSize(2, getScheduleEndDate());
       }
       if (startTimeOfDay_ != null) {
-        size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getStartTimeOfDay());
+        size += com.google.protobuf.CodedOutputStream
+          .computeMessageSize(3, getStartTimeOfDay());
       }
       if (endTimeOfDay_ != null) {
-        size += com.google.protobuf.CodedOutputStream.computeMessageSize(4, getEndTimeOfDay());
+        size += com.google.protobuf.CodedOutputStream
+          .computeMessageSize(4, getEndTimeOfDay());
       }
       if (repeatInterval_ != null) {
-        size += com.google.protobuf.CodedOutputStream.computeMessageSize(5, getRepeatInterval());
+        size += com.google.protobuf.CodedOutputStream
+          .computeMessageSize(5, getRepeatInterval());
       }
       size += unknownFields.getSerializedSize();
       memoizedSize = size;
@@ -25657,33 +25997,37 @@ 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.storagetransfer.v1.proto.TransferTypes.Schedule)) {
         return super.equals(obj);
       }
-      com.google.storagetransfer.v1.proto.TransferTypes.Schedule other =
-          (com.google.storagetransfer.v1.proto.TransferTypes.Schedule) obj;
+      com.google.storagetransfer.v1.proto.TransferTypes.Schedule other = (com.google.storagetransfer.v1.proto.TransferTypes.Schedule) obj;
 
       if (hasScheduleStartDate() != other.hasScheduleStartDate()) return false;
       if (hasScheduleStartDate()) {
-        if (!getScheduleStartDate().equals(other.getScheduleStartDate())) return false;
+        if (!getScheduleStartDate()
+            .equals(other.getScheduleStartDate())) return false;
       }
       if (hasScheduleEndDate() != other.hasScheduleEndDate()) return false;
       if (hasScheduleEndDate()) {
-        if (!getScheduleEndDate().equals(other.getScheduleEndDate())) return false;
+        if (!getScheduleEndDate()
+            .equals(other.getScheduleEndDate())) return false;
       }
       if (hasStartTimeOfDay() != other.hasStartTimeOfDay()) return false;
       if (hasStartTimeOfDay()) {
-        if (!getStartTimeOfDay().equals(other.getStartTimeOfDay())) return false;
+        if (!getStartTimeOfDay()
+            .equals(other.getStartTimeOfDay())) return false;
       }
       if (hasEndTimeOfDay() != other.hasEndTimeOfDay()) return false;
       if (hasEndTimeOfDay()) {
-        if (!getEndTimeOfDay().equals(other.getEndTimeOfDay())) return false;
+        if (!getEndTimeOfDay()
+            .equals(other.getEndTimeOfDay())) return false;
       }
       if (hasRepeatInterval() != other.hasRepeatInterval()) return false;
       if (hasRepeatInterval()) {
-        if (!getRepeatInterval().equals(other.getRepeatInterval())) return false;
+        if (!getRepeatInterval()
+            .equals(other.getRepeatInterval())) return false;
       }
       if (!unknownFields.equals(other.unknownFields)) return false;
       return true;
@@ -25722,94 +26066,87 @@ public int hashCode() {
     }
 
     public static com.google.storagetransfer.v1.proto.TransferTypes.Schedule parseFrom(
-        java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException {
+        java.nio.ByteBuffer data)
+        throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data);
     }
-
     public static com.google.storagetransfer.v1.proto.TransferTypes.Schedule 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.storagetransfer.v1.proto.TransferTypes.Schedule parseFrom(
         com.google.protobuf.ByteString data)
         throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data);
     }
-
     public static com.google.storagetransfer.v1.proto.TransferTypes.Schedule 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.storagetransfer.v1.proto.TransferTypes.Schedule parseFrom(byte[] data)
         throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data);
     }
-
     public static com.google.storagetransfer.v1.proto.TransferTypes.Schedule 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.storagetransfer.v1.proto.TransferTypes.Schedule parseFrom(
-        java.io.InputStream input) throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+    public static com.google.storagetransfer.v1.proto.TransferTypes.Schedule parseFrom(java.io.InputStream input)
+        throws java.io.IOException {
+      return com.google.protobuf.GeneratedMessageV3
+          .parseWithIOException(PARSER, input);
     }
-
     public static com.google.storagetransfer.v1.proto.TransferTypes.Schedule 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.storagetransfer.v1.proto.TransferTypes.Schedule parseDelimitedFrom(
-        java.io.InputStream input) throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
+    public static com.google.storagetransfer.v1.proto.TransferTypes.Schedule parseDelimitedFrom(java.io.InputStream input)
+        throws java.io.IOException {
+      return com.google.protobuf.GeneratedMessageV3
+          .parseDelimitedWithIOException(PARSER, input);
     }
-
     public static com.google.storagetransfer.v1.proto.TransferTypes.Schedule 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.storagetransfer.v1.proto.TransferTypes.Schedule 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.storagetransfer.v1.proto.TransferTypes.Schedule 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.storagetransfer.v1.proto.TransferTypes.Schedule prototype) {
+    public static Builder newBuilder(com.google.storagetransfer.v1.proto.TransferTypes.Schedule 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
@@ -25819,32 +26156,27 @@ protected Builder newBuilderForType(
       return builder;
     }
     /**
-     *
-     *
      * 
      * Transfers can be scheduled to recur or to run just once.
      * 
* * Protobuf type {@code google.storagetransfer.v1.Schedule} */ - public static final class Builder - extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.storagetransfer.v1.Schedule) com.google.storagetransfer.v1.proto.TransferTypes.ScheduleOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.storagetransfer.v1.proto.TransferTypes - .internal_static_google_storagetransfer_v1_Schedule_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.storagetransfer.v1.proto.TransferTypes.internal_static_google_storagetransfer_v1_Schedule_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.storagetransfer.v1.proto.TransferTypes - .internal_static_google_storagetransfer_v1_Schedule_fieldAccessorTable + return com.google.storagetransfer.v1.proto.TransferTypes.internal_static_google_storagetransfer_v1_Schedule_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.storagetransfer.v1.proto.TransferTypes.Schedule.class, - com.google.storagetransfer.v1.proto.TransferTypes.Schedule.Builder.class); + com.google.storagetransfer.v1.proto.TransferTypes.Schedule.class, com.google.storagetransfer.v1.proto.TransferTypes.Schedule.Builder.class); } // Construct using com.google.storagetransfer.v1.proto.TransferTypes.Schedule.newBuilder() @@ -25852,15 +26184,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -25898,14 +26231,13 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.storagetransfer.v1.proto.TransferTypes - .internal_static_google_storagetransfer_v1_Schedule_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.storagetransfer.v1.proto.TransferTypes.internal_static_google_storagetransfer_v1_Schedule_descriptor; } @java.lang.Override - public com.google.storagetransfer.v1.proto.TransferTypes.Schedule - getDefaultInstanceForType() { + public com.google.storagetransfer.v1.proto.TransferTypes.Schedule getDefaultInstanceForType() { return com.google.storagetransfer.v1.proto.TransferTypes.Schedule.getDefaultInstance(); } @@ -25920,8 +26252,7 @@ public com.google.storagetransfer.v1.proto.TransferTypes.Schedule build() { @java.lang.Override public com.google.storagetransfer.v1.proto.TransferTypes.Schedule buildPartial() { - com.google.storagetransfer.v1.proto.TransferTypes.Schedule result = - new com.google.storagetransfer.v1.proto.TransferTypes.Schedule(this); + com.google.storagetransfer.v1.proto.TransferTypes.Schedule result = new com.google.storagetransfer.v1.proto.TransferTypes.Schedule(this); if (scheduleStartDateBuilder_ == null) { result.scheduleStartDate_ = scheduleStartDate_; } else { @@ -25955,41 +26286,38 @@ public com.google.storagetransfer.v1.proto.TransferTypes.Schedule buildPartial() public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, - int index, - java.lang.Object value) { + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.storagetransfer.v1.proto.TransferTypes.Schedule) { - return mergeFrom((com.google.storagetransfer.v1.proto.TransferTypes.Schedule) other); + return mergeFrom((com.google.storagetransfer.v1.proto.TransferTypes.Schedule)other); } else { super.mergeFrom(other); return this; @@ -25997,9 +26325,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.storagetransfer.v1.proto.TransferTypes.Schedule other) { - if (other - == com.google.storagetransfer.v1.proto.TransferTypes.Schedule.getDefaultInstance()) - return this; + if (other == com.google.storagetransfer.v1.proto.TransferTypes.Schedule.getDefaultInstance()) return this; if (other.hasScheduleStartDate()) { mergeScheduleStartDate(other.getScheduleStartDate()); } @@ -26034,8 +26360,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.storagetransfer.v1.proto.TransferTypes.Schedule) e.getUnfinishedMessage(); + parsedMessage = (com.google.storagetransfer.v1.proto.TransferTypes.Schedule) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -26047,11 +26372,8 @@ public Builder mergeFrom( private com.google.type.Date scheduleStartDate_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.type.Date, com.google.type.Date.Builder, com.google.type.DateOrBuilder> - scheduleStartDateBuilder_; + com.google.type.Date, com.google.type.Date.Builder, com.google.type.DateOrBuilder> scheduleStartDateBuilder_; /** - * - * *
        * Required. The start date of a transfer. Date boundaries are determined
        * relative to UTC time. If `schedule_start_date` and [start_time_of_day][google.storagetransfer.v1.Schedule.start_time_of_day]
@@ -26066,17 +26388,13 @@ public Builder mergeFrom(
        * [TransferOperation][google.storagetransfer.v1.TransferOperation] takes place on June 3 at midnight UTC.
        * 
* - * .google.type.Date schedule_start_date = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.type.Date schedule_start_date = 1 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the scheduleStartDate field is set. */ public boolean hasScheduleStartDate() { return scheduleStartDateBuilder_ != null || scheduleStartDate_ != null; } /** - * - * *
        * Required. The start date of a transfer. Date boundaries are determined
        * relative to UTC time. If `schedule_start_date` and [start_time_of_day][google.storagetransfer.v1.Schedule.start_time_of_day]
@@ -26091,23 +26409,17 @@ public boolean hasScheduleStartDate() {
        * [TransferOperation][google.storagetransfer.v1.TransferOperation] takes place on June 3 at midnight UTC.
        * 
* - * .google.type.Date schedule_start_date = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.type.Date schedule_start_date = 1 [(.google.api.field_behavior) = REQUIRED]; * @return The scheduleStartDate. */ public com.google.type.Date getScheduleStartDate() { if (scheduleStartDateBuilder_ == null) { - return scheduleStartDate_ == null - ? com.google.type.Date.getDefaultInstance() - : scheduleStartDate_; + return scheduleStartDate_ == null ? com.google.type.Date.getDefaultInstance() : scheduleStartDate_; } else { return scheduleStartDateBuilder_.getMessage(); } } /** - * - * *
        * Required. The start date of a transfer. Date boundaries are determined
        * relative to UTC time. If `schedule_start_date` and [start_time_of_day][google.storagetransfer.v1.Schedule.start_time_of_day]
@@ -26122,8 +26434,7 @@ public com.google.type.Date getScheduleStartDate() {
        * [TransferOperation][google.storagetransfer.v1.TransferOperation] takes place on June 3 at midnight UTC.
        * 
* - * .google.type.Date schedule_start_date = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.type.Date schedule_start_date = 1 [(.google.api.field_behavior) = REQUIRED]; */ public Builder setScheduleStartDate(com.google.type.Date value) { if (scheduleStartDateBuilder_ == null) { @@ -26139,8 +26450,6 @@ public Builder setScheduleStartDate(com.google.type.Date value) { return this; } /** - * - * *
        * Required. The start date of a transfer. Date boundaries are determined
        * relative to UTC time. If `schedule_start_date` and [start_time_of_day][google.storagetransfer.v1.Schedule.start_time_of_day]
@@ -26155,10 +26464,10 @@ public Builder setScheduleStartDate(com.google.type.Date value) {
        * [TransferOperation][google.storagetransfer.v1.TransferOperation] takes place on June 3 at midnight UTC.
        * 
* - * .google.type.Date schedule_start_date = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.type.Date schedule_start_date = 1 [(.google.api.field_behavior) = REQUIRED]; */ - public Builder setScheduleStartDate(com.google.type.Date.Builder builderForValue) { + public Builder setScheduleStartDate( + com.google.type.Date.Builder builderForValue) { if (scheduleStartDateBuilder_ == null) { scheduleStartDate_ = builderForValue.build(); onChanged(); @@ -26169,8 +26478,6 @@ public Builder setScheduleStartDate(com.google.type.Date.Builder builderForValue return this; } /** - * - * *
        * Required. The start date of a transfer. Date boundaries are determined
        * relative to UTC time. If `schedule_start_date` and [start_time_of_day][google.storagetransfer.v1.Schedule.start_time_of_day]
@@ -26185,14 +26492,13 @@ public Builder setScheduleStartDate(com.google.type.Date.Builder builderForValue
        * [TransferOperation][google.storagetransfer.v1.TransferOperation] takes place on June 3 at midnight UTC.
        * 
* - * .google.type.Date schedule_start_date = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.type.Date schedule_start_date = 1 [(.google.api.field_behavior) = REQUIRED]; */ public Builder mergeScheduleStartDate(com.google.type.Date value) { if (scheduleStartDateBuilder_ == null) { if (scheduleStartDate_ != null) { scheduleStartDate_ = - com.google.type.Date.newBuilder(scheduleStartDate_).mergeFrom(value).buildPartial(); + com.google.type.Date.newBuilder(scheduleStartDate_).mergeFrom(value).buildPartial(); } else { scheduleStartDate_ = value; } @@ -26204,8 +26510,6 @@ public Builder mergeScheduleStartDate(com.google.type.Date value) { return this; } /** - * - * *
        * Required. The start date of a transfer. Date boundaries are determined
        * relative to UTC time. If `schedule_start_date` and [start_time_of_day][google.storagetransfer.v1.Schedule.start_time_of_day]
@@ -26220,8 +26524,7 @@ public Builder mergeScheduleStartDate(com.google.type.Date value) {
        * [TransferOperation][google.storagetransfer.v1.TransferOperation] takes place on June 3 at midnight UTC.
        * 
* - * .google.type.Date schedule_start_date = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.type.Date schedule_start_date = 1 [(.google.api.field_behavior) = REQUIRED]; */ public Builder clearScheduleStartDate() { if (scheduleStartDateBuilder_ == null) { @@ -26235,8 +26538,6 @@ public Builder clearScheduleStartDate() { return this; } /** - * - * *
        * Required. The start date of a transfer. Date boundaries are determined
        * relative to UTC time. If `schedule_start_date` and [start_time_of_day][google.storagetransfer.v1.Schedule.start_time_of_day]
@@ -26251,17 +26552,14 @@ public Builder clearScheduleStartDate() {
        * [TransferOperation][google.storagetransfer.v1.TransferOperation] takes place on June 3 at midnight UTC.
        * 
* - * .google.type.Date schedule_start_date = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.type.Date schedule_start_date = 1 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.type.Date.Builder getScheduleStartDateBuilder() { - + onChanged(); return getScheduleStartDateFieldBuilder().getBuilder(); } /** - * - * *
        * Required. The start date of a transfer. Date boundaries are determined
        * relative to UTC time. If `schedule_start_date` and [start_time_of_day][google.storagetransfer.v1.Schedule.start_time_of_day]
@@ -26276,21 +26574,17 @@ public com.google.type.Date.Builder getScheduleStartDateBuilder() {
        * [TransferOperation][google.storagetransfer.v1.TransferOperation] takes place on June 3 at midnight UTC.
        * 
* - * .google.type.Date schedule_start_date = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.type.Date schedule_start_date = 1 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.type.DateOrBuilder getScheduleStartDateOrBuilder() { if (scheduleStartDateBuilder_ != null) { return scheduleStartDateBuilder_.getMessageOrBuilder(); } else { - return scheduleStartDate_ == null - ? com.google.type.Date.getDefaultInstance() - : scheduleStartDate_; + return scheduleStartDate_ == null ? + com.google.type.Date.getDefaultInstance() : scheduleStartDate_; } } /** - * - * *
        * Required. The start date of a transfer. Date boundaries are determined
        * relative to UTC time. If `schedule_start_date` and [start_time_of_day][google.storagetransfer.v1.Schedule.start_time_of_day]
@@ -26305,19 +26599,17 @@ public com.google.type.DateOrBuilder getScheduleStartDateOrBuilder() {
        * [TransferOperation][google.storagetransfer.v1.TransferOperation] takes place on June 3 at midnight UTC.
        * 
* - * .google.type.Date schedule_start_date = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.type.Date schedule_start_date = 1 [(.google.api.field_behavior) = REQUIRED]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.type.Date, com.google.type.Date.Builder, com.google.type.DateOrBuilder> + com.google.type.Date, com.google.type.Date.Builder, com.google.type.DateOrBuilder> getScheduleStartDateFieldBuilder() { if (scheduleStartDateBuilder_ == null) { - scheduleStartDateBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.type.Date, - com.google.type.Date.Builder, - com.google.type.DateOrBuilder>( - getScheduleStartDate(), getParentForChildren(), isClean()); + scheduleStartDateBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.type.Date, com.google.type.Date.Builder, com.google.type.DateOrBuilder>( + getScheduleStartDate(), + getParentForChildren(), + isClean()); scheduleStartDate_ = null; } return scheduleStartDateBuilder_; @@ -26325,11 +26617,8 @@ public com.google.type.DateOrBuilder getScheduleStartDateOrBuilder() { private com.google.type.Date scheduleEndDate_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.type.Date, com.google.type.Date.Builder, com.google.type.DateOrBuilder> - scheduleEndDateBuilder_; + com.google.type.Date, com.google.type.Date.Builder, com.google.type.DateOrBuilder> scheduleEndDateBuilder_; /** - * - * *
        * The last day a transfer runs. Date boundaries are determined relative to
        * UTC time. A job runs once per 24 hours within the following guidelines:
@@ -26341,15 +26630,12 @@ public com.google.type.DateOrBuilder getScheduleStartDateOrBuilder() {
        * 
* * .google.type.Date schedule_end_date = 2; - * * @return Whether the scheduleEndDate field is set. */ public boolean hasScheduleEndDate() { return scheduleEndDateBuilder_ != null || scheduleEndDate_ != null; } /** - * - * *
        * The last day a transfer runs. Date boundaries are determined relative to
        * UTC time. A job runs once per 24 hours within the following guidelines:
@@ -26361,21 +26647,16 @@ public boolean hasScheduleEndDate() {
        * 
* * .google.type.Date schedule_end_date = 2; - * * @return The scheduleEndDate. */ public com.google.type.Date getScheduleEndDate() { if (scheduleEndDateBuilder_ == null) { - return scheduleEndDate_ == null - ? com.google.type.Date.getDefaultInstance() - : scheduleEndDate_; + return scheduleEndDate_ == null ? com.google.type.Date.getDefaultInstance() : scheduleEndDate_; } else { return scheduleEndDateBuilder_.getMessage(); } } /** - * - * *
        * The last day a transfer runs. Date boundaries are determined relative to
        * UTC time. A job runs once per 24 hours within the following guidelines:
@@ -26402,8 +26683,6 @@ public Builder setScheduleEndDate(com.google.type.Date value) {
         return this;
       }
       /**
-       *
-       *
        * 
        * The last day a transfer runs. Date boundaries are determined relative to
        * UTC time. A job runs once per 24 hours within the following guidelines:
@@ -26416,7 +26695,8 @@ public Builder setScheduleEndDate(com.google.type.Date value) {
        *
        * .google.type.Date schedule_end_date = 2;
        */
-      public Builder setScheduleEndDate(com.google.type.Date.Builder builderForValue) {
+      public Builder setScheduleEndDate(
+          com.google.type.Date.Builder builderForValue) {
         if (scheduleEndDateBuilder_ == null) {
           scheduleEndDate_ = builderForValue.build();
           onChanged();
@@ -26427,8 +26707,6 @@ public Builder setScheduleEndDate(com.google.type.Date.Builder builderForValue)
         return this;
       }
       /**
-       *
-       *
        * 
        * The last day a transfer runs. Date boundaries are determined relative to
        * UTC time. A job runs once per 24 hours within the following guidelines:
@@ -26445,7 +26723,7 @@ public Builder mergeScheduleEndDate(com.google.type.Date value) {
         if (scheduleEndDateBuilder_ == null) {
           if (scheduleEndDate_ != null) {
             scheduleEndDate_ =
-                com.google.type.Date.newBuilder(scheduleEndDate_).mergeFrom(value).buildPartial();
+              com.google.type.Date.newBuilder(scheduleEndDate_).mergeFrom(value).buildPartial();
           } else {
             scheduleEndDate_ = value;
           }
@@ -26457,8 +26735,6 @@ public Builder mergeScheduleEndDate(com.google.type.Date value) {
         return this;
       }
       /**
-       *
-       *
        * 
        * The last day a transfer runs. Date boundaries are determined relative to
        * UTC time. A job runs once per 24 hours within the following guidelines:
@@ -26483,8 +26759,6 @@ public Builder clearScheduleEndDate() {
         return this;
       }
       /**
-       *
-       *
        * 
        * The last day a transfer runs. Date boundaries are determined relative to
        * UTC time. A job runs once per 24 hours within the following guidelines:
@@ -26498,13 +26772,11 @@ public Builder clearScheduleEndDate() {
        * .google.type.Date schedule_end_date = 2;
        */
       public com.google.type.Date.Builder getScheduleEndDateBuilder() {
-
+        
         onChanged();
         return getScheduleEndDateFieldBuilder().getBuilder();
       }
       /**
-       *
-       *
        * 
        * The last day a transfer runs. Date boundaries are determined relative to
        * UTC time. A job runs once per 24 hours within the following guidelines:
@@ -26521,14 +26793,11 @@ public com.google.type.DateOrBuilder getScheduleEndDateOrBuilder() {
         if (scheduleEndDateBuilder_ != null) {
           return scheduleEndDateBuilder_.getMessageOrBuilder();
         } else {
-          return scheduleEndDate_ == null
-              ? com.google.type.Date.getDefaultInstance()
-              : scheduleEndDate_;
+          return scheduleEndDate_ == null ?
+              com.google.type.Date.getDefaultInstance() : scheduleEndDate_;
         }
       }
       /**
-       *
-       *
        * 
        * The last day a transfer runs. Date boundaries are determined relative to
        * UTC time. A job runs once per 24 hours within the following guidelines:
@@ -26542,15 +26811,14 @@ public com.google.type.DateOrBuilder getScheduleEndDateOrBuilder() {
        * .google.type.Date schedule_end_date = 2;
        */
       private com.google.protobuf.SingleFieldBuilderV3<
-              com.google.type.Date, com.google.type.Date.Builder, com.google.type.DateOrBuilder>
+          com.google.type.Date, com.google.type.Date.Builder, com.google.type.DateOrBuilder> 
           getScheduleEndDateFieldBuilder() {
         if (scheduleEndDateBuilder_ == null) {
-          scheduleEndDateBuilder_ =
-              new com.google.protobuf.SingleFieldBuilderV3<
-                  com.google.type.Date,
-                  com.google.type.Date.Builder,
-                  com.google.type.DateOrBuilder>(
-                  getScheduleEndDate(), getParentForChildren(), isClean());
+          scheduleEndDateBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+              com.google.type.Date, com.google.type.Date.Builder, com.google.type.DateOrBuilder>(
+                  getScheduleEndDate(),
+                  getParentForChildren(),
+                  isClean());
           scheduleEndDate_ = null;
         }
         return scheduleEndDateBuilder_;
@@ -26558,13 +26826,8 @@ public com.google.type.DateOrBuilder getScheduleEndDateOrBuilder() {
 
       private com.google.type.TimeOfDay startTimeOfDay_;
       private com.google.protobuf.SingleFieldBuilderV3<
-              com.google.type.TimeOfDay,
-              com.google.type.TimeOfDay.Builder,
-              com.google.type.TimeOfDayOrBuilder>
-          startTimeOfDayBuilder_;
+          com.google.type.TimeOfDay, com.google.type.TimeOfDay.Builder, com.google.type.TimeOfDayOrBuilder> startTimeOfDayBuilder_;
       /**
-       *
-       *
        * 
        * The time in UTC that a transfer job is scheduled to run. Transfers may
        * start later than this time.
@@ -26579,15 +26842,12 @@ public com.google.type.DateOrBuilder getScheduleEndDateOrBuilder() {
        * 
* * .google.type.TimeOfDay start_time_of_day = 3; - * * @return Whether the startTimeOfDay field is set. */ public boolean hasStartTimeOfDay() { return startTimeOfDayBuilder_ != null || startTimeOfDay_ != null; } /** - * - * *
        * The time in UTC that a transfer job is scheduled to run. Transfers may
        * start later than this time.
@@ -26602,21 +26862,16 @@ public boolean hasStartTimeOfDay() {
        * 
* * .google.type.TimeOfDay start_time_of_day = 3; - * * @return The startTimeOfDay. */ public com.google.type.TimeOfDay getStartTimeOfDay() { if (startTimeOfDayBuilder_ == null) { - return startTimeOfDay_ == null - ? com.google.type.TimeOfDay.getDefaultInstance() - : startTimeOfDay_; + return startTimeOfDay_ == null ? com.google.type.TimeOfDay.getDefaultInstance() : startTimeOfDay_; } else { return startTimeOfDayBuilder_.getMessage(); } } /** - * - * *
        * The time in UTC that a transfer job is scheduled to run. Transfers may
        * start later than this time.
@@ -26646,8 +26901,6 @@ public Builder setStartTimeOfDay(com.google.type.TimeOfDay value) {
         return this;
       }
       /**
-       *
-       *
        * 
        * The time in UTC that a transfer job is scheduled to run. Transfers may
        * start later than this time.
@@ -26663,7 +26916,8 @@ public Builder setStartTimeOfDay(com.google.type.TimeOfDay value) {
        *
        * .google.type.TimeOfDay start_time_of_day = 3;
        */
-      public Builder setStartTimeOfDay(com.google.type.TimeOfDay.Builder builderForValue) {
+      public Builder setStartTimeOfDay(
+          com.google.type.TimeOfDay.Builder builderForValue) {
         if (startTimeOfDayBuilder_ == null) {
           startTimeOfDay_ = builderForValue.build();
           onChanged();
@@ -26674,8 +26928,6 @@ public Builder setStartTimeOfDay(com.google.type.TimeOfDay.Builder builderForVal
         return this;
       }
       /**
-       *
-       *
        * 
        * The time in UTC that a transfer job is scheduled to run. Transfers may
        * start later than this time.
@@ -26695,9 +26947,7 @@ public Builder mergeStartTimeOfDay(com.google.type.TimeOfDay value) {
         if (startTimeOfDayBuilder_ == null) {
           if (startTimeOfDay_ != null) {
             startTimeOfDay_ =
-                com.google.type.TimeOfDay.newBuilder(startTimeOfDay_)
-                    .mergeFrom(value)
-                    .buildPartial();
+              com.google.type.TimeOfDay.newBuilder(startTimeOfDay_).mergeFrom(value).buildPartial();
           } else {
             startTimeOfDay_ = value;
           }
@@ -26709,8 +26959,6 @@ public Builder mergeStartTimeOfDay(com.google.type.TimeOfDay value) {
         return this;
       }
       /**
-       *
-       *
        * 
        * The time in UTC that a transfer job is scheduled to run. Transfers may
        * start later than this time.
@@ -26738,8 +26986,6 @@ public Builder clearStartTimeOfDay() {
         return this;
       }
       /**
-       *
-       *
        * 
        * The time in UTC that a transfer job is scheduled to run. Transfers may
        * start later than this time.
@@ -26756,13 +27002,11 @@ public Builder clearStartTimeOfDay() {
        * .google.type.TimeOfDay start_time_of_day = 3;
        */
       public com.google.type.TimeOfDay.Builder getStartTimeOfDayBuilder() {
-
+        
         onChanged();
         return getStartTimeOfDayFieldBuilder().getBuilder();
       }
       /**
-       *
-       *
        * 
        * The time in UTC that a transfer job is scheduled to run. Transfers may
        * start later than this time.
@@ -26782,14 +27026,11 @@ public com.google.type.TimeOfDayOrBuilder getStartTimeOfDayOrBuilder() {
         if (startTimeOfDayBuilder_ != null) {
           return startTimeOfDayBuilder_.getMessageOrBuilder();
         } else {
-          return startTimeOfDay_ == null
-              ? com.google.type.TimeOfDay.getDefaultInstance()
-              : startTimeOfDay_;
+          return startTimeOfDay_ == null ?
+              com.google.type.TimeOfDay.getDefaultInstance() : startTimeOfDay_;
         }
       }
       /**
-       *
-       *
        * 
        * The time in UTC that a transfer job is scheduled to run. Transfers may
        * start later than this time.
@@ -26806,17 +27047,14 @@ public com.google.type.TimeOfDayOrBuilder getStartTimeOfDayOrBuilder() {
        * .google.type.TimeOfDay start_time_of_day = 3;
        */
       private com.google.protobuf.SingleFieldBuilderV3<
-              com.google.type.TimeOfDay,
-              com.google.type.TimeOfDay.Builder,
-              com.google.type.TimeOfDayOrBuilder>
+          com.google.type.TimeOfDay, com.google.type.TimeOfDay.Builder, com.google.type.TimeOfDayOrBuilder> 
           getStartTimeOfDayFieldBuilder() {
         if (startTimeOfDayBuilder_ == null) {
-          startTimeOfDayBuilder_ =
-              new com.google.protobuf.SingleFieldBuilderV3<
-                  com.google.type.TimeOfDay,
-                  com.google.type.TimeOfDay.Builder,
-                  com.google.type.TimeOfDayOrBuilder>(
-                  getStartTimeOfDay(), getParentForChildren(), isClean());
+          startTimeOfDayBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+              com.google.type.TimeOfDay, com.google.type.TimeOfDay.Builder, com.google.type.TimeOfDayOrBuilder>(
+                  getStartTimeOfDay(),
+                  getParentForChildren(),
+                  isClean());
           startTimeOfDay_ = null;
         }
         return startTimeOfDayBuilder_;
@@ -26824,13 +27062,8 @@ public com.google.type.TimeOfDayOrBuilder getStartTimeOfDayOrBuilder() {
 
       private com.google.type.TimeOfDay endTimeOfDay_;
       private com.google.protobuf.SingleFieldBuilderV3<
-              com.google.type.TimeOfDay,
-              com.google.type.TimeOfDay.Builder,
-              com.google.type.TimeOfDayOrBuilder>
-          endTimeOfDayBuilder_;
+          com.google.type.TimeOfDay, com.google.type.TimeOfDay.Builder, com.google.type.TimeOfDayOrBuilder> endTimeOfDayBuilder_;
       /**
-       *
-       *
        * 
        * The time in UTC that no further transfer operations are scheduled. Combined
        * with [schedule_end_date][google.storagetransfer.v1.Schedule.schedule_end_date], `end_time_of_day` specifies the end date and
@@ -26845,15 +27078,12 @@ public com.google.type.TimeOfDayOrBuilder getStartTimeOfDayOrBuilder() {
        * 
* * .google.type.TimeOfDay end_time_of_day = 4; - * * @return Whether the endTimeOfDay field is set. */ public boolean hasEndTimeOfDay() { return endTimeOfDayBuilder_ != null || endTimeOfDay_ != null; } /** - * - * *
        * The time in UTC that no further transfer operations are scheduled. Combined
        * with [schedule_end_date][google.storagetransfer.v1.Schedule.schedule_end_date], `end_time_of_day` specifies the end date and
@@ -26868,21 +27098,16 @@ public boolean hasEndTimeOfDay() {
        * 
* * .google.type.TimeOfDay end_time_of_day = 4; - * * @return The endTimeOfDay. */ public com.google.type.TimeOfDay getEndTimeOfDay() { if (endTimeOfDayBuilder_ == null) { - return endTimeOfDay_ == null - ? com.google.type.TimeOfDay.getDefaultInstance() - : endTimeOfDay_; + return endTimeOfDay_ == null ? com.google.type.TimeOfDay.getDefaultInstance() : endTimeOfDay_; } else { return endTimeOfDayBuilder_.getMessage(); } } /** - * - * *
        * The time in UTC that no further transfer operations are scheduled. Combined
        * with [schedule_end_date][google.storagetransfer.v1.Schedule.schedule_end_date], `end_time_of_day` specifies the end date and
@@ -26912,8 +27137,6 @@ public Builder setEndTimeOfDay(com.google.type.TimeOfDay value) {
         return this;
       }
       /**
-       *
-       *
        * 
        * The time in UTC that no further transfer operations are scheduled. Combined
        * with [schedule_end_date][google.storagetransfer.v1.Schedule.schedule_end_date], `end_time_of_day` specifies the end date and
@@ -26929,7 +27152,8 @@ public Builder setEndTimeOfDay(com.google.type.TimeOfDay value) {
        *
        * .google.type.TimeOfDay end_time_of_day = 4;
        */
-      public Builder setEndTimeOfDay(com.google.type.TimeOfDay.Builder builderForValue) {
+      public Builder setEndTimeOfDay(
+          com.google.type.TimeOfDay.Builder builderForValue) {
         if (endTimeOfDayBuilder_ == null) {
           endTimeOfDay_ = builderForValue.build();
           onChanged();
@@ -26940,8 +27164,6 @@ public Builder setEndTimeOfDay(com.google.type.TimeOfDay.Builder builderForValue
         return this;
       }
       /**
-       *
-       *
        * 
        * The time in UTC that no further transfer operations are scheduled. Combined
        * with [schedule_end_date][google.storagetransfer.v1.Schedule.schedule_end_date], `end_time_of_day` specifies the end date and
@@ -26961,7 +27183,7 @@ public Builder mergeEndTimeOfDay(com.google.type.TimeOfDay value) {
         if (endTimeOfDayBuilder_ == null) {
           if (endTimeOfDay_ != null) {
             endTimeOfDay_ =
-                com.google.type.TimeOfDay.newBuilder(endTimeOfDay_).mergeFrom(value).buildPartial();
+              com.google.type.TimeOfDay.newBuilder(endTimeOfDay_).mergeFrom(value).buildPartial();
           } else {
             endTimeOfDay_ = value;
           }
@@ -26973,8 +27195,6 @@ public Builder mergeEndTimeOfDay(com.google.type.TimeOfDay value) {
         return this;
       }
       /**
-       *
-       *
        * 
        * The time in UTC that no further transfer operations are scheduled. Combined
        * with [schedule_end_date][google.storagetransfer.v1.Schedule.schedule_end_date], `end_time_of_day` specifies the end date and
@@ -27002,8 +27222,6 @@ public Builder clearEndTimeOfDay() {
         return this;
       }
       /**
-       *
-       *
        * 
        * The time in UTC that no further transfer operations are scheduled. Combined
        * with [schedule_end_date][google.storagetransfer.v1.Schedule.schedule_end_date], `end_time_of_day` specifies the end date and
@@ -27020,13 +27238,11 @@ public Builder clearEndTimeOfDay() {
        * .google.type.TimeOfDay end_time_of_day = 4;
        */
       public com.google.type.TimeOfDay.Builder getEndTimeOfDayBuilder() {
-
+        
         onChanged();
         return getEndTimeOfDayFieldBuilder().getBuilder();
       }
       /**
-       *
-       *
        * 
        * The time in UTC that no further transfer operations are scheduled. Combined
        * with [schedule_end_date][google.storagetransfer.v1.Schedule.schedule_end_date], `end_time_of_day` specifies the end date and
@@ -27046,14 +27262,11 @@ public com.google.type.TimeOfDayOrBuilder getEndTimeOfDayOrBuilder() {
         if (endTimeOfDayBuilder_ != null) {
           return endTimeOfDayBuilder_.getMessageOrBuilder();
         } else {
-          return endTimeOfDay_ == null
-              ? com.google.type.TimeOfDay.getDefaultInstance()
-              : endTimeOfDay_;
+          return endTimeOfDay_ == null ?
+              com.google.type.TimeOfDay.getDefaultInstance() : endTimeOfDay_;
         }
       }
       /**
-       *
-       *
        * 
        * The time in UTC that no further transfer operations are scheduled. Combined
        * with [schedule_end_date][google.storagetransfer.v1.Schedule.schedule_end_date], `end_time_of_day` specifies the end date and
@@ -27070,17 +27283,14 @@ public com.google.type.TimeOfDayOrBuilder getEndTimeOfDayOrBuilder() {
        * .google.type.TimeOfDay end_time_of_day = 4;
        */
       private com.google.protobuf.SingleFieldBuilderV3<
-              com.google.type.TimeOfDay,
-              com.google.type.TimeOfDay.Builder,
-              com.google.type.TimeOfDayOrBuilder>
+          com.google.type.TimeOfDay, com.google.type.TimeOfDay.Builder, com.google.type.TimeOfDayOrBuilder> 
           getEndTimeOfDayFieldBuilder() {
         if (endTimeOfDayBuilder_ == null) {
-          endTimeOfDayBuilder_ =
-              new com.google.protobuf.SingleFieldBuilderV3<
-                  com.google.type.TimeOfDay,
-                  com.google.type.TimeOfDay.Builder,
-                  com.google.type.TimeOfDayOrBuilder>(
-                  getEndTimeOfDay(), getParentForChildren(), isClean());
+          endTimeOfDayBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+              com.google.type.TimeOfDay, com.google.type.TimeOfDay.Builder, com.google.type.TimeOfDayOrBuilder>(
+                  getEndTimeOfDay(),
+                  getParentForChildren(),
+                  isClean());
           endTimeOfDay_ = null;
         }
         return endTimeOfDayBuilder_;
@@ -27088,13 +27298,8 @@ public com.google.type.TimeOfDayOrBuilder getEndTimeOfDayOrBuilder() {
 
       private com.google.protobuf.Duration repeatInterval_;
       private com.google.protobuf.SingleFieldBuilderV3<
-              com.google.protobuf.Duration,
-              com.google.protobuf.Duration.Builder,
-              com.google.protobuf.DurationOrBuilder>
-          repeatIntervalBuilder_;
+          com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder> repeatIntervalBuilder_;
       /**
-       *
-       *
        * 
        * Interval between the start of each scheduled TransferOperation. If
        * unspecified, the default value is 24 hours. This value may not be less than
@@ -27102,15 +27307,12 @@ public com.google.type.TimeOfDayOrBuilder getEndTimeOfDayOrBuilder() {
        * 
* * .google.protobuf.Duration repeat_interval = 5; - * * @return Whether the repeatInterval field is set. */ public boolean hasRepeatInterval() { return repeatIntervalBuilder_ != null || repeatInterval_ != null; } /** - * - * *
        * Interval between the start of each scheduled TransferOperation. If
        * unspecified, the default value is 24 hours. This value may not be less than
@@ -27118,21 +27320,16 @@ public boolean hasRepeatInterval() {
        * 
* * .google.protobuf.Duration repeat_interval = 5; - * * @return The repeatInterval. */ public com.google.protobuf.Duration getRepeatInterval() { if (repeatIntervalBuilder_ == null) { - return repeatInterval_ == null - ? com.google.protobuf.Duration.getDefaultInstance() - : repeatInterval_; + return repeatInterval_ == null ? com.google.protobuf.Duration.getDefaultInstance() : repeatInterval_; } else { return repeatIntervalBuilder_.getMessage(); } } /** - * - * *
        * Interval between the start of each scheduled TransferOperation. If
        * unspecified, the default value is 24 hours. This value may not be less than
@@ -27155,8 +27352,6 @@ public Builder setRepeatInterval(com.google.protobuf.Duration value) {
         return this;
       }
       /**
-       *
-       *
        * 
        * Interval between the start of each scheduled TransferOperation. If
        * unspecified, the default value is 24 hours. This value may not be less than
@@ -27165,7 +27360,8 @@ public Builder setRepeatInterval(com.google.protobuf.Duration value) {
        *
        * .google.protobuf.Duration repeat_interval = 5;
        */
-      public Builder setRepeatInterval(com.google.protobuf.Duration.Builder builderForValue) {
+      public Builder setRepeatInterval(
+          com.google.protobuf.Duration.Builder builderForValue) {
         if (repeatIntervalBuilder_ == null) {
           repeatInterval_ = builderForValue.build();
           onChanged();
@@ -27176,8 +27372,6 @@ public Builder setRepeatInterval(com.google.protobuf.Duration.Builder builderFor
         return this;
       }
       /**
-       *
-       *
        * 
        * Interval between the start of each scheduled TransferOperation. If
        * unspecified, the default value is 24 hours. This value may not be less than
@@ -27190,9 +27384,7 @@ public Builder mergeRepeatInterval(com.google.protobuf.Duration value) {
         if (repeatIntervalBuilder_ == null) {
           if (repeatInterval_ != null) {
             repeatInterval_ =
-                com.google.protobuf.Duration.newBuilder(repeatInterval_)
-                    .mergeFrom(value)
-                    .buildPartial();
+              com.google.protobuf.Duration.newBuilder(repeatInterval_).mergeFrom(value).buildPartial();
           } else {
             repeatInterval_ = value;
           }
@@ -27204,8 +27396,6 @@ public Builder mergeRepeatInterval(com.google.protobuf.Duration value) {
         return this;
       }
       /**
-       *
-       *
        * 
        * Interval between the start of each scheduled TransferOperation. If
        * unspecified, the default value is 24 hours. This value may not be less than
@@ -27226,8 +27416,6 @@ public Builder clearRepeatInterval() {
         return this;
       }
       /**
-       *
-       *
        * 
        * Interval between the start of each scheduled TransferOperation. If
        * unspecified, the default value is 24 hours. This value may not be less than
@@ -27237,13 +27425,11 @@ public Builder clearRepeatInterval() {
        * .google.protobuf.Duration repeat_interval = 5;
        */
       public com.google.protobuf.Duration.Builder getRepeatIntervalBuilder() {
-
+        
         onChanged();
         return getRepeatIntervalFieldBuilder().getBuilder();
       }
       /**
-       *
-       *
        * 
        * Interval between the start of each scheduled TransferOperation. If
        * unspecified, the default value is 24 hours. This value may not be less than
@@ -27256,14 +27442,11 @@ public com.google.protobuf.DurationOrBuilder getRepeatIntervalOrBuilder() {
         if (repeatIntervalBuilder_ != null) {
           return repeatIntervalBuilder_.getMessageOrBuilder();
         } else {
-          return repeatInterval_ == null
-              ? com.google.protobuf.Duration.getDefaultInstance()
-              : repeatInterval_;
+          return repeatInterval_ == null ?
+              com.google.protobuf.Duration.getDefaultInstance() : repeatInterval_;
         }
       }
       /**
-       *
-       *
        * 
        * Interval between the start of each scheduled TransferOperation. If
        * unspecified, the default value is 24 hours. This value may not be less than
@@ -27273,22 +27456,18 @@ public com.google.protobuf.DurationOrBuilder getRepeatIntervalOrBuilder() {
        * .google.protobuf.Duration repeat_interval = 5;
        */
       private com.google.protobuf.SingleFieldBuilderV3<
-              com.google.protobuf.Duration,
-              com.google.protobuf.Duration.Builder,
-              com.google.protobuf.DurationOrBuilder>
+          com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder> 
           getRepeatIntervalFieldBuilder() {
         if (repeatIntervalBuilder_ == null) {
-          repeatIntervalBuilder_ =
-              new com.google.protobuf.SingleFieldBuilderV3<
-                  com.google.protobuf.Duration,
-                  com.google.protobuf.Duration.Builder,
-                  com.google.protobuf.DurationOrBuilder>(
-                  getRepeatInterval(), getParentForChildren(), isClean());
+          repeatIntervalBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+              com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder>(
+                  getRepeatInterval(),
+                  getParentForChildren(),
+                  isClean());
           repeatInterval_ = null;
         }
         return repeatIntervalBuilder_;
       }
-
       @java.lang.Override
       public final Builder setUnknownFields(
           final com.google.protobuf.UnknownFieldSet unknownFields) {
@@ -27301,13 +27480,12 @@ public final Builder mergeUnknownFields(
         return super.mergeUnknownFields(unknownFields);
       }
 
+
       // @@protoc_insertion_point(builder_scope:google.storagetransfer.v1.Schedule)
     }
 
     // @@protoc_insertion_point(class_scope:google.storagetransfer.v1.Schedule)
-    private static final com.google.storagetransfer.v1.proto.TransferTypes.Schedule
-        DEFAULT_INSTANCE;
-
+    private static final com.google.storagetransfer.v1.proto.TransferTypes.Schedule DEFAULT_INSTANCE;
     static {
       DEFAULT_INSTANCE = new com.google.storagetransfer.v1.proto.TransferTypes.Schedule();
     }
@@ -27316,16 +27494,16 @@ public static com.google.storagetransfer.v1.proto.TransferTypes.Schedule getDefa
       return DEFAULT_INSTANCE;
     }
 
-    private static final com.google.protobuf.Parser PARSER =
-        new com.google.protobuf.AbstractParser() {
-          @java.lang.Override
-          public Schedule parsePartialFrom(
-              com.google.protobuf.CodedInputStream input,
-              com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-              throws com.google.protobuf.InvalidProtocolBufferException {
-            return new Schedule(input, extensionRegistry);
-          }
-        };
+    private static final com.google.protobuf.Parser
+        PARSER = new com.google.protobuf.AbstractParser() {
+      @java.lang.Override
+      public Schedule parsePartialFrom(
+          com.google.protobuf.CodedInputStream input,
+          com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+          throws com.google.protobuf.InvalidProtocolBufferException {
+        return new Schedule(input, extensionRegistry);
+      }
+    };
 
     public static com.google.protobuf.Parser parser() {
       return PARSER;
@@ -27340,16 +27518,14 @@ public com.google.protobuf.Parser getParserForType() {
     public com.google.storagetransfer.v1.proto.TransferTypes.Schedule getDefaultInstanceForType() {
       return DEFAULT_INSTANCE;
     }
+
   }
 
-  public interface TransferJobOrBuilder
-      extends
+  public interface TransferJobOrBuilder extends
       // @@protoc_insertion_point(interface_extends:google.storagetransfer.v1.TransferJob)
       com.google.protobuf.MessageOrBuilder {
 
     /**
-     *
-     *
      * 
      * A unique name (within the transfer project) assigned when the job is
      * created.  If this field is empty in a CreateTransferJobRequest, Storage
@@ -27373,13 +27549,10 @@ public interface TransferJobOrBuilder
      * 
* * string name = 1; - * * @return The name. */ java.lang.String getName(); /** - * - * *
      * A unique name (within the transfer project) assigned when the job is
      * created.  If this field is empty in a CreateTransferJobRequest, Storage
@@ -27403,128 +27576,101 @@ public interface TransferJobOrBuilder
      * 
* * string name = 1; - * * @return The bytes for name. */ - com.google.protobuf.ByteString getNameBytes(); + com.google.protobuf.ByteString + getNameBytes(); /** - * - * *
      * A description provided by the user for the job. Its max length is 1024
      * bytes when Unicode-encoded.
      * 
* * string description = 2; - * * @return The description. */ java.lang.String getDescription(); /** - * - * *
      * A description provided by the user for the job. Its max length is 1024
      * bytes when Unicode-encoded.
      * 
* * string description = 2; - * * @return The bytes for description. */ - com.google.protobuf.ByteString getDescriptionBytes(); + com.google.protobuf.ByteString + getDescriptionBytes(); /** - * - * *
      * The ID of the Google Cloud project that owns the job.
      * 
* * string project_id = 3; - * * @return The projectId. */ java.lang.String getProjectId(); /** - * - * *
      * The ID of the Google Cloud project that owns the job.
      * 
* * string project_id = 3; - * * @return The bytes for projectId. */ - com.google.protobuf.ByteString getProjectIdBytes(); + com.google.protobuf.ByteString + getProjectIdBytes(); /** - * - * *
      * Transfer specification.
      * 
* * .google.storagetransfer.v1.TransferSpec transfer_spec = 4; - * * @return Whether the transferSpec field is set. */ boolean hasTransferSpec(); /** - * - * *
      * Transfer specification.
      * 
* * .google.storagetransfer.v1.TransferSpec transfer_spec = 4; - * * @return The transferSpec. */ com.google.storagetransfer.v1.proto.TransferTypes.TransferSpec getTransferSpec(); /** - * - * *
      * Transfer specification.
      * 
* * .google.storagetransfer.v1.TransferSpec transfer_spec = 4; */ - com.google.storagetransfer.v1.proto.TransferTypes.TransferSpecOrBuilder - getTransferSpecOrBuilder(); + com.google.storagetransfer.v1.proto.TransferTypes.TransferSpecOrBuilder getTransferSpecOrBuilder(); /** - * - * *
      * Notification configuration. This is not supported for transfers involving
      * PosixFilesystem.
      * 
* * .google.storagetransfer.v1.NotificationConfig notification_config = 11; - * * @return Whether the notificationConfig field is set. */ boolean hasNotificationConfig(); /** - * - * *
      * Notification configuration. This is not supported for transfers involving
      * PosixFilesystem.
      * 
* * .google.storagetransfer.v1.NotificationConfig notification_config = 11; - * * @return The notificationConfig. */ com.google.storagetransfer.v1.proto.TransferTypes.NotificationConfig getNotificationConfig(); /** - * - * *
      * Notification configuration. This is not supported for transfers involving
      * PosixFilesystem.
@@ -27532,48 +27678,36 @@ public interface TransferJobOrBuilder
      *
      * .google.storagetransfer.v1.NotificationConfig notification_config = 11;
      */
-    com.google.storagetransfer.v1.proto.TransferTypes.NotificationConfigOrBuilder
-        getNotificationConfigOrBuilder();
+    com.google.storagetransfer.v1.proto.TransferTypes.NotificationConfigOrBuilder getNotificationConfigOrBuilder();
 
     /**
-     *
-     *
      * 
      * Logging configuration.
      * 
* * .google.storagetransfer.v1.LoggingConfig logging_config = 14; - * * @return Whether the loggingConfig field is set. */ boolean hasLoggingConfig(); /** - * - * *
      * Logging configuration.
      * 
* * .google.storagetransfer.v1.LoggingConfig logging_config = 14; - * * @return The loggingConfig. */ com.google.storagetransfer.v1.proto.TransferTypes.LoggingConfig getLoggingConfig(); /** - * - * *
      * Logging configuration.
      * 
* * .google.storagetransfer.v1.LoggingConfig logging_config = 14; */ - com.google.storagetransfer.v1.proto.TransferTypes.LoggingConfigOrBuilder - getLoggingConfigOrBuilder(); + com.google.storagetransfer.v1.proto.TransferTypes.LoggingConfigOrBuilder getLoggingConfigOrBuilder(); /** - * - * *
      * Specifies schedule for the transfer job.
      * This is an optional field. When the field is not set, the job never
@@ -27582,13 +27716,10 @@ public interface TransferJobOrBuilder
      * 
* * .google.storagetransfer.v1.Schedule schedule = 5; - * * @return Whether the schedule field is set. */ boolean hasSchedule(); /** - * - * *
      * Specifies schedule for the transfer job.
      * This is an optional field. When the field is not set, the job never
@@ -27597,13 +27728,10 @@ public interface TransferJobOrBuilder
      * 
* * .google.storagetransfer.v1.Schedule schedule = 5; - * * @return The schedule. */ com.google.storagetransfer.v1.proto.TransferTypes.Schedule getSchedule(); /** - * - * *
      * Specifies schedule for the transfer job.
      * This is an optional field. When the field is not set, the job never
@@ -27616,8 +27744,6 @@ public interface TransferJobOrBuilder
     com.google.storagetransfer.v1.proto.TransferTypes.ScheduleOrBuilder getScheduleOrBuilder();
 
     /**
-     *
-     *
      * 
      * Status of the job. This value MUST be specified for
      * `CreateTransferJobRequests`.
@@ -27629,13 +27755,10 @@ public interface TransferJobOrBuilder
      * 
* * .google.storagetransfer.v1.TransferJob.Status status = 6; - * * @return The enum numeric value on the wire for status. */ int getStatusValue(); /** - * - * *
      * Status of the job. This value MUST be specified for
      * `CreateTransferJobRequests`.
@@ -27647,164 +27770,114 @@ public interface TransferJobOrBuilder
      * 
* * .google.storagetransfer.v1.TransferJob.Status status = 6; - * * @return The status. */ com.google.storagetransfer.v1.proto.TransferTypes.TransferJob.Status getStatus(); /** - * - * *
      * Output only. The time that the transfer job was created.
      * 
* - * - * .google.protobuf.Timestamp creation_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp creation_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the creationTime field is set. */ boolean hasCreationTime(); /** - * - * *
      * Output only. The time that the transfer job was created.
      * 
* - * - * .google.protobuf.Timestamp creation_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp creation_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The creationTime. */ com.google.protobuf.Timestamp getCreationTime(); /** - * - * *
      * Output only. The time that the transfer job was created.
      * 
* - * - * .google.protobuf.Timestamp creation_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp creation_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ com.google.protobuf.TimestampOrBuilder getCreationTimeOrBuilder(); /** - * - * *
      * Output only. The time that the transfer job was last modified.
      * 
* - * - * .google.protobuf.Timestamp last_modification_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp last_modification_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the lastModificationTime field is set. */ boolean hasLastModificationTime(); /** - * - * *
      * Output only. The time that the transfer job was last modified.
      * 
* - * - * .google.protobuf.Timestamp last_modification_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp last_modification_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The lastModificationTime. */ com.google.protobuf.Timestamp getLastModificationTime(); /** - * - * *
      * Output only. The time that the transfer job was last modified.
      * 
* - * - * .google.protobuf.Timestamp last_modification_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp last_modification_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ com.google.protobuf.TimestampOrBuilder getLastModificationTimeOrBuilder(); /** - * - * *
      * Output only. The time that the transfer job was deleted.
      * 
* - * - * .google.protobuf.Timestamp deletion_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp deletion_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the deletionTime field is set. */ boolean hasDeletionTime(); /** - * - * *
      * Output only. The time that the transfer job was deleted.
      * 
* - * - * .google.protobuf.Timestamp deletion_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp deletion_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The deletionTime. */ com.google.protobuf.Timestamp getDeletionTime(); /** - * - * *
      * Output only. The time that the transfer job was deleted.
      * 
* - * - * .google.protobuf.Timestamp deletion_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp deletion_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ com.google.protobuf.TimestampOrBuilder getDeletionTimeOrBuilder(); /** - * - * *
      * The name of the most recently started TransferOperation of this JobConfig.
      * Present if a TransferOperation has been created for this JobConfig.
      * 
* * string latest_operation_name = 12; - * * @return The latestOperationName. */ java.lang.String getLatestOperationName(); /** - * - * *
      * The name of the most recently started TransferOperation of this JobConfig.
      * Present if a TransferOperation has been created for this JobConfig.
      * 
* * string latest_operation_name = 12; - * * @return The bytes for latestOperationName. */ - com.google.protobuf.ByteString getLatestOperationNameBytes(); + com.google.protobuf.ByteString + getLatestOperationNameBytes(); } /** - * - * *
    * This resource represents the configuration of a transfer job that runs
    * periodically.
@@ -27812,16 +27885,15 @@ public interface TransferJobOrBuilder
    *
    * Protobuf type {@code google.storagetransfer.v1.TransferJob}
    */
-  public static final class TransferJob extends com.google.protobuf.GeneratedMessageV3
-      implements
+  public static final class TransferJob extends
+      com.google.protobuf.GeneratedMessageV3 implements
       // @@protoc_insertion_point(message_implements:google.storagetransfer.v1.TransferJob)
       TransferJobOrBuilder {
-    private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
     // Use TransferJob.newBuilder() to construct.
     private TransferJob(com.google.protobuf.GeneratedMessageV3.Builder builder) {
       super(builder);
     }
-
     private TransferJob() {
       name_ = "";
       description_ = "";
@@ -27832,15 +27904,16 @@ private TransferJob() {
 
     @java.lang.Override
     @SuppressWarnings({"unused"})
-    protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+    protected java.lang.Object newInstance(
+        UnusedPrivateParameter unused) {
       return new TransferJob();
     }
 
     @java.lang.Override
-    public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+    public final com.google.protobuf.UnknownFieldSet
+    getUnknownFields() {
       return this.unknownFields;
     }
-
     private TransferJob(
         com.google.protobuf.CodedInputStream input,
         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -27859,166 +27932,134 @@ private TransferJob(
             case 0:
               done = true;
               break;
-            case 10:
-              {
-                java.lang.String s = input.readStringRequireUtf8();
+            case 10: {
+              java.lang.String s = input.readStringRequireUtf8();
 
-                name_ = s;
-                break;
-              }
-            case 18:
-              {
-                java.lang.String s = input.readStringRequireUtf8();
+              name_ = s;
+              break;
+            }
+            case 18: {
+              java.lang.String s = input.readStringRequireUtf8();
 
-                description_ = s;
-                break;
-              }
-            case 26:
-              {
-                java.lang.String s = input.readStringRequireUtf8();
+              description_ = s;
+              break;
+            }
+            case 26: {
+              java.lang.String s = input.readStringRequireUtf8();
 
-                projectId_ = s;
-                break;
+              projectId_ = s;
+              break;
+            }
+            case 34: {
+              com.google.storagetransfer.v1.proto.TransferTypes.TransferSpec.Builder subBuilder = null;
+              if (transferSpec_ != null) {
+                subBuilder = transferSpec_.toBuilder();
               }
-            case 34:
-              {
-                com.google.storagetransfer.v1.proto.TransferTypes.TransferSpec.Builder subBuilder =
-                    null;
-                if (transferSpec_ != null) {
-                  subBuilder = transferSpec_.toBuilder();
-                }
-                transferSpec_ =
-                    input.readMessage(
-                        com.google.storagetransfer.v1.proto.TransferTypes.TransferSpec.parser(),
-                        extensionRegistry);
-                if (subBuilder != null) {
-                  subBuilder.mergeFrom(transferSpec_);
-                  transferSpec_ = subBuilder.buildPartial();
-                }
-
-                break;
+              transferSpec_ = input.readMessage(com.google.storagetransfer.v1.proto.TransferTypes.TransferSpec.parser(), extensionRegistry);
+              if (subBuilder != null) {
+                subBuilder.mergeFrom(transferSpec_);
+                transferSpec_ = subBuilder.buildPartial();
               }
-            case 42:
-              {
-                com.google.storagetransfer.v1.proto.TransferTypes.Schedule.Builder subBuilder =
-                    null;
-                if (schedule_ != null) {
-                  subBuilder = schedule_.toBuilder();
-                }
-                schedule_ =
-                    input.readMessage(
-                        com.google.storagetransfer.v1.proto.TransferTypes.Schedule.parser(),
-                        extensionRegistry);
-                if (subBuilder != null) {
-                  subBuilder.mergeFrom(schedule_);
-                  schedule_ = subBuilder.buildPartial();
-                }
 
-                break;
+              break;
+            }
+            case 42: {
+              com.google.storagetransfer.v1.proto.TransferTypes.Schedule.Builder subBuilder = null;
+              if (schedule_ != null) {
+                subBuilder = schedule_.toBuilder();
               }
-            case 48:
-              {
-                int rawValue = input.readEnum();
-
-                status_ = rawValue;
-                break;
+              schedule_ = input.readMessage(com.google.storagetransfer.v1.proto.TransferTypes.Schedule.parser(), extensionRegistry);
+              if (subBuilder != null) {
+                subBuilder.mergeFrom(schedule_);
+                schedule_ = subBuilder.buildPartial();
               }
-            case 58:
-              {
-                com.google.protobuf.Timestamp.Builder subBuilder = null;
-                if (creationTime_ != null) {
-                  subBuilder = creationTime_.toBuilder();
-                }
-                creationTime_ =
-                    input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry);
-                if (subBuilder != null) {
-                  subBuilder.mergeFrom(creationTime_);
-                  creationTime_ = subBuilder.buildPartial();
-                }
 
-                break;
-              }
-            case 66:
-              {
-                com.google.protobuf.Timestamp.Builder subBuilder = null;
-                if (lastModificationTime_ != null) {
-                  subBuilder = lastModificationTime_.toBuilder();
-                }
-                lastModificationTime_ =
-                    input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry);
-                if (subBuilder != null) {
-                  subBuilder.mergeFrom(lastModificationTime_);
-                  lastModificationTime_ = subBuilder.buildPartial();
-                }
+              break;
+            }
+            case 48: {
+              int rawValue = input.readEnum();
 
-                break;
+              status_ = rawValue;
+              break;
+            }
+            case 58: {
+              com.google.protobuf.Timestamp.Builder subBuilder = null;
+              if (creationTime_ != null) {
+                subBuilder = creationTime_.toBuilder();
+              }
+              creationTime_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry);
+              if (subBuilder != null) {
+                subBuilder.mergeFrom(creationTime_);
+                creationTime_ = subBuilder.buildPartial();
               }
-            case 74:
-              {
-                com.google.protobuf.Timestamp.Builder subBuilder = null;
-                if (deletionTime_ != null) {
-                  subBuilder = deletionTime_.toBuilder();
-                }
-                deletionTime_ =
-                    input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry);
-                if (subBuilder != null) {
-                  subBuilder.mergeFrom(deletionTime_);
-                  deletionTime_ = subBuilder.buildPartial();
-                }
 
-                break;
+              break;
+            }
+            case 66: {
+              com.google.protobuf.Timestamp.Builder subBuilder = null;
+              if (lastModificationTime_ != null) {
+                subBuilder = lastModificationTime_.toBuilder();
+              }
+              lastModificationTime_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry);
+              if (subBuilder != null) {
+                subBuilder.mergeFrom(lastModificationTime_);
+                lastModificationTime_ = subBuilder.buildPartial();
               }
-            case 90:
-              {
-                com.google.storagetransfer.v1.proto.TransferTypes.NotificationConfig.Builder
-                    subBuilder = null;
-                if (notificationConfig_ != null) {
-                  subBuilder = notificationConfig_.toBuilder();
-                }
-                notificationConfig_ =
-                    input.readMessage(
-                        com.google.storagetransfer.v1.proto.TransferTypes.NotificationConfig
-                            .parser(),
-                        extensionRegistry);
-                if (subBuilder != null) {
-                  subBuilder.mergeFrom(notificationConfig_);
-                  notificationConfig_ = subBuilder.buildPartial();
-                }
 
-                break;
+              break;
+            }
+            case 74: {
+              com.google.protobuf.Timestamp.Builder subBuilder = null;
+              if (deletionTime_ != null) {
+                subBuilder = deletionTime_.toBuilder();
+              }
+              deletionTime_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry);
+              if (subBuilder != null) {
+                subBuilder.mergeFrom(deletionTime_);
+                deletionTime_ = subBuilder.buildPartial();
               }
-            case 98:
-              {
-                java.lang.String s = input.readStringRequireUtf8();
 
-                latestOperationName_ = s;
-                break;
+              break;
+            }
+            case 90: {
+              com.google.storagetransfer.v1.proto.TransferTypes.NotificationConfig.Builder subBuilder = null;
+              if (notificationConfig_ != null) {
+                subBuilder = notificationConfig_.toBuilder();
+              }
+              notificationConfig_ = input.readMessage(com.google.storagetransfer.v1.proto.TransferTypes.NotificationConfig.parser(), extensionRegistry);
+              if (subBuilder != null) {
+                subBuilder.mergeFrom(notificationConfig_);
+                notificationConfig_ = subBuilder.buildPartial();
               }
-            case 114:
-              {
-                com.google.storagetransfer.v1.proto.TransferTypes.LoggingConfig.Builder subBuilder =
-                    null;
-                if (loggingConfig_ != null) {
-                  subBuilder = loggingConfig_.toBuilder();
-                }
-                loggingConfig_ =
-                    input.readMessage(
-                        com.google.storagetransfer.v1.proto.TransferTypes.LoggingConfig.parser(),
-                        extensionRegistry);
-                if (subBuilder != null) {
-                  subBuilder.mergeFrom(loggingConfig_);
-                  loggingConfig_ = subBuilder.buildPartial();
-                }
 
-                break;
+              break;
+            }
+            case 98: {
+              java.lang.String s = input.readStringRequireUtf8();
+
+              latestOperationName_ = s;
+              break;
+            }
+            case 114: {
+              com.google.storagetransfer.v1.proto.TransferTypes.LoggingConfig.Builder subBuilder = null;
+              if (loggingConfig_ != null) {
+                subBuilder = loggingConfig_.toBuilder();
               }
-            default:
-              {
-                if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
-                  done = true;
-                }
-                break;
+              loggingConfig_ = input.readMessage(com.google.storagetransfer.v1.proto.TransferTypes.LoggingConfig.parser(), extensionRegistry);
+              if (subBuilder != null) {
+                subBuilder.mergeFrom(loggingConfig_);
+                loggingConfig_ = subBuilder.buildPartial();
+              }
+
+              break;
+            }
+            default: {
+              if (!parseUnknownField(
+                  input, unknownFields, extensionRegistry, tag)) {
+                done = true;
               }
+              break;
+            }
           }
         }
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -28026,41 +28067,36 @@ private TransferJob(
       } catch (com.google.protobuf.UninitializedMessageException e) {
         throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
       } catch (java.io.IOException e) {
-        throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
+        throw new com.google.protobuf.InvalidProtocolBufferException(
+            e).setUnfinishedMessage(this);
       } finally {
         this.unknownFields = unknownFields.build();
         makeExtensionsImmutable();
       }
     }
-
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.storagetransfer.v1.proto.TransferTypes
-          .internal_static_google_storagetransfer_v1_TransferJob_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.storagetransfer.v1.proto.TransferTypes.internal_static_google_storagetransfer_v1_TransferJob_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.storagetransfer.v1.proto.TransferTypes
-          .internal_static_google_storagetransfer_v1_TransferJob_fieldAccessorTable
+      return com.google.storagetransfer.v1.proto.TransferTypes.internal_static_google_storagetransfer_v1_TransferJob_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.storagetransfer.v1.proto.TransferTypes.TransferJob.class,
-              com.google.storagetransfer.v1.proto.TransferTypes.TransferJob.Builder.class);
+              com.google.storagetransfer.v1.proto.TransferTypes.TransferJob.class, com.google.storagetransfer.v1.proto.TransferTypes.TransferJob.Builder.class);
     }
 
     /**
-     *
-     *
      * 
      * The status of the transfer job.
      * 
* * Protobuf enum {@code google.storagetransfer.v1.TransferJob.Status} */ - public enum Status implements com.google.protobuf.ProtocolMessageEnum { + public enum Status + implements com.google.protobuf.ProtocolMessageEnum { /** - * - * *
        * Zero is an illegal value.
        * 
@@ -28069,8 +28105,6 @@ public enum Status implements com.google.protobuf.ProtocolMessageEnum { */ STATUS_UNSPECIFIED(0), /** - * - * *
        * New transfers are performed based on the schedule.
        * 
@@ -28079,8 +28113,6 @@ public enum Status implements com.google.protobuf.ProtocolMessageEnum { */ ENABLED(1), /** - * - * *
        * New transfers are not scheduled.
        * 
@@ -28089,8 +28121,6 @@ public enum Status implements com.google.protobuf.ProtocolMessageEnum { */ DISABLED(2), /** - * - * *
        * This is a soft delete state. After a transfer job is set to this
        * state, the job and all the transfer executions are subject to
@@ -28105,8 +28135,6 @@ public enum Status implements com.google.protobuf.ProtocolMessageEnum {
       ;
 
       /**
-       *
-       *
        * 
        * Zero is an illegal value.
        * 
@@ -28115,8 +28143,6 @@ public enum Status implements com.google.protobuf.ProtocolMessageEnum { */ public static final int STATUS_UNSPECIFIED_VALUE = 0; /** - * - * *
        * New transfers are performed based on the schedule.
        * 
@@ -28125,8 +28151,6 @@ public enum Status implements com.google.protobuf.ProtocolMessageEnum { */ public static final int ENABLED_VALUE = 1; /** - * - * *
        * New transfers are not scheduled.
        * 
@@ -28135,8 +28159,6 @@ public enum Status implements com.google.protobuf.ProtocolMessageEnum { */ public static final int DISABLED_VALUE = 2; /** - * - * *
        * This is a soft delete state. After a transfer job is set to this
        * state, the job and all the transfer executions are subject to
@@ -28148,6 +28170,7 @@ public enum Status implements com.google.protobuf.ProtocolMessageEnum {
        */
       public static final int DELETED_VALUE = 3;
 
+
       public final int getNumber() {
         if (this == UNRECOGNIZED) {
           throw new java.lang.IllegalArgumentException(
@@ -28172,53 +28195,50 @@ public static Status valueOf(int value) {
        */
       public static Status forNumber(int value) {
         switch (value) {
-          case 0:
-            return STATUS_UNSPECIFIED;
-          case 1:
-            return ENABLED;
-          case 2:
-            return DISABLED;
-          case 3:
-            return DELETED;
-          default:
-            return null;
+          case 0: return STATUS_UNSPECIFIED;
+          case 1: return ENABLED;
+          case 2: return DISABLED;
+          case 3: return DELETED;
+          default: return null;
         }
       }
 
-      public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() {
+      public static com.google.protobuf.Internal.EnumLiteMap
+          internalGetValueMap() {
         return internalValueMap;
       }
+      private static final com.google.protobuf.Internal.EnumLiteMap<
+          Status> internalValueMap =
+            new com.google.protobuf.Internal.EnumLiteMap() {
+              public Status findValueByNumber(int number) {
+                return Status.forNumber(number);
+              }
+            };
 
-      private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap =
-          new com.google.protobuf.Internal.EnumLiteMap() {
-            public Status findValueByNumber(int number) {
-              return Status.forNumber(number);
-            }
-          };
-
-      public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() {
+      public final com.google.protobuf.Descriptors.EnumValueDescriptor
+          getValueDescriptor() {
         if (this == UNRECOGNIZED) {
           throw new java.lang.IllegalStateException(
               "Can't get the descriptor of an unrecognized enum value.");
         }
         return getDescriptor().getValues().get(ordinal());
       }
-
-      public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() {
+      public final com.google.protobuf.Descriptors.EnumDescriptor
+          getDescriptorForType() {
         return getDescriptor();
       }
-
-      public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() {
-        return com.google.storagetransfer.v1.proto.TransferTypes.TransferJob.getDescriptor()
-            .getEnumTypes()
-            .get(0);
+      public static final com.google.protobuf.Descriptors.EnumDescriptor
+          getDescriptor() {
+        return com.google.storagetransfer.v1.proto.TransferTypes.TransferJob.getDescriptor().getEnumTypes().get(0);
       }
 
       private static final Status[] VALUES = values();
 
-      public static Status valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
+      public static Status valueOf(
+          com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
         if (desc.getType() != getDescriptor()) {
-          throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type.");
+          throw new java.lang.IllegalArgumentException(
+            "EnumValueDescriptor is not for this type.");
         }
         if (desc.getIndex() == -1) {
           return UNRECOGNIZED;
@@ -28238,49 +28258,6 @@ private Status(int value) {
     public static final int NAME_FIELD_NUMBER = 1;
     private volatile java.lang.Object name_;
     /**
-     *
-     *
-     * 
-     * A unique name (within the transfer project) assigned when the job is
-     * created.  If this field is empty in a CreateTransferJobRequest, Storage
-     * Transfer Service assigns a unique name. Otherwise, the specified name
-     * is used as the unique name for this job.
-     * If the specified name is in use by a job, the creation request fails with
-     * an [ALREADY_EXISTS][google.rpc.Code.ALREADY_EXISTS] error.
-     * This name must start with `"transferJobs/"` prefix and end with a letter or
-     * a number, and should be no more than 128 characters. For transfers
-     * involving PosixFilesystem, this name must start with `transferJobs/OPI`
-     * specifically. For all other transfer types, this name must not start with
-     * `transferJobs/OPI`.
-     * Non-PosixFilesystem example:
-     * `"transferJobs/^(?!OPI)[A-Za-z0-9-._~]*[A-Za-z0-9]$"`
-     * PosixFilesystem example:
-     * `"transferJobs/OPI^[A-Za-z0-9-._~]*[A-Za-z0-9]$"`
-     * Applications must not rely on the enforcement of naming requirements
-     * involving OPI.
-     * Invalid job names fail with an
-     * [INVALID_ARGUMENT][google.rpc.Code.INVALID_ARGUMENT] error.
-     * 
- * - * string name = 1; - * - * @return The name. - */ - @java.lang.Override - public java.lang.String getName() { - java.lang.Object ref = name_; - if (ref instanceof java.lang.String) { - return (java.lang.String) ref; - } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - name_ = s; - return s; - } - } - /** - * - * *
      * A unique name (within the transfer project) assigned when the job is
      * created.  If this field is empty in a CreateTransferJobRequest, Storage
@@ -28304,15 +28281,55 @@ public java.lang.String getName() {
      * 
* * string name = 1; + * @return The name. + */ + @java.lang.Override + public java.lang.String getName() { + java.lang.Object ref = name_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + name_ = s; + return s; + } + } + /** + *
+     * A unique name (within the transfer project) assigned when the job is
+     * created.  If this field is empty in a CreateTransferJobRequest, Storage
+     * Transfer Service assigns a unique name. Otherwise, the specified name
+     * is used as the unique name for this job.
+     * If the specified name is in use by a job, the creation request fails with
+     * an [ALREADY_EXISTS][google.rpc.Code.ALREADY_EXISTS] error.
+     * This name must start with `"transferJobs/"` prefix and end with a letter or
+     * a number, and should be no more than 128 characters. For transfers
+     * involving PosixFilesystem, this name must start with `transferJobs/OPI`
+     * specifically. For all other transfer types, this name must not start with
+     * `transferJobs/OPI`.
+     * Non-PosixFilesystem example:
+     * `"transferJobs/^(?!OPI)[A-Za-z0-9-._~]*[A-Za-z0-9]$"`
+     * PosixFilesystem example:
+     * `"transferJobs/OPI^[A-Za-z0-9-._~]*[A-Za-z0-9]$"`
+     * Applications must not rely on the enforcement of naming requirements
+     * involving OPI.
+     * Invalid job names fail with an
+     * [INVALID_ARGUMENT][google.rpc.Code.INVALID_ARGUMENT] error.
+     * 
* + * string name = 1; * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; 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); name_ = b; return b; } else { @@ -28323,15 +28340,12 @@ public com.google.protobuf.ByteString getNameBytes() { public static final int DESCRIPTION_FIELD_NUMBER = 2; private volatile java.lang.Object description_; /** - * - * *
      * A description provided by the user for the job. Its max length is 1024
      * bytes when Unicode-encoded.
      * 
* * string description = 2; - * * @return The description. */ @java.lang.Override @@ -28340,30 +28354,30 @@ public java.lang.String getDescription() { 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(); description_ = s; return s; } } /** - * - * *
      * A description provided by the user for the job. Its max length is 1024
      * bytes when Unicode-encoded.
      * 
* * string description = 2; - * * @return The bytes for description. */ @java.lang.Override - public com.google.protobuf.ByteString getDescriptionBytes() { + public com.google.protobuf.ByteString + getDescriptionBytes() { java.lang.Object ref = description_; 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); description_ = b; return b; } else { @@ -28374,14 +28388,11 @@ public com.google.protobuf.ByteString getDescriptionBytes() { public static final int PROJECT_ID_FIELD_NUMBER = 3; private volatile java.lang.Object projectId_; /** - * - * *
      * The ID of the Google Cloud project that owns the job.
      * 
* * string project_id = 3; - * * @return The projectId. */ @java.lang.Override @@ -28390,29 +28401,29 @@ public java.lang.String getProjectId() { 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(); projectId_ = s; return s; } } /** - * - * *
      * The ID of the Google Cloud project that owns the job.
      * 
* * string project_id = 3; - * * @return The bytes for projectId. */ @java.lang.Override - public com.google.protobuf.ByteString getProjectIdBytes() { + public com.google.protobuf.ByteString + getProjectIdBytes() { java.lang.Object ref = projectId_; 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); projectId_ = b; return b; } else { @@ -28423,14 +28434,11 @@ public com.google.protobuf.ByteString getProjectIdBytes() { public static final int TRANSFER_SPEC_FIELD_NUMBER = 4; private com.google.storagetransfer.v1.proto.TransferTypes.TransferSpec transferSpec_; /** - * - * *
      * Transfer specification.
      * 
* * .google.storagetransfer.v1.TransferSpec transfer_spec = 4; - * * @return Whether the transferSpec field is set. */ @java.lang.Override @@ -28438,25 +28446,18 @@ public boolean hasTransferSpec() { return transferSpec_ != null; } /** - * - * *
      * Transfer specification.
      * 
* * .google.storagetransfer.v1.TransferSpec transfer_spec = 4; - * * @return The transferSpec. */ @java.lang.Override public com.google.storagetransfer.v1.proto.TransferTypes.TransferSpec getTransferSpec() { - return transferSpec_ == null - ? com.google.storagetransfer.v1.proto.TransferTypes.TransferSpec.getDefaultInstance() - : transferSpec_; + return transferSpec_ == null ? com.google.storagetransfer.v1.proto.TransferTypes.TransferSpec.getDefaultInstance() : transferSpec_; } /** - * - * *
      * Transfer specification.
      * 
@@ -28464,24 +28465,19 @@ public com.google.storagetransfer.v1.proto.TransferTypes.TransferSpec getTransfe * .google.storagetransfer.v1.TransferSpec transfer_spec = 4; */ @java.lang.Override - public com.google.storagetransfer.v1.proto.TransferTypes.TransferSpecOrBuilder - getTransferSpecOrBuilder() { + public com.google.storagetransfer.v1.proto.TransferTypes.TransferSpecOrBuilder getTransferSpecOrBuilder() { return getTransferSpec(); } public static final int NOTIFICATION_CONFIG_FIELD_NUMBER = 11; - private com.google.storagetransfer.v1.proto.TransferTypes.NotificationConfig - notificationConfig_; + private com.google.storagetransfer.v1.proto.TransferTypes.NotificationConfig notificationConfig_; /** - * - * *
      * Notification configuration. This is not supported for transfers involving
      * PosixFilesystem.
      * 
* * .google.storagetransfer.v1.NotificationConfig notification_config = 11; - * * @return Whether the notificationConfig field is set. */ @java.lang.Override @@ -28489,28 +28485,19 @@ public boolean hasNotificationConfig() { return notificationConfig_ != null; } /** - * - * *
      * Notification configuration. This is not supported for transfers involving
      * PosixFilesystem.
      * 
* * .google.storagetransfer.v1.NotificationConfig notification_config = 11; - * * @return The notificationConfig. */ @java.lang.Override - public com.google.storagetransfer.v1.proto.TransferTypes.NotificationConfig - getNotificationConfig() { - return notificationConfig_ == null - ? com.google.storagetransfer.v1.proto.TransferTypes.NotificationConfig - .getDefaultInstance() - : notificationConfig_; + public com.google.storagetransfer.v1.proto.TransferTypes.NotificationConfig getNotificationConfig() { + return notificationConfig_ == null ? com.google.storagetransfer.v1.proto.TransferTypes.NotificationConfig.getDefaultInstance() : notificationConfig_; } /** - * - * *
      * Notification configuration. This is not supported for transfers involving
      * PosixFilesystem.
@@ -28519,22 +28506,18 @@ public boolean hasNotificationConfig() {
      * .google.storagetransfer.v1.NotificationConfig notification_config = 11;
      */
     @java.lang.Override
-    public com.google.storagetransfer.v1.proto.TransferTypes.NotificationConfigOrBuilder
-        getNotificationConfigOrBuilder() {
+    public com.google.storagetransfer.v1.proto.TransferTypes.NotificationConfigOrBuilder getNotificationConfigOrBuilder() {
       return getNotificationConfig();
     }
 
     public static final int LOGGING_CONFIG_FIELD_NUMBER = 14;
     private com.google.storagetransfer.v1.proto.TransferTypes.LoggingConfig loggingConfig_;
     /**
-     *
-     *
      * 
      * Logging configuration.
      * 
* * .google.storagetransfer.v1.LoggingConfig logging_config = 14; - * * @return Whether the loggingConfig field is set. */ @java.lang.Override @@ -28542,25 +28525,18 @@ public boolean hasLoggingConfig() { return loggingConfig_ != null; } /** - * - * *
      * Logging configuration.
      * 
* * .google.storagetransfer.v1.LoggingConfig logging_config = 14; - * * @return The loggingConfig. */ @java.lang.Override public com.google.storagetransfer.v1.proto.TransferTypes.LoggingConfig getLoggingConfig() { - return loggingConfig_ == null - ? com.google.storagetransfer.v1.proto.TransferTypes.LoggingConfig.getDefaultInstance() - : loggingConfig_; + return loggingConfig_ == null ? com.google.storagetransfer.v1.proto.TransferTypes.LoggingConfig.getDefaultInstance() : loggingConfig_; } /** - * - * *
      * Logging configuration.
      * 
@@ -28568,16 +28544,13 @@ public com.google.storagetransfer.v1.proto.TransferTypes.LoggingConfig getLoggin * .google.storagetransfer.v1.LoggingConfig logging_config = 14; */ @java.lang.Override - public com.google.storagetransfer.v1.proto.TransferTypes.LoggingConfigOrBuilder - getLoggingConfigOrBuilder() { + public com.google.storagetransfer.v1.proto.TransferTypes.LoggingConfigOrBuilder getLoggingConfigOrBuilder() { return getLoggingConfig(); } public static final int SCHEDULE_FIELD_NUMBER = 5; private com.google.storagetransfer.v1.proto.TransferTypes.Schedule schedule_; /** - * - * *
      * Specifies schedule for the transfer job.
      * This is an optional field. When the field is not set, the job never
@@ -28586,7 +28559,6 @@ public com.google.storagetransfer.v1.proto.TransferTypes.LoggingConfig getLoggin
      * 
* * .google.storagetransfer.v1.Schedule schedule = 5; - * * @return Whether the schedule field is set. */ @java.lang.Override @@ -28594,8 +28566,6 @@ public boolean hasSchedule() { return schedule_ != null; } /** - * - * *
      * Specifies schedule for the transfer job.
      * This is an optional field. When the field is not set, the job never
@@ -28604,18 +28574,13 @@ public boolean hasSchedule() {
      * 
* * .google.storagetransfer.v1.Schedule schedule = 5; - * * @return The schedule. */ @java.lang.Override public com.google.storagetransfer.v1.proto.TransferTypes.Schedule getSchedule() { - return schedule_ == null - ? com.google.storagetransfer.v1.proto.TransferTypes.Schedule.getDefaultInstance() - : schedule_; + return schedule_ == null ? com.google.storagetransfer.v1.proto.TransferTypes.Schedule.getDefaultInstance() : schedule_; } /** - * - * *
      * Specifies schedule for the transfer job.
      * This is an optional field. When the field is not set, the job never
@@ -28626,16 +28591,13 @@ public com.google.storagetransfer.v1.proto.TransferTypes.Schedule getSchedule()
      * .google.storagetransfer.v1.Schedule schedule = 5;
      */
     @java.lang.Override
-    public com.google.storagetransfer.v1.proto.TransferTypes.ScheduleOrBuilder
-        getScheduleOrBuilder() {
+    public com.google.storagetransfer.v1.proto.TransferTypes.ScheduleOrBuilder getScheduleOrBuilder() {
       return getSchedule();
     }
 
     public static final int STATUS_FIELD_NUMBER = 6;
     private int status_;
     /**
-     *
-     *
      * 
      * Status of the job. This value MUST be specified for
      * `CreateTransferJobRequests`.
@@ -28647,16 +28609,12 @@ public com.google.storagetransfer.v1.proto.TransferTypes.Schedule getSchedule()
      * 
* * .google.storagetransfer.v1.TransferJob.Status status = 6; - * * @return The enum numeric value on the wire for status. */ - @java.lang.Override - public int getStatusValue() { + @java.lang.Override public int getStatusValue() { return status_; } /** - * - * *
      * Status of the job. This value MUST be specified for
      * `CreateTransferJobRequests`.
@@ -28668,32 +28626,22 @@ public int getStatusValue() {
      * 
* * .google.storagetransfer.v1.TransferJob.Status status = 6; - * * @return The status. */ - @java.lang.Override - public com.google.storagetransfer.v1.proto.TransferTypes.TransferJob.Status getStatus() { + @java.lang.Override public com.google.storagetransfer.v1.proto.TransferTypes.TransferJob.Status getStatus() { @SuppressWarnings("deprecation") - com.google.storagetransfer.v1.proto.TransferTypes.TransferJob.Status result = - com.google.storagetransfer.v1.proto.TransferTypes.TransferJob.Status.valueOf(status_); - return result == null - ? com.google.storagetransfer.v1.proto.TransferTypes.TransferJob.Status.UNRECOGNIZED - : result; + com.google.storagetransfer.v1.proto.TransferTypes.TransferJob.Status result = com.google.storagetransfer.v1.proto.TransferTypes.TransferJob.Status.valueOf(status_); + return result == null ? com.google.storagetransfer.v1.proto.TransferTypes.TransferJob.Status.UNRECOGNIZED : result; } public static final int CREATION_TIME_FIELD_NUMBER = 7; private com.google.protobuf.Timestamp creationTime_; /** - * - * *
      * Output only. The time that the transfer job was created.
      * 
* - * - * .google.protobuf.Timestamp creation_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp creation_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the creationTime field is set. */ @java.lang.Override @@ -28701,34 +28649,23 @@ public boolean hasCreationTime() { return creationTime_ != null; } /** - * - * *
      * Output only. The time that the transfer job was created.
      * 
* - * - * .google.protobuf.Timestamp creation_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp creation_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The creationTime. */ @java.lang.Override public com.google.protobuf.Timestamp getCreationTime() { - return creationTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : creationTime_; + return creationTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : creationTime_; } /** - * - * *
      * Output only. The time that the transfer job was created.
      * 
* - * - * .google.protobuf.Timestamp creation_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp creation_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ @java.lang.Override public com.google.protobuf.TimestampOrBuilder getCreationTimeOrBuilder() { @@ -28738,16 +28675,11 @@ public com.google.protobuf.TimestampOrBuilder getCreationTimeOrBuilder() { public static final int LAST_MODIFICATION_TIME_FIELD_NUMBER = 8; private com.google.protobuf.Timestamp lastModificationTime_; /** - * - * *
      * Output only. The time that the transfer job was last modified.
      * 
* - * - * .google.protobuf.Timestamp last_modification_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp last_modification_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the lastModificationTime field is set. */ @java.lang.Override @@ -28755,34 +28687,23 @@ public boolean hasLastModificationTime() { return lastModificationTime_ != null; } /** - * - * *
      * Output only. The time that the transfer job was last modified.
      * 
* - * - * .google.protobuf.Timestamp last_modification_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp last_modification_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The lastModificationTime. */ @java.lang.Override public com.google.protobuf.Timestamp getLastModificationTime() { - return lastModificationTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : lastModificationTime_; + return lastModificationTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : lastModificationTime_; } /** - * - * *
      * Output only. The time that the transfer job was last modified.
      * 
* - * - * .google.protobuf.Timestamp last_modification_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp last_modification_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ @java.lang.Override public com.google.protobuf.TimestampOrBuilder getLastModificationTimeOrBuilder() { @@ -28792,16 +28713,11 @@ public com.google.protobuf.TimestampOrBuilder getLastModificationTimeOrBuilder() public static final int DELETION_TIME_FIELD_NUMBER = 9; private com.google.protobuf.Timestamp deletionTime_; /** - * - * *
      * Output only. The time that the transfer job was deleted.
      * 
* - * - * .google.protobuf.Timestamp deletion_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp deletion_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the deletionTime field is set. */ @java.lang.Override @@ -28809,34 +28725,23 @@ public boolean hasDeletionTime() { return deletionTime_ != null; } /** - * - * *
      * Output only. The time that the transfer job was deleted.
      * 
* - * - * .google.protobuf.Timestamp deletion_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp deletion_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The deletionTime. */ @java.lang.Override public com.google.protobuf.Timestamp getDeletionTime() { - return deletionTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : deletionTime_; + return deletionTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : deletionTime_; } /** - * - * *
      * Output only. The time that the transfer job was deleted.
      * 
* - * - * .google.protobuf.Timestamp deletion_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp deletion_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ @java.lang.Override public com.google.protobuf.TimestampOrBuilder getDeletionTimeOrBuilder() { @@ -28846,15 +28751,12 @@ public com.google.protobuf.TimestampOrBuilder getDeletionTimeOrBuilder() { public static final int LATEST_OPERATION_NAME_FIELD_NUMBER = 12; private volatile java.lang.Object latestOperationName_; /** - * - * *
      * The name of the most recently started TransferOperation of this JobConfig.
      * Present if a TransferOperation has been created for this JobConfig.
      * 
* * string latest_operation_name = 12; - * * @return The latestOperationName. */ @java.lang.Override @@ -28863,30 +28765,30 @@ public java.lang.String getLatestOperationName() { 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(); latestOperationName_ = s; return s; } } /** - * - * *
      * The name of the most recently started TransferOperation of this JobConfig.
      * Present if a TransferOperation has been created for this JobConfig.
      * 
* * string latest_operation_name = 12; - * * @return The bytes for latestOperationName. */ @java.lang.Override - public com.google.protobuf.ByteString getLatestOperationNameBytes() { + public com.google.protobuf.ByteString + getLatestOperationNameBytes() { java.lang.Object ref = latestOperationName_; 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); latestOperationName_ = b; return b; } else { @@ -28895,7 +28797,6 @@ public com.google.protobuf.ByteString getLatestOperationNameBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -28907,7 +28808,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 (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -28923,9 +28825,7 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io if (schedule_ != null) { output.writeMessage(5, getSchedule()); } - if (status_ - != com.google.storagetransfer.v1.proto.TransferTypes.TransferJob.Status.STATUS_UNSPECIFIED - .getNumber()) { + if (status_ != com.google.storagetransfer.v1.proto.TransferTypes.TransferJob.Status.STATUS_UNSPECIFIED.getNumber()) { output.writeEnum(6, status_); } if (creationTime_ != null) { @@ -28965,35 +28865,39 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, projectId_); } if (transferSpec_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(4, getTransferSpec()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(4, getTransferSpec()); } if (schedule_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(5, getSchedule()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(5, getSchedule()); } - if (status_ - != com.google.storagetransfer.v1.proto.TransferTypes.TransferJob.Status.STATUS_UNSPECIFIED - .getNumber()) { - size += com.google.protobuf.CodedOutputStream.computeEnumSize(6, status_); + if (status_ != com.google.storagetransfer.v1.proto.TransferTypes.TransferJob.Status.STATUS_UNSPECIFIED.getNumber()) { + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(6, status_); } if (creationTime_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(7, getCreationTime()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(7, getCreationTime()); } if (lastModificationTime_ != null) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize(8, getLastModificationTime()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(8, getLastModificationTime()); } if (deletionTime_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(9, getDeletionTime()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(9, getDeletionTime()); } if (notificationConfig_ != null) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize(11, getNotificationConfig()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(11, getNotificationConfig()); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(latestOperationName_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(12, latestOperationName_); } if (loggingConfig_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(14, getLoggingConfig()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(14, getLoggingConfig()); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -29003,47 +28907,57 @@ 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.storagetransfer.v1.proto.TransferTypes.TransferJob)) { return super.equals(obj); } - com.google.storagetransfer.v1.proto.TransferTypes.TransferJob other = - (com.google.storagetransfer.v1.proto.TransferTypes.TransferJob) obj; + com.google.storagetransfer.v1.proto.TransferTypes.TransferJob other = (com.google.storagetransfer.v1.proto.TransferTypes.TransferJob) obj; - if (!getName().equals(other.getName())) return false; - if (!getDescription().equals(other.getDescription())) return false; - if (!getProjectId().equals(other.getProjectId())) return false; + if (!getName() + .equals(other.getName())) return false; + if (!getDescription() + .equals(other.getDescription())) return false; + if (!getProjectId() + .equals(other.getProjectId())) return false; if (hasTransferSpec() != other.hasTransferSpec()) return false; if (hasTransferSpec()) { - if (!getTransferSpec().equals(other.getTransferSpec())) return false; + if (!getTransferSpec() + .equals(other.getTransferSpec())) return false; } if (hasNotificationConfig() != other.hasNotificationConfig()) return false; if (hasNotificationConfig()) { - if (!getNotificationConfig().equals(other.getNotificationConfig())) return false; + if (!getNotificationConfig() + .equals(other.getNotificationConfig())) return false; } if (hasLoggingConfig() != other.hasLoggingConfig()) return false; if (hasLoggingConfig()) { - if (!getLoggingConfig().equals(other.getLoggingConfig())) return false; + if (!getLoggingConfig() + .equals(other.getLoggingConfig())) return false; } if (hasSchedule() != other.hasSchedule()) return false; if (hasSchedule()) { - if (!getSchedule().equals(other.getSchedule())) return false; + if (!getSchedule() + .equals(other.getSchedule())) return false; } if (status_ != other.status_) return false; if (hasCreationTime() != other.hasCreationTime()) return false; if (hasCreationTime()) { - if (!getCreationTime().equals(other.getCreationTime())) return false; + if (!getCreationTime() + .equals(other.getCreationTime())) return false; } if (hasLastModificationTime() != other.hasLastModificationTime()) return false; if (hasLastModificationTime()) { - if (!getLastModificationTime().equals(other.getLastModificationTime())) return false; + if (!getLastModificationTime() + .equals(other.getLastModificationTime())) return false; } if (hasDeletionTime() != other.hasDeletionTime()) return false; if (hasDeletionTime()) { - if (!getDeletionTime().equals(other.getDeletionTime())) return false; + if (!getDeletionTime() + .equals(other.getDeletionTime())) return false; } - if (!getLatestOperationName().equals(other.getLatestOperationName())) return false; + if (!getLatestOperationName() + .equals(other.getLatestOperationName())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -29099,94 +29013,87 @@ public int hashCode() { } public static com.google.storagetransfer.v1.proto.TransferTypes.TransferJob parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.storagetransfer.v1.proto.TransferTypes.TransferJob 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.storagetransfer.v1.proto.TransferTypes.TransferJob parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.storagetransfer.v1.proto.TransferTypes.TransferJob 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.storagetransfer.v1.proto.TransferTypes.TransferJob parseFrom( - byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.storagetransfer.v1.proto.TransferTypes.TransferJob parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.storagetransfer.v1.proto.TransferTypes.TransferJob 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.storagetransfer.v1.proto.TransferTypes.TransferJob parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.storagetransfer.v1.proto.TransferTypes.TransferJob parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.storagetransfer.v1.proto.TransferTypes.TransferJob 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.storagetransfer.v1.proto.TransferTypes.TransferJob parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.storagetransfer.v1.proto.TransferTypes.TransferJob parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.storagetransfer.v1.proto.TransferTypes.TransferJob 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.storagetransfer.v1.proto.TransferTypes.TransferJob 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.storagetransfer.v1.proto.TransferTypes.TransferJob 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.storagetransfer.v1.proto.TransferTypes.TransferJob prototype) { + public static Builder newBuilder(com.google.storagetransfer.v1.proto.TransferTypes.TransferJob 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 @@ -29196,8 +29103,6 @@ protected Builder newBuilderForType( return builder; } /** - * - * *
      * This resource represents the configuration of a transfer job that runs
      * periodically.
@@ -29205,24 +29110,21 @@ protected Builder newBuilderForType(
      *
      * Protobuf type {@code google.storagetransfer.v1.TransferJob}
      */
-    public static final class Builder
-        extends com.google.protobuf.GeneratedMessageV3.Builder
-        implements
+    public static final class Builder extends
+        com.google.protobuf.GeneratedMessageV3.Builder implements
         // @@protoc_insertion_point(builder_implements:google.storagetransfer.v1.TransferJob)
         com.google.storagetransfer.v1.proto.TransferTypes.TransferJobOrBuilder {
-      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-        return com.google.storagetransfer.v1.proto.TransferTypes
-            .internal_static_google_storagetransfer_v1_TransferJob_descriptor;
+      public static final com.google.protobuf.Descriptors.Descriptor
+          getDescriptor() {
+        return com.google.storagetransfer.v1.proto.TransferTypes.internal_static_google_storagetransfer_v1_TransferJob_descriptor;
       }
 
       @java.lang.Override
       protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
           internalGetFieldAccessorTable() {
-        return com.google.storagetransfer.v1.proto.TransferTypes
-            .internal_static_google_storagetransfer_v1_TransferJob_fieldAccessorTable
+        return com.google.storagetransfer.v1.proto.TransferTypes.internal_static_google_storagetransfer_v1_TransferJob_fieldAccessorTable
             .ensureFieldAccessorsInitialized(
-                com.google.storagetransfer.v1.proto.TransferTypes.TransferJob.class,
-                com.google.storagetransfer.v1.proto.TransferTypes.TransferJob.Builder.class);
+                com.google.storagetransfer.v1.proto.TransferTypes.TransferJob.class, com.google.storagetransfer.v1.proto.TransferTypes.TransferJob.Builder.class);
       }
 
       // Construct using com.google.storagetransfer.v1.proto.TransferTypes.TransferJob.newBuilder()
@@ -29230,15 +29132,16 @@ private Builder() {
         maybeForceBuilderInitialization();
       }
 
-      private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+      private Builder(
+          com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
         super(parent);
         maybeForceBuilderInitialization();
       }
-
       private void maybeForceBuilderInitialization() {
-        if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {}
+        if (com.google.protobuf.GeneratedMessageV3
+                .alwaysUseFieldBuilders) {
+        }
       }
-
       @java.lang.Override
       public Builder clear() {
         super.clear();
@@ -29298,14 +29201,13 @@ public Builder clear() {
       }
 
       @java.lang.Override
-      public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-        return com.google.storagetransfer.v1.proto.TransferTypes
-            .internal_static_google_storagetransfer_v1_TransferJob_descriptor;
+      public com.google.protobuf.Descriptors.Descriptor
+          getDescriptorForType() {
+        return com.google.storagetransfer.v1.proto.TransferTypes.internal_static_google_storagetransfer_v1_TransferJob_descriptor;
       }
 
       @java.lang.Override
-      public com.google.storagetransfer.v1.proto.TransferTypes.TransferJob
-          getDefaultInstanceForType() {
+      public com.google.storagetransfer.v1.proto.TransferTypes.TransferJob getDefaultInstanceForType() {
         return com.google.storagetransfer.v1.proto.TransferTypes.TransferJob.getDefaultInstance();
       }
 
@@ -29320,8 +29222,7 @@ public com.google.storagetransfer.v1.proto.TransferTypes.TransferJob build() {
 
       @java.lang.Override
       public com.google.storagetransfer.v1.proto.TransferTypes.TransferJob buildPartial() {
-        com.google.storagetransfer.v1.proto.TransferTypes.TransferJob result =
-            new com.google.storagetransfer.v1.proto.TransferTypes.TransferJob(this);
+        com.google.storagetransfer.v1.proto.TransferTypes.TransferJob result = new com.google.storagetransfer.v1.proto.TransferTypes.TransferJob(this);
         result.name_ = name_;
         result.description_ = description_;
         result.projectId_ = projectId_;
@@ -29370,52 +29271,46 @@ public com.google.storagetransfer.v1.proto.TransferTypes.TransferJob buildPartia
       public Builder clone() {
         return super.clone();
       }
-
       @java.lang.Override
       public Builder setField(
-          com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+          com.google.protobuf.Descriptors.FieldDescriptor field,
+          java.lang.Object value) {
         return super.setField(field, value);
       }
-
       @java.lang.Override
-      public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+      public Builder clearField(
+          com.google.protobuf.Descriptors.FieldDescriptor field) {
         return super.clearField(field);
       }
-
       @java.lang.Override
-      public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+      public Builder clearOneof(
+          com.google.protobuf.Descriptors.OneofDescriptor oneof) {
         return super.clearOneof(oneof);
       }
-
       @java.lang.Override
       public Builder setRepeatedField(
           com.google.protobuf.Descriptors.FieldDescriptor field,
-          int index,
-          java.lang.Object value) {
+          int index, java.lang.Object value) {
         return super.setRepeatedField(field, index, value);
       }
-
       @java.lang.Override
       public Builder addRepeatedField(
-          com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+          com.google.protobuf.Descriptors.FieldDescriptor field,
+          java.lang.Object value) {
         return super.addRepeatedField(field, value);
       }
-
       @java.lang.Override
       public Builder mergeFrom(com.google.protobuf.Message other) {
         if (other instanceof com.google.storagetransfer.v1.proto.TransferTypes.TransferJob) {
-          return mergeFrom((com.google.storagetransfer.v1.proto.TransferTypes.TransferJob) other);
+          return mergeFrom((com.google.storagetransfer.v1.proto.TransferTypes.TransferJob)other);
         } else {
           super.mergeFrom(other);
           return this;
         }
       }
 
-      public Builder mergeFrom(
-          com.google.storagetransfer.v1.proto.TransferTypes.TransferJob other) {
-        if (other
-            == com.google.storagetransfer.v1.proto.TransferTypes.TransferJob.getDefaultInstance())
-          return this;
+      public Builder mergeFrom(com.google.storagetransfer.v1.proto.TransferTypes.TransferJob other) {
+        if (other == com.google.storagetransfer.v1.proto.TransferTypes.TransferJob.getDefaultInstance()) return this;
         if (!other.getName().isEmpty()) {
           name_ = other.name_;
           onChanged();
@@ -29475,9 +29370,7 @@ public Builder mergeFrom(
         try {
           parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
         } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-          parsedMessage =
-              (com.google.storagetransfer.v1.proto.TransferTypes.TransferJob)
-                  e.getUnfinishedMessage();
+          parsedMessage = (com.google.storagetransfer.v1.proto.TransferTypes.TransferJob) e.getUnfinishedMessage();
           throw e.unwrapIOException();
         } finally {
           if (parsedMessage != null) {
@@ -29489,8 +29382,6 @@ public Builder mergeFrom(
 
       private java.lang.Object name_ = "";
       /**
-       *
-       *
        * 
        * A unique name (within the transfer project) assigned when the job is
        * created.  If this field is empty in a CreateTransferJobRequest, Storage
@@ -29514,13 +29405,13 @@ public Builder mergeFrom(
        * 
* * string name = 1; - * * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; 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(); name_ = s; return s; @@ -29529,8 +29420,6 @@ public java.lang.String getName() { } } /** - * - * *
        * A unique name (within the transfer project) assigned when the job is
        * created.  If this field is empty in a CreateTransferJobRequest, Storage
@@ -29554,14 +29443,15 @@ public java.lang.String getName() {
        * 
* * string name = 1; - * * @return The bytes for name. */ - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; 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); name_ = b; return b; } else { @@ -29569,8 +29459,6 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
        * A unique name (within the transfer project) assigned when the job is
        * created.  If this field is empty in a CreateTransferJobRequest, Storage
@@ -29594,22 +29482,20 @@ public com.google.protobuf.ByteString getNameBytes() {
        * 
* * string name = 1; - * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName(java.lang.String value) { + public Builder setName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** - * - * *
        * A unique name (within the transfer project) assigned when the job is
        * created.  If this field is empty in a CreateTransferJobRequest, Storage
@@ -29633,18 +29519,15 @@ public Builder setName(java.lang.String value) {
        * 
* * string name = 1; - * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** - * - * *
        * A unique name (within the transfer project) assigned when the job is
        * created.  If this field is empty in a CreateTransferJobRequest, Storage
@@ -29668,16 +29551,16 @@ public Builder clearName() {
        * 
* * string name = 1; - * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { + public Builder setNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; @@ -29685,21 +29568,19 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) { private java.lang.Object description_ = ""; /** - * - * *
        * A description provided by the user for the job. Its max length is 1024
        * bytes when Unicode-encoded.
        * 
* * string description = 2; - * * @return The description. */ public java.lang.String getDescription() { java.lang.Object ref = description_; 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(); description_ = s; return s; @@ -29708,22 +29589,21 @@ public java.lang.String getDescription() { } } /** - * - * *
        * A description provided by the user for the job. Its max length is 1024
        * bytes when Unicode-encoded.
        * 
* * string description = 2; - * * @return The bytes for description. */ - public com.google.protobuf.ByteString getDescriptionBytes() { + public com.google.protobuf.ByteString + getDescriptionBytes() { java.lang.Object ref = description_; 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); description_ = b; return b; } else { @@ -29731,64 +29611,57 @@ public com.google.protobuf.ByteString getDescriptionBytes() { } } /** - * - * *
        * A description provided by the user for the job. Its max length is 1024
        * bytes when Unicode-encoded.
        * 
* * string description = 2; - * * @param value The description to set. * @return This builder for chaining. */ - public Builder setDescription(java.lang.String value) { + public Builder setDescription( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + description_ = value; onChanged(); return this; } /** - * - * *
        * A description provided by the user for the job. Its max length is 1024
        * bytes when Unicode-encoded.
        * 
* * string description = 2; - * * @return This builder for chaining. */ public Builder clearDescription() { - + description_ = getDefaultInstance().getDescription(); onChanged(); return this; } /** - * - * *
        * A description provided by the user for the job. Its max length is 1024
        * bytes when Unicode-encoded.
        * 
* * string description = 2; - * * @param value The bytes for description to set. * @return This builder for chaining. */ - public Builder setDescriptionBytes(com.google.protobuf.ByteString value) { + public Builder setDescriptionBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + description_ = value; onChanged(); return this; @@ -29796,20 +29669,18 @@ public Builder setDescriptionBytes(com.google.protobuf.ByteString value) { private java.lang.Object projectId_ = ""; /** - * - * *
        * The ID of the Google Cloud project that owns the job.
        * 
* * string project_id = 3; - * * @return The projectId. */ public java.lang.String getProjectId() { java.lang.Object ref = projectId_; 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(); projectId_ = s; return s; @@ -29818,21 +29689,20 @@ public java.lang.String getProjectId() { } } /** - * - * *
        * The ID of the Google Cloud project that owns the job.
        * 
* * string project_id = 3; - * * @return The bytes for projectId. */ - public com.google.protobuf.ByteString getProjectIdBytes() { + public com.google.protobuf.ByteString + getProjectIdBytes() { java.lang.Object ref = projectId_; 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); projectId_ = b; return b; } else { @@ -29840,61 +29710,54 @@ public com.google.protobuf.ByteString getProjectIdBytes() { } } /** - * - * *
        * The ID of the Google Cloud project that owns the job.
        * 
* * string project_id = 3; - * * @param value The projectId to set. * @return This builder for chaining. */ - public Builder setProjectId(java.lang.String value) { + public Builder setProjectId( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + projectId_ = value; onChanged(); return this; } /** - * - * *
        * The ID of the Google Cloud project that owns the job.
        * 
* * string project_id = 3; - * * @return This builder for chaining. */ public Builder clearProjectId() { - + projectId_ = getDefaultInstance().getProjectId(); onChanged(); return this; } /** - * - * *
        * The ID of the Google Cloud project that owns the job.
        * 
* * string project_id = 3; - * * @param value The bytes for projectId to set. * @return This builder for chaining. */ - public Builder setProjectIdBytes(com.google.protobuf.ByteString value) { + public Builder setProjectIdBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + projectId_ = value; onChanged(); return this; @@ -29902,55 +29765,41 @@ public Builder setProjectIdBytes(com.google.protobuf.ByteString value) { private com.google.storagetransfer.v1.proto.TransferTypes.TransferSpec transferSpec_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.storagetransfer.v1.proto.TransferTypes.TransferSpec, - com.google.storagetransfer.v1.proto.TransferTypes.TransferSpec.Builder, - com.google.storagetransfer.v1.proto.TransferTypes.TransferSpecOrBuilder> - transferSpecBuilder_; + com.google.storagetransfer.v1.proto.TransferTypes.TransferSpec, com.google.storagetransfer.v1.proto.TransferTypes.TransferSpec.Builder, com.google.storagetransfer.v1.proto.TransferTypes.TransferSpecOrBuilder> transferSpecBuilder_; /** - * - * *
        * Transfer specification.
        * 
* * .google.storagetransfer.v1.TransferSpec transfer_spec = 4; - * * @return Whether the transferSpec field is set. */ public boolean hasTransferSpec() { return transferSpecBuilder_ != null || transferSpec_ != null; } /** - * - * *
        * Transfer specification.
        * 
* * .google.storagetransfer.v1.TransferSpec transfer_spec = 4; - * * @return The transferSpec. */ public com.google.storagetransfer.v1.proto.TransferTypes.TransferSpec getTransferSpec() { if (transferSpecBuilder_ == null) { - return transferSpec_ == null - ? com.google.storagetransfer.v1.proto.TransferTypes.TransferSpec.getDefaultInstance() - : transferSpec_; + return transferSpec_ == null ? com.google.storagetransfer.v1.proto.TransferTypes.TransferSpec.getDefaultInstance() : transferSpec_; } else { return transferSpecBuilder_.getMessage(); } } /** - * - * *
        * Transfer specification.
        * 
* * .google.storagetransfer.v1.TransferSpec transfer_spec = 4; */ - public Builder setTransferSpec( - com.google.storagetransfer.v1.proto.TransferTypes.TransferSpec value) { + public Builder setTransferSpec(com.google.storagetransfer.v1.proto.TransferTypes.TransferSpec value) { if (transferSpecBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -29964,8 +29813,6 @@ public Builder setTransferSpec( return this; } /** - * - * *
        * Transfer specification.
        * 
@@ -29984,23 +29831,17 @@ public Builder setTransferSpec( return this; } /** - * - * *
        * Transfer specification.
        * 
* * .google.storagetransfer.v1.TransferSpec transfer_spec = 4; */ - public Builder mergeTransferSpec( - com.google.storagetransfer.v1.proto.TransferTypes.TransferSpec value) { + public Builder mergeTransferSpec(com.google.storagetransfer.v1.proto.TransferTypes.TransferSpec value) { if (transferSpecBuilder_ == null) { if (transferSpec_ != null) { transferSpec_ = - com.google.storagetransfer.v1.proto.TransferTypes.TransferSpec.newBuilder( - transferSpec_) - .mergeFrom(value) - .buildPartial(); + com.google.storagetransfer.v1.proto.TransferTypes.TransferSpec.newBuilder(transferSpec_).mergeFrom(value).buildPartial(); } else { transferSpec_ = value; } @@ -30012,8 +29853,6 @@ public Builder mergeTransferSpec( return this; } /** - * - * *
        * Transfer specification.
        * 
@@ -30032,42 +29871,33 @@ public Builder clearTransferSpec() { return this; } /** - * - * *
        * Transfer specification.
        * 
* * .google.storagetransfer.v1.TransferSpec transfer_spec = 4; */ - public com.google.storagetransfer.v1.proto.TransferTypes.TransferSpec.Builder - getTransferSpecBuilder() { - + public com.google.storagetransfer.v1.proto.TransferTypes.TransferSpec.Builder getTransferSpecBuilder() { + onChanged(); return getTransferSpecFieldBuilder().getBuilder(); } /** - * - * *
        * Transfer specification.
        * 
* * .google.storagetransfer.v1.TransferSpec transfer_spec = 4; */ - public com.google.storagetransfer.v1.proto.TransferTypes.TransferSpecOrBuilder - getTransferSpecOrBuilder() { + public com.google.storagetransfer.v1.proto.TransferTypes.TransferSpecOrBuilder getTransferSpecOrBuilder() { if (transferSpecBuilder_ != null) { return transferSpecBuilder_.getMessageOrBuilder(); } else { - return transferSpec_ == null - ? com.google.storagetransfer.v1.proto.TransferTypes.TransferSpec.getDefaultInstance() - : transferSpec_; + return transferSpec_ == null ? + com.google.storagetransfer.v1.proto.TransferTypes.TransferSpec.getDefaultInstance() : transferSpec_; } } /** - * - * *
        * Transfer specification.
        * 
@@ -30075,70 +29905,51 @@ public Builder clearTransferSpec() { * .google.storagetransfer.v1.TransferSpec transfer_spec = 4; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.storagetransfer.v1.proto.TransferTypes.TransferSpec, - com.google.storagetransfer.v1.proto.TransferTypes.TransferSpec.Builder, - com.google.storagetransfer.v1.proto.TransferTypes.TransferSpecOrBuilder> + com.google.storagetransfer.v1.proto.TransferTypes.TransferSpec, com.google.storagetransfer.v1.proto.TransferTypes.TransferSpec.Builder, com.google.storagetransfer.v1.proto.TransferTypes.TransferSpecOrBuilder> getTransferSpecFieldBuilder() { if (transferSpecBuilder_ == null) { - transferSpecBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.storagetransfer.v1.proto.TransferTypes.TransferSpec, - com.google.storagetransfer.v1.proto.TransferTypes.TransferSpec.Builder, - com.google.storagetransfer.v1.proto.TransferTypes.TransferSpecOrBuilder>( - getTransferSpec(), getParentForChildren(), isClean()); + transferSpecBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.storagetransfer.v1.proto.TransferTypes.TransferSpec, com.google.storagetransfer.v1.proto.TransferTypes.TransferSpec.Builder, com.google.storagetransfer.v1.proto.TransferTypes.TransferSpecOrBuilder>( + getTransferSpec(), + getParentForChildren(), + isClean()); transferSpec_ = null; } return transferSpecBuilder_; } - private com.google.storagetransfer.v1.proto.TransferTypes.NotificationConfig - notificationConfig_; + private com.google.storagetransfer.v1.proto.TransferTypes.NotificationConfig notificationConfig_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.storagetransfer.v1.proto.TransferTypes.NotificationConfig, - com.google.storagetransfer.v1.proto.TransferTypes.NotificationConfig.Builder, - com.google.storagetransfer.v1.proto.TransferTypes.NotificationConfigOrBuilder> - notificationConfigBuilder_; + com.google.storagetransfer.v1.proto.TransferTypes.NotificationConfig, com.google.storagetransfer.v1.proto.TransferTypes.NotificationConfig.Builder, com.google.storagetransfer.v1.proto.TransferTypes.NotificationConfigOrBuilder> notificationConfigBuilder_; /** - * - * *
        * Notification configuration. This is not supported for transfers involving
        * PosixFilesystem.
        * 
* * .google.storagetransfer.v1.NotificationConfig notification_config = 11; - * * @return Whether the notificationConfig field is set. */ public boolean hasNotificationConfig() { return notificationConfigBuilder_ != null || notificationConfig_ != null; } /** - * - * *
        * Notification configuration. This is not supported for transfers involving
        * PosixFilesystem.
        * 
* * .google.storagetransfer.v1.NotificationConfig notification_config = 11; - * * @return The notificationConfig. */ - public com.google.storagetransfer.v1.proto.TransferTypes.NotificationConfig - getNotificationConfig() { + public com.google.storagetransfer.v1.proto.TransferTypes.NotificationConfig getNotificationConfig() { if (notificationConfigBuilder_ == null) { - return notificationConfig_ == null - ? com.google.storagetransfer.v1.proto.TransferTypes.NotificationConfig - .getDefaultInstance() - : notificationConfig_; + return notificationConfig_ == null ? com.google.storagetransfer.v1.proto.TransferTypes.NotificationConfig.getDefaultInstance() : notificationConfig_; } else { return notificationConfigBuilder_.getMessage(); } } /** - * - * *
        * Notification configuration. This is not supported for transfers involving
        * PosixFilesystem.
@@ -30146,8 +29957,7 @@ public boolean hasNotificationConfig() {
        *
        * .google.storagetransfer.v1.NotificationConfig notification_config = 11;
        */
-      public Builder setNotificationConfig(
-          com.google.storagetransfer.v1.proto.TransferTypes.NotificationConfig value) {
+      public Builder setNotificationConfig(com.google.storagetransfer.v1.proto.TransferTypes.NotificationConfig value) {
         if (notificationConfigBuilder_ == null) {
           if (value == null) {
             throw new NullPointerException();
@@ -30161,8 +29971,6 @@ public Builder setNotificationConfig(
         return this;
       }
       /**
-       *
-       *
        * 
        * Notification configuration. This is not supported for transfers involving
        * PosixFilesystem.
@@ -30171,8 +29979,7 @@ public Builder setNotificationConfig(
        * .google.storagetransfer.v1.NotificationConfig notification_config = 11;
        */
       public Builder setNotificationConfig(
-          com.google.storagetransfer.v1.proto.TransferTypes.NotificationConfig.Builder
-              builderForValue) {
+          com.google.storagetransfer.v1.proto.TransferTypes.NotificationConfig.Builder builderForValue) {
         if (notificationConfigBuilder_ == null) {
           notificationConfig_ = builderForValue.build();
           onChanged();
@@ -30183,8 +29990,6 @@ public Builder setNotificationConfig(
         return this;
       }
       /**
-       *
-       *
        * 
        * Notification configuration. This is not supported for transfers involving
        * PosixFilesystem.
@@ -30192,15 +29997,11 @@ public Builder setNotificationConfig(
        *
        * .google.storagetransfer.v1.NotificationConfig notification_config = 11;
        */
-      public Builder mergeNotificationConfig(
-          com.google.storagetransfer.v1.proto.TransferTypes.NotificationConfig value) {
+      public Builder mergeNotificationConfig(com.google.storagetransfer.v1.proto.TransferTypes.NotificationConfig value) {
         if (notificationConfigBuilder_ == null) {
           if (notificationConfig_ != null) {
             notificationConfig_ =
-                com.google.storagetransfer.v1.proto.TransferTypes.NotificationConfig.newBuilder(
-                        notificationConfig_)
-                    .mergeFrom(value)
-                    .buildPartial();
+              com.google.storagetransfer.v1.proto.TransferTypes.NotificationConfig.newBuilder(notificationConfig_).mergeFrom(value).buildPartial();
           } else {
             notificationConfig_ = value;
           }
@@ -30212,8 +30013,6 @@ public Builder mergeNotificationConfig(
         return this;
       }
       /**
-       *
-       *
        * 
        * Notification configuration. This is not supported for transfers involving
        * PosixFilesystem.
@@ -30233,8 +30032,6 @@ public Builder clearNotificationConfig() {
         return this;
       }
       /**
-       *
-       *
        * 
        * Notification configuration. This is not supported for transfers involving
        * PosixFilesystem.
@@ -30242,15 +30039,12 @@ public Builder clearNotificationConfig() {
        *
        * .google.storagetransfer.v1.NotificationConfig notification_config = 11;
        */
-      public com.google.storagetransfer.v1.proto.TransferTypes.NotificationConfig.Builder
-          getNotificationConfigBuilder() {
-
+      public com.google.storagetransfer.v1.proto.TransferTypes.NotificationConfig.Builder getNotificationConfigBuilder() {
+        
         onChanged();
         return getNotificationConfigFieldBuilder().getBuilder();
       }
       /**
-       *
-       *
        * 
        * Notification configuration. This is not supported for transfers involving
        * PosixFilesystem.
@@ -30258,20 +30052,15 @@ public Builder clearNotificationConfig() {
        *
        * .google.storagetransfer.v1.NotificationConfig notification_config = 11;
        */
-      public com.google.storagetransfer.v1.proto.TransferTypes.NotificationConfigOrBuilder
-          getNotificationConfigOrBuilder() {
+      public com.google.storagetransfer.v1.proto.TransferTypes.NotificationConfigOrBuilder getNotificationConfigOrBuilder() {
         if (notificationConfigBuilder_ != null) {
           return notificationConfigBuilder_.getMessageOrBuilder();
         } else {
-          return notificationConfig_ == null
-              ? com.google.storagetransfer.v1.proto.TransferTypes.NotificationConfig
-                  .getDefaultInstance()
-              : notificationConfig_;
+          return notificationConfig_ == null ?
+              com.google.storagetransfer.v1.proto.TransferTypes.NotificationConfig.getDefaultInstance() : notificationConfig_;
         }
       }
       /**
-       *
-       *
        * 
        * Notification configuration. This is not supported for transfers involving
        * PosixFilesystem.
@@ -30280,17 +30069,14 @@ public Builder clearNotificationConfig() {
        * .google.storagetransfer.v1.NotificationConfig notification_config = 11;
        */
       private com.google.protobuf.SingleFieldBuilderV3<
-              com.google.storagetransfer.v1.proto.TransferTypes.NotificationConfig,
-              com.google.storagetransfer.v1.proto.TransferTypes.NotificationConfig.Builder,
-              com.google.storagetransfer.v1.proto.TransferTypes.NotificationConfigOrBuilder>
+          com.google.storagetransfer.v1.proto.TransferTypes.NotificationConfig, com.google.storagetransfer.v1.proto.TransferTypes.NotificationConfig.Builder, com.google.storagetransfer.v1.proto.TransferTypes.NotificationConfigOrBuilder> 
           getNotificationConfigFieldBuilder() {
         if (notificationConfigBuilder_ == null) {
-          notificationConfigBuilder_ =
-              new com.google.protobuf.SingleFieldBuilderV3<
-                  com.google.storagetransfer.v1.proto.TransferTypes.NotificationConfig,
-                  com.google.storagetransfer.v1.proto.TransferTypes.NotificationConfig.Builder,
-                  com.google.storagetransfer.v1.proto.TransferTypes.NotificationConfigOrBuilder>(
-                  getNotificationConfig(), getParentForChildren(), isClean());
+          notificationConfigBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+              com.google.storagetransfer.v1.proto.TransferTypes.NotificationConfig, com.google.storagetransfer.v1.proto.TransferTypes.NotificationConfig.Builder, com.google.storagetransfer.v1.proto.TransferTypes.NotificationConfigOrBuilder>(
+                  getNotificationConfig(),
+                  getParentForChildren(),
+                  isClean());
           notificationConfig_ = null;
         }
         return notificationConfigBuilder_;
@@ -30298,55 +30084,41 @@ public Builder clearNotificationConfig() {
 
       private com.google.storagetransfer.v1.proto.TransferTypes.LoggingConfig loggingConfig_;
       private com.google.protobuf.SingleFieldBuilderV3<
-              com.google.storagetransfer.v1.proto.TransferTypes.LoggingConfig,
-              com.google.storagetransfer.v1.proto.TransferTypes.LoggingConfig.Builder,
-              com.google.storagetransfer.v1.proto.TransferTypes.LoggingConfigOrBuilder>
-          loggingConfigBuilder_;
+          com.google.storagetransfer.v1.proto.TransferTypes.LoggingConfig, com.google.storagetransfer.v1.proto.TransferTypes.LoggingConfig.Builder, com.google.storagetransfer.v1.proto.TransferTypes.LoggingConfigOrBuilder> loggingConfigBuilder_;
       /**
-       *
-       *
        * 
        * Logging configuration.
        * 
* * .google.storagetransfer.v1.LoggingConfig logging_config = 14; - * * @return Whether the loggingConfig field is set. */ public boolean hasLoggingConfig() { return loggingConfigBuilder_ != null || loggingConfig_ != null; } /** - * - * *
        * Logging configuration.
        * 
* * .google.storagetransfer.v1.LoggingConfig logging_config = 14; - * * @return The loggingConfig. */ public com.google.storagetransfer.v1.proto.TransferTypes.LoggingConfig getLoggingConfig() { if (loggingConfigBuilder_ == null) { - return loggingConfig_ == null - ? com.google.storagetransfer.v1.proto.TransferTypes.LoggingConfig.getDefaultInstance() - : loggingConfig_; + return loggingConfig_ == null ? com.google.storagetransfer.v1.proto.TransferTypes.LoggingConfig.getDefaultInstance() : loggingConfig_; } else { return loggingConfigBuilder_.getMessage(); } } /** - * - * *
        * Logging configuration.
        * 
* * .google.storagetransfer.v1.LoggingConfig logging_config = 14; */ - public Builder setLoggingConfig( - com.google.storagetransfer.v1.proto.TransferTypes.LoggingConfig value) { + public Builder setLoggingConfig(com.google.storagetransfer.v1.proto.TransferTypes.LoggingConfig value) { if (loggingConfigBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -30360,8 +30132,6 @@ public Builder setLoggingConfig( return this; } /** - * - * *
        * Logging configuration.
        * 
@@ -30380,23 +30150,17 @@ public Builder setLoggingConfig( return this; } /** - * - * *
        * Logging configuration.
        * 
* * .google.storagetransfer.v1.LoggingConfig logging_config = 14; */ - public Builder mergeLoggingConfig( - com.google.storagetransfer.v1.proto.TransferTypes.LoggingConfig value) { + public Builder mergeLoggingConfig(com.google.storagetransfer.v1.proto.TransferTypes.LoggingConfig value) { if (loggingConfigBuilder_ == null) { if (loggingConfig_ != null) { loggingConfig_ = - com.google.storagetransfer.v1.proto.TransferTypes.LoggingConfig.newBuilder( - loggingConfig_) - .mergeFrom(value) - .buildPartial(); + com.google.storagetransfer.v1.proto.TransferTypes.LoggingConfig.newBuilder(loggingConfig_).mergeFrom(value).buildPartial(); } else { loggingConfig_ = value; } @@ -30408,8 +30172,6 @@ public Builder mergeLoggingConfig( return this; } /** - * - * *
        * Logging configuration.
        * 
@@ -30428,42 +30190,33 @@ public Builder clearLoggingConfig() { return this; } /** - * - * *
        * Logging configuration.
        * 
* * .google.storagetransfer.v1.LoggingConfig logging_config = 14; */ - public com.google.storagetransfer.v1.proto.TransferTypes.LoggingConfig.Builder - getLoggingConfigBuilder() { - + public com.google.storagetransfer.v1.proto.TransferTypes.LoggingConfig.Builder getLoggingConfigBuilder() { + onChanged(); return getLoggingConfigFieldBuilder().getBuilder(); } /** - * - * *
        * Logging configuration.
        * 
* * .google.storagetransfer.v1.LoggingConfig logging_config = 14; */ - public com.google.storagetransfer.v1.proto.TransferTypes.LoggingConfigOrBuilder - getLoggingConfigOrBuilder() { + public com.google.storagetransfer.v1.proto.TransferTypes.LoggingConfigOrBuilder getLoggingConfigOrBuilder() { if (loggingConfigBuilder_ != null) { return loggingConfigBuilder_.getMessageOrBuilder(); } else { - return loggingConfig_ == null - ? com.google.storagetransfer.v1.proto.TransferTypes.LoggingConfig.getDefaultInstance() - : loggingConfig_; + return loggingConfig_ == null ? + com.google.storagetransfer.v1.proto.TransferTypes.LoggingConfig.getDefaultInstance() : loggingConfig_; } } /** - * - * *
        * Logging configuration.
        * 
@@ -30471,17 +30224,14 @@ public Builder clearLoggingConfig() { * .google.storagetransfer.v1.LoggingConfig logging_config = 14; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.storagetransfer.v1.proto.TransferTypes.LoggingConfig, - com.google.storagetransfer.v1.proto.TransferTypes.LoggingConfig.Builder, - com.google.storagetransfer.v1.proto.TransferTypes.LoggingConfigOrBuilder> + com.google.storagetransfer.v1.proto.TransferTypes.LoggingConfig, com.google.storagetransfer.v1.proto.TransferTypes.LoggingConfig.Builder, com.google.storagetransfer.v1.proto.TransferTypes.LoggingConfigOrBuilder> getLoggingConfigFieldBuilder() { if (loggingConfigBuilder_ == null) { - loggingConfigBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.storagetransfer.v1.proto.TransferTypes.LoggingConfig, - com.google.storagetransfer.v1.proto.TransferTypes.LoggingConfig.Builder, - com.google.storagetransfer.v1.proto.TransferTypes.LoggingConfigOrBuilder>( - getLoggingConfig(), getParentForChildren(), isClean()); + loggingConfigBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.storagetransfer.v1.proto.TransferTypes.LoggingConfig, com.google.storagetransfer.v1.proto.TransferTypes.LoggingConfig.Builder, com.google.storagetransfer.v1.proto.TransferTypes.LoggingConfigOrBuilder>( + getLoggingConfig(), + getParentForChildren(), + isClean()); loggingConfig_ = null; } return loggingConfigBuilder_; @@ -30489,13 +30239,8 @@ public Builder clearLoggingConfig() { private com.google.storagetransfer.v1.proto.TransferTypes.Schedule schedule_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.storagetransfer.v1.proto.TransferTypes.Schedule, - com.google.storagetransfer.v1.proto.TransferTypes.Schedule.Builder, - com.google.storagetransfer.v1.proto.TransferTypes.ScheduleOrBuilder> - scheduleBuilder_; + com.google.storagetransfer.v1.proto.TransferTypes.Schedule, com.google.storagetransfer.v1.proto.TransferTypes.Schedule.Builder, com.google.storagetransfer.v1.proto.TransferTypes.ScheduleOrBuilder> scheduleBuilder_; /** - * - * *
        * Specifies schedule for the transfer job.
        * This is an optional field. When the field is not set, the job never
@@ -30504,15 +30249,12 @@ public Builder clearLoggingConfig() {
        * 
* * .google.storagetransfer.v1.Schedule schedule = 5; - * * @return Whether the schedule field is set. */ public boolean hasSchedule() { return scheduleBuilder_ != null || schedule_ != null; } /** - * - * *
        * Specifies schedule for the transfer job.
        * This is an optional field. When the field is not set, the job never
@@ -30521,21 +30263,16 @@ public boolean hasSchedule() {
        * 
* * .google.storagetransfer.v1.Schedule schedule = 5; - * * @return The schedule. */ public com.google.storagetransfer.v1.proto.TransferTypes.Schedule getSchedule() { if (scheduleBuilder_ == null) { - return schedule_ == null - ? com.google.storagetransfer.v1.proto.TransferTypes.Schedule.getDefaultInstance() - : schedule_; + return schedule_ == null ? com.google.storagetransfer.v1.proto.TransferTypes.Schedule.getDefaultInstance() : schedule_; } else { return scheduleBuilder_.getMessage(); } } /** - * - * *
        * Specifies schedule for the transfer job.
        * This is an optional field. When the field is not set, the job never
@@ -30559,8 +30296,6 @@ public Builder setSchedule(com.google.storagetransfer.v1.proto.TransferTypes.Sch
         return this;
       }
       /**
-       *
-       *
        * 
        * Specifies schedule for the transfer job.
        * This is an optional field. When the field is not set, the job never
@@ -30582,8 +30317,6 @@ public Builder setSchedule(
         return this;
       }
       /**
-       *
-       *
        * 
        * Specifies schedule for the transfer job.
        * This is an optional field. When the field is not set, the job never
@@ -30593,14 +30326,11 @@ public Builder setSchedule(
        *
        * .google.storagetransfer.v1.Schedule schedule = 5;
        */
-      public Builder mergeSchedule(
-          com.google.storagetransfer.v1.proto.TransferTypes.Schedule value) {
+      public Builder mergeSchedule(com.google.storagetransfer.v1.proto.TransferTypes.Schedule value) {
         if (scheduleBuilder_ == null) {
           if (schedule_ != null) {
             schedule_ =
-                com.google.storagetransfer.v1.proto.TransferTypes.Schedule.newBuilder(schedule_)
-                    .mergeFrom(value)
-                    .buildPartial();
+              com.google.storagetransfer.v1.proto.TransferTypes.Schedule.newBuilder(schedule_).mergeFrom(value).buildPartial();
           } else {
             schedule_ = value;
           }
@@ -30612,8 +30342,6 @@ public Builder mergeSchedule(
         return this;
       }
       /**
-       *
-       *
        * 
        * Specifies schedule for the transfer job.
        * This is an optional field. When the field is not set, the job never
@@ -30635,8 +30363,6 @@ public Builder clearSchedule() {
         return this;
       }
       /**
-       *
-       *
        * 
        * Specifies schedule for the transfer job.
        * This is an optional field. When the field is not set, the job never
@@ -30646,15 +30372,12 @@ public Builder clearSchedule() {
        *
        * .google.storagetransfer.v1.Schedule schedule = 5;
        */
-      public com.google.storagetransfer.v1.proto.TransferTypes.Schedule.Builder
-          getScheduleBuilder() {
-
+      public com.google.storagetransfer.v1.proto.TransferTypes.Schedule.Builder getScheduleBuilder() {
+        
         onChanged();
         return getScheduleFieldBuilder().getBuilder();
       }
       /**
-       *
-       *
        * 
        * Specifies schedule for the transfer job.
        * This is an optional field. When the field is not set, the job never
@@ -30664,19 +30387,15 @@ public Builder clearSchedule() {
        *
        * .google.storagetransfer.v1.Schedule schedule = 5;
        */
-      public com.google.storagetransfer.v1.proto.TransferTypes.ScheduleOrBuilder
-          getScheduleOrBuilder() {
+      public com.google.storagetransfer.v1.proto.TransferTypes.ScheduleOrBuilder getScheduleOrBuilder() {
         if (scheduleBuilder_ != null) {
           return scheduleBuilder_.getMessageOrBuilder();
         } else {
-          return schedule_ == null
-              ? com.google.storagetransfer.v1.proto.TransferTypes.Schedule.getDefaultInstance()
-              : schedule_;
+          return schedule_ == null ?
+              com.google.storagetransfer.v1.proto.TransferTypes.Schedule.getDefaultInstance() : schedule_;
         }
       }
       /**
-       *
-       *
        * 
        * Specifies schedule for the transfer job.
        * This is an optional field. When the field is not set, the job never
@@ -30687,17 +30406,14 @@ public Builder clearSchedule() {
        * .google.storagetransfer.v1.Schedule schedule = 5;
        */
       private com.google.protobuf.SingleFieldBuilderV3<
-              com.google.storagetransfer.v1.proto.TransferTypes.Schedule,
-              com.google.storagetransfer.v1.proto.TransferTypes.Schedule.Builder,
-              com.google.storagetransfer.v1.proto.TransferTypes.ScheduleOrBuilder>
+          com.google.storagetransfer.v1.proto.TransferTypes.Schedule, com.google.storagetransfer.v1.proto.TransferTypes.Schedule.Builder, com.google.storagetransfer.v1.proto.TransferTypes.ScheduleOrBuilder> 
           getScheduleFieldBuilder() {
         if (scheduleBuilder_ == null) {
-          scheduleBuilder_ =
-              new com.google.protobuf.SingleFieldBuilderV3<
-                  com.google.storagetransfer.v1.proto.TransferTypes.Schedule,
-                  com.google.storagetransfer.v1.proto.TransferTypes.Schedule.Builder,
-                  com.google.storagetransfer.v1.proto.TransferTypes.ScheduleOrBuilder>(
-                  getSchedule(), getParentForChildren(), isClean());
+          scheduleBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+              com.google.storagetransfer.v1.proto.TransferTypes.Schedule, com.google.storagetransfer.v1.proto.TransferTypes.Schedule.Builder, com.google.storagetransfer.v1.proto.TransferTypes.ScheduleOrBuilder>(
+                  getSchedule(),
+                  getParentForChildren(),
+                  isClean());
           schedule_ = null;
         }
         return scheduleBuilder_;
@@ -30705,8 +30421,6 @@ public Builder clearSchedule() {
 
       private int status_ = 0;
       /**
-       *
-       *
        * 
        * Status of the job. This value MUST be specified for
        * `CreateTransferJobRequests`.
@@ -30718,16 +30432,12 @@ public Builder clearSchedule() {
        * 
* * .google.storagetransfer.v1.TransferJob.Status status = 6; - * * @return The enum numeric value on the wire for status. */ - @java.lang.Override - public int getStatusValue() { + @java.lang.Override public int getStatusValue() { return status_; } /** - * - * *
        * Status of the job. This value MUST be specified for
        * `CreateTransferJobRequests`.
@@ -30739,19 +30449,16 @@ public int getStatusValue() {
        * 
* * .google.storagetransfer.v1.TransferJob.Status status = 6; - * * @param value The enum numeric value on the wire for status to set. * @return This builder for chaining. */ public Builder setStatusValue(int value) { - + status_ = value; onChanged(); return this; } /** - * - * *
        * Status of the job. This value MUST be specified for
        * `CreateTransferJobRequests`.
@@ -30763,21 +30470,15 @@ public Builder setStatusValue(int value) {
        * 
* * .google.storagetransfer.v1.TransferJob.Status status = 6; - * * @return The status. */ @java.lang.Override public com.google.storagetransfer.v1.proto.TransferTypes.TransferJob.Status getStatus() { @SuppressWarnings("deprecation") - com.google.storagetransfer.v1.proto.TransferTypes.TransferJob.Status result = - com.google.storagetransfer.v1.proto.TransferTypes.TransferJob.Status.valueOf(status_); - return result == null - ? com.google.storagetransfer.v1.proto.TransferTypes.TransferJob.Status.UNRECOGNIZED - : result; + com.google.storagetransfer.v1.proto.TransferTypes.TransferJob.Status result = com.google.storagetransfer.v1.proto.TransferTypes.TransferJob.Status.valueOf(status_); + return result == null ? com.google.storagetransfer.v1.proto.TransferTypes.TransferJob.Status.UNRECOGNIZED : result; } /** - * - * *
        * Status of the job. This value MUST be specified for
        * `CreateTransferJobRequests`.
@@ -30789,23 +30490,19 @@ public com.google.storagetransfer.v1.proto.TransferTypes.TransferJob.Status getS
        * 
* * .google.storagetransfer.v1.TransferJob.Status status = 6; - * * @param value The status to set. * @return This builder for chaining. */ - public Builder setStatus( - com.google.storagetransfer.v1.proto.TransferTypes.TransferJob.Status value) { + public Builder setStatus(com.google.storagetransfer.v1.proto.TransferTypes.TransferJob.Status value) { if (value == null) { throw new NullPointerException(); } - + status_ = value.getNumber(); onChanged(); return this; } /** - * - * *
        * Status of the job. This value MUST be specified for
        * `CreateTransferJobRequests`.
@@ -30817,11 +30514,10 @@ public Builder setStatus(
        * 
* * .google.storagetransfer.v1.TransferJob.Status status = 6; - * * @return This builder for chaining. */ public Builder clearStatus() { - + status_ = 0; onChanged(); return this; @@ -30829,58 +30525,39 @@ public Builder clearStatus() { private com.google.protobuf.Timestamp creationTime_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> - creationTimeBuilder_; + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> creationTimeBuilder_; /** - * - * *
        * Output only. The time that the transfer job was created.
        * 
* - * - * .google.protobuf.Timestamp creation_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp creation_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the creationTime field is set. */ public boolean hasCreationTime() { return creationTimeBuilder_ != null || creationTime_ != null; } /** - * - * *
        * Output only. The time that the transfer job was created.
        * 
* - * - * .google.protobuf.Timestamp creation_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp creation_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The creationTime. */ public com.google.protobuf.Timestamp getCreationTime() { if (creationTimeBuilder_ == null) { - return creationTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : creationTime_; + return creationTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : creationTime_; } else { return creationTimeBuilder_.getMessage(); } } /** - * - * *
        * Output only. The time that the transfer job was created.
        * 
* - * - * .google.protobuf.Timestamp creation_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp creation_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder setCreationTime(com.google.protobuf.Timestamp value) { if (creationTimeBuilder_ == null) { @@ -30896,17 +30573,14 @@ public Builder setCreationTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
        * Output only. The time that the transfer job was created.
        * 
* - * - * .google.protobuf.Timestamp creation_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp creation_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - public Builder setCreationTime(com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setCreationTime( + com.google.protobuf.Timestamp.Builder builderForValue) { if (creationTimeBuilder_ == null) { creationTime_ = builderForValue.build(); onChanged(); @@ -30917,23 +30591,17 @@ public Builder setCreationTime(com.google.protobuf.Timestamp.Builder builderForV return this; } /** - * - * *
        * Output only. The time that the transfer job was created.
        * 
* - * - * .google.protobuf.Timestamp creation_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp creation_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder mergeCreationTime(com.google.protobuf.Timestamp value) { if (creationTimeBuilder_ == null) { if (creationTime_ != null) { creationTime_ = - com.google.protobuf.Timestamp.newBuilder(creationTime_) - .mergeFrom(value) - .buildPartial(); + com.google.protobuf.Timestamp.newBuilder(creationTime_).mergeFrom(value).buildPartial(); } else { creationTime_ = value; } @@ -30945,15 +30613,11 @@ public Builder mergeCreationTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
        * Output only. The time that the transfer job was created.
        * 
* - * - * .google.protobuf.Timestamp creation_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp creation_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder clearCreationTime() { if (creationTimeBuilder_ == null) { @@ -30967,64 +30631,48 @@ public Builder clearCreationTime() { return this; } /** - * - * *
        * Output only. The time that the transfer job was created.
        * 
* - * - * .google.protobuf.Timestamp creation_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp creation_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public com.google.protobuf.Timestamp.Builder getCreationTimeBuilder() { - + onChanged(); return getCreationTimeFieldBuilder().getBuilder(); } /** - * - * *
        * Output only. The time that the transfer job was created.
        * 
* - * - * .google.protobuf.Timestamp creation_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp creation_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public com.google.protobuf.TimestampOrBuilder getCreationTimeOrBuilder() { if (creationTimeBuilder_ != null) { return creationTimeBuilder_.getMessageOrBuilder(); } else { - return creationTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : creationTime_; + return creationTime_ == null ? + com.google.protobuf.Timestamp.getDefaultInstance() : creationTime_; } } /** - * - * *
        * Output only. The time that the transfer job was created.
        * 
* - * - * .google.protobuf.Timestamp creation_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp creation_time = 7 [(.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> getCreationTimeFieldBuilder() { if (creationTimeBuilder_ == null) { - creationTimeBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder>( - getCreationTime(), getParentForChildren(), isClean()); + creationTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( + getCreationTime(), + getParentForChildren(), + isClean()); creationTime_ = null; } return creationTimeBuilder_; @@ -31032,58 +30680,39 @@ public com.google.protobuf.TimestampOrBuilder getCreationTimeOrBuilder() { private com.google.protobuf.Timestamp lastModificationTime_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> - lastModificationTimeBuilder_; + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> lastModificationTimeBuilder_; /** - * - * *
        * Output only. The time that the transfer job was last modified.
        * 
* - * - * .google.protobuf.Timestamp last_modification_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp last_modification_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the lastModificationTime field is set. */ public boolean hasLastModificationTime() { return lastModificationTimeBuilder_ != null || lastModificationTime_ != null; } /** - * - * *
        * Output only. The time that the transfer job was last modified.
        * 
* - * - * .google.protobuf.Timestamp last_modification_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp last_modification_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The lastModificationTime. */ public com.google.protobuf.Timestamp getLastModificationTime() { if (lastModificationTimeBuilder_ == null) { - return lastModificationTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : lastModificationTime_; + return lastModificationTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : lastModificationTime_; } else { return lastModificationTimeBuilder_.getMessage(); } } /** - * - * *
        * Output only. The time that the transfer job was last modified.
        * 
* - * - * .google.protobuf.Timestamp last_modification_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp last_modification_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder setLastModificationTime(com.google.protobuf.Timestamp value) { if (lastModificationTimeBuilder_ == null) { @@ -31099,15 +30728,11 @@ public Builder setLastModificationTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
        * Output only. The time that the transfer job was last modified.
        * 
* - * - * .google.protobuf.Timestamp last_modification_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp last_modification_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder setLastModificationTime( com.google.protobuf.Timestamp.Builder builderForValue) { @@ -31121,23 +30746,17 @@ public Builder setLastModificationTime( return this; } /** - * - * *
        * Output only. The time that the transfer job was last modified.
        * 
* - * - * .google.protobuf.Timestamp last_modification_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp last_modification_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder mergeLastModificationTime(com.google.protobuf.Timestamp value) { if (lastModificationTimeBuilder_ == null) { if (lastModificationTime_ != null) { lastModificationTime_ = - com.google.protobuf.Timestamp.newBuilder(lastModificationTime_) - .mergeFrom(value) - .buildPartial(); + com.google.protobuf.Timestamp.newBuilder(lastModificationTime_).mergeFrom(value).buildPartial(); } else { lastModificationTime_ = value; } @@ -31149,15 +30768,11 @@ public Builder mergeLastModificationTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
        * Output only. The time that the transfer job was last modified.
        * 
* - * - * .google.protobuf.Timestamp last_modification_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp last_modification_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder clearLastModificationTime() { if (lastModificationTimeBuilder_ == null) { @@ -31171,64 +30786,48 @@ public Builder clearLastModificationTime() { return this; } /** - * - * *
        * Output only. The time that the transfer job was last modified.
        * 
* - * - * .google.protobuf.Timestamp last_modification_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp last_modification_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public com.google.protobuf.Timestamp.Builder getLastModificationTimeBuilder() { - + onChanged(); return getLastModificationTimeFieldBuilder().getBuilder(); } /** - * - * *
        * Output only. The time that the transfer job was last modified.
        * 
* - * - * .google.protobuf.Timestamp last_modification_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp last_modification_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public com.google.protobuf.TimestampOrBuilder getLastModificationTimeOrBuilder() { if (lastModificationTimeBuilder_ != null) { return lastModificationTimeBuilder_.getMessageOrBuilder(); } else { - return lastModificationTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : lastModificationTime_; + return lastModificationTime_ == null ? + com.google.protobuf.Timestamp.getDefaultInstance() : lastModificationTime_; } } /** - * - * *
        * Output only. The time that the transfer job was last modified.
        * 
* - * - * .google.protobuf.Timestamp last_modification_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp last_modification_time = 8 [(.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> getLastModificationTimeFieldBuilder() { if (lastModificationTimeBuilder_ == null) { - lastModificationTimeBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder>( - getLastModificationTime(), getParentForChildren(), isClean()); + lastModificationTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( + getLastModificationTime(), + getParentForChildren(), + isClean()); lastModificationTime_ = null; } return lastModificationTimeBuilder_; @@ -31236,58 +30835,39 @@ public com.google.protobuf.TimestampOrBuilder getLastModificationTimeOrBuilder() private com.google.protobuf.Timestamp deletionTime_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> - deletionTimeBuilder_; + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> deletionTimeBuilder_; /** - * - * *
        * Output only. The time that the transfer job was deleted.
        * 
* - * - * .google.protobuf.Timestamp deletion_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp deletion_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the deletionTime field is set. */ public boolean hasDeletionTime() { return deletionTimeBuilder_ != null || deletionTime_ != null; } /** - * - * *
        * Output only. The time that the transfer job was deleted.
        * 
* - * - * .google.protobuf.Timestamp deletion_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp deletion_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The deletionTime. */ public com.google.protobuf.Timestamp getDeletionTime() { if (deletionTimeBuilder_ == null) { - return deletionTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : deletionTime_; + return deletionTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : deletionTime_; } else { return deletionTimeBuilder_.getMessage(); } } /** - * - * *
        * Output only. The time that the transfer job was deleted.
        * 
* - * - * .google.protobuf.Timestamp deletion_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp deletion_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder setDeletionTime(com.google.protobuf.Timestamp value) { if (deletionTimeBuilder_ == null) { @@ -31303,17 +30883,14 @@ public Builder setDeletionTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
        * Output only. The time that the transfer job was deleted.
        * 
* - * - * .google.protobuf.Timestamp deletion_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp deletion_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - public Builder setDeletionTime(com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setDeletionTime( + com.google.protobuf.Timestamp.Builder builderForValue) { if (deletionTimeBuilder_ == null) { deletionTime_ = builderForValue.build(); onChanged(); @@ -31324,23 +30901,17 @@ public Builder setDeletionTime(com.google.protobuf.Timestamp.Builder builderForV return this; } /** - * - * *
        * Output only. The time that the transfer job was deleted.
        * 
* - * - * .google.protobuf.Timestamp deletion_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp deletion_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder mergeDeletionTime(com.google.protobuf.Timestamp value) { if (deletionTimeBuilder_ == null) { if (deletionTime_ != null) { deletionTime_ = - com.google.protobuf.Timestamp.newBuilder(deletionTime_) - .mergeFrom(value) - .buildPartial(); + com.google.protobuf.Timestamp.newBuilder(deletionTime_).mergeFrom(value).buildPartial(); } else { deletionTime_ = value; } @@ -31352,15 +30923,11 @@ public Builder mergeDeletionTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
        * Output only. The time that the transfer job was deleted.
        * 
* - * - * .google.protobuf.Timestamp deletion_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp deletion_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder clearDeletionTime() { if (deletionTimeBuilder_ == null) { @@ -31374,64 +30941,48 @@ public Builder clearDeletionTime() { return this; } /** - * - * *
        * Output only. The time that the transfer job was deleted.
        * 
* - * - * .google.protobuf.Timestamp deletion_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp deletion_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public com.google.protobuf.Timestamp.Builder getDeletionTimeBuilder() { - + onChanged(); return getDeletionTimeFieldBuilder().getBuilder(); } /** - * - * *
        * Output only. The time that the transfer job was deleted.
        * 
* - * - * .google.protobuf.Timestamp deletion_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp deletion_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public com.google.protobuf.TimestampOrBuilder getDeletionTimeOrBuilder() { if (deletionTimeBuilder_ != null) { return deletionTimeBuilder_.getMessageOrBuilder(); } else { - return deletionTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : deletionTime_; + return deletionTime_ == null ? + com.google.protobuf.Timestamp.getDefaultInstance() : deletionTime_; } } /** - * - * *
        * Output only. The time that the transfer job was deleted.
        * 
* - * - * .google.protobuf.Timestamp deletion_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp deletion_time = 9 [(.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> getDeletionTimeFieldBuilder() { if (deletionTimeBuilder_ == null) { - deletionTimeBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder>( - getDeletionTime(), getParentForChildren(), isClean()); + deletionTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( + getDeletionTime(), + getParentForChildren(), + isClean()); deletionTime_ = null; } return deletionTimeBuilder_; @@ -31439,21 +30990,19 @@ public com.google.protobuf.TimestampOrBuilder getDeletionTimeOrBuilder() { private java.lang.Object latestOperationName_ = ""; /** - * - * *
        * The name of the most recently started TransferOperation of this JobConfig.
        * Present if a TransferOperation has been created for this JobConfig.
        * 
* * string latest_operation_name = 12; - * * @return The latestOperationName. */ public java.lang.String getLatestOperationName() { java.lang.Object ref = latestOperationName_; 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(); latestOperationName_ = s; return s; @@ -31462,22 +31011,21 @@ public java.lang.String getLatestOperationName() { } } /** - * - * *
        * The name of the most recently started TransferOperation of this JobConfig.
        * Present if a TransferOperation has been created for this JobConfig.
        * 
* * string latest_operation_name = 12; - * * @return The bytes for latestOperationName. */ - public com.google.protobuf.ByteString getLatestOperationNameBytes() { + public com.google.protobuf.ByteString + getLatestOperationNameBytes() { java.lang.Object ref = latestOperationName_; 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); latestOperationName_ = b; return b; } else { @@ -31485,69 +31033,61 @@ public com.google.protobuf.ByteString getLatestOperationNameBytes() { } } /** - * - * *
        * The name of the most recently started TransferOperation of this JobConfig.
        * Present if a TransferOperation has been created for this JobConfig.
        * 
* * string latest_operation_name = 12; - * * @param value The latestOperationName to set. * @return This builder for chaining. */ - public Builder setLatestOperationName(java.lang.String value) { + public Builder setLatestOperationName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + latestOperationName_ = value; onChanged(); return this; } /** - * - * *
        * The name of the most recently started TransferOperation of this JobConfig.
        * Present if a TransferOperation has been created for this JobConfig.
        * 
* * string latest_operation_name = 12; - * * @return This builder for chaining. */ public Builder clearLatestOperationName() { - + latestOperationName_ = getDefaultInstance().getLatestOperationName(); onChanged(); return this; } /** - * - * *
        * The name of the most recently started TransferOperation of this JobConfig.
        * Present if a TransferOperation has been created for this JobConfig.
        * 
* * string latest_operation_name = 12; - * * @param value The bytes for latestOperationName to set. * @return This builder for chaining. */ - public Builder setLatestOperationNameBytes(com.google.protobuf.ByteString value) { + public Builder setLatestOperationNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + latestOperationName_ = value; onChanged(); return this; } - @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -31560,32 +31100,30 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.storagetransfer.v1.TransferJob) } // @@protoc_insertion_point(class_scope:google.storagetransfer.v1.TransferJob) - private static final com.google.storagetransfer.v1.proto.TransferTypes.TransferJob - DEFAULT_INSTANCE; - + private static final com.google.storagetransfer.v1.proto.TransferTypes.TransferJob DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.storagetransfer.v1.proto.TransferTypes.TransferJob(); } - public static com.google.storagetransfer.v1.proto.TransferTypes.TransferJob - getDefaultInstance() { + public static com.google.storagetransfer.v1.proto.TransferTypes.TransferJob getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public TransferJob parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new TransferJob(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public TransferJob parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new TransferJob(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -31597,114 +31135,95 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.storagetransfer.v1.proto.TransferTypes.TransferJob - getDefaultInstanceForType() { + public com.google.storagetransfer.v1.proto.TransferTypes.TransferJob getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } - public interface ErrorLogEntryOrBuilder - extends + public interface ErrorLogEntryOrBuilder extends // @@protoc_insertion_point(interface_extends:google.storagetransfer.v1.ErrorLogEntry) com.google.protobuf.MessageOrBuilder { /** - * - * *
      * Required. A URL that refers to the target (a data source, a data sink,
      * or an object) with which the error is associated.
      * 
* * string url = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The url. */ java.lang.String getUrl(); /** - * - * *
      * Required. A URL that refers to the target (a data source, a data sink,
      * or an object) with which the error is associated.
      * 
* * string url = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for url. */ - com.google.protobuf.ByteString getUrlBytes(); + com.google.protobuf.ByteString + getUrlBytes(); /** - * - * *
      * A list of messages that carry the error details.
      * 
* * repeated string error_details = 3; - * * @return A list containing the errorDetails. */ - java.util.List getErrorDetailsList(); + java.util.List + getErrorDetailsList(); /** - * - * *
      * A list of messages that carry the error details.
      * 
* * repeated string error_details = 3; - * * @return The count of errorDetails. */ int getErrorDetailsCount(); /** - * - * *
      * A list of messages that carry the error details.
      * 
* * repeated string error_details = 3; - * * @param index The index of the element to return. * @return The errorDetails at the given index. */ java.lang.String getErrorDetails(int index); /** - * - * *
      * A list of messages that carry the error details.
      * 
* * repeated string error_details = 3; - * * @param index The index of the value to return. * @return The bytes of the errorDetails at the given index. */ - com.google.protobuf.ByteString getErrorDetailsBytes(int index); + com.google.protobuf.ByteString + getErrorDetailsBytes(int index); } /** - * - * *
    * An entry describing an error that has occurred.
    * 
* * Protobuf type {@code google.storagetransfer.v1.ErrorLogEntry} */ - public static final class ErrorLogEntry extends com.google.protobuf.GeneratedMessageV3 - implements + public static final class ErrorLogEntry extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.storagetransfer.v1.ErrorLogEntry) ErrorLogEntryOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use ErrorLogEntry.newBuilder() to construct. private ErrorLogEntry(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private ErrorLogEntry() { url_ = ""; errorDetails_ = com.google.protobuf.LazyStringArrayList.EMPTY; @@ -31712,15 +31231,16 @@ private ErrorLogEntry() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new ErrorLogEntry(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private ErrorLogEntry( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -31740,30 +31260,28 @@ private ErrorLogEntry( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - url_ = s; - break; - } - case 26: - { - java.lang.String s = input.readStringRequireUtf8(); - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - errorDetails_ = new com.google.protobuf.LazyStringArrayList(); - mutable_bitField0_ |= 0x00000001; - } - errorDetails_.add(s); - break; + url_ = s; + break; + } + case 26: { + java.lang.String s = input.readStringRequireUtf8(); + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + errorDetails_ = new com.google.protobuf.LazyStringArrayList(); + mutable_bitField0_ |= 0x00000001; } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + errorDetails_.add(s); + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -31771,7 +31289,8 @@ private ErrorLogEntry( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000001) != 0)) { errorDetails_ = errorDetails_.getUnmodifiableView(); @@ -31780,34 +31299,28 @@ private ErrorLogEntry( makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.storagetransfer.v1.proto.TransferTypes - .internal_static_google_storagetransfer_v1_ErrorLogEntry_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.storagetransfer.v1.proto.TransferTypes.internal_static_google_storagetransfer_v1_ErrorLogEntry_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.storagetransfer.v1.proto.TransferTypes - .internal_static_google_storagetransfer_v1_ErrorLogEntry_fieldAccessorTable + return com.google.storagetransfer.v1.proto.TransferTypes.internal_static_google_storagetransfer_v1_ErrorLogEntry_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.storagetransfer.v1.proto.TransferTypes.ErrorLogEntry.class, - com.google.storagetransfer.v1.proto.TransferTypes.ErrorLogEntry.Builder.class); + com.google.storagetransfer.v1.proto.TransferTypes.ErrorLogEntry.class, com.google.storagetransfer.v1.proto.TransferTypes.ErrorLogEntry.Builder.class); } public static final int URL_FIELD_NUMBER = 1; private volatile java.lang.Object url_; /** - * - * *
      * Required. A URL that refers to the target (a data source, a data sink,
      * or an object) with which the error is associated.
      * 
* * string url = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The url. */ @java.lang.Override @@ -31816,30 +31329,30 @@ public java.lang.String getUrl() { 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(); url_ = s; return s; } } /** - * - * *
      * Required. A URL that refers to the target (a data source, a data sink,
      * or an object) with which the error is associated.
      * 
* * string url = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for url. */ @java.lang.Override - public com.google.protobuf.ByteString getUrlBytes() { + public com.google.protobuf.ByteString + getUrlBytes() { java.lang.Object ref = url_; 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); url_ = b; return b; } else { @@ -31850,42 +31363,34 @@ public com.google.protobuf.ByteString getUrlBytes() { public static final int ERROR_DETAILS_FIELD_NUMBER = 3; private com.google.protobuf.LazyStringList errorDetails_; /** - * - * *
      * A list of messages that carry the error details.
      * 
* * repeated string error_details = 3; - * * @return A list containing the errorDetails. */ - public com.google.protobuf.ProtocolStringList getErrorDetailsList() { + public com.google.protobuf.ProtocolStringList + getErrorDetailsList() { return errorDetails_; } /** - * - * *
      * A list of messages that carry the error details.
      * 
* * repeated string error_details = 3; - * * @return The count of errorDetails. */ public int getErrorDetailsCount() { return errorDetails_.size(); } /** - * - * *
      * A list of messages that carry the error details.
      * 
* * repeated string error_details = 3; - * * @param index The index of the element to return. * @return The errorDetails at the given index. */ @@ -31893,23 +31398,20 @@ public java.lang.String getErrorDetails(int index) { return errorDetails_.get(index); } /** - * - * *
      * A list of messages that carry the error details.
      * 
* * repeated string error_details = 3; - * * @param index The index of the value to return. * @return The bytes of the errorDetails at the given index. */ - public com.google.protobuf.ByteString getErrorDetailsBytes(int index) { + public com.google.protobuf.ByteString + getErrorDetailsBytes(int index) { return errorDetails_.getByteString(index); } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -31921,7 +31423,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 (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(url_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, url_); } @@ -31956,16 +31459,17 @@ 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.storagetransfer.v1.proto.TransferTypes.ErrorLogEntry)) { return super.equals(obj); } - com.google.storagetransfer.v1.proto.TransferTypes.ErrorLogEntry other = - (com.google.storagetransfer.v1.proto.TransferTypes.ErrorLogEntry) obj; + com.google.storagetransfer.v1.proto.TransferTypes.ErrorLogEntry other = (com.google.storagetransfer.v1.proto.TransferTypes.ErrorLogEntry) obj; - if (!getUrl().equals(other.getUrl())) return false; - if (!getErrorDetailsList().equals(other.getErrorDetailsList())) return false; + if (!getUrl() + .equals(other.getUrl())) return false; + if (!getErrorDetailsList() + .equals(other.getErrorDetailsList())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -31989,95 +31493,87 @@ public int hashCode() { } public static com.google.storagetransfer.v1.proto.TransferTypes.ErrorLogEntry parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.storagetransfer.v1.proto.TransferTypes.ErrorLogEntry 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.storagetransfer.v1.proto.TransferTypes.ErrorLogEntry parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.storagetransfer.v1.proto.TransferTypes.ErrorLogEntry 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.storagetransfer.v1.proto.TransferTypes.ErrorLogEntry parseFrom( - byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.storagetransfer.v1.proto.TransferTypes.ErrorLogEntry parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.storagetransfer.v1.proto.TransferTypes.ErrorLogEntry 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.storagetransfer.v1.proto.TransferTypes.ErrorLogEntry parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.storagetransfer.v1.proto.TransferTypes.ErrorLogEntry parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.storagetransfer.v1.proto.TransferTypes.ErrorLogEntry 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.storagetransfer.v1.proto.TransferTypes.ErrorLogEntry - parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.storagetransfer.v1.proto.TransferTypes.ErrorLogEntry parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - - public static com.google.storagetransfer.v1.proto.TransferTypes.ErrorLogEntry - parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + public static com.google.storagetransfer.v1.proto.TransferTypes.ErrorLogEntry parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.storagetransfer.v1.proto.TransferTypes.ErrorLogEntry 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.storagetransfer.v1.proto.TransferTypes.ErrorLogEntry 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.storagetransfer.v1.proto.TransferTypes.ErrorLogEntry prototype) { + public static Builder newBuilder(com.google.storagetransfer.v1.proto.TransferTypes.ErrorLogEntry 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 @@ -32087,49 +31583,44 @@ protected Builder newBuilderForType( return builder; } /** - * - * *
      * An entry describing an error that has occurred.
      * 
* * Protobuf type {@code google.storagetransfer.v1.ErrorLogEntry} */ - public static final class Builder - extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.storagetransfer.v1.ErrorLogEntry) com.google.storagetransfer.v1.proto.TransferTypes.ErrorLogEntryOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.storagetransfer.v1.proto.TransferTypes - .internal_static_google_storagetransfer_v1_ErrorLogEntry_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.storagetransfer.v1.proto.TransferTypes.internal_static_google_storagetransfer_v1_ErrorLogEntry_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.storagetransfer.v1.proto.TransferTypes - .internal_static_google_storagetransfer_v1_ErrorLogEntry_fieldAccessorTable + return com.google.storagetransfer.v1.proto.TransferTypes.internal_static_google_storagetransfer_v1_ErrorLogEntry_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.storagetransfer.v1.proto.TransferTypes.ErrorLogEntry.class, - com.google.storagetransfer.v1.proto.TransferTypes.ErrorLogEntry.Builder.class); + com.google.storagetransfer.v1.proto.TransferTypes.ErrorLogEntry.class, com.google.storagetransfer.v1.proto.TransferTypes.ErrorLogEntry.Builder.class); } - // Construct using - // com.google.storagetransfer.v1.proto.TransferTypes.ErrorLogEntry.newBuilder() + // Construct using com.google.storagetransfer.v1.proto.TransferTypes.ErrorLogEntry.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -32141,14 +31632,13 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.storagetransfer.v1.proto.TransferTypes - .internal_static_google_storagetransfer_v1_ErrorLogEntry_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.storagetransfer.v1.proto.TransferTypes.internal_static_google_storagetransfer_v1_ErrorLogEntry_descriptor; } @java.lang.Override - public com.google.storagetransfer.v1.proto.TransferTypes.ErrorLogEntry - getDefaultInstanceForType() { + public com.google.storagetransfer.v1.proto.TransferTypes.ErrorLogEntry getDefaultInstanceForType() { return com.google.storagetransfer.v1.proto.TransferTypes.ErrorLogEntry.getDefaultInstance(); } @@ -32163,8 +31653,7 @@ public com.google.storagetransfer.v1.proto.TransferTypes.ErrorLogEntry build() { @java.lang.Override public com.google.storagetransfer.v1.proto.TransferTypes.ErrorLogEntry buildPartial() { - com.google.storagetransfer.v1.proto.TransferTypes.ErrorLogEntry result = - new com.google.storagetransfer.v1.proto.TransferTypes.ErrorLogEntry(this); + com.google.storagetransfer.v1.proto.TransferTypes.ErrorLogEntry result = new com.google.storagetransfer.v1.proto.TransferTypes.ErrorLogEntry(this); int from_bitField0_ = bitField0_; result.url_ = url_; if (((bitField0_ & 0x00000001) != 0)) { @@ -32180,52 +31669,46 @@ public com.google.storagetransfer.v1.proto.TransferTypes.ErrorLogEntry buildPart public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, - int index, - java.lang.Object value) { + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.storagetransfer.v1.proto.TransferTypes.ErrorLogEntry) { - return mergeFrom((com.google.storagetransfer.v1.proto.TransferTypes.ErrorLogEntry) other); + return mergeFrom((com.google.storagetransfer.v1.proto.TransferTypes.ErrorLogEntry)other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom( - com.google.storagetransfer.v1.proto.TransferTypes.ErrorLogEntry other) { - if (other - == com.google.storagetransfer.v1.proto.TransferTypes.ErrorLogEntry.getDefaultInstance()) - return this; + public Builder mergeFrom(com.google.storagetransfer.v1.proto.TransferTypes.ErrorLogEntry other) { + if (other == com.google.storagetransfer.v1.proto.TransferTypes.ErrorLogEntry.getDefaultInstance()) return this; if (!other.getUrl().isEmpty()) { url_ = other.url_; onChanged(); @@ -32259,9 +31742,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.storagetransfer.v1.proto.TransferTypes.ErrorLogEntry) - e.getUnfinishedMessage(); + parsedMessage = (com.google.storagetransfer.v1.proto.TransferTypes.ErrorLogEntry) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -32270,26 +31751,23 @@ public Builder mergeFrom( } return this; } - private int bitField0_; private java.lang.Object url_ = ""; /** - * - * *
        * Required. A URL that refers to the target (a data source, a data sink,
        * or an object) with which the error is associated.
        * 
* * string url = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The url. */ public java.lang.String getUrl() { java.lang.Object ref = url_; 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(); url_ = s; return s; @@ -32298,22 +31776,21 @@ public java.lang.String getUrl() { } } /** - * - * *
        * Required. A URL that refers to the target (a data source, a data sink,
        * or an object) with which the error is associated.
        * 
* * string url = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for url. */ - public com.google.protobuf.ByteString getUrlBytes() { + public com.google.protobuf.ByteString + getUrlBytes() { java.lang.Object ref = url_; 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); url_ = b; return b; } else { @@ -32321,115 +31798,98 @@ public com.google.protobuf.ByteString getUrlBytes() { } } /** - * - * *
        * Required. A URL that refers to the target (a data source, a data sink,
        * or an object) with which the error is associated.
        * 
* * string url = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The url to set. * @return This builder for chaining. */ - public Builder setUrl(java.lang.String value) { + public Builder setUrl( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + url_ = value; onChanged(); return this; } /** - * - * *
        * Required. A URL that refers to the target (a data source, a data sink,
        * or an object) with which the error is associated.
        * 
* * string url = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return This builder for chaining. */ public Builder clearUrl() { - + url_ = getDefaultInstance().getUrl(); onChanged(); return this; } /** - * - * *
        * Required. A URL that refers to the target (a data source, a data sink,
        * or an object) with which the error is associated.
        * 
* * string url = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The bytes for url to set. * @return This builder for chaining. */ - public Builder setUrlBytes(com.google.protobuf.ByteString value) { + public Builder setUrlBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + url_ = value; onChanged(); return this; } - private com.google.protobuf.LazyStringList errorDetails_ = - com.google.protobuf.LazyStringArrayList.EMPTY; - + private com.google.protobuf.LazyStringList errorDetails_ = com.google.protobuf.LazyStringArrayList.EMPTY; private void ensureErrorDetailsIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { errorDetails_ = new com.google.protobuf.LazyStringArrayList(errorDetails_); bitField0_ |= 0x00000001; - } + } } /** - * - * *
        * A list of messages that carry the error details.
        * 
* * repeated string error_details = 3; - * * @return A list containing the errorDetails. */ - public com.google.protobuf.ProtocolStringList getErrorDetailsList() { + public com.google.protobuf.ProtocolStringList + getErrorDetailsList() { return errorDetails_.getUnmodifiableView(); } /** - * - * *
        * A list of messages that carry the error details.
        * 
* * repeated string error_details = 3; - * * @return The count of errorDetails. */ public int getErrorDetailsCount() { return errorDetails_.size(); } /** - * - * *
        * A list of messages that carry the error details.
        * 
* * repeated string error_details = 3; - * * @param index The index of the element to return. * @return The errorDetails at the given index. */ @@ -32437,90 +31897,80 @@ public java.lang.String getErrorDetails(int index) { return errorDetails_.get(index); } /** - * - * *
        * A list of messages that carry the error details.
        * 
* * repeated string error_details = 3; - * * @param index The index of the value to return. * @return The bytes of the errorDetails at the given index. */ - public com.google.protobuf.ByteString getErrorDetailsBytes(int index) { + public com.google.protobuf.ByteString + getErrorDetailsBytes(int index) { return errorDetails_.getByteString(index); } /** - * - * *
        * A list of messages that carry the error details.
        * 
* * repeated string error_details = 3; - * * @param index The index to set the value at. * @param value The errorDetails to set. * @return This builder for chaining. */ - public Builder setErrorDetails(int index, java.lang.String value) { + public Builder setErrorDetails( + int index, java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureErrorDetailsIsMutable(); + throw new NullPointerException(); + } + ensureErrorDetailsIsMutable(); errorDetails_.set(index, value); onChanged(); return this; } /** - * - * *
        * A list of messages that carry the error details.
        * 
* * repeated string error_details = 3; - * * @param value The errorDetails to add. * @return This builder for chaining. */ - public Builder addErrorDetails(java.lang.String value) { + public Builder addErrorDetails( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureErrorDetailsIsMutable(); + throw new NullPointerException(); + } + ensureErrorDetailsIsMutable(); errorDetails_.add(value); onChanged(); return this; } /** - * - * *
        * A list of messages that carry the error details.
        * 
* * repeated string error_details = 3; - * * @param values The errorDetails to add. * @return This builder for chaining. */ - public Builder addAllErrorDetails(java.lang.Iterable values) { + public Builder addAllErrorDetails( + java.lang.Iterable values) { ensureErrorDetailsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, errorDetails_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, errorDetails_); onChanged(); return this; } /** - * - * *
        * A list of messages that carry the error details.
        * 
* * repeated string error_details = 3; - * * @return This builder for chaining. */ public Builder clearErrorDetails() { @@ -32530,28 +31980,25 @@ public Builder clearErrorDetails() { return this; } /** - * - * *
        * A list of messages that carry the error details.
        * 
* * repeated string error_details = 3; - * * @param value The bytes of the errorDetails to add. * @return This builder for chaining. */ - public Builder addErrorDetailsBytes(com.google.protobuf.ByteString value) { + public Builder addErrorDetailsBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); ensureErrorDetailsIsMutable(); errorDetails_.add(value); onChanged(); return this; } - @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -32564,32 +32011,30 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.storagetransfer.v1.ErrorLogEntry) } // @@protoc_insertion_point(class_scope:google.storagetransfer.v1.ErrorLogEntry) - private static final com.google.storagetransfer.v1.proto.TransferTypes.ErrorLogEntry - DEFAULT_INSTANCE; - + private static final com.google.storagetransfer.v1.proto.TransferTypes.ErrorLogEntry DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.storagetransfer.v1.proto.TransferTypes.ErrorLogEntry(); } - public static com.google.storagetransfer.v1.proto.TransferTypes.ErrorLogEntry - getDefaultInstance() { + public static com.google.storagetransfer.v1.proto.TransferTypes.ErrorLogEntry getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ErrorLogEntry parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ErrorLogEntry(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ErrorLogEntry parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ErrorLogEntry(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -32601,58 +32046,46 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.storagetransfer.v1.proto.TransferTypes.ErrorLogEntry - getDefaultInstanceForType() { + public com.google.storagetransfer.v1.proto.TransferTypes.ErrorLogEntry getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } - public interface ErrorSummaryOrBuilder - extends + public interface ErrorSummaryOrBuilder extends // @@protoc_insertion_point(interface_extends:google.storagetransfer.v1.ErrorSummary) com.google.protobuf.MessageOrBuilder { /** - * - * *
      * Required.
      * 
* * .google.rpc.Code error_code = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The enum numeric value on the wire for errorCode. */ int getErrorCodeValue(); /** - * - * *
      * Required.
      * 
* * .google.rpc.Code error_code = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The errorCode. */ com.google.rpc.Code getErrorCode(); /** - * - * *
      * Required. Count of this type of error.
      * 
* * int64 error_count = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The errorCount. */ long getErrorCount(); /** - * - * *
      * Error samples.
      * At most 5 error log entries are recorded for a given
@@ -32661,11 +32094,9 @@ public interface ErrorSummaryOrBuilder
      *
      * repeated .google.storagetransfer.v1.ErrorLogEntry error_log_entries = 3;
      */
-    java.util.List
+    java.util.List 
         getErrorLogEntriesList();
     /**
-     *
-     *
      * 
      * Error samples.
      * At most 5 error log entries are recorded for a given
@@ -32676,8 +32107,6 @@ public interface ErrorSummaryOrBuilder
      */
     com.google.storagetransfer.v1.proto.TransferTypes.ErrorLogEntry getErrorLogEntries(int index);
     /**
-     *
-     *
      * 
      * Error samples.
      * At most 5 error log entries are recorded for a given
@@ -32688,8 +32117,6 @@ public interface ErrorSummaryOrBuilder
      */
     int getErrorLogEntriesCount();
     /**
-     *
-     *
      * 
      * Error samples.
      * At most 5 error log entries are recorded for a given
@@ -32698,12 +32125,9 @@ public interface ErrorSummaryOrBuilder
      *
      * repeated .google.storagetransfer.v1.ErrorLogEntry error_log_entries = 3;
      */
-    java.util.List<
-            ? extends com.google.storagetransfer.v1.proto.TransferTypes.ErrorLogEntryOrBuilder>
+    java.util.List 
         getErrorLogEntriesOrBuilderList();
     /**
-     *
-     *
      * 
      * Error samples.
      * At most 5 error log entries are recorded for a given
@@ -32712,12 +32136,10 @@ public interface ErrorSummaryOrBuilder
      *
      * repeated .google.storagetransfer.v1.ErrorLogEntry error_log_entries = 3;
      */
-    com.google.storagetransfer.v1.proto.TransferTypes.ErrorLogEntryOrBuilder
-        getErrorLogEntriesOrBuilder(int index);
+    com.google.storagetransfer.v1.proto.TransferTypes.ErrorLogEntryOrBuilder getErrorLogEntriesOrBuilder(
+        int index);
   }
   /**
-   *
-   *
    * 
    * A summary of errors by error code, plus a count and sample error log
    * entries.
@@ -32725,16 +32147,15 @@ public interface ErrorSummaryOrBuilder
    *
    * Protobuf type {@code google.storagetransfer.v1.ErrorSummary}
    */
-  public static final class ErrorSummary extends com.google.protobuf.GeneratedMessageV3
-      implements
+  public static final class ErrorSummary extends
+      com.google.protobuf.GeneratedMessageV3 implements
       // @@protoc_insertion_point(message_implements:google.storagetransfer.v1.ErrorSummary)
       ErrorSummaryOrBuilder {
-    private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
     // Use ErrorSummary.newBuilder() to construct.
     private ErrorSummary(com.google.protobuf.GeneratedMessageV3.Builder builder) {
       super(builder);
     }
-
     private ErrorSummary() {
       errorCode_ = 0;
       errorLogEntries_ = java.util.Collections.emptyList();
@@ -32742,15 +32163,16 @@ private ErrorSummary() {
 
     @java.lang.Override
     @SuppressWarnings({"unused"})
-    protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+    protected java.lang.Object newInstance(
+        UnusedPrivateParameter unused) {
       return new ErrorSummary();
     }
 
     @java.lang.Override
-    public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+    public final com.google.protobuf.UnknownFieldSet
+    getUnknownFields() {
       return this.unknownFields;
     }
-
     private ErrorSummary(
         com.google.protobuf.CodedInputStream input,
         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -32770,39 +32192,33 @@ private ErrorSummary(
             case 0:
               done = true;
               break;
-            case 8:
-              {
-                int rawValue = input.readEnum();
+            case 8: {
+              int rawValue = input.readEnum();
 
-                errorCode_ = rawValue;
-                break;
-              }
-            case 16:
-              {
-                errorCount_ = input.readInt64();
-                break;
-              }
-            case 26:
-              {
-                if (!((mutable_bitField0_ & 0x00000001) != 0)) {
-                  errorLogEntries_ =
-                      new java.util.ArrayList<
-                          com.google.storagetransfer.v1.proto.TransferTypes.ErrorLogEntry>();
-                  mutable_bitField0_ |= 0x00000001;
-                }
-                errorLogEntries_.add(
-                    input.readMessage(
-                        com.google.storagetransfer.v1.proto.TransferTypes.ErrorLogEntry.parser(),
-                        extensionRegistry));
-                break;
+              errorCode_ = rawValue;
+              break;
+            }
+            case 16: {
+
+              errorCount_ = input.readInt64();
+              break;
+            }
+            case 26: {
+              if (!((mutable_bitField0_ & 0x00000001) != 0)) {
+                errorLogEntries_ = new java.util.ArrayList();
+                mutable_bitField0_ |= 0x00000001;
               }
-            default:
-              {
-                if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
-                  done = true;
-                }
-                break;
+              errorLogEntries_.add(
+                  input.readMessage(com.google.storagetransfer.v1.proto.TransferTypes.ErrorLogEntry.parser(), extensionRegistry));
+              break;
+            }
+            default: {
+              if (!parseUnknownField(
+                  input, unknownFields, extensionRegistry, tag)) {
+                done = true;
               }
+              break;
+            }
           }
         }
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -32810,7 +32226,8 @@ private ErrorSummary(
       } catch (com.google.protobuf.UninitializedMessageException e) {
         throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
       } catch (java.io.IOException e) {
-        throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
+        throw new com.google.protobuf.InvalidProtocolBufferException(
+            e).setUnfinishedMessage(this);
       } finally {
         if (((mutable_bitField0_ & 0x00000001) != 0)) {
           errorLogEntries_ = java.util.Collections.unmodifiableList(errorLogEntries_);
@@ -32819,52 +32236,41 @@ private ErrorSummary(
         makeExtensionsImmutable();
       }
     }
-
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.storagetransfer.v1.proto.TransferTypes
-          .internal_static_google_storagetransfer_v1_ErrorSummary_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.storagetransfer.v1.proto.TransferTypes.internal_static_google_storagetransfer_v1_ErrorSummary_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.storagetransfer.v1.proto.TransferTypes
-          .internal_static_google_storagetransfer_v1_ErrorSummary_fieldAccessorTable
+      return com.google.storagetransfer.v1.proto.TransferTypes.internal_static_google_storagetransfer_v1_ErrorSummary_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.storagetransfer.v1.proto.TransferTypes.ErrorSummary.class,
-              com.google.storagetransfer.v1.proto.TransferTypes.ErrorSummary.Builder.class);
+              com.google.storagetransfer.v1.proto.TransferTypes.ErrorSummary.class, com.google.storagetransfer.v1.proto.TransferTypes.ErrorSummary.Builder.class);
     }
 
     public static final int ERROR_CODE_FIELD_NUMBER = 1;
     private int errorCode_;
     /**
-     *
-     *
      * 
      * Required.
      * 
* * .google.rpc.Code error_code = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The enum numeric value on the wire for errorCode. */ - @java.lang.Override - public int getErrorCodeValue() { + @java.lang.Override public int getErrorCodeValue() { return errorCode_; } /** - * - * *
      * Required.
      * 
* * .google.rpc.Code error_code = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The errorCode. */ - @java.lang.Override - public com.google.rpc.Code getErrorCode() { + @java.lang.Override public com.google.rpc.Code getErrorCode() { @SuppressWarnings("deprecation") com.google.rpc.Code result = com.google.rpc.Code.valueOf(errorCode_); return result == null ? com.google.rpc.Code.UNRECOGNIZED : result; @@ -32873,14 +32279,11 @@ public com.google.rpc.Code getErrorCode() { public static final int ERROR_COUNT_FIELD_NUMBER = 2; private long errorCount_; /** - * - * *
      * Required. Count of this type of error.
      * 
* * int64 error_count = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The errorCount. */ @java.lang.Override @@ -32889,11 +32292,8 @@ public long getErrorCount() { } public static final int ERROR_LOG_ENTRIES_FIELD_NUMBER = 3; - private java.util.List - errorLogEntries_; + private java.util.List errorLogEntries_; /** - * - * *
      * Error samples.
      * At most 5 error log entries are recorded for a given
@@ -32903,13 +32303,10 @@ public long getErrorCount() {
      * repeated .google.storagetransfer.v1.ErrorLogEntry error_log_entries = 3;
      */
     @java.lang.Override
-    public java.util.List
-        getErrorLogEntriesList() {
+    public java.util.List getErrorLogEntriesList() {
       return errorLogEntries_;
     }
     /**
-     *
-     *
      * 
      * Error samples.
      * At most 5 error log entries are recorded for a given
@@ -32919,14 +32316,11 @@ public long getErrorCount() {
      * repeated .google.storagetransfer.v1.ErrorLogEntry error_log_entries = 3;
      */
     @java.lang.Override
-    public java.util.List<
-            ? extends com.google.storagetransfer.v1.proto.TransferTypes.ErrorLogEntryOrBuilder>
+    public java.util.List 
         getErrorLogEntriesOrBuilderList() {
       return errorLogEntries_;
     }
     /**
-     *
-     *
      * 
      * Error samples.
      * At most 5 error log entries are recorded for a given
@@ -32940,8 +32334,6 @@ public int getErrorLogEntriesCount() {
       return errorLogEntries_.size();
     }
     /**
-     *
-     *
      * 
      * Error samples.
      * At most 5 error log entries are recorded for a given
@@ -32951,13 +32343,10 @@ public int getErrorLogEntriesCount() {
      * repeated .google.storagetransfer.v1.ErrorLogEntry error_log_entries = 3;
      */
     @java.lang.Override
-    public com.google.storagetransfer.v1.proto.TransferTypes.ErrorLogEntry getErrorLogEntries(
-        int index) {
+    public com.google.storagetransfer.v1.proto.TransferTypes.ErrorLogEntry getErrorLogEntries(int index) {
       return errorLogEntries_.get(index);
     }
     /**
-     *
-     *
      * 
      * Error samples.
      * At most 5 error log entries are recorded for a given
@@ -32967,13 +32356,12 @@ public com.google.storagetransfer.v1.proto.TransferTypes.ErrorLogEntry getErrorL
      * repeated .google.storagetransfer.v1.ErrorLogEntry error_log_entries = 3;
      */
     @java.lang.Override
-    public com.google.storagetransfer.v1.proto.TransferTypes.ErrorLogEntryOrBuilder
-        getErrorLogEntriesOrBuilder(int index) {
+    public com.google.storagetransfer.v1.proto.TransferTypes.ErrorLogEntryOrBuilder getErrorLogEntriesOrBuilder(
+        int index) {
       return errorLogEntries_.get(index);
     }
 
     private byte memoizedIsInitialized = -1;
-
     @java.lang.Override
     public final boolean isInitialized() {
       byte isInitialized = memoizedIsInitialized;
@@ -32985,7 +32373,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 (errorCode_ != com.google.rpc.Code.OK.getNumber()) {
         output.writeEnum(1, errorCode_);
       }
@@ -33005,14 +32394,16 @@ public int getSerializedSize() {
 
       size = 0;
       if (errorCode_ != com.google.rpc.Code.OK.getNumber()) {
-        size += com.google.protobuf.CodedOutputStream.computeEnumSize(1, errorCode_);
+        size += com.google.protobuf.CodedOutputStream
+          .computeEnumSize(1, errorCode_);
       }
       if (errorCount_ != 0L) {
-        size += com.google.protobuf.CodedOutputStream.computeInt64Size(2, errorCount_);
+        size += com.google.protobuf.CodedOutputStream
+          .computeInt64Size(2, errorCount_);
       }
       for (int i = 0; i < errorLogEntries_.size(); i++) {
-        size +=
-            com.google.protobuf.CodedOutputStream.computeMessageSize(3, errorLogEntries_.get(i));
+        size += com.google.protobuf.CodedOutputStream
+          .computeMessageSize(3, errorLogEntries_.get(i));
       }
       size += unknownFields.getSerializedSize();
       memoizedSize = size;
@@ -33022,17 +32413,18 @@ 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.storagetransfer.v1.proto.TransferTypes.ErrorSummary)) {
         return super.equals(obj);
       }
-      com.google.storagetransfer.v1.proto.TransferTypes.ErrorSummary other =
-          (com.google.storagetransfer.v1.proto.TransferTypes.ErrorSummary) obj;
+      com.google.storagetransfer.v1.proto.TransferTypes.ErrorSummary other = (com.google.storagetransfer.v1.proto.TransferTypes.ErrorSummary) obj;
 
       if (errorCode_ != other.errorCode_) return false;
-      if (getErrorCount() != other.getErrorCount()) return false;
-      if (!getErrorLogEntriesList().equals(other.getErrorLogEntriesList())) return false;
+      if (getErrorCount()
+          != other.getErrorCount()) return false;
+      if (!getErrorLogEntriesList()
+          .equals(other.getErrorLogEntriesList())) return false;
       if (!unknownFields.equals(other.unknownFields)) return false;
       return true;
     }
@@ -33047,7 +32439,8 @@ public int hashCode() {
       hash = (37 * hash) + ERROR_CODE_FIELD_NUMBER;
       hash = (53 * hash) + errorCode_;
       hash = (37 * hash) + ERROR_COUNT_FIELD_NUMBER;
-      hash = (53 * hash) + com.google.protobuf.Internal.hashLong(getErrorCount());
+      hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
+          getErrorCount());
       if (getErrorLogEntriesCount() > 0) {
         hash = (37 * hash) + ERROR_LOG_ENTRIES_FIELD_NUMBER;
         hash = (53 * hash) + getErrorLogEntriesList().hashCode();
@@ -33058,94 +32451,87 @@ public int hashCode() {
     }
 
     public static com.google.storagetransfer.v1.proto.TransferTypes.ErrorSummary parseFrom(
-        java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException {
+        java.nio.ByteBuffer data)
+        throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data);
     }
-
     public static com.google.storagetransfer.v1.proto.TransferTypes.ErrorSummary 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.storagetransfer.v1.proto.TransferTypes.ErrorSummary parseFrom(
         com.google.protobuf.ByteString data)
         throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data);
     }
-
     public static com.google.storagetransfer.v1.proto.TransferTypes.ErrorSummary 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.storagetransfer.v1.proto.TransferTypes.ErrorSummary parseFrom(
-        byte[] data) throws com.google.protobuf.InvalidProtocolBufferException {
+    public static com.google.storagetransfer.v1.proto.TransferTypes.ErrorSummary parseFrom(byte[] data)
+        throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data);
     }
-
     public static com.google.storagetransfer.v1.proto.TransferTypes.ErrorSummary 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.storagetransfer.v1.proto.TransferTypes.ErrorSummary parseFrom(
-        java.io.InputStream input) throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+    public static com.google.storagetransfer.v1.proto.TransferTypes.ErrorSummary parseFrom(java.io.InputStream input)
+        throws java.io.IOException {
+      return com.google.protobuf.GeneratedMessageV3
+          .parseWithIOException(PARSER, input);
     }
-
     public static com.google.storagetransfer.v1.proto.TransferTypes.ErrorSummary 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.storagetransfer.v1.proto.TransferTypes.ErrorSummary parseDelimitedFrom(
-        java.io.InputStream input) throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
+    public static com.google.storagetransfer.v1.proto.TransferTypes.ErrorSummary parseDelimitedFrom(java.io.InputStream input)
+        throws java.io.IOException {
+      return com.google.protobuf.GeneratedMessageV3
+          .parseDelimitedWithIOException(PARSER, input);
     }
-
     public static com.google.storagetransfer.v1.proto.TransferTypes.ErrorSummary 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.storagetransfer.v1.proto.TransferTypes.ErrorSummary 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.storagetransfer.v1.proto.TransferTypes.ErrorSummary 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.storagetransfer.v1.proto.TransferTypes.ErrorSummary prototype) {
+    public static Builder newBuilder(com.google.storagetransfer.v1.proto.TransferTypes.ErrorSummary 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
@@ -33155,8 +32541,6 @@ protected Builder newBuilderForType(
       return builder;
     }
     /**
-     *
-     *
      * 
      * A summary of errors by error code, plus a count and sample error log
      * entries.
@@ -33164,24 +32548,21 @@ protected Builder newBuilderForType(
      *
      * Protobuf type {@code google.storagetransfer.v1.ErrorSummary}
      */
-    public static final class Builder
-        extends com.google.protobuf.GeneratedMessageV3.Builder
-        implements
+    public static final class Builder extends
+        com.google.protobuf.GeneratedMessageV3.Builder implements
         // @@protoc_insertion_point(builder_implements:google.storagetransfer.v1.ErrorSummary)
         com.google.storagetransfer.v1.proto.TransferTypes.ErrorSummaryOrBuilder {
-      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-        return com.google.storagetransfer.v1.proto.TransferTypes
-            .internal_static_google_storagetransfer_v1_ErrorSummary_descriptor;
+      public static final com.google.protobuf.Descriptors.Descriptor
+          getDescriptor() {
+        return com.google.storagetransfer.v1.proto.TransferTypes.internal_static_google_storagetransfer_v1_ErrorSummary_descriptor;
       }
 
       @java.lang.Override
       protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
           internalGetFieldAccessorTable() {
-        return com.google.storagetransfer.v1.proto.TransferTypes
-            .internal_static_google_storagetransfer_v1_ErrorSummary_fieldAccessorTable
+        return com.google.storagetransfer.v1.proto.TransferTypes.internal_static_google_storagetransfer_v1_ErrorSummary_fieldAccessorTable
             .ensureFieldAccessorsInitialized(
-                com.google.storagetransfer.v1.proto.TransferTypes.ErrorSummary.class,
-                com.google.storagetransfer.v1.proto.TransferTypes.ErrorSummary.Builder.class);
+                com.google.storagetransfer.v1.proto.TransferTypes.ErrorSummary.class, com.google.storagetransfer.v1.proto.TransferTypes.ErrorSummary.Builder.class);
       }
 
       // Construct using com.google.storagetransfer.v1.proto.TransferTypes.ErrorSummary.newBuilder()
@@ -33189,17 +32570,17 @@ private Builder() {
         maybeForceBuilderInitialization();
       }
 
-      private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+      private Builder(
+          com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
         super(parent);
         maybeForceBuilderInitialization();
       }
-
       private void maybeForceBuilderInitialization() {
-        if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {
+        if (com.google.protobuf.GeneratedMessageV3
+                .alwaysUseFieldBuilders) {
           getErrorLogEntriesFieldBuilder();
         }
       }
-
       @java.lang.Override
       public Builder clear() {
         super.clear();
@@ -33217,14 +32598,13 @@ public Builder clear() {
       }
 
       @java.lang.Override
-      public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-        return com.google.storagetransfer.v1.proto.TransferTypes
-            .internal_static_google_storagetransfer_v1_ErrorSummary_descriptor;
+      public com.google.protobuf.Descriptors.Descriptor
+          getDescriptorForType() {
+        return com.google.storagetransfer.v1.proto.TransferTypes.internal_static_google_storagetransfer_v1_ErrorSummary_descriptor;
       }
 
       @java.lang.Override
-      public com.google.storagetransfer.v1.proto.TransferTypes.ErrorSummary
-          getDefaultInstanceForType() {
+      public com.google.storagetransfer.v1.proto.TransferTypes.ErrorSummary getDefaultInstanceForType() {
         return com.google.storagetransfer.v1.proto.TransferTypes.ErrorSummary.getDefaultInstance();
       }
 
@@ -33239,8 +32619,7 @@ public com.google.storagetransfer.v1.proto.TransferTypes.ErrorSummary build() {
 
       @java.lang.Override
       public com.google.storagetransfer.v1.proto.TransferTypes.ErrorSummary buildPartial() {
-        com.google.storagetransfer.v1.proto.TransferTypes.ErrorSummary result =
-            new com.google.storagetransfer.v1.proto.TransferTypes.ErrorSummary(this);
+        com.google.storagetransfer.v1.proto.TransferTypes.ErrorSummary result = new com.google.storagetransfer.v1.proto.TransferTypes.ErrorSummary(this);
         int from_bitField0_ = bitField0_;
         result.errorCode_ = errorCode_;
         result.errorCount_ = errorCount_;
@@ -33261,52 +32640,46 @@ public com.google.storagetransfer.v1.proto.TransferTypes.ErrorSummary buildParti
       public Builder clone() {
         return super.clone();
       }
-
       @java.lang.Override
       public Builder setField(
-          com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+          com.google.protobuf.Descriptors.FieldDescriptor field,
+          java.lang.Object value) {
         return super.setField(field, value);
       }
-
       @java.lang.Override
-      public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+      public Builder clearField(
+          com.google.protobuf.Descriptors.FieldDescriptor field) {
         return super.clearField(field);
       }
-
       @java.lang.Override
-      public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+      public Builder clearOneof(
+          com.google.protobuf.Descriptors.OneofDescriptor oneof) {
         return super.clearOneof(oneof);
       }
-
       @java.lang.Override
       public Builder setRepeatedField(
           com.google.protobuf.Descriptors.FieldDescriptor field,
-          int index,
-          java.lang.Object value) {
+          int index, java.lang.Object value) {
         return super.setRepeatedField(field, index, value);
       }
-
       @java.lang.Override
       public Builder addRepeatedField(
-          com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+          com.google.protobuf.Descriptors.FieldDescriptor field,
+          java.lang.Object value) {
         return super.addRepeatedField(field, value);
       }
-
       @java.lang.Override
       public Builder mergeFrom(com.google.protobuf.Message other) {
         if (other instanceof com.google.storagetransfer.v1.proto.TransferTypes.ErrorSummary) {
-          return mergeFrom((com.google.storagetransfer.v1.proto.TransferTypes.ErrorSummary) other);
+          return mergeFrom((com.google.storagetransfer.v1.proto.TransferTypes.ErrorSummary)other);
         } else {
           super.mergeFrom(other);
           return this;
         }
       }
 
-      public Builder mergeFrom(
-          com.google.storagetransfer.v1.proto.TransferTypes.ErrorSummary other) {
-        if (other
-            == com.google.storagetransfer.v1.proto.TransferTypes.ErrorSummary.getDefaultInstance())
-          return this;
+      public Builder mergeFrom(com.google.storagetransfer.v1.proto.TransferTypes.ErrorSummary other) {
+        if (other == com.google.storagetransfer.v1.proto.TransferTypes.ErrorSummary.getDefaultInstance()) return this;
         if (other.errorCode_ != 0) {
           setErrorCodeValue(other.getErrorCodeValue());
         }
@@ -33331,10 +32704,9 @@ public Builder mergeFrom(
               errorLogEntriesBuilder_ = null;
               errorLogEntries_ = other.errorLogEntries_;
               bitField0_ = (bitField0_ & ~0x00000001);
-              errorLogEntriesBuilder_ =
-                  com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders
-                      ? getErrorLogEntriesFieldBuilder()
-                      : null;
+              errorLogEntriesBuilder_ = 
+                com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
+                   getErrorLogEntriesFieldBuilder() : null;
             } else {
               errorLogEntriesBuilder_.addAllMessages(other.errorLogEntries_);
             }
@@ -33359,9 +32731,7 @@ public Builder mergeFrom(
         try {
           parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
         } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-          parsedMessage =
-              (com.google.storagetransfer.v1.proto.TransferTypes.ErrorSummary)
-                  e.getUnfinishedMessage();
+          parsedMessage = (com.google.storagetransfer.v1.proto.TransferTypes.ErrorSummary) e.getUnfinishedMessage();
           throw e.unwrapIOException();
         } finally {
           if (parsedMessage != null) {
@@ -33370,52 +32740,41 @@ public Builder mergeFrom(
         }
         return this;
       }
-
       private int bitField0_;
 
       private int errorCode_ = 0;
       /**
-       *
-       *
        * 
        * Required.
        * 
* * .google.rpc.Code error_code = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The enum numeric value on the wire for errorCode. */ - @java.lang.Override - public int getErrorCodeValue() { + @java.lang.Override public int getErrorCodeValue() { return errorCode_; } /** - * - * *
        * Required.
        * 
* * .google.rpc.Code error_code = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The enum numeric value on the wire for errorCode to set. * @return This builder for chaining. */ public Builder setErrorCodeValue(int value) { - + errorCode_ = value; onChanged(); return this; } /** - * - * *
        * Required.
        * 
* * .google.rpc.Code error_code = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The errorCode. */ @java.lang.Override @@ -33425,14 +32784,11 @@ public com.google.rpc.Code getErrorCode() { return result == null ? com.google.rpc.Code.UNRECOGNIZED : result; } /** - * - * *
        * Required.
        * 
* * .google.rpc.Code error_code = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The errorCode to set. * @return This builder for chaining. */ @@ -33440,39 +32796,33 @@ public Builder setErrorCode(com.google.rpc.Code value) { if (value == null) { throw new NullPointerException(); } - + errorCode_ = value.getNumber(); onChanged(); return this; } /** - * - * *
        * Required.
        * 
* * .google.rpc.Code error_code = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return This builder for chaining. */ public Builder clearErrorCode() { - + errorCode_ = 0; onChanged(); return this; } - private long errorCount_; + private long errorCount_ ; /** - * - * *
        * Required. Count of this type of error.
        * 
* * int64 error_count = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The errorCount. */ @java.lang.Override @@ -33480,63 +32830,48 @@ public long getErrorCount() { return errorCount_; } /** - * - * *
        * Required. Count of this type of error.
        * 
* * int64 error_count = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The errorCount to set. * @return This builder for chaining. */ public Builder setErrorCount(long value) { - + errorCount_ = value; onChanged(); return this; } /** - * - * *
        * Required. Count of this type of error.
        * 
* * int64 error_count = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return This builder for chaining. */ public Builder clearErrorCount() { - + errorCount_ = 0L; onChanged(); return this; } - private java.util.List - errorLogEntries_ = java.util.Collections.emptyList(); - + private java.util.List errorLogEntries_ = + java.util.Collections.emptyList(); private void ensureErrorLogEntriesIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { - errorLogEntries_ = - new java.util.ArrayList< - com.google.storagetransfer.v1.proto.TransferTypes.ErrorLogEntry>( - errorLogEntries_); + errorLogEntries_ = new java.util.ArrayList(errorLogEntries_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.storagetransfer.v1.proto.TransferTypes.ErrorLogEntry, - com.google.storagetransfer.v1.proto.TransferTypes.ErrorLogEntry.Builder, - com.google.storagetransfer.v1.proto.TransferTypes.ErrorLogEntryOrBuilder> - errorLogEntriesBuilder_; + com.google.storagetransfer.v1.proto.TransferTypes.ErrorLogEntry, com.google.storagetransfer.v1.proto.TransferTypes.ErrorLogEntry.Builder, com.google.storagetransfer.v1.proto.TransferTypes.ErrorLogEntryOrBuilder> errorLogEntriesBuilder_; /** - * - * *
        * Error samples.
        * At most 5 error log entries are recorded for a given
@@ -33545,8 +32880,7 @@ private void ensureErrorLogEntriesIsMutable() {
        *
        * repeated .google.storagetransfer.v1.ErrorLogEntry error_log_entries = 3;
        */
-      public java.util.List
-          getErrorLogEntriesList() {
+      public java.util.List getErrorLogEntriesList() {
         if (errorLogEntriesBuilder_ == null) {
           return java.util.Collections.unmodifiableList(errorLogEntries_);
         } else {
@@ -33554,8 +32888,6 @@ private void ensureErrorLogEntriesIsMutable() {
         }
       }
       /**
-       *
-       *
        * 
        * Error samples.
        * At most 5 error log entries are recorded for a given
@@ -33572,8 +32904,6 @@ public int getErrorLogEntriesCount() {
         }
       }
       /**
-       *
-       *
        * 
        * Error samples.
        * At most 5 error log entries are recorded for a given
@@ -33582,8 +32912,7 @@ public int getErrorLogEntriesCount() {
        *
        * repeated .google.storagetransfer.v1.ErrorLogEntry error_log_entries = 3;
        */
-      public com.google.storagetransfer.v1.proto.TransferTypes.ErrorLogEntry getErrorLogEntries(
-          int index) {
+      public com.google.storagetransfer.v1.proto.TransferTypes.ErrorLogEntry getErrorLogEntries(int index) {
         if (errorLogEntriesBuilder_ == null) {
           return errorLogEntries_.get(index);
         } else {
@@ -33591,8 +32920,6 @@ public com.google.storagetransfer.v1.proto.TransferTypes.ErrorLogEntry getErrorL
         }
       }
       /**
-       *
-       *
        * 
        * Error samples.
        * At most 5 error log entries are recorded for a given
@@ -33616,8 +32943,6 @@ public Builder setErrorLogEntries(
         return this;
       }
       /**
-       *
-       *
        * 
        * Error samples.
        * At most 5 error log entries are recorded for a given
@@ -33627,8 +32952,7 @@ public Builder setErrorLogEntries(
        * repeated .google.storagetransfer.v1.ErrorLogEntry error_log_entries = 3;
        */
       public Builder setErrorLogEntries(
-          int index,
-          com.google.storagetransfer.v1.proto.TransferTypes.ErrorLogEntry.Builder builderForValue) {
+          int index, com.google.storagetransfer.v1.proto.TransferTypes.ErrorLogEntry.Builder builderForValue) {
         if (errorLogEntriesBuilder_ == null) {
           ensureErrorLogEntriesIsMutable();
           errorLogEntries_.set(index, builderForValue.build());
@@ -33639,8 +32963,6 @@ public Builder setErrorLogEntries(
         return this;
       }
       /**
-       *
-       *
        * 
        * Error samples.
        * At most 5 error log entries are recorded for a given
@@ -33649,8 +32971,7 @@ public Builder setErrorLogEntries(
        *
        * repeated .google.storagetransfer.v1.ErrorLogEntry error_log_entries = 3;
        */
-      public Builder addErrorLogEntries(
-          com.google.storagetransfer.v1.proto.TransferTypes.ErrorLogEntry value) {
+      public Builder addErrorLogEntries(com.google.storagetransfer.v1.proto.TransferTypes.ErrorLogEntry value) {
         if (errorLogEntriesBuilder_ == null) {
           if (value == null) {
             throw new NullPointerException();
@@ -33664,8 +32985,6 @@ public Builder addErrorLogEntries(
         return this;
       }
       /**
-       *
-       *
        * 
        * Error samples.
        * At most 5 error log entries are recorded for a given
@@ -33689,8 +33008,6 @@ public Builder addErrorLogEntries(
         return this;
       }
       /**
-       *
-       *
        * 
        * Error samples.
        * At most 5 error log entries are recorded for a given
@@ -33711,8 +33028,6 @@ public Builder addErrorLogEntries(
         return this;
       }
       /**
-       *
-       *
        * 
        * Error samples.
        * At most 5 error log entries are recorded for a given
@@ -33722,8 +33037,7 @@ public Builder addErrorLogEntries(
        * repeated .google.storagetransfer.v1.ErrorLogEntry error_log_entries = 3;
        */
       public Builder addErrorLogEntries(
-          int index,
-          com.google.storagetransfer.v1.proto.TransferTypes.ErrorLogEntry.Builder builderForValue) {
+          int index, com.google.storagetransfer.v1.proto.TransferTypes.ErrorLogEntry.Builder builderForValue) {
         if (errorLogEntriesBuilder_ == null) {
           ensureErrorLogEntriesIsMutable();
           errorLogEntries_.add(index, builderForValue.build());
@@ -33734,8 +33048,6 @@ public Builder addErrorLogEntries(
         return this;
       }
       /**
-       *
-       *
        * 
        * Error samples.
        * At most 5 error log entries are recorded for a given
@@ -33745,12 +33057,11 @@ public Builder addErrorLogEntries(
        * repeated .google.storagetransfer.v1.ErrorLogEntry error_log_entries = 3;
        */
       public Builder addAllErrorLogEntries(
-          java.lang.Iterable<
-                  ? extends com.google.storagetransfer.v1.proto.TransferTypes.ErrorLogEntry>
-              values) {
+          java.lang.Iterable values) {
         if (errorLogEntriesBuilder_ == null) {
           ensureErrorLogEntriesIsMutable();
-          com.google.protobuf.AbstractMessageLite.Builder.addAll(values, errorLogEntries_);
+          com.google.protobuf.AbstractMessageLite.Builder.addAll(
+              values, errorLogEntries_);
           onChanged();
         } else {
           errorLogEntriesBuilder_.addAllMessages(values);
@@ -33758,8 +33069,6 @@ public Builder addAllErrorLogEntries(
         return this;
       }
       /**
-       *
-       *
        * 
        * Error samples.
        * At most 5 error log entries are recorded for a given
@@ -33779,8 +33088,6 @@ public Builder clearErrorLogEntries() {
         return this;
       }
       /**
-       *
-       *
        * 
        * Error samples.
        * At most 5 error log entries are recorded for a given
@@ -33800,8 +33107,6 @@ public Builder removeErrorLogEntries(int index) {
         return this;
       }
       /**
-       *
-       *
        * 
        * Error samples.
        * At most 5 error log entries are recorded for a given
@@ -33810,13 +33115,11 @@ public Builder removeErrorLogEntries(int index) {
        *
        * repeated .google.storagetransfer.v1.ErrorLogEntry error_log_entries = 3;
        */
-      public com.google.storagetransfer.v1.proto.TransferTypes.ErrorLogEntry.Builder
-          getErrorLogEntriesBuilder(int index) {
+      public com.google.storagetransfer.v1.proto.TransferTypes.ErrorLogEntry.Builder getErrorLogEntriesBuilder(
+          int index) {
         return getErrorLogEntriesFieldBuilder().getBuilder(index);
       }
       /**
-       *
-       *
        * 
        * Error samples.
        * At most 5 error log entries are recorded for a given
@@ -33825,17 +33128,14 @@ public Builder removeErrorLogEntries(int index) {
        *
        * repeated .google.storagetransfer.v1.ErrorLogEntry error_log_entries = 3;
        */
-      public com.google.storagetransfer.v1.proto.TransferTypes.ErrorLogEntryOrBuilder
-          getErrorLogEntriesOrBuilder(int index) {
+      public com.google.storagetransfer.v1.proto.TransferTypes.ErrorLogEntryOrBuilder getErrorLogEntriesOrBuilder(
+          int index) {
         if (errorLogEntriesBuilder_ == null) {
-          return errorLogEntries_.get(index);
-        } else {
+          return errorLogEntries_.get(index);  } else {
           return errorLogEntriesBuilder_.getMessageOrBuilder(index);
         }
       }
       /**
-       *
-       *
        * 
        * Error samples.
        * At most 5 error log entries are recorded for a given
@@ -33844,9 +33144,8 @@ public Builder removeErrorLogEntries(int index) {
        *
        * repeated .google.storagetransfer.v1.ErrorLogEntry error_log_entries = 3;
        */
-      public java.util.List<
-              ? extends com.google.storagetransfer.v1.proto.TransferTypes.ErrorLogEntryOrBuilder>
-          getErrorLogEntriesOrBuilderList() {
+      public java.util.List 
+           getErrorLogEntriesOrBuilderList() {
         if (errorLogEntriesBuilder_ != null) {
           return errorLogEntriesBuilder_.getMessageOrBuilderList();
         } else {
@@ -33854,8 +33153,6 @@ public Builder removeErrorLogEntries(int index) {
         }
       }
       /**
-       *
-       *
        * 
        * Error samples.
        * At most 5 error log entries are recorded for a given
@@ -33864,16 +33161,11 @@ public Builder removeErrorLogEntries(int index) {
        *
        * repeated .google.storagetransfer.v1.ErrorLogEntry error_log_entries = 3;
        */
-      public com.google.storagetransfer.v1.proto.TransferTypes.ErrorLogEntry.Builder
-          addErrorLogEntriesBuilder() {
-        return getErrorLogEntriesFieldBuilder()
-            .addBuilder(
-                com.google.storagetransfer.v1.proto.TransferTypes.ErrorLogEntry
-                    .getDefaultInstance());
+      public com.google.storagetransfer.v1.proto.TransferTypes.ErrorLogEntry.Builder addErrorLogEntriesBuilder() {
+        return getErrorLogEntriesFieldBuilder().addBuilder(
+            com.google.storagetransfer.v1.proto.TransferTypes.ErrorLogEntry.getDefaultInstance());
       }
       /**
-       *
-       *
        * 
        * Error samples.
        * At most 5 error log entries are recorded for a given
@@ -33882,17 +33174,12 @@ public Builder removeErrorLogEntries(int index) {
        *
        * repeated .google.storagetransfer.v1.ErrorLogEntry error_log_entries = 3;
        */
-      public com.google.storagetransfer.v1.proto.TransferTypes.ErrorLogEntry.Builder
-          addErrorLogEntriesBuilder(int index) {
-        return getErrorLogEntriesFieldBuilder()
-            .addBuilder(
-                index,
-                com.google.storagetransfer.v1.proto.TransferTypes.ErrorLogEntry
-                    .getDefaultInstance());
+      public com.google.storagetransfer.v1.proto.TransferTypes.ErrorLogEntry.Builder addErrorLogEntriesBuilder(
+          int index) {
+        return getErrorLogEntriesFieldBuilder().addBuilder(
+            index, com.google.storagetransfer.v1.proto.TransferTypes.ErrorLogEntry.getDefaultInstance());
       }
       /**
-       *
-       *
        * 
        * Error samples.
        * At most 5 error log entries are recorded for a given
@@ -33901,22 +33188,16 @@ public Builder removeErrorLogEntries(int index) {
        *
        * repeated .google.storagetransfer.v1.ErrorLogEntry error_log_entries = 3;
        */
-      public java.util.List
-          getErrorLogEntriesBuilderList() {
+      public java.util.List 
+           getErrorLogEntriesBuilderList() {
         return getErrorLogEntriesFieldBuilder().getBuilderList();
       }
-
       private com.google.protobuf.RepeatedFieldBuilderV3<
-              com.google.storagetransfer.v1.proto.TransferTypes.ErrorLogEntry,
-              com.google.storagetransfer.v1.proto.TransferTypes.ErrorLogEntry.Builder,
-              com.google.storagetransfer.v1.proto.TransferTypes.ErrorLogEntryOrBuilder>
+          com.google.storagetransfer.v1.proto.TransferTypes.ErrorLogEntry, com.google.storagetransfer.v1.proto.TransferTypes.ErrorLogEntry.Builder, com.google.storagetransfer.v1.proto.TransferTypes.ErrorLogEntryOrBuilder> 
           getErrorLogEntriesFieldBuilder() {
         if (errorLogEntriesBuilder_ == null) {
-          errorLogEntriesBuilder_ =
-              new com.google.protobuf.RepeatedFieldBuilderV3<
-                  com.google.storagetransfer.v1.proto.TransferTypes.ErrorLogEntry,
-                  com.google.storagetransfer.v1.proto.TransferTypes.ErrorLogEntry.Builder,
-                  com.google.storagetransfer.v1.proto.TransferTypes.ErrorLogEntryOrBuilder>(
+          errorLogEntriesBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
+              com.google.storagetransfer.v1.proto.TransferTypes.ErrorLogEntry, com.google.storagetransfer.v1.proto.TransferTypes.ErrorLogEntry.Builder, com.google.storagetransfer.v1.proto.TransferTypes.ErrorLogEntryOrBuilder>(
                   errorLogEntries_,
                   ((bitField0_ & 0x00000001) != 0),
                   getParentForChildren(),
@@ -33925,7 +33206,6 @@ public Builder removeErrorLogEntries(int index) {
         }
         return errorLogEntriesBuilder_;
       }
-
       @java.lang.Override
       public final Builder setUnknownFields(
           final com.google.protobuf.UnknownFieldSet unknownFields) {
@@ -33938,32 +33218,30 @@ public final Builder mergeUnknownFields(
         return super.mergeUnknownFields(unknownFields);
       }
 
+
       // @@protoc_insertion_point(builder_scope:google.storagetransfer.v1.ErrorSummary)
     }
 
     // @@protoc_insertion_point(class_scope:google.storagetransfer.v1.ErrorSummary)
-    private static final com.google.storagetransfer.v1.proto.TransferTypes.ErrorSummary
-        DEFAULT_INSTANCE;
-
+    private static final com.google.storagetransfer.v1.proto.TransferTypes.ErrorSummary DEFAULT_INSTANCE;
     static {
       DEFAULT_INSTANCE = new com.google.storagetransfer.v1.proto.TransferTypes.ErrorSummary();
     }
 
-    public static com.google.storagetransfer.v1.proto.TransferTypes.ErrorSummary
-        getDefaultInstance() {
+    public static com.google.storagetransfer.v1.proto.TransferTypes.ErrorSummary getDefaultInstance() {
       return DEFAULT_INSTANCE;
     }
 
-    private static final com.google.protobuf.Parser PARSER =
-        new com.google.protobuf.AbstractParser() {
-          @java.lang.Override
-          public ErrorSummary parsePartialFrom(
-              com.google.protobuf.CodedInputStream input,
-              com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-              throws com.google.protobuf.InvalidProtocolBufferException {
-            return new ErrorSummary(input, extensionRegistry);
-          }
-        };
+    private static final com.google.protobuf.Parser
+        PARSER = new com.google.protobuf.AbstractParser() {
+      @java.lang.Override
+      public ErrorSummary parsePartialFrom(
+          com.google.protobuf.CodedInputStream input,
+          com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+          throws com.google.protobuf.InvalidProtocolBufferException {
+        return new ErrorSummary(input, extensionRegistry);
+      }
+    };
 
     public static com.google.protobuf.Parser parser() {
       return PARSER;
@@ -33975,20 +33253,17 @@ public com.google.protobuf.Parser getParserForType() {
     }
 
     @java.lang.Override
-    public com.google.storagetransfer.v1.proto.TransferTypes.ErrorSummary
-        getDefaultInstanceForType() {
+    public com.google.storagetransfer.v1.proto.TransferTypes.ErrorSummary getDefaultInstanceForType() {
       return DEFAULT_INSTANCE;
     }
+
   }
 
-  public interface TransferCountersOrBuilder
-      extends
+  public interface TransferCountersOrBuilder extends
       // @@protoc_insertion_point(interface_extends:google.storagetransfer.v1.TransferCounters)
       com.google.protobuf.MessageOrBuilder {
 
     /**
-     *
-     *
      * 
      * Objects found in the data source that are scheduled to be transferred,
      * excluding any that are filtered based on object conditions or skipped due
@@ -33996,14 +33271,11 @@ public interface TransferCountersOrBuilder
      * 
* * int64 objects_found_from_source = 1; - * * @return The objectsFoundFromSource. */ long getObjectsFoundFromSource(); /** - * - * *
      * Bytes found in the data source that are scheduled to be transferred,
      * excluding any that are filtered based on object conditions or skipped due
@@ -34011,200 +33283,155 @@ public interface TransferCountersOrBuilder
      * 
* * int64 bytes_found_from_source = 2; - * * @return The bytesFoundFromSource. */ long getBytesFoundFromSource(); /** - * - * *
      * Objects found only in the data sink that are scheduled to be deleted.
      * 
* * int64 objects_found_only_from_sink = 3; - * * @return The objectsFoundOnlyFromSink. */ long getObjectsFoundOnlyFromSink(); /** - * - * *
      * Bytes found only in the data sink that are scheduled to be deleted.
      * 
* * int64 bytes_found_only_from_sink = 4; - * * @return The bytesFoundOnlyFromSink. */ long getBytesFoundOnlyFromSink(); /** - * - * *
      * Objects in the data source that are not transferred because they already
      * exist in the data sink.
      * 
* * int64 objects_from_source_skipped_by_sync = 5; - * * @return The objectsFromSourceSkippedBySync. */ long getObjectsFromSourceSkippedBySync(); /** - * - * *
      * Bytes in the data source that are not transferred because they already
      * exist in the data sink.
      * 
* * int64 bytes_from_source_skipped_by_sync = 6; - * * @return The bytesFromSourceSkippedBySync. */ long getBytesFromSourceSkippedBySync(); /** - * - * *
      * Objects that are copied to the data sink.
      * 
* * int64 objects_copied_to_sink = 7; - * * @return The objectsCopiedToSink. */ long getObjectsCopiedToSink(); /** - * - * *
      * Bytes that are copied to the data sink.
      * 
* * int64 bytes_copied_to_sink = 8; - * * @return The bytesCopiedToSink. */ long getBytesCopiedToSink(); /** - * - * *
      * Objects that are deleted from the data source.
      * 
* * int64 objects_deleted_from_source = 9; - * * @return The objectsDeletedFromSource. */ long getObjectsDeletedFromSource(); /** - * - * *
      * Bytes that are deleted from the data source.
      * 
* * int64 bytes_deleted_from_source = 10; - * * @return The bytesDeletedFromSource. */ long getBytesDeletedFromSource(); /** - * - * *
      * Objects that are deleted from the data sink.
      * 
* * int64 objects_deleted_from_sink = 11; - * * @return The objectsDeletedFromSink. */ long getObjectsDeletedFromSink(); /** - * - * *
      * Bytes that are deleted from the data sink.
      * 
* * int64 bytes_deleted_from_sink = 12; - * * @return The bytesDeletedFromSink. */ long getBytesDeletedFromSink(); /** - * - * *
      * Objects in the data source that failed to be transferred or that failed
      * to be deleted after being transferred.
      * 
* * int64 objects_from_source_failed = 13; - * * @return The objectsFromSourceFailed. */ long getObjectsFromSourceFailed(); /** - * - * *
      * Bytes in the data source that failed to be transferred or that failed to
      * be deleted after being transferred.
      * 
* * int64 bytes_from_source_failed = 14; - * * @return The bytesFromSourceFailed. */ long getBytesFromSourceFailed(); /** - * - * *
      * Objects that failed to be deleted from the data sink.
      * 
* * int64 objects_failed_to_delete_from_sink = 15; - * * @return The objectsFailedToDeleteFromSink. */ long getObjectsFailedToDeleteFromSink(); /** - * - * *
      * Bytes that failed to be deleted from the data sink.
      * 
* * int64 bytes_failed_to_delete_from_sink = 16; - * * @return The bytesFailedToDeleteFromSink. */ long getBytesFailedToDeleteFromSink(); /** - * - * *
      * For transfers involving PosixFilesystem only.
      * Number of directories found while listing. For example, if the root
@@ -34214,14 +33441,11 @@ public interface TransferCountersOrBuilder
      * 
* * int64 directories_found_from_source = 17; - * * @return The directoriesFoundFromSource. */ long getDirectoriesFoundFromSource(); /** - * - * *
      * For transfers involving PosixFilesystem only.
      * Number of listing failures for each directory found at the source.
@@ -34231,83 +33455,72 @@ public interface TransferCountersOrBuilder
      * 
* * int64 directories_failed_to_list_from_source = 18; - * * @return The directoriesFailedToListFromSource. */ long getDirectoriesFailedToListFromSource(); /** - * - * *
      * For transfers involving PosixFilesystem only.
      * Number of successful listings for each directory found at the source.
      * 
* * int64 directories_successfully_listed_from_source = 19; - * * @return The directoriesSuccessfullyListedFromSource. */ long getDirectoriesSuccessfullyListedFromSource(); /** - * - * *
      * Number of successfully cleaned up intermediate objects.
      * 
* * int64 intermediate_objects_cleaned_up = 22; - * * @return The intermediateObjectsCleanedUp. */ long getIntermediateObjectsCleanedUp(); /** - * - * *
      * Number of intermediate objects failed cleaned up.
      * 
* * int64 intermediate_objects_failed_cleaned_up = 23; - * * @return The intermediateObjectsFailedCleanedUp. */ long getIntermediateObjectsFailedCleanedUp(); } /** - * - * *
    * A collection of counters that report the progress of a transfer operation.
    * 
* * Protobuf type {@code google.storagetransfer.v1.TransferCounters} */ - public static final class TransferCounters extends com.google.protobuf.GeneratedMessageV3 - implements + public static final class TransferCounters extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.storagetransfer.v1.TransferCounters) TransferCountersOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use TransferCounters.newBuilder() to construct. private TransferCounters(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - - private TransferCounters() {} + private TransferCounters() { + } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new TransferCounters(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private TransferCounters( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -34326,118 +33539,118 @@ private TransferCounters( case 0: done = true; break; - case 8: - { - objectsFoundFromSource_ = input.readInt64(); - break; - } - case 16: - { - bytesFoundFromSource_ = input.readInt64(); - break; - } - case 24: - { - objectsFoundOnlyFromSink_ = input.readInt64(); - break; - } - case 32: - { - bytesFoundOnlyFromSink_ = input.readInt64(); - break; - } - case 40: - { - objectsFromSourceSkippedBySync_ = input.readInt64(); - break; - } - case 48: - { - bytesFromSourceSkippedBySync_ = input.readInt64(); - break; - } - case 56: - { - objectsCopiedToSink_ = input.readInt64(); - break; - } - case 64: - { - bytesCopiedToSink_ = input.readInt64(); - break; - } - case 72: - { - objectsDeletedFromSource_ = input.readInt64(); - break; - } - case 80: - { - bytesDeletedFromSource_ = input.readInt64(); - break; - } - case 88: - { - objectsDeletedFromSink_ = input.readInt64(); - break; - } - case 96: - { - bytesDeletedFromSink_ = input.readInt64(); - break; - } - case 104: - { - objectsFromSourceFailed_ = input.readInt64(); - break; - } - case 112: - { - bytesFromSourceFailed_ = input.readInt64(); - break; - } - case 120: - { - objectsFailedToDeleteFromSink_ = input.readInt64(); - break; - } - case 128: - { - bytesFailedToDeleteFromSink_ = input.readInt64(); - break; - } - case 136: - { - directoriesFoundFromSource_ = input.readInt64(); - break; - } - case 144: - { - directoriesFailedToListFromSource_ = input.readInt64(); - break; - } - case 152: - { - directoriesSuccessfullyListedFromSource_ = input.readInt64(); - break; - } - case 176: - { - intermediateObjectsCleanedUp_ = input.readInt64(); - break; - } - case 184: - { - intermediateObjectsFailedCleanedUp_ = input.readInt64(); - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + case 8: { + + objectsFoundFromSource_ = input.readInt64(); + break; + } + case 16: { + + bytesFoundFromSource_ = input.readInt64(); + break; + } + case 24: { + + objectsFoundOnlyFromSink_ = input.readInt64(); + break; + } + case 32: { + + bytesFoundOnlyFromSink_ = input.readInt64(); + break; + } + case 40: { + + objectsFromSourceSkippedBySync_ = input.readInt64(); + break; + } + case 48: { + + bytesFromSourceSkippedBySync_ = input.readInt64(); + break; + } + case 56: { + + objectsCopiedToSink_ = input.readInt64(); + break; + } + case 64: { + + bytesCopiedToSink_ = input.readInt64(); + break; + } + case 72: { + + objectsDeletedFromSource_ = input.readInt64(); + break; + } + case 80: { + + bytesDeletedFromSource_ = input.readInt64(); + break; + } + case 88: { + + objectsDeletedFromSink_ = input.readInt64(); + break; + } + case 96: { + + bytesDeletedFromSink_ = input.readInt64(); + break; + } + case 104: { + + objectsFromSourceFailed_ = input.readInt64(); + break; + } + case 112: { + + bytesFromSourceFailed_ = input.readInt64(); + break; + } + case 120: { + + objectsFailedToDeleteFromSink_ = input.readInt64(); + break; + } + case 128: { + + bytesFailedToDeleteFromSink_ = input.readInt64(); + break; + } + case 136: { + + directoriesFoundFromSource_ = input.readInt64(); + break; + } + case 144: { + + directoriesFailedToListFromSource_ = input.readInt64(); + break; + } + case 152: { + + directoriesSuccessfullyListedFromSource_ = input.readInt64(); + break; + } + case 176: { + + intermediateObjectsCleanedUp_ = input.readInt64(); + break; + } + case 184: { + + intermediateObjectsFailedCleanedUp_ = input.readInt64(); + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -34445,33 +33658,29 @@ private TransferCounters( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.storagetransfer.v1.proto.TransferTypes - .internal_static_google_storagetransfer_v1_TransferCounters_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.storagetransfer.v1.proto.TransferTypes.internal_static_google_storagetransfer_v1_TransferCounters_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.storagetransfer.v1.proto.TransferTypes - .internal_static_google_storagetransfer_v1_TransferCounters_fieldAccessorTable + return com.google.storagetransfer.v1.proto.TransferTypes.internal_static_google_storagetransfer_v1_TransferCounters_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.storagetransfer.v1.proto.TransferTypes.TransferCounters.class, - com.google.storagetransfer.v1.proto.TransferTypes.TransferCounters.Builder.class); + com.google.storagetransfer.v1.proto.TransferTypes.TransferCounters.class, com.google.storagetransfer.v1.proto.TransferTypes.TransferCounters.Builder.class); } public static final int OBJECTS_FOUND_FROM_SOURCE_FIELD_NUMBER = 1; private long objectsFoundFromSource_; /** - * - * *
      * Objects found in the data source that are scheduled to be transferred,
      * excluding any that are filtered based on object conditions or skipped due
@@ -34479,7 +33688,6 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
      * 
* * int64 objects_found_from_source = 1; - * * @return The objectsFoundFromSource. */ @java.lang.Override @@ -34490,8 +33698,6 @@ public long getObjectsFoundFromSource() { public static final int BYTES_FOUND_FROM_SOURCE_FIELD_NUMBER = 2; private long bytesFoundFromSource_; /** - * - * *
      * Bytes found in the data source that are scheduled to be transferred,
      * excluding any that are filtered based on object conditions or skipped due
@@ -34499,7 +33705,6 @@ public long getObjectsFoundFromSource() {
      * 
* * int64 bytes_found_from_source = 2; - * * @return The bytesFoundFromSource. */ @java.lang.Override @@ -34510,14 +33715,11 @@ public long getBytesFoundFromSource() { public static final int OBJECTS_FOUND_ONLY_FROM_SINK_FIELD_NUMBER = 3; private long objectsFoundOnlyFromSink_; /** - * - * *
      * Objects found only in the data sink that are scheduled to be deleted.
      * 
* * int64 objects_found_only_from_sink = 3; - * * @return The objectsFoundOnlyFromSink. */ @java.lang.Override @@ -34528,14 +33730,11 @@ public long getObjectsFoundOnlyFromSink() { public static final int BYTES_FOUND_ONLY_FROM_SINK_FIELD_NUMBER = 4; private long bytesFoundOnlyFromSink_; /** - * - * *
      * Bytes found only in the data sink that are scheduled to be deleted.
      * 
* * int64 bytes_found_only_from_sink = 4; - * * @return The bytesFoundOnlyFromSink. */ @java.lang.Override @@ -34546,15 +33745,12 @@ public long getBytesFoundOnlyFromSink() { public static final int OBJECTS_FROM_SOURCE_SKIPPED_BY_SYNC_FIELD_NUMBER = 5; private long objectsFromSourceSkippedBySync_; /** - * - * *
      * Objects in the data source that are not transferred because they already
      * exist in the data sink.
      * 
* * int64 objects_from_source_skipped_by_sync = 5; - * * @return The objectsFromSourceSkippedBySync. */ @java.lang.Override @@ -34565,15 +33761,12 @@ public long getObjectsFromSourceSkippedBySync() { public static final int BYTES_FROM_SOURCE_SKIPPED_BY_SYNC_FIELD_NUMBER = 6; private long bytesFromSourceSkippedBySync_; /** - * - * *
      * Bytes in the data source that are not transferred because they already
      * exist in the data sink.
      * 
* * int64 bytes_from_source_skipped_by_sync = 6; - * * @return The bytesFromSourceSkippedBySync. */ @java.lang.Override @@ -34584,14 +33777,11 @@ public long getBytesFromSourceSkippedBySync() { public static final int OBJECTS_COPIED_TO_SINK_FIELD_NUMBER = 7; private long objectsCopiedToSink_; /** - * - * *
      * Objects that are copied to the data sink.
      * 
* * int64 objects_copied_to_sink = 7; - * * @return The objectsCopiedToSink. */ @java.lang.Override @@ -34602,14 +33792,11 @@ public long getObjectsCopiedToSink() { public static final int BYTES_COPIED_TO_SINK_FIELD_NUMBER = 8; private long bytesCopiedToSink_; /** - * - * *
      * Bytes that are copied to the data sink.
      * 
* * int64 bytes_copied_to_sink = 8; - * * @return The bytesCopiedToSink. */ @java.lang.Override @@ -34620,14 +33807,11 @@ public long getBytesCopiedToSink() { public static final int OBJECTS_DELETED_FROM_SOURCE_FIELD_NUMBER = 9; private long objectsDeletedFromSource_; /** - * - * *
      * Objects that are deleted from the data source.
      * 
* * int64 objects_deleted_from_source = 9; - * * @return The objectsDeletedFromSource. */ @java.lang.Override @@ -34638,14 +33822,11 @@ public long getObjectsDeletedFromSource() { public static final int BYTES_DELETED_FROM_SOURCE_FIELD_NUMBER = 10; private long bytesDeletedFromSource_; /** - * - * *
      * Bytes that are deleted from the data source.
      * 
* * int64 bytes_deleted_from_source = 10; - * * @return The bytesDeletedFromSource. */ @java.lang.Override @@ -34656,14 +33837,11 @@ public long getBytesDeletedFromSource() { public static final int OBJECTS_DELETED_FROM_SINK_FIELD_NUMBER = 11; private long objectsDeletedFromSink_; /** - * - * *
      * Objects that are deleted from the data sink.
      * 
* * int64 objects_deleted_from_sink = 11; - * * @return The objectsDeletedFromSink. */ @java.lang.Override @@ -34674,14 +33852,11 @@ public long getObjectsDeletedFromSink() { public static final int BYTES_DELETED_FROM_SINK_FIELD_NUMBER = 12; private long bytesDeletedFromSink_; /** - * - * *
      * Bytes that are deleted from the data sink.
      * 
* * int64 bytes_deleted_from_sink = 12; - * * @return The bytesDeletedFromSink. */ @java.lang.Override @@ -34692,15 +33867,12 @@ public long getBytesDeletedFromSink() { public static final int OBJECTS_FROM_SOURCE_FAILED_FIELD_NUMBER = 13; private long objectsFromSourceFailed_; /** - * - * *
      * Objects in the data source that failed to be transferred or that failed
      * to be deleted after being transferred.
      * 
* * int64 objects_from_source_failed = 13; - * * @return The objectsFromSourceFailed. */ @java.lang.Override @@ -34711,15 +33883,12 @@ public long getObjectsFromSourceFailed() { public static final int BYTES_FROM_SOURCE_FAILED_FIELD_NUMBER = 14; private long bytesFromSourceFailed_; /** - * - * *
      * Bytes in the data source that failed to be transferred or that failed to
      * be deleted after being transferred.
      * 
* * int64 bytes_from_source_failed = 14; - * * @return The bytesFromSourceFailed. */ @java.lang.Override @@ -34730,14 +33899,11 @@ public long getBytesFromSourceFailed() { public static final int OBJECTS_FAILED_TO_DELETE_FROM_SINK_FIELD_NUMBER = 15; private long objectsFailedToDeleteFromSink_; /** - * - * *
      * Objects that failed to be deleted from the data sink.
      * 
* * int64 objects_failed_to_delete_from_sink = 15; - * * @return The objectsFailedToDeleteFromSink. */ @java.lang.Override @@ -34748,14 +33914,11 @@ public long getObjectsFailedToDeleteFromSink() { public static final int BYTES_FAILED_TO_DELETE_FROM_SINK_FIELD_NUMBER = 16; private long bytesFailedToDeleteFromSink_; /** - * - * *
      * Bytes that failed to be deleted from the data sink.
      * 
* * int64 bytes_failed_to_delete_from_sink = 16; - * * @return The bytesFailedToDeleteFromSink. */ @java.lang.Override @@ -34766,8 +33929,6 @@ public long getBytesFailedToDeleteFromSink() { public static final int DIRECTORIES_FOUND_FROM_SOURCE_FIELD_NUMBER = 17; private long directoriesFoundFromSource_; /** - * - * *
      * For transfers involving PosixFilesystem only.
      * Number of directories found while listing. For example, if the root
@@ -34777,7 +33938,6 @@ public long getBytesFailedToDeleteFromSink() {
      * 
* * int64 directories_found_from_source = 17; - * * @return The directoriesFoundFromSource. */ @java.lang.Override @@ -34788,8 +33948,6 @@ public long getDirectoriesFoundFromSource() { public static final int DIRECTORIES_FAILED_TO_LIST_FROM_SOURCE_FIELD_NUMBER = 18; private long directoriesFailedToListFromSource_; /** - * - * *
      * For transfers involving PosixFilesystem only.
      * Number of listing failures for each directory found at the source.
@@ -34799,7 +33957,6 @@ public long getDirectoriesFoundFromSource() {
      * 
* * int64 directories_failed_to_list_from_source = 18; - * * @return The directoriesFailedToListFromSource. */ @java.lang.Override @@ -34810,15 +33967,12 @@ public long getDirectoriesFailedToListFromSource() { public static final int DIRECTORIES_SUCCESSFULLY_LISTED_FROM_SOURCE_FIELD_NUMBER = 19; private long directoriesSuccessfullyListedFromSource_; /** - * - * *
      * For transfers involving PosixFilesystem only.
      * Number of successful listings for each directory found at the source.
      * 
* * int64 directories_successfully_listed_from_source = 19; - * * @return The directoriesSuccessfullyListedFromSource. */ @java.lang.Override @@ -34829,14 +33983,11 @@ public long getDirectoriesSuccessfullyListedFromSource() { public static final int INTERMEDIATE_OBJECTS_CLEANED_UP_FIELD_NUMBER = 22; private long intermediateObjectsCleanedUp_; /** - * - * *
      * Number of successfully cleaned up intermediate objects.
      * 
* * int64 intermediate_objects_cleaned_up = 22; - * * @return The intermediateObjectsCleanedUp. */ @java.lang.Override @@ -34847,14 +33998,11 @@ public long getIntermediateObjectsCleanedUp() { public static final int INTERMEDIATE_OBJECTS_FAILED_CLEANED_UP_FIELD_NUMBER = 23; private long intermediateObjectsFailedCleanedUp_; /** - * - * *
      * Number of intermediate objects failed cleaned up.
      * 
* * int64 intermediate_objects_failed_cleaned_up = 23; - * * @return The intermediateObjectsFailedCleanedUp. */ @java.lang.Override @@ -34863,7 +34011,6 @@ public long getIntermediateObjectsFailedCleanedUp() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -34875,7 +34022,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 (objectsFoundFromSource_ != 0L) { output.writeInt64(1, objectsFoundFromSource_); } @@ -34949,87 +34097,88 @@ public int getSerializedSize() { size = 0; if (objectsFoundFromSource_ != 0L) { - size += com.google.protobuf.CodedOutputStream.computeInt64Size(1, objectsFoundFromSource_); + size += com.google.protobuf.CodedOutputStream + .computeInt64Size(1, objectsFoundFromSource_); } if (bytesFoundFromSource_ != 0L) { - size += com.google.protobuf.CodedOutputStream.computeInt64Size(2, bytesFoundFromSource_); + size += com.google.protobuf.CodedOutputStream + .computeInt64Size(2, bytesFoundFromSource_); } if (objectsFoundOnlyFromSink_ != 0L) { - size += - com.google.protobuf.CodedOutputStream.computeInt64Size(3, objectsFoundOnlyFromSink_); + size += com.google.protobuf.CodedOutputStream + .computeInt64Size(3, objectsFoundOnlyFromSink_); } if (bytesFoundOnlyFromSink_ != 0L) { - size += com.google.protobuf.CodedOutputStream.computeInt64Size(4, bytesFoundOnlyFromSink_); + size += com.google.protobuf.CodedOutputStream + .computeInt64Size(4, bytesFoundOnlyFromSink_); } if (objectsFromSourceSkippedBySync_ != 0L) { - size += - com.google.protobuf.CodedOutputStream.computeInt64Size( - 5, objectsFromSourceSkippedBySync_); + size += com.google.protobuf.CodedOutputStream + .computeInt64Size(5, objectsFromSourceSkippedBySync_); } if (bytesFromSourceSkippedBySync_ != 0L) { - size += - com.google.protobuf.CodedOutputStream.computeInt64Size( - 6, bytesFromSourceSkippedBySync_); + size += com.google.protobuf.CodedOutputStream + .computeInt64Size(6, bytesFromSourceSkippedBySync_); } if (objectsCopiedToSink_ != 0L) { - size += com.google.protobuf.CodedOutputStream.computeInt64Size(7, objectsCopiedToSink_); + size += com.google.protobuf.CodedOutputStream + .computeInt64Size(7, objectsCopiedToSink_); } if (bytesCopiedToSink_ != 0L) { - size += com.google.protobuf.CodedOutputStream.computeInt64Size(8, bytesCopiedToSink_); + size += com.google.protobuf.CodedOutputStream + .computeInt64Size(8, bytesCopiedToSink_); } if (objectsDeletedFromSource_ != 0L) { - size += - com.google.protobuf.CodedOutputStream.computeInt64Size(9, objectsDeletedFromSource_); + size += com.google.protobuf.CodedOutputStream + .computeInt64Size(9, objectsDeletedFromSource_); } if (bytesDeletedFromSource_ != 0L) { - size += com.google.protobuf.CodedOutputStream.computeInt64Size(10, bytesDeletedFromSource_); + size += com.google.protobuf.CodedOutputStream + .computeInt64Size(10, bytesDeletedFromSource_); } if (objectsDeletedFromSink_ != 0L) { - size += com.google.protobuf.CodedOutputStream.computeInt64Size(11, objectsDeletedFromSink_); + size += com.google.protobuf.CodedOutputStream + .computeInt64Size(11, objectsDeletedFromSink_); } if (bytesDeletedFromSink_ != 0L) { - size += com.google.protobuf.CodedOutputStream.computeInt64Size(12, bytesDeletedFromSink_); + size += com.google.protobuf.CodedOutputStream + .computeInt64Size(12, bytesDeletedFromSink_); } if (objectsFromSourceFailed_ != 0L) { - size += - com.google.protobuf.CodedOutputStream.computeInt64Size(13, objectsFromSourceFailed_); + size += com.google.protobuf.CodedOutputStream + .computeInt64Size(13, objectsFromSourceFailed_); } if (bytesFromSourceFailed_ != 0L) { - size += com.google.protobuf.CodedOutputStream.computeInt64Size(14, bytesFromSourceFailed_); + size += com.google.protobuf.CodedOutputStream + .computeInt64Size(14, bytesFromSourceFailed_); } if (objectsFailedToDeleteFromSink_ != 0L) { - size += - com.google.protobuf.CodedOutputStream.computeInt64Size( - 15, objectsFailedToDeleteFromSink_); + size += com.google.protobuf.CodedOutputStream + .computeInt64Size(15, objectsFailedToDeleteFromSink_); } if (bytesFailedToDeleteFromSink_ != 0L) { - size += - com.google.protobuf.CodedOutputStream.computeInt64Size( - 16, bytesFailedToDeleteFromSink_); + size += com.google.protobuf.CodedOutputStream + .computeInt64Size(16, bytesFailedToDeleteFromSink_); } if (directoriesFoundFromSource_ != 0L) { - size += - com.google.protobuf.CodedOutputStream.computeInt64Size(17, directoriesFoundFromSource_); + size += com.google.protobuf.CodedOutputStream + .computeInt64Size(17, directoriesFoundFromSource_); } if (directoriesFailedToListFromSource_ != 0L) { - size += - com.google.protobuf.CodedOutputStream.computeInt64Size( - 18, directoriesFailedToListFromSource_); + size += com.google.protobuf.CodedOutputStream + .computeInt64Size(18, directoriesFailedToListFromSource_); } if (directoriesSuccessfullyListedFromSource_ != 0L) { - size += - com.google.protobuf.CodedOutputStream.computeInt64Size( - 19, directoriesSuccessfullyListedFromSource_); + size += com.google.protobuf.CodedOutputStream + .computeInt64Size(19, directoriesSuccessfullyListedFromSource_); } if (intermediateObjectsCleanedUp_ != 0L) { - size += - com.google.protobuf.CodedOutputStream.computeInt64Size( - 22, intermediateObjectsCleanedUp_); + size += com.google.protobuf.CodedOutputStream + .computeInt64Size(22, intermediateObjectsCleanedUp_); } if (intermediateObjectsFailedCleanedUp_ != 0L) { - size += - com.google.protobuf.CodedOutputStream.computeInt64Size( - 23, intermediateObjectsFailedCleanedUp_); + size += com.google.protobuf.CodedOutputStream + .computeInt64Size(23, intermediateObjectsFailedCleanedUp_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -35039,42 +34188,55 @@ 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.storagetransfer.v1.proto.TransferTypes.TransferCounters)) { return super.equals(obj); } - com.google.storagetransfer.v1.proto.TransferTypes.TransferCounters other = - (com.google.storagetransfer.v1.proto.TransferTypes.TransferCounters) obj; - - if (getObjectsFoundFromSource() != other.getObjectsFoundFromSource()) return false; - if (getBytesFoundFromSource() != other.getBytesFoundFromSource()) return false; - if (getObjectsFoundOnlyFromSink() != other.getObjectsFoundOnlyFromSink()) return false; - if (getBytesFoundOnlyFromSink() != other.getBytesFoundOnlyFromSink()) return false; - if (getObjectsFromSourceSkippedBySync() != other.getObjectsFromSourceSkippedBySync()) - return false; - if (getBytesFromSourceSkippedBySync() != other.getBytesFromSourceSkippedBySync()) - return false; - if (getObjectsCopiedToSink() != other.getObjectsCopiedToSink()) return false; - if (getBytesCopiedToSink() != other.getBytesCopiedToSink()) return false; - if (getObjectsDeletedFromSource() != other.getObjectsDeletedFromSource()) return false; - if (getBytesDeletedFromSource() != other.getBytesDeletedFromSource()) return false; - if (getObjectsDeletedFromSink() != other.getObjectsDeletedFromSink()) return false; - if (getBytesDeletedFromSink() != other.getBytesDeletedFromSink()) return false; - if (getObjectsFromSourceFailed() != other.getObjectsFromSourceFailed()) return false; - if (getBytesFromSourceFailed() != other.getBytesFromSourceFailed()) return false; - if (getObjectsFailedToDeleteFromSink() != other.getObjectsFailedToDeleteFromSink()) - return false; - if (getBytesFailedToDeleteFromSink() != other.getBytesFailedToDeleteFromSink()) return false; - if (getDirectoriesFoundFromSource() != other.getDirectoriesFoundFromSource()) return false; - if (getDirectoriesFailedToListFromSource() != other.getDirectoriesFailedToListFromSource()) - return false; + com.google.storagetransfer.v1.proto.TransferTypes.TransferCounters other = (com.google.storagetransfer.v1.proto.TransferTypes.TransferCounters) obj; + + if (getObjectsFoundFromSource() + != other.getObjectsFoundFromSource()) return false; + if (getBytesFoundFromSource() + != other.getBytesFoundFromSource()) return false; + if (getObjectsFoundOnlyFromSink() + != other.getObjectsFoundOnlyFromSink()) return false; + if (getBytesFoundOnlyFromSink() + != other.getBytesFoundOnlyFromSink()) return false; + if (getObjectsFromSourceSkippedBySync() + != other.getObjectsFromSourceSkippedBySync()) return false; + if (getBytesFromSourceSkippedBySync() + != other.getBytesFromSourceSkippedBySync()) return false; + if (getObjectsCopiedToSink() + != other.getObjectsCopiedToSink()) return false; + if (getBytesCopiedToSink() + != other.getBytesCopiedToSink()) return false; + if (getObjectsDeletedFromSource() + != other.getObjectsDeletedFromSource()) return false; + if (getBytesDeletedFromSource() + != other.getBytesDeletedFromSource()) return false; + if (getObjectsDeletedFromSink() + != other.getObjectsDeletedFromSink()) return false; + if (getBytesDeletedFromSink() + != other.getBytesDeletedFromSink()) return false; + if (getObjectsFromSourceFailed() + != other.getObjectsFromSourceFailed()) return false; + if (getBytesFromSourceFailed() + != other.getBytesFromSourceFailed()) return false; + if (getObjectsFailedToDeleteFromSink() + != other.getObjectsFailedToDeleteFromSink()) return false; + if (getBytesFailedToDeleteFromSink() + != other.getBytesFailedToDeleteFromSink()) return false; + if (getDirectoriesFoundFromSource() + != other.getDirectoriesFoundFromSource()) return false; + if (getDirectoriesFailedToListFromSource() + != other.getDirectoriesFailedToListFromSource()) return false; if (getDirectoriesSuccessfullyListedFromSource() != other.getDirectoriesSuccessfullyListedFromSource()) return false; - if (getIntermediateObjectsCleanedUp() != other.getIntermediateObjectsCleanedUp()) - return false; - if (getIntermediateObjectsFailedCleanedUp() != other.getIntermediateObjectsFailedCleanedUp()) - return false; + if (getIntermediateObjectsCleanedUp() + != other.getIntermediateObjectsCleanedUp()) return false; + if (getIntermediateObjectsFailedCleanedUp() + != other.getIntermediateObjectsFailedCleanedUp()) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -35087,150 +34249,155 @@ public int hashCode() { int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); hash = (37 * hash) + OBJECTS_FOUND_FROM_SOURCE_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashLong(getObjectsFoundFromSource()); + hash = (53 * hash) + com.google.protobuf.Internal.hashLong( + getObjectsFoundFromSource()); hash = (37 * hash) + BYTES_FOUND_FROM_SOURCE_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashLong(getBytesFoundFromSource()); + hash = (53 * hash) + com.google.protobuf.Internal.hashLong( + getBytesFoundFromSource()); hash = (37 * hash) + OBJECTS_FOUND_ONLY_FROM_SINK_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashLong(getObjectsFoundOnlyFromSink()); + hash = (53 * hash) + com.google.protobuf.Internal.hashLong( + getObjectsFoundOnlyFromSink()); hash = (37 * hash) + BYTES_FOUND_ONLY_FROM_SINK_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashLong(getBytesFoundOnlyFromSink()); + hash = (53 * hash) + com.google.protobuf.Internal.hashLong( + getBytesFoundOnlyFromSink()); hash = (37 * hash) + OBJECTS_FROM_SOURCE_SKIPPED_BY_SYNC_FIELD_NUMBER; - hash = - (53 * hash) + com.google.protobuf.Internal.hashLong(getObjectsFromSourceSkippedBySync()); + hash = (53 * hash) + com.google.protobuf.Internal.hashLong( + getObjectsFromSourceSkippedBySync()); hash = (37 * hash) + BYTES_FROM_SOURCE_SKIPPED_BY_SYNC_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashLong(getBytesFromSourceSkippedBySync()); + hash = (53 * hash) + com.google.protobuf.Internal.hashLong( + getBytesFromSourceSkippedBySync()); hash = (37 * hash) + OBJECTS_COPIED_TO_SINK_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashLong(getObjectsCopiedToSink()); + hash = (53 * hash) + com.google.protobuf.Internal.hashLong( + getObjectsCopiedToSink()); hash = (37 * hash) + BYTES_COPIED_TO_SINK_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashLong(getBytesCopiedToSink()); + hash = (53 * hash) + com.google.protobuf.Internal.hashLong( + getBytesCopiedToSink()); hash = (37 * hash) + OBJECTS_DELETED_FROM_SOURCE_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashLong(getObjectsDeletedFromSource()); + hash = (53 * hash) + com.google.protobuf.Internal.hashLong( + getObjectsDeletedFromSource()); hash = (37 * hash) + BYTES_DELETED_FROM_SOURCE_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashLong(getBytesDeletedFromSource()); + hash = (53 * hash) + com.google.protobuf.Internal.hashLong( + getBytesDeletedFromSource()); hash = (37 * hash) + OBJECTS_DELETED_FROM_SINK_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashLong(getObjectsDeletedFromSink()); + hash = (53 * hash) + com.google.protobuf.Internal.hashLong( + getObjectsDeletedFromSink()); hash = (37 * hash) + BYTES_DELETED_FROM_SINK_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashLong(getBytesDeletedFromSink()); + hash = (53 * hash) + com.google.protobuf.Internal.hashLong( + getBytesDeletedFromSink()); hash = (37 * hash) + OBJECTS_FROM_SOURCE_FAILED_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashLong(getObjectsFromSourceFailed()); + hash = (53 * hash) + com.google.protobuf.Internal.hashLong( + getObjectsFromSourceFailed()); hash = (37 * hash) + BYTES_FROM_SOURCE_FAILED_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashLong(getBytesFromSourceFailed()); + hash = (53 * hash) + com.google.protobuf.Internal.hashLong( + getBytesFromSourceFailed()); hash = (37 * hash) + OBJECTS_FAILED_TO_DELETE_FROM_SINK_FIELD_NUMBER; - hash = - (53 * hash) + com.google.protobuf.Internal.hashLong(getObjectsFailedToDeleteFromSink()); + hash = (53 * hash) + com.google.protobuf.Internal.hashLong( + getObjectsFailedToDeleteFromSink()); hash = (37 * hash) + BYTES_FAILED_TO_DELETE_FROM_SINK_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashLong(getBytesFailedToDeleteFromSink()); + hash = (53 * hash) + com.google.protobuf.Internal.hashLong( + getBytesFailedToDeleteFromSink()); hash = (37 * hash) + DIRECTORIES_FOUND_FROM_SOURCE_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashLong(getDirectoriesFoundFromSource()); + hash = (53 * hash) + com.google.protobuf.Internal.hashLong( + getDirectoriesFoundFromSource()); hash = (37 * hash) + DIRECTORIES_FAILED_TO_LIST_FROM_SOURCE_FIELD_NUMBER; - hash = - (53 * hash) - + com.google.protobuf.Internal.hashLong(getDirectoriesFailedToListFromSource()); + hash = (53 * hash) + com.google.protobuf.Internal.hashLong( + getDirectoriesFailedToListFromSource()); hash = (37 * hash) + DIRECTORIES_SUCCESSFULLY_LISTED_FROM_SOURCE_FIELD_NUMBER; - hash = - (53 * hash) - + com.google.protobuf.Internal.hashLong(getDirectoriesSuccessfullyListedFromSource()); + hash = (53 * hash) + com.google.protobuf.Internal.hashLong( + getDirectoriesSuccessfullyListedFromSource()); hash = (37 * hash) + INTERMEDIATE_OBJECTS_CLEANED_UP_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashLong(getIntermediateObjectsCleanedUp()); + hash = (53 * hash) + com.google.protobuf.Internal.hashLong( + getIntermediateObjectsCleanedUp()); hash = (37 * hash) + INTERMEDIATE_OBJECTS_FAILED_CLEANED_UP_FIELD_NUMBER; - hash = - (53 * hash) - + com.google.protobuf.Internal.hashLong(getIntermediateObjectsFailedCleanedUp()); + hash = (53 * hash) + com.google.protobuf.Internal.hashLong( + getIntermediateObjectsFailedCleanedUp()); hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static com.google.storagetransfer.v1.proto.TransferTypes.TransferCounters parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.storagetransfer.v1.proto.TransferTypes.TransferCounters 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.storagetransfer.v1.proto.TransferTypes.TransferCounters parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.storagetransfer.v1.proto.TransferTypes.TransferCounters 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.storagetransfer.v1.proto.TransferTypes.TransferCounters parseFrom( - byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.storagetransfer.v1.proto.TransferTypes.TransferCounters parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.storagetransfer.v1.proto.TransferTypes.TransferCounters 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.storagetransfer.v1.proto.TransferTypes.TransferCounters parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.storagetransfer.v1.proto.TransferTypes.TransferCounters parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.storagetransfer.v1.proto.TransferTypes.TransferCounters 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.storagetransfer.v1.proto.TransferTypes.TransferCounters - parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.storagetransfer.v1.proto.TransferTypes.TransferCounters parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - - public static com.google.storagetransfer.v1.proto.TransferTypes.TransferCounters - parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + public static com.google.storagetransfer.v1.proto.TransferTypes.TransferCounters parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.storagetransfer.v1.proto.TransferTypes.TransferCounters 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.storagetransfer.v1.proto.TransferTypes.TransferCounters 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.storagetransfer.v1.proto.TransferTypes.TransferCounters prototype) { + public static Builder newBuilder(com.google.storagetransfer.v1.proto.TransferTypes.TransferCounters 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 @@ -35240,49 +34407,44 @@ protected Builder newBuilderForType( return builder; } /** - * - * *
      * A collection of counters that report the progress of a transfer operation.
      * 
* * Protobuf type {@code google.storagetransfer.v1.TransferCounters} */ - public static final class Builder - extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.storagetransfer.v1.TransferCounters) com.google.storagetransfer.v1.proto.TransferTypes.TransferCountersOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.storagetransfer.v1.proto.TransferTypes - .internal_static_google_storagetransfer_v1_TransferCounters_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.storagetransfer.v1.proto.TransferTypes.internal_static_google_storagetransfer_v1_TransferCounters_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.storagetransfer.v1.proto.TransferTypes - .internal_static_google_storagetransfer_v1_TransferCounters_fieldAccessorTable + return com.google.storagetransfer.v1.proto.TransferTypes.internal_static_google_storagetransfer_v1_TransferCounters_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.storagetransfer.v1.proto.TransferTypes.TransferCounters.class, - com.google.storagetransfer.v1.proto.TransferTypes.TransferCounters.Builder.class); + com.google.storagetransfer.v1.proto.TransferTypes.TransferCounters.class, com.google.storagetransfer.v1.proto.TransferTypes.TransferCounters.Builder.class); } - // Construct using - // com.google.storagetransfer.v1.proto.TransferTypes.TransferCounters.newBuilder() + // Construct using com.google.storagetransfer.v1.proto.TransferTypes.TransferCounters.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -35332,16 +34494,14 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.storagetransfer.v1.proto.TransferTypes - .internal_static_google_storagetransfer_v1_TransferCounters_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.storagetransfer.v1.proto.TransferTypes.internal_static_google_storagetransfer_v1_TransferCounters_descriptor; } @java.lang.Override - public com.google.storagetransfer.v1.proto.TransferTypes.TransferCounters - getDefaultInstanceForType() { - return com.google.storagetransfer.v1.proto.TransferTypes.TransferCounters - .getDefaultInstance(); + public com.google.storagetransfer.v1.proto.TransferTypes.TransferCounters getDefaultInstanceForType() { + return com.google.storagetransfer.v1.proto.TransferTypes.TransferCounters.getDefaultInstance(); } @java.lang.Override @@ -35355,8 +34515,7 @@ public com.google.storagetransfer.v1.proto.TransferTypes.TransferCounters build( @java.lang.Override public com.google.storagetransfer.v1.proto.TransferTypes.TransferCounters buildPartial() { - com.google.storagetransfer.v1.proto.TransferTypes.TransferCounters result = - new com.google.storagetransfer.v1.proto.TransferTypes.TransferCounters(this); + com.google.storagetransfer.v1.proto.TransferTypes.TransferCounters result = new com.google.storagetransfer.v1.proto.TransferTypes.TransferCounters(this); result.objectsFoundFromSource_ = objectsFoundFromSource_; result.bytesFoundFromSource_ = bytesFoundFromSource_; result.objectsFoundOnlyFromSink_ = objectsFoundOnlyFromSink_; @@ -35386,53 +34545,46 @@ public com.google.storagetransfer.v1.proto.TransferTypes.TransferCounters buildP public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, - int index, - java.lang.Object value) { + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.storagetransfer.v1.proto.TransferTypes.TransferCounters) { - return mergeFrom( - (com.google.storagetransfer.v1.proto.TransferTypes.TransferCounters) other); + return mergeFrom((com.google.storagetransfer.v1.proto.TransferTypes.TransferCounters)other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom( - com.google.storagetransfer.v1.proto.TransferTypes.TransferCounters other) { - if (other - == com.google.storagetransfer.v1.proto.TransferTypes.TransferCounters - .getDefaultInstance()) return this; + public Builder mergeFrom(com.google.storagetransfer.v1.proto.TransferTypes.TransferCounters other) { + if (other == com.google.storagetransfer.v1.proto.TransferTypes.TransferCounters.getDefaultInstance()) return this; if (other.getObjectsFoundFromSource() != 0L) { setObjectsFoundFromSource(other.getObjectsFoundFromSource()); } @@ -35488,8 +34640,7 @@ public Builder mergeFrom( setDirectoriesFailedToListFromSource(other.getDirectoriesFailedToListFromSource()); } if (other.getDirectoriesSuccessfullyListedFromSource() != 0L) { - setDirectoriesSuccessfullyListedFromSource( - other.getDirectoriesSuccessfullyListedFromSource()); + setDirectoriesSuccessfullyListedFromSource(other.getDirectoriesSuccessfullyListedFromSource()); } if (other.getIntermediateObjectsCleanedUp() != 0L) { setIntermediateObjectsCleanedUp(other.getIntermediateObjectsCleanedUp()); @@ -35516,9 +34667,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.storagetransfer.v1.proto.TransferTypes.TransferCounters) - e.getUnfinishedMessage(); + parsedMessage = (com.google.storagetransfer.v1.proto.TransferTypes.TransferCounters) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -35528,10 +34677,8 @@ public Builder mergeFrom( return this; } - private long objectsFoundFromSource_; + private long objectsFoundFromSource_ ; /** - * - * *
        * Objects found in the data source that are scheduled to be transferred,
        * excluding any that are filtered based on object conditions or skipped due
@@ -35539,7 +34686,6 @@ public Builder mergeFrom(
        * 
* * int64 objects_found_from_source = 1; - * * @return The objectsFoundFromSource. */ @java.lang.Override @@ -35547,8 +34693,6 @@ public long getObjectsFoundFromSource() { return objectsFoundFromSource_; } /** - * - * *
        * Objects found in the data source that are scheduled to be transferred,
        * excluding any that are filtered based on object conditions or skipped due
@@ -35556,19 +34700,16 @@ public long getObjectsFoundFromSource() {
        * 
* * int64 objects_found_from_source = 1; - * * @param value The objectsFoundFromSource to set. * @return This builder for chaining. */ public Builder setObjectsFoundFromSource(long value) { - + objectsFoundFromSource_ = value; onChanged(); return this; } /** - * - * *
        * Objects found in the data source that are scheduled to be transferred,
        * excluding any that are filtered based on object conditions or skipped due
@@ -35576,20 +34717,17 @@ public Builder setObjectsFoundFromSource(long value) {
        * 
* * int64 objects_found_from_source = 1; - * * @return This builder for chaining. */ public Builder clearObjectsFoundFromSource() { - + objectsFoundFromSource_ = 0L; onChanged(); return this; } - private long bytesFoundFromSource_; + private long bytesFoundFromSource_ ; /** - * - * *
        * Bytes found in the data source that are scheduled to be transferred,
        * excluding any that are filtered based on object conditions or skipped due
@@ -35597,7 +34735,6 @@ public Builder clearObjectsFoundFromSource() {
        * 
* * int64 bytes_found_from_source = 2; - * * @return The bytesFoundFromSource. */ @java.lang.Override @@ -35605,8 +34742,6 @@ public long getBytesFoundFromSource() { return bytesFoundFromSource_; } /** - * - * *
        * Bytes found in the data source that are scheduled to be transferred,
        * excluding any that are filtered based on object conditions or skipped due
@@ -35614,19 +34749,16 @@ public long getBytesFoundFromSource() {
        * 
* * int64 bytes_found_from_source = 2; - * * @param value The bytesFoundFromSource to set. * @return This builder for chaining. */ public Builder setBytesFoundFromSource(long value) { - + bytesFoundFromSource_ = value; onChanged(); return this; } /** - * - * *
        * Bytes found in the data source that are scheduled to be transferred,
        * excluding any that are filtered based on object conditions or skipped due
@@ -35634,26 +34766,22 @@ public Builder setBytesFoundFromSource(long value) {
        * 
* * int64 bytes_found_from_source = 2; - * * @return This builder for chaining. */ public Builder clearBytesFoundFromSource() { - + bytesFoundFromSource_ = 0L; onChanged(); return this; } - private long objectsFoundOnlyFromSink_; + private long objectsFoundOnlyFromSink_ ; /** - * - * *
        * Objects found only in the data sink that are scheduled to be deleted.
        * 
* * int64 objects_found_only_from_sink = 3; - * * @return The objectsFoundOnlyFromSink. */ @java.lang.Override @@ -35661,51 +34789,42 @@ public long getObjectsFoundOnlyFromSink() { return objectsFoundOnlyFromSink_; } /** - * - * *
        * Objects found only in the data sink that are scheduled to be deleted.
        * 
* * int64 objects_found_only_from_sink = 3; - * * @param value The objectsFoundOnlyFromSink to set. * @return This builder for chaining. */ public Builder setObjectsFoundOnlyFromSink(long value) { - + objectsFoundOnlyFromSink_ = value; onChanged(); return this; } /** - * - * *
        * Objects found only in the data sink that are scheduled to be deleted.
        * 
* * int64 objects_found_only_from_sink = 3; - * * @return This builder for chaining. */ public Builder clearObjectsFoundOnlyFromSink() { - + objectsFoundOnlyFromSink_ = 0L; onChanged(); return this; } - private long bytesFoundOnlyFromSink_; + private long bytesFoundOnlyFromSink_ ; /** - * - * *
        * Bytes found only in the data sink that are scheduled to be deleted.
        * 
* * int64 bytes_found_only_from_sink = 4; - * * @return The bytesFoundOnlyFromSink. */ @java.lang.Override @@ -35713,52 +34832,43 @@ public long getBytesFoundOnlyFromSink() { return bytesFoundOnlyFromSink_; } /** - * - * *
        * Bytes found only in the data sink that are scheduled to be deleted.
        * 
* * int64 bytes_found_only_from_sink = 4; - * * @param value The bytesFoundOnlyFromSink to set. * @return This builder for chaining. */ public Builder setBytesFoundOnlyFromSink(long value) { - + bytesFoundOnlyFromSink_ = value; onChanged(); return this; } /** - * - * *
        * Bytes found only in the data sink that are scheduled to be deleted.
        * 
* * int64 bytes_found_only_from_sink = 4; - * * @return This builder for chaining. */ public Builder clearBytesFoundOnlyFromSink() { - + bytesFoundOnlyFromSink_ = 0L; onChanged(); return this; } - private long objectsFromSourceSkippedBySync_; + private long objectsFromSourceSkippedBySync_ ; /** - * - * *
        * Objects in the data source that are not transferred because they already
        * exist in the data sink.
        * 
* * int64 objects_from_source_skipped_by_sync = 5; - * * @return The objectsFromSourceSkippedBySync. */ @java.lang.Override @@ -35766,54 +34876,45 @@ public long getObjectsFromSourceSkippedBySync() { return objectsFromSourceSkippedBySync_; } /** - * - * *
        * Objects in the data source that are not transferred because they already
        * exist in the data sink.
        * 
* * int64 objects_from_source_skipped_by_sync = 5; - * * @param value The objectsFromSourceSkippedBySync to set. * @return This builder for chaining. */ public Builder setObjectsFromSourceSkippedBySync(long value) { - + objectsFromSourceSkippedBySync_ = value; onChanged(); return this; } /** - * - * *
        * Objects in the data source that are not transferred because they already
        * exist in the data sink.
        * 
* * int64 objects_from_source_skipped_by_sync = 5; - * * @return This builder for chaining. */ public Builder clearObjectsFromSourceSkippedBySync() { - + objectsFromSourceSkippedBySync_ = 0L; onChanged(); return this; } - private long bytesFromSourceSkippedBySync_; + private long bytesFromSourceSkippedBySync_ ; /** - * - * *
        * Bytes in the data source that are not transferred because they already
        * exist in the data sink.
        * 
* * int64 bytes_from_source_skipped_by_sync = 6; - * * @return The bytesFromSourceSkippedBySync. */ @java.lang.Override @@ -35821,53 +34922,44 @@ public long getBytesFromSourceSkippedBySync() { return bytesFromSourceSkippedBySync_; } /** - * - * *
        * Bytes in the data source that are not transferred because they already
        * exist in the data sink.
        * 
* * int64 bytes_from_source_skipped_by_sync = 6; - * * @param value The bytesFromSourceSkippedBySync to set. * @return This builder for chaining. */ public Builder setBytesFromSourceSkippedBySync(long value) { - + bytesFromSourceSkippedBySync_ = value; onChanged(); return this; } /** - * - * *
        * Bytes in the data source that are not transferred because they already
        * exist in the data sink.
        * 
* * int64 bytes_from_source_skipped_by_sync = 6; - * * @return This builder for chaining. */ public Builder clearBytesFromSourceSkippedBySync() { - + bytesFromSourceSkippedBySync_ = 0L; onChanged(); return this; } - private long objectsCopiedToSink_; + private long objectsCopiedToSink_ ; /** - * - * *
        * Objects that are copied to the data sink.
        * 
* * int64 objects_copied_to_sink = 7; - * * @return The objectsCopiedToSink. */ @java.lang.Override @@ -35875,51 +34967,42 @@ public long getObjectsCopiedToSink() { return objectsCopiedToSink_; } /** - * - * *
        * Objects that are copied to the data sink.
        * 
* * int64 objects_copied_to_sink = 7; - * * @param value The objectsCopiedToSink to set. * @return This builder for chaining. */ public Builder setObjectsCopiedToSink(long value) { - + objectsCopiedToSink_ = value; onChanged(); return this; } /** - * - * *
        * Objects that are copied to the data sink.
        * 
* * int64 objects_copied_to_sink = 7; - * * @return This builder for chaining. */ public Builder clearObjectsCopiedToSink() { - + objectsCopiedToSink_ = 0L; onChanged(); return this; } - private long bytesCopiedToSink_; + private long bytesCopiedToSink_ ; /** - * - * *
        * Bytes that are copied to the data sink.
        * 
* * int64 bytes_copied_to_sink = 8; - * * @return The bytesCopiedToSink. */ @java.lang.Override @@ -35927,51 +35010,42 @@ public long getBytesCopiedToSink() { return bytesCopiedToSink_; } /** - * - * *
        * Bytes that are copied to the data sink.
        * 
* * int64 bytes_copied_to_sink = 8; - * * @param value The bytesCopiedToSink to set. * @return This builder for chaining. */ public Builder setBytesCopiedToSink(long value) { - + bytesCopiedToSink_ = value; onChanged(); return this; } /** - * - * *
        * Bytes that are copied to the data sink.
        * 
* * int64 bytes_copied_to_sink = 8; - * * @return This builder for chaining. */ public Builder clearBytesCopiedToSink() { - + bytesCopiedToSink_ = 0L; onChanged(); return this; } - private long objectsDeletedFromSource_; + private long objectsDeletedFromSource_ ; /** - * - * *
        * Objects that are deleted from the data source.
        * 
* * int64 objects_deleted_from_source = 9; - * * @return The objectsDeletedFromSource. */ @java.lang.Override @@ -35979,51 +35053,42 @@ public long getObjectsDeletedFromSource() { return objectsDeletedFromSource_; } /** - * - * *
        * Objects that are deleted from the data source.
        * 
* * int64 objects_deleted_from_source = 9; - * * @param value The objectsDeletedFromSource to set. * @return This builder for chaining. */ public Builder setObjectsDeletedFromSource(long value) { - + objectsDeletedFromSource_ = value; onChanged(); return this; } /** - * - * *
        * Objects that are deleted from the data source.
        * 
* * int64 objects_deleted_from_source = 9; - * * @return This builder for chaining. */ public Builder clearObjectsDeletedFromSource() { - + objectsDeletedFromSource_ = 0L; onChanged(); return this; } - private long bytesDeletedFromSource_; + private long bytesDeletedFromSource_ ; /** - * - * *
        * Bytes that are deleted from the data source.
        * 
* * int64 bytes_deleted_from_source = 10; - * * @return The bytesDeletedFromSource. */ @java.lang.Override @@ -36031,51 +35096,42 @@ public long getBytesDeletedFromSource() { return bytesDeletedFromSource_; } /** - * - * *
        * Bytes that are deleted from the data source.
        * 
* * int64 bytes_deleted_from_source = 10; - * * @param value The bytesDeletedFromSource to set. * @return This builder for chaining. */ public Builder setBytesDeletedFromSource(long value) { - + bytesDeletedFromSource_ = value; onChanged(); return this; } /** - * - * *
        * Bytes that are deleted from the data source.
        * 
* * int64 bytes_deleted_from_source = 10; - * * @return This builder for chaining. */ public Builder clearBytesDeletedFromSource() { - + bytesDeletedFromSource_ = 0L; onChanged(); return this; } - private long objectsDeletedFromSink_; + private long objectsDeletedFromSink_ ; /** - * - * *
        * Objects that are deleted from the data sink.
        * 
* * int64 objects_deleted_from_sink = 11; - * * @return The objectsDeletedFromSink. */ @java.lang.Override @@ -36083,51 +35139,42 @@ public long getObjectsDeletedFromSink() { return objectsDeletedFromSink_; } /** - * - * *
        * Objects that are deleted from the data sink.
        * 
* * int64 objects_deleted_from_sink = 11; - * * @param value The objectsDeletedFromSink to set. * @return This builder for chaining. */ public Builder setObjectsDeletedFromSink(long value) { - + objectsDeletedFromSink_ = value; onChanged(); return this; } /** - * - * *
        * Objects that are deleted from the data sink.
        * 
* * int64 objects_deleted_from_sink = 11; - * * @return This builder for chaining. */ public Builder clearObjectsDeletedFromSink() { - + objectsDeletedFromSink_ = 0L; onChanged(); return this; } - private long bytesDeletedFromSink_; + private long bytesDeletedFromSink_ ; /** - * - * *
        * Bytes that are deleted from the data sink.
        * 
* * int64 bytes_deleted_from_sink = 12; - * * @return The bytesDeletedFromSink. */ @java.lang.Override @@ -36135,52 +35182,43 @@ public long getBytesDeletedFromSink() { return bytesDeletedFromSink_; } /** - * - * *
        * Bytes that are deleted from the data sink.
        * 
* * int64 bytes_deleted_from_sink = 12; - * * @param value The bytesDeletedFromSink to set. * @return This builder for chaining. */ public Builder setBytesDeletedFromSink(long value) { - + bytesDeletedFromSink_ = value; onChanged(); return this; } /** - * - * *
        * Bytes that are deleted from the data sink.
        * 
* * int64 bytes_deleted_from_sink = 12; - * * @return This builder for chaining. */ public Builder clearBytesDeletedFromSink() { - + bytesDeletedFromSink_ = 0L; onChanged(); return this; } - private long objectsFromSourceFailed_; + private long objectsFromSourceFailed_ ; /** - * - * *
        * Objects in the data source that failed to be transferred or that failed
        * to be deleted after being transferred.
        * 
* * int64 objects_from_source_failed = 13; - * * @return The objectsFromSourceFailed. */ @java.lang.Override @@ -36188,54 +35226,45 @@ public long getObjectsFromSourceFailed() { return objectsFromSourceFailed_; } /** - * - * *
        * Objects in the data source that failed to be transferred or that failed
        * to be deleted after being transferred.
        * 
* * int64 objects_from_source_failed = 13; - * * @param value The objectsFromSourceFailed to set. * @return This builder for chaining. */ public Builder setObjectsFromSourceFailed(long value) { - + objectsFromSourceFailed_ = value; onChanged(); return this; } /** - * - * *
        * Objects in the data source that failed to be transferred or that failed
        * to be deleted after being transferred.
        * 
* * int64 objects_from_source_failed = 13; - * * @return This builder for chaining. */ public Builder clearObjectsFromSourceFailed() { - + objectsFromSourceFailed_ = 0L; onChanged(); return this; } - private long bytesFromSourceFailed_; + private long bytesFromSourceFailed_ ; /** - * - * *
        * Bytes in the data source that failed to be transferred or that failed to
        * be deleted after being transferred.
        * 
* * int64 bytes_from_source_failed = 14; - * * @return The bytesFromSourceFailed. */ @java.lang.Override @@ -36243,53 +35272,44 @@ public long getBytesFromSourceFailed() { return bytesFromSourceFailed_; } /** - * - * *
        * Bytes in the data source that failed to be transferred or that failed to
        * be deleted after being transferred.
        * 
* * int64 bytes_from_source_failed = 14; - * * @param value The bytesFromSourceFailed to set. * @return This builder for chaining. */ public Builder setBytesFromSourceFailed(long value) { - + bytesFromSourceFailed_ = value; onChanged(); return this; } /** - * - * *
        * Bytes in the data source that failed to be transferred or that failed to
        * be deleted after being transferred.
        * 
* * int64 bytes_from_source_failed = 14; - * * @return This builder for chaining. */ public Builder clearBytesFromSourceFailed() { - + bytesFromSourceFailed_ = 0L; onChanged(); return this; } - private long objectsFailedToDeleteFromSink_; + private long objectsFailedToDeleteFromSink_ ; /** - * - * *
        * Objects that failed to be deleted from the data sink.
        * 
* * int64 objects_failed_to_delete_from_sink = 15; - * * @return The objectsFailedToDeleteFromSink. */ @java.lang.Override @@ -36297,51 +35317,42 @@ public long getObjectsFailedToDeleteFromSink() { return objectsFailedToDeleteFromSink_; } /** - * - * *
        * Objects that failed to be deleted from the data sink.
        * 
* * int64 objects_failed_to_delete_from_sink = 15; - * * @param value The objectsFailedToDeleteFromSink to set. * @return This builder for chaining. */ public Builder setObjectsFailedToDeleteFromSink(long value) { - + objectsFailedToDeleteFromSink_ = value; onChanged(); return this; } /** - * - * *
        * Objects that failed to be deleted from the data sink.
        * 
* * int64 objects_failed_to_delete_from_sink = 15; - * * @return This builder for chaining. */ public Builder clearObjectsFailedToDeleteFromSink() { - + objectsFailedToDeleteFromSink_ = 0L; onChanged(); return this; } - private long bytesFailedToDeleteFromSink_; + private long bytesFailedToDeleteFromSink_ ; /** - * - * *
        * Bytes that failed to be deleted from the data sink.
        * 
* * int64 bytes_failed_to_delete_from_sink = 16; - * * @return The bytesFailedToDeleteFromSink. */ @java.lang.Override @@ -36349,45 +35360,37 @@ public long getBytesFailedToDeleteFromSink() { return bytesFailedToDeleteFromSink_; } /** - * - * *
        * Bytes that failed to be deleted from the data sink.
        * 
* * int64 bytes_failed_to_delete_from_sink = 16; - * * @param value The bytesFailedToDeleteFromSink to set. * @return This builder for chaining. */ public Builder setBytesFailedToDeleteFromSink(long value) { - + bytesFailedToDeleteFromSink_ = value; onChanged(); return this; } /** - * - * *
        * Bytes that failed to be deleted from the data sink.
        * 
* * int64 bytes_failed_to_delete_from_sink = 16; - * * @return This builder for chaining. */ public Builder clearBytesFailedToDeleteFromSink() { - + bytesFailedToDeleteFromSink_ = 0L; onChanged(); return this; } - private long directoriesFoundFromSource_; + private long directoriesFoundFromSource_ ; /** - * - * *
        * For transfers involving PosixFilesystem only.
        * Number of directories found while listing. For example, if the root
@@ -36397,7 +35400,6 @@ public Builder clearBytesFailedToDeleteFromSink() {
        * 
* * int64 directories_found_from_source = 17; - * * @return The directoriesFoundFromSource. */ @java.lang.Override @@ -36405,8 +35407,6 @@ public long getDirectoriesFoundFromSource() { return directoriesFoundFromSource_; } /** - * - * *
        * For transfers involving PosixFilesystem only.
        * Number of directories found while listing. For example, if the root
@@ -36416,19 +35416,16 @@ public long getDirectoriesFoundFromSource() {
        * 
* * int64 directories_found_from_source = 17; - * * @param value The directoriesFoundFromSource to set. * @return This builder for chaining. */ public Builder setDirectoriesFoundFromSource(long value) { - + directoriesFoundFromSource_ = value; onChanged(); return this; } /** - * - * *
        * For transfers involving PosixFilesystem only.
        * Number of directories found while listing. For example, if the root
@@ -36438,20 +35435,17 @@ public Builder setDirectoriesFoundFromSource(long value) {
        * 
* * int64 directories_found_from_source = 17; - * * @return This builder for chaining. */ public Builder clearDirectoriesFoundFromSource() { - + directoriesFoundFromSource_ = 0L; onChanged(); return this; } - private long directoriesFailedToListFromSource_; + private long directoriesFailedToListFromSource_ ; /** - * - * *
        * For transfers involving PosixFilesystem only.
        * Number of listing failures for each directory found at the source.
@@ -36461,7 +35455,6 @@ public Builder clearDirectoriesFoundFromSource() {
        * 
* * int64 directories_failed_to_list_from_source = 18; - * * @return The directoriesFailedToListFromSource. */ @java.lang.Override @@ -36469,8 +35462,6 @@ public long getDirectoriesFailedToListFromSource() { return directoriesFailedToListFromSource_; } /** - * - * *
        * For transfers involving PosixFilesystem only.
        * Number of listing failures for each directory found at the source.
@@ -36480,19 +35471,16 @@ public long getDirectoriesFailedToListFromSource() {
        * 
* * int64 directories_failed_to_list_from_source = 18; - * * @param value The directoriesFailedToListFromSource to set. * @return This builder for chaining. */ public Builder setDirectoriesFailedToListFromSource(long value) { - + directoriesFailedToListFromSource_ = value; onChanged(); return this; } /** - * - * *
        * For transfers involving PosixFilesystem only.
        * Number of listing failures for each directory found at the source.
@@ -36502,27 +35490,23 @@ public Builder setDirectoriesFailedToListFromSource(long value) {
        * 
* * int64 directories_failed_to_list_from_source = 18; - * * @return This builder for chaining. */ public Builder clearDirectoriesFailedToListFromSource() { - + directoriesFailedToListFromSource_ = 0L; onChanged(); return this; } - private long directoriesSuccessfullyListedFromSource_; + private long directoriesSuccessfullyListedFromSource_ ; /** - * - * *
        * For transfers involving PosixFilesystem only.
        * Number of successful listings for each directory found at the source.
        * 
* * int64 directories_successfully_listed_from_source = 19; - * * @return The directoriesSuccessfullyListedFromSource. */ @java.lang.Override @@ -36530,53 +35514,44 @@ public long getDirectoriesSuccessfullyListedFromSource() { return directoriesSuccessfullyListedFromSource_; } /** - * - * *
        * For transfers involving PosixFilesystem only.
        * Number of successful listings for each directory found at the source.
        * 
* * int64 directories_successfully_listed_from_source = 19; - * * @param value The directoriesSuccessfullyListedFromSource to set. * @return This builder for chaining. */ public Builder setDirectoriesSuccessfullyListedFromSource(long value) { - + directoriesSuccessfullyListedFromSource_ = value; onChanged(); return this; } /** - * - * *
        * For transfers involving PosixFilesystem only.
        * Number of successful listings for each directory found at the source.
        * 
* * int64 directories_successfully_listed_from_source = 19; - * * @return This builder for chaining. */ public Builder clearDirectoriesSuccessfullyListedFromSource() { - + directoriesSuccessfullyListedFromSource_ = 0L; onChanged(); return this; } - private long intermediateObjectsCleanedUp_; + private long intermediateObjectsCleanedUp_ ; /** - * - * *
        * Number of successfully cleaned up intermediate objects.
        * 
* * int64 intermediate_objects_cleaned_up = 22; - * * @return The intermediateObjectsCleanedUp. */ @java.lang.Override @@ -36584,51 +35559,42 @@ public long getIntermediateObjectsCleanedUp() { return intermediateObjectsCleanedUp_; } /** - * - * *
        * Number of successfully cleaned up intermediate objects.
        * 
* * int64 intermediate_objects_cleaned_up = 22; - * * @param value The intermediateObjectsCleanedUp to set. * @return This builder for chaining. */ public Builder setIntermediateObjectsCleanedUp(long value) { - + intermediateObjectsCleanedUp_ = value; onChanged(); return this; } /** - * - * *
        * Number of successfully cleaned up intermediate objects.
        * 
* * int64 intermediate_objects_cleaned_up = 22; - * * @return This builder for chaining. */ public Builder clearIntermediateObjectsCleanedUp() { - + intermediateObjectsCleanedUp_ = 0L; onChanged(); return this; } - private long intermediateObjectsFailedCleanedUp_; + private long intermediateObjectsFailedCleanedUp_ ; /** - * - * *
        * Number of intermediate objects failed cleaned up.
        * 
* * int64 intermediate_objects_failed_cleaned_up = 23; - * * @return The intermediateObjectsFailedCleanedUp. */ @java.lang.Override @@ -36636,41 +35602,34 @@ public long getIntermediateObjectsFailedCleanedUp() { return intermediateObjectsFailedCleanedUp_; } /** - * - * *
        * Number of intermediate objects failed cleaned up.
        * 
* * int64 intermediate_objects_failed_cleaned_up = 23; - * * @param value The intermediateObjectsFailedCleanedUp to set. * @return This builder for chaining. */ public Builder setIntermediateObjectsFailedCleanedUp(long value) { - + intermediateObjectsFailedCleanedUp_ = value; onChanged(); return this; } /** - * - * *
        * Number of intermediate objects failed cleaned up.
        * 
* * int64 intermediate_objects_failed_cleaned_up = 23; - * * @return This builder for chaining. */ public Builder clearIntermediateObjectsFailedCleanedUp() { - + intermediateObjectsFailedCleanedUp_ = 0L; onChanged(); return this; } - @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -36683,32 +35642,30 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.storagetransfer.v1.TransferCounters) } // @@protoc_insertion_point(class_scope:google.storagetransfer.v1.TransferCounters) - private static final com.google.storagetransfer.v1.proto.TransferTypes.TransferCounters - DEFAULT_INSTANCE; - + private static final com.google.storagetransfer.v1.proto.TransferTypes.TransferCounters DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.storagetransfer.v1.proto.TransferTypes.TransferCounters(); } - public static com.google.storagetransfer.v1.proto.TransferTypes.TransferCounters - getDefaultInstance() { + public static com.google.storagetransfer.v1.proto.TransferTypes.TransferCounters getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public TransferCounters parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new TransferCounters(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public TransferCounters parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new TransferCounters(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -36720,20 +35677,17 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.storagetransfer.v1.proto.TransferTypes.TransferCounters - getDefaultInstanceForType() { + public com.google.storagetransfer.v1.proto.TransferTypes.TransferCounters getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } - public interface NotificationConfigOrBuilder - extends + public interface NotificationConfigOrBuilder extends // @@protoc_insertion_point(interface_extends:google.storagetransfer.v1.NotificationConfig) com.google.protobuf.MessageOrBuilder { /** - * - * *
      * Required. The `Topic.name` of the Pub/Sub topic to which to publish
      * notifications. Must be of the format: `projects/{project}/topics/{topic}`.
@@ -36742,13 +35696,10 @@ public interface NotificationConfigOrBuilder
      * 
* * string pubsub_topic = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The pubsubTopic. */ java.lang.String getPubsubTopic(); /** - * - * *
      * Required. The `Topic.name` of the Pub/Sub topic to which to publish
      * notifications. Must be of the format: `projects/{project}/topics/{topic}`.
@@ -36757,119 +35708,85 @@ public interface NotificationConfigOrBuilder
      * 
* * string pubsub_topic = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for pubsubTopic. */ - com.google.protobuf.ByteString getPubsubTopicBytes(); + com.google.protobuf.ByteString + getPubsubTopicBytes(); /** - * - * *
      * Event types for which a notification is desired. If empty, send
      * notifications for all event types.
      * 
* - * repeated .google.storagetransfer.v1.NotificationConfig.EventType event_types = 2; - * - * + * repeated .google.storagetransfer.v1.NotificationConfig.EventType event_types = 2; * @return A list containing the eventTypes. */ - java.util.List - getEventTypesList(); + java.util.List getEventTypesList(); /** - * - * *
      * Event types for which a notification is desired. If empty, send
      * notifications for all event types.
      * 
* - * repeated .google.storagetransfer.v1.NotificationConfig.EventType event_types = 2; - * - * + * repeated .google.storagetransfer.v1.NotificationConfig.EventType event_types = 2; * @return The count of eventTypes. */ int getEventTypesCount(); /** - * - * *
      * Event types for which a notification is desired. If empty, send
      * notifications for all event types.
      * 
* - * repeated .google.storagetransfer.v1.NotificationConfig.EventType event_types = 2; - * - * + * repeated .google.storagetransfer.v1.NotificationConfig.EventType event_types = 2; * @param index The index of the element to return. * @return The eventTypes at the given index. */ - com.google.storagetransfer.v1.proto.TransferTypes.NotificationConfig.EventType getEventTypes( - int index); + com.google.storagetransfer.v1.proto.TransferTypes.NotificationConfig.EventType getEventTypes(int index); /** - * - * *
      * Event types for which a notification is desired. If empty, send
      * notifications for all event types.
      * 
* - * repeated .google.storagetransfer.v1.NotificationConfig.EventType event_types = 2; - * - * + * repeated .google.storagetransfer.v1.NotificationConfig.EventType event_types = 2; * @return A list containing the enum numeric values on the wire for eventTypes. */ - java.util.List getEventTypesValueList(); + java.util.List + getEventTypesValueList(); /** - * - * *
      * Event types for which a notification is desired. If empty, send
      * notifications for all event types.
      * 
* - * repeated .google.storagetransfer.v1.NotificationConfig.EventType event_types = 2; - * - * + * repeated .google.storagetransfer.v1.NotificationConfig.EventType event_types = 2; * @param index The index of the value to return. * @return The enum numeric value on the wire of eventTypes at the given index. */ int getEventTypesValue(int index); /** - * - * *
      * Required. The desired format of the notification message payloads.
      * 
* - * - * .google.storagetransfer.v1.NotificationConfig.PayloadFormat payload_format = 3 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.storagetransfer.v1.NotificationConfig.PayloadFormat payload_format = 3 [(.google.api.field_behavior) = REQUIRED]; * @return The enum numeric value on the wire for payloadFormat. */ int getPayloadFormatValue(); /** - * - * *
      * Required. The desired format of the notification message payloads.
      * 
* - * - * .google.storagetransfer.v1.NotificationConfig.PayloadFormat payload_format = 3 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.storagetransfer.v1.NotificationConfig.PayloadFormat payload_format = 3 [(.google.api.field_behavior) = REQUIRED]; * @return The payloadFormat. */ - com.google.storagetransfer.v1.proto.TransferTypes.NotificationConfig.PayloadFormat - getPayloadFormat(); + com.google.storagetransfer.v1.proto.TransferTypes.NotificationConfig.PayloadFormat getPayloadFormat(); } /** - * - * *
    * Specification to configure notifications published to Pub/Sub.
    * Notifications are published to the customer-provided topic using the
@@ -36889,16 +35806,15 @@ com.google.storagetransfer.v1.proto.TransferTypes.NotificationConfig.EventType g
    *
    * Protobuf type {@code google.storagetransfer.v1.NotificationConfig}
    */
-  public static final class NotificationConfig extends com.google.protobuf.GeneratedMessageV3
-      implements
+  public static final class NotificationConfig extends
+      com.google.protobuf.GeneratedMessageV3 implements
       // @@protoc_insertion_point(message_implements:google.storagetransfer.v1.NotificationConfig)
       NotificationConfigOrBuilder {
-    private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
     // Use NotificationConfig.newBuilder() to construct.
     private NotificationConfig(com.google.protobuf.GeneratedMessageV3.Builder builder) {
       super(builder);
     }
-
     private NotificationConfig() {
       pubsubTopic_ = "";
       eventTypes_ = java.util.Collections.emptyList();
@@ -36907,15 +35823,16 @@ private NotificationConfig() {
 
     @java.lang.Override
     @SuppressWarnings({"unused"})
-    protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+    protected java.lang.Object newInstance(
+        UnusedPrivateParameter unused) {
       return new NotificationConfig();
     }
 
     @java.lang.Override
-    public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+    public final com.google.protobuf.UnknownFieldSet
+    getUnknownFields() {
       return this.unknownFields;
     }
-
     private NotificationConfig(
         com.google.protobuf.CodedInputStream input,
         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -36935,52 +35852,48 @@ private NotificationConfig(
             case 0:
               done = true;
               break;
-            case 10:
-              {
-                java.lang.String s = input.readStringRequireUtf8();
+            case 10: {
+              java.lang.String s = input.readStringRequireUtf8();
 
-                pubsubTopic_ = s;
-                break;
+              pubsubTopic_ = s;
+              break;
+            }
+            case 16: {
+              int rawValue = input.readEnum();
+              if (!((mutable_bitField0_ & 0x00000001) != 0)) {
+                eventTypes_ = new java.util.ArrayList();
+                mutable_bitField0_ |= 0x00000001;
               }
-            case 16:
-              {
+              eventTypes_.add(rawValue);
+              break;
+            }
+            case 18: {
+              int length = input.readRawVarint32();
+              int oldLimit = input.pushLimit(length);
+              while(input.getBytesUntilLimit() > 0) {
                 int rawValue = input.readEnum();
                 if (!((mutable_bitField0_ & 0x00000001) != 0)) {
                   eventTypes_ = new java.util.ArrayList();
                   mutable_bitField0_ |= 0x00000001;
                 }
                 eventTypes_.add(rawValue);
-                break;
               }
-            case 18:
-              {
-                int length = input.readRawVarint32();
-                int oldLimit = input.pushLimit(length);
-                while (input.getBytesUntilLimit() > 0) {
-                  int rawValue = input.readEnum();
-                  if (!((mutable_bitField0_ & 0x00000001) != 0)) {
-                    eventTypes_ = new java.util.ArrayList();
-                    mutable_bitField0_ |= 0x00000001;
-                  }
-                  eventTypes_.add(rawValue);
-                }
-                input.popLimit(oldLimit);
-                break;
-              }
-            case 24:
-              {
-                int rawValue = input.readEnum();
+              input.popLimit(oldLimit);
+              break;
+            }
+            case 24: {
+              int rawValue = input.readEnum();
 
-                payloadFormat_ = rawValue;
-                break;
-              }
-            default:
-              {
-                if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
-                  done = true;
-                }
-                break;
+              payloadFormat_ = rawValue;
+              break;
+            }
+            default: {
+              if (!parseUnknownField(
+                  input, unknownFields, extensionRegistry, tag)) {
+                done = true;
               }
+              break;
+            }
           }
         }
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -36988,7 +35901,8 @@ private NotificationConfig(
       } catch (com.google.protobuf.UninitializedMessageException e) {
         throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
       } catch (java.io.IOException e) {
-        throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
+        throw new com.google.protobuf.InvalidProtocolBufferException(
+            e).setUnfinishedMessage(this);
       } finally {
         if (((mutable_bitField0_ & 0x00000001) != 0)) {
           eventTypes_ = java.util.Collections.unmodifiableList(eventTypes_);
@@ -36997,25 +35911,20 @@ private NotificationConfig(
         makeExtensionsImmutable();
       }
     }
-
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.storagetransfer.v1.proto.TransferTypes
-          .internal_static_google_storagetransfer_v1_NotificationConfig_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.storagetransfer.v1.proto.TransferTypes.internal_static_google_storagetransfer_v1_NotificationConfig_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.storagetransfer.v1.proto.TransferTypes
-          .internal_static_google_storagetransfer_v1_NotificationConfig_fieldAccessorTable
+      return com.google.storagetransfer.v1.proto.TransferTypes.internal_static_google_storagetransfer_v1_NotificationConfig_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.storagetransfer.v1.proto.TransferTypes.NotificationConfig.class,
-              com.google.storagetransfer.v1.proto.TransferTypes.NotificationConfig.Builder.class);
+              com.google.storagetransfer.v1.proto.TransferTypes.NotificationConfig.class, com.google.storagetransfer.v1.proto.TransferTypes.NotificationConfig.Builder.class);
     }
 
     /**
-     *
-     *
      * 
      * Enum for specifying event types for which notifications are to be
      * published.
@@ -37026,10 +35935,9 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
      *
      * Protobuf enum {@code google.storagetransfer.v1.NotificationConfig.EventType}
      */
-    public enum EventType implements com.google.protobuf.ProtocolMessageEnum {
+    public enum EventType
+        implements com.google.protobuf.ProtocolMessageEnum {
       /**
-       *
-       *
        * 
        * Illegal value, to avoid allowing a default.
        * 
@@ -37038,8 +35946,6 @@ public enum EventType implements com.google.protobuf.ProtocolMessageEnum { */ EVENT_TYPE_UNSPECIFIED(0), /** - * - * *
        * `TransferOperation` completed with status
        * [SUCCESS][google.storagetransfer.v1.TransferOperation.Status.SUCCESS].
@@ -37049,8 +35955,6 @@ public enum EventType implements com.google.protobuf.ProtocolMessageEnum {
        */
       TRANSFER_OPERATION_SUCCESS(1),
       /**
-       *
-       *
        * 
        * `TransferOperation` completed with status
        * [FAILED][google.storagetransfer.v1.TransferOperation.Status.FAILED].
@@ -37060,8 +35964,6 @@ public enum EventType implements com.google.protobuf.ProtocolMessageEnum {
        */
       TRANSFER_OPERATION_FAILED(2),
       /**
-       *
-       *
        * 
        * `TransferOperation` completed with status
        * [ABORTED][google.storagetransfer.v1.TransferOperation.Status.ABORTED].
@@ -37074,8 +35976,6 @@ public enum EventType implements com.google.protobuf.ProtocolMessageEnum {
       ;
 
       /**
-       *
-       *
        * 
        * Illegal value, to avoid allowing a default.
        * 
@@ -37084,8 +35984,6 @@ public enum EventType implements com.google.protobuf.ProtocolMessageEnum { */ public static final int EVENT_TYPE_UNSPECIFIED_VALUE = 0; /** - * - * *
        * `TransferOperation` completed with status
        * [SUCCESS][google.storagetransfer.v1.TransferOperation.Status.SUCCESS].
@@ -37095,8 +35993,6 @@ public enum EventType implements com.google.protobuf.ProtocolMessageEnum {
        */
       public static final int TRANSFER_OPERATION_SUCCESS_VALUE = 1;
       /**
-       *
-       *
        * 
        * `TransferOperation` completed with status
        * [FAILED][google.storagetransfer.v1.TransferOperation.Status.FAILED].
@@ -37106,8 +36002,6 @@ public enum EventType implements com.google.protobuf.ProtocolMessageEnum {
        */
       public static final int TRANSFER_OPERATION_FAILED_VALUE = 2;
       /**
-       *
-       *
        * 
        * `TransferOperation` completed with status
        * [ABORTED][google.storagetransfer.v1.TransferOperation.Status.ABORTED].
@@ -37117,6 +36011,7 @@ public enum EventType implements com.google.protobuf.ProtocolMessageEnum {
        */
       public static final int TRANSFER_OPERATION_ABORTED_VALUE = 3;
 
+
       public final int getNumber() {
         if (this == UNRECOGNIZED) {
           throw new java.lang.IllegalArgumentException(
@@ -37141,53 +36036,50 @@ public static EventType valueOf(int value) {
        */
       public static EventType forNumber(int value) {
         switch (value) {
-          case 0:
-            return EVENT_TYPE_UNSPECIFIED;
-          case 1:
-            return TRANSFER_OPERATION_SUCCESS;
-          case 2:
-            return TRANSFER_OPERATION_FAILED;
-          case 3:
-            return TRANSFER_OPERATION_ABORTED;
-          default:
-            return null;
+          case 0: return EVENT_TYPE_UNSPECIFIED;
+          case 1: return TRANSFER_OPERATION_SUCCESS;
+          case 2: return TRANSFER_OPERATION_FAILED;
+          case 3: return TRANSFER_OPERATION_ABORTED;
+          default: return null;
         }
       }
 
-      public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() {
+      public static com.google.protobuf.Internal.EnumLiteMap
+          internalGetValueMap() {
         return internalValueMap;
       }
+      private static final com.google.protobuf.Internal.EnumLiteMap<
+          EventType> internalValueMap =
+            new com.google.protobuf.Internal.EnumLiteMap() {
+              public EventType findValueByNumber(int number) {
+                return EventType.forNumber(number);
+              }
+            };
 
-      private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap =
-          new com.google.protobuf.Internal.EnumLiteMap() {
-            public EventType findValueByNumber(int number) {
-              return EventType.forNumber(number);
-            }
-          };
-
-      public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() {
+      public final com.google.protobuf.Descriptors.EnumValueDescriptor
+          getValueDescriptor() {
         if (this == UNRECOGNIZED) {
           throw new java.lang.IllegalStateException(
               "Can't get the descriptor of an unrecognized enum value.");
         }
         return getDescriptor().getValues().get(ordinal());
       }
-
-      public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() {
+      public final com.google.protobuf.Descriptors.EnumDescriptor
+          getDescriptorForType() {
         return getDescriptor();
       }
-
-      public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() {
-        return com.google.storagetransfer.v1.proto.TransferTypes.NotificationConfig.getDescriptor()
-            .getEnumTypes()
-            .get(0);
+      public static final com.google.protobuf.Descriptors.EnumDescriptor
+          getDescriptor() {
+        return com.google.storagetransfer.v1.proto.TransferTypes.NotificationConfig.getDescriptor().getEnumTypes().get(0);
       }
 
       private static final EventType[] VALUES = values();
 
-      public static EventType valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
+      public static EventType valueOf(
+          com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
         if (desc.getType() != getDescriptor()) {
-          throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type.");
+          throw new java.lang.IllegalArgumentException(
+            "EnumValueDescriptor is not for this type.");
         }
         if (desc.getIndex() == -1) {
           return UNRECOGNIZED;
@@ -37205,18 +36097,15 @@ private EventType(int value) {
     }
 
     /**
-     *
-     *
      * 
      * Enum for specifying the format of a notification message's payload.
      * 
* * Protobuf enum {@code google.storagetransfer.v1.NotificationConfig.PayloadFormat} */ - public enum PayloadFormat implements com.google.protobuf.ProtocolMessageEnum { + public enum PayloadFormat + implements com.google.protobuf.ProtocolMessageEnum { /** - * - * *
        * Illegal value, to avoid allowing a default.
        * 
@@ -37225,8 +36114,6 @@ public enum PayloadFormat implements com.google.protobuf.ProtocolMessageEnum { */ PAYLOAD_FORMAT_UNSPECIFIED(0), /** - * - * *
        * No payload is included with the notification.
        * 
@@ -37235,8 +36122,6 @@ public enum PayloadFormat implements com.google.protobuf.ProtocolMessageEnum { */ NONE(1), /** - * - * *
        * `TransferOperation` is [formatted as a JSON
        * response](https://developers.google.com/protocol-buffers/docs/proto3#json),
@@ -37250,8 +36135,6 @@ public enum PayloadFormat implements com.google.protobuf.ProtocolMessageEnum {
       ;
 
       /**
-       *
-       *
        * 
        * Illegal value, to avoid allowing a default.
        * 
@@ -37260,8 +36143,6 @@ public enum PayloadFormat implements com.google.protobuf.ProtocolMessageEnum { */ public static final int PAYLOAD_FORMAT_UNSPECIFIED_VALUE = 0; /** - * - * *
        * No payload is included with the notification.
        * 
@@ -37270,8 +36151,6 @@ public enum PayloadFormat implements com.google.protobuf.ProtocolMessageEnum { */ public static final int NONE_VALUE = 1; /** - * - * *
        * `TransferOperation` is [formatted as a JSON
        * response](https://developers.google.com/protocol-buffers/docs/proto3#json),
@@ -37282,6 +36161,7 @@ public enum PayloadFormat implements com.google.protobuf.ProtocolMessageEnum {
        */
       public static final int JSON_VALUE = 2;
 
+
       public final int getNumber() {
         if (this == UNRECOGNIZED) {
           throw new java.lang.IllegalArgumentException(
@@ -37306,45 +36186,40 @@ public static PayloadFormat valueOf(int value) {
        */
       public static PayloadFormat forNumber(int value) {
         switch (value) {
-          case 0:
-            return PAYLOAD_FORMAT_UNSPECIFIED;
-          case 1:
-            return NONE;
-          case 2:
-            return JSON;
-          default:
-            return null;
+          case 0: return PAYLOAD_FORMAT_UNSPECIFIED;
+          case 1: return NONE;
+          case 2: return JSON;
+          default: return null;
         }
       }
 
-      public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() {
+      public static com.google.protobuf.Internal.EnumLiteMap
+          internalGetValueMap() {
         return internalValueMap;
       }
+      private static final com.google.protobuf.Internal.EnumLiteMap<
+          PayloadFormat> internalValueMap =
+            new com.google.protobuf.Internal.EnumLiteMap() {
+              public PayloadFormat findValueByNumber(int number) {
+                return PayloadFormat.forNumber(number);
+              }
+            };
 
-      private static final com.google.protobuf.Internal.EnumLiteMap
-          internalValueMap =
-              new com.google.protobuf.Internal.EnumLiteMap() {
-                public PayloadFormat findValueByNumber(int number) {
-                  return PayloadFormat.forNumber(number);
-                }
-              };
-
-      public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() {
+      public final com.google.protobuf.Descriptors.EnumValueDescriptor
+          getValueDescriptor() {
         if (this == UNRECOGNIZED) {
           throw new java.lang.IllegalStateException(
               "Can't get the descriptor of an unrecognized enum value.");
         }
         return getDescriptor().getValues().get(ordinal());
       }
-
-      public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() {
+      public final com.google.protobuf.Descriptors.EnumDescriptor
+          getDescriptorForType() {
         return getDescriptor();
       }
-
-      public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() {
-        return com.google.storagetransfer.v1.proto.TransferTypes.NotificationConfig.getDescriptor()
-            .getEnumTypes()
-            .get(1);
+      public static final com.google.protobuf.Descriptors.EnumDescriptor
+          getDescriptor() {
+        return com.google.storagetransfer.v1.proto.TransferTypes.NotificationConfig.getDescriptor().getEnumTypes().get(1);
       }
 
       private static final PayloadFormat[] VALUES = values();
@@ -37352,7 +36227,8 @@ public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor
       public static PayloadFormat valueOf(
           com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
         if (desc.getType() != getDescriptor()) {
-          throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type.");
+          throw new java.lang.IllegalArgumentException(
+            "EnumValueDescriptor is not for this type.");
         }
         if (desc.getIndex() == -1) {
           return UNRECOGNIZED;
@@ -37372,8 +36248,6 @@ private PayloadFormat(int value) {
     public static final int PUBSUB_TOPIC_FIELD_NUMBER = 1;
     private volatile java.lang.Object pubsubTopic_;
     /**
-     *
-     *
      * 
      * Required. The `Topic.name` of the Pub/Sub topic to which to publish
      * notifications. Must be of the format: `projects/{project}/topics/{topic}`.
@@ -37382,7 +36256,6 @@ private PayloadFormat(int value) {
      * 
* * string pubsub_topic = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The pubsubTopic. */ @java.lang.Override @@ -37391,15 +36264,14 @@ public java.lang.String getPubsubTopic() { 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(); pubsubTopic_ = s; return s; } } /** - * - * *
      * Required. The `Topic.name` of the Pub/Sub topic to which to publish
      * notifications. Must be of the format: `projects/{project}/topics/{topic}`.
@@ -37408,15 +36280,16 @@ public java.lang.String getPubsubTopic() {
      * 
* * string pubsub_topic = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for pubsubTopic. */ @java.lang.Override - public com.google.protobuf.ByteString getPubsubTopicBytes() { + public com.google.protobuf.ByteString + getPubsubTopicBytes() { java.lang.Object ref = pubsubTopic_; 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); pubsubTopic_ = b; return b; } else { @@ -37427,58 +36300,36 @@ public com.google.protobuf.ByteString getPubsubTopicBytes() { public static final int EVENT_TYPES_FIELD_NUMBER = 2; private java.util.List eventTypes_; private static final com.google.protobuf.Internal.ListAdapter.Converter< - java.lang.Integer, - com.google.storagetransfer.v1.proto.TransferTypes.NotificationConfig.EventType> - eventTypes_converter_ = + java.lang.Integer, com.google.storagetransfer.v1.proto.TransferTypes.NotificationConfig.EventType> eventTypes_converter_ = new com.google.protobuf.Internal.ListAdapter.Converter< - java.lang.Integer, - com.google.storagetransfer.v1.proto.TransferTypes.NotificationConfig.EventType>() { - public com.google.storagetransfer.v1.proto.TransferTypes.NotificationConfig.EventType - convert(java.lang.Integer from) { + java.lang.Integer, com.google.storagetransfer.v1.proto.TransferTypes.NotificationConfig.EventType>() { + public com.google.storagetransfer.v1.proto.TransferTypes.NotificationConfig.EventType convert(java.lang.Integer from) { @SuppressWarnings("deprecation") - com.google.storagetransfer.v1.proto.TransferTypes.NotificationConfig.EventType - result = - com.google.storagetransfer.v1.proto.TransferTypes.NotificationConfig - .EventType.valueOf(from); - return result == null - ? com.google.storagetransfer.v1.proto.TransferTypes.NotificationConfig.EventType - .UNRECOGNIZED - : result; + com.google.storagetransfer.v1.proto.TransferTypes.NotificationConfig.EventType result = com.google.storagetransfer.v1.proto.TransferTypes.NotificationConfig.EventType.valueOf(from); + return result == null ? com.google.storagetransfer.v1.proto.TransferTypes.NotificationConfig.EventType.UNRECOGNIZED : result; } }; /** - * - * *
      * Event types for which a notification is desired. If empty, send
      * notifications for all event types.
      * 
* - * repeated .google.storagetransfer.v1.NotificationConfig.EventType event_types = 2; - * - * + * repeated .google.storagetransfer.v1.NotificationConfig.EventType event_types = 2; * @return A list containing the eventTypes. */ @java.lang.Override - public java.util.List< - com.google.storagetransfer.v1.proto.TransferTypes.NotificationConfig.EventType> - getEventTypesList() { + public java.util.List getEventTypesList() { return new com.google.protobuf.Internal.ListAdapter< - java.lang.Integer, - com.google.storagetransfer.v1.proto.TransferTypes.NotificationConfig.EventType>( - eventTypes_, eventTypes_converter_); + java.lang.Integer, com.google.storagetransfer.v1.proto.TransferTypes.NotificationConfig.EventType>(eventTypes_, eventTypes_converter_); } /** - * - * *
      * Event types for which a notification is desired. If empty, send
      * notifications for all event types.
      * 
* - * repeated .google.storagetransfer.v1.NotificationConfig.EventType event_types = 2; - * - * + * repeated .google.storagetransfer.v1.NotificationConfig.EventType event_types = 2; * @return The count of eventTypes. */ @java.lang.Override @@ -37486,52 +36337,40 @@ public int getEventTypesCount() { return eventTypes_.size(); } /** - * - * *
      * Event types for which a notification is desired. If empty, send
      * notifications for all event types.
      * 
* - * repeated .google.storagetransfer.v1.NotificationConfig.EventType event_types = 2; - * - * + * repeated .google.storagetransfer.v1.NotificationConfig.EventType event_types = 2; * @param index The index of the element to return. * @return The eventTypes at the given index. */ @java.lang.Override - public com.google.storagetransfer.v1.proto.TransferTypes.NotificationConfig.EventType - getEventTypes(int index) { + public com.google.storagetransfer.v1.proto.TransferTypes.NotificationConfig.EventType getEventTypes(int index) { return eventTypes_converter_.convert(eventTypes_.get(index)); } /** - * - * *
      * Event types for which a notification is desired. If empty, send
      * notifications for all event types.
      * 
* - * repeated .google.storagetransfer.v1.NotificationConfig.EventType event_types = 2; - * - * + * repeated .google.storagetransfer.v1.NotificationConfig.EventType event_types = 2; * @return A list containing the enum numeric values on the wire for eventTypes. */ @java.lang.Override - public java.util.List getEventTypesValueList() { + public java.util.List + getEventTypesValueList() { return eventTypes_; } /** - * - * *
      * Event types for which a notification is desired. If empty, send
      * notifications for all event types.
      * 
* - * repeated .google.storagetransfer.v1.NotificationConfig.EventType event_types = 2; - * - * + * repeated .google.storagetransfer.v1.NotificationConfig.EventType event_types = 2; * @param index The index of the value to return. * @return The enum numeric value on the wire of eventTypes at the given index. */ @@ -37539,56 +36378,36 @@ public java.util.List getEventTypesValueList() { public int getEventTypesValue(int index) { return eventTypes_.get(index); } - private int eventTypesMemoizedSerializedSize; public static final int PAYLOAD_FORMAT_FIELD_NUMBER = 3; private int payloadFormat_; /** - * - * *
      * Required. The desired format of the notification message payloads.
      * 
* - * - * .google.storagetransfer.v1.NotificationConfig.PayloadFormat payload_format = 3 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.storagetransfer.v1.NotificationConfig.PayloadFormat payload_format = 3 [(.google.api.field_behavior) = REQUIRED]; * @return The enum numeric value on the wire for payloadFormat. */ - @java.lang.Override - public int getPayloadFormatValue() { + @java.lang.Override public int getPayloadFormatValue() { return payloadFormat_; } /** - * - * *
      * Required. The desired format of the notification message payloads.
      * 
* - * - * .google.storagetransfer.v1.NotificationConfig.PayloadFormat payload_format = 3 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.storagetransfer.v1.NotificationConfig.PayloadFormat payload_format = 3 [(.google.api.field_behavior) = REQUIRED]; * @return The payloadFormat. */ - @java.lang.Override - public com.google.storagetransfer.v1.proto.TransferTypes.NotificationConfig.PayloadFormat - getPayloadFormat() { + @java.lang.Override public com.google.storagetransfer.v1.proto.TransferTypes.NotificationConfig.PayloadFormat getPayloadFormat() { @SuppressWarnings("deprecation") - com.google.storagetransfer.v1.proto.TransferTypes.NotificationConfig.PayloadFormat result = - com.google.storagetransfer.v1.proto.TransferTypes.NotificationConfig.PayloadFormat - .valueOf(payloadFormat_); - return result == null - ? com.google.storagetransfer.v1.proto.TransferTypes.NotificationConfig.PayloadFormat - .UNRECOGNIZED - : result; + com.google.storagetransfer.v1.proto.TransferTypes.NotificationConfig.PayloadFormat result = com.google.storagetransfer.v1.proto.TransferTypes.NotificationConfig.PayloadFormat.valueOf(payloadFormat_); + return result == null ? com.google.storagetransfer.v1.proto.TransferTypes.NotificationConfig.PayloadFormat.UNRECOGNIZED : result; } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -37600,7 +36419,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 { getSerializedSize(); if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(pubsubTopic_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, pubsubTopic_); @@ -37612,10 +36432,7 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io for (int i = 0; i < eventTypes_.size(); i++) { output.writeEnumNoTag(eventTypes_.get(i)); } - if (payloadFormat_ - != com.google.storagetransfer.v1.proto.TransferTypes.NotificationConfig.PayloadFormat - .PAYLOAD_FORMAT_UNSPECIFIED - .getNumber()) { + if (payloadFormat_ != com.google.storagetransfer.v1.proto.TransferTypes.NotificationConfig.PayloadFormat.PAYLOAD_FORMAT_UNSPECIFIED.getNumber()) { output.writeEnum(3, payloadFormat_); } unknownFields.writeTo(output); @@ -37633,21 +36450,18 @@ public int getSerializedSize() { { int dataSize = 0; for (int i = 0; i < eventTypes_.size(); i++) { - dataSize += - com.google.protobuf.CodedOutputStream.computeEnumSizeNoTag(eventTypes_.get(i)); + dataSize += com.google.protobuf.CodedOutputStream + .computeEnumSizeNoTag(eventTypes_.get(i)); } size += dataSize; - if (!getEventTypesList().isEmpty()) { - size += 1; - size += com.google.protobuf.CodedOutputStream.computeUInt32SizeNoTag(dataSize); - } - eventTypesMemoizedSerializedSize = dataSize; + if (!getEventTypesList().isEmpty()) { size += 1; + size += com.google.protobuf.CodedOutputStream + .computeUInt32SizeNoTag(dataSize); + }eventTypesMemoizedSerializedSize = dataSize; } - if (payloadFormat_ - != com.google.storagetransfer.v1.proto.TransferTypes.NotificationConfig.PayloadFormat - .PAYLOAD_FORMAT_UNSPECIFIED - .getNumber()) { - size += com.google.protobuf.CodedOutputStream.computeEnumSize(3, payloadFormat_); + if (payloadFormat_ != com.google.storagetransfer.v1.proto.TransferTypes.NotificationConfig.PayloadFormat.PAYLOAD_FORMAT_UNSPECIFIED.getNumber()) { + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(3, payloadFormat_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -37657,15 +36471,15 @@ 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.storagetransfer.v1.proto.TransferTypes.NotificationConfig)) { return super.equals(obj); } - com.google.storagetransfer.v1.proto.TransferTypes.NotificationConfig other = - (com.google.storagetransfer.v1.proto.TransferTypes.NotificationConfig) obj; + com.google.storagetransfer.v1.proto.TransferTypes.NotificationConfig other = (com.google.storagetransfer.v1.proto.TransferTypes.NotificationConfig) obj; - if (!getPubsubTopic().equals(other.getPubsubTopic())) return false; + if (!getPubsubTopic() + .equals(other.getPubsubTopic())) return false; if (!eventTypes_.equals(other.eventTypes_)) return false; if (payloadFormat_ != other.payloadFormat_) return false; if (!unknownFields.equals(other.unknownFields)) return false; @@ -37693,95 +36507,87 @@ public int hashCode() { } public static com.google.storagetransfer.v1.proto.TransferTypes.NotificationConfig parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.storagetransfer.v1.proto.TransferTypes.NotificationConfig 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.storagetransfer.v1.proto.TransferTypes.NotificationConfig parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.storagetransfer.v1.proto.TransferTypes.NotificationConfig 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.storagetransfer.v1.proto.TransferTypes.NotificationConfig parseFrom( - byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.storagetransfer.v1.proto.TransferTypes.NotificationConfig parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.storagetransfer.v1.proto.TransferTypes.NotificationConfig 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.storagetransfer.v1.proto.TransferTypes.NotificationConfig parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.storagetransfer.v1.proto.TransferTypes.NotificationConfig parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.storagetransfer.v1.proto.TransferTypes.NotificationConfig 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.storagetransfer.v1.proto.TransferTypes.NotificationConfig - parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.storagetransfer.v1.proto.TransferTypes.NotificationConfig parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - - public static com.google.storagetransfer.v1.proto.TransferTypes.NotificationConfig - parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + public static com.google.storagetransfer.v1.proto.TransferTypes.NotificationConfig parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.storagetransfer.v1.proto.TransferTypes.NotificationConfig 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.storagetransfer.v1.proto.TransferTypes.NotificationConfig 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.storagetransfer.v1.proto.TransferTypes.NotificationConfig prototype) { + public static Builder newBuilder(com.google.storagetransfer.v1.proto.TransferTypes.NotificationConfig 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 @@ -37791,8 +36597,6 @@ protected Builder newBuilderForType( return builder; } /** - * - * *
      * Specification to configure notifications published to Pub/Sub.
      * Notifications are published to the customer-provided topic using the
@@ -37812,41 +36616,38 @@ protected Builder newBuilderForType(
      *
      * Protobuf type {@code google.storagetransfer.v1.NotificationConfig}
      */
-    public static final class Builder
-        extends com.google.protobuf.GeneratedMessageV3.Builder
-        implements
+    public static final class Builder extends
+        com.google.protobuf.GeneratedMessageV3.Builder implements
         // @@protoc_insertion_point(builder_implements:google.storagetransfer.v1.NotificationConfig)
         com.google.storagetransfer.v1.proto.TransferTypes.NotificationConfigOrBuilder {
-      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-        return com.google.storagetransfer.v1.proto.TransferTypes
-            .internal_static_google_storagetransfer_v1_NotificationConfig_descriptor;
+      public static final com.google.protobuf.Descriptors.Descriptor
+          getDescriptor() {
+        return com.google.storagetransfer.v1.proto.TransferTypes.internal_static_google_storagetransfer_v1_NotificationConfig_descriptor;
       }
 
       @java.lang.Override
       protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
           internalGetFieldAccessorTable() {
-        return com.google.storagetransfer.v1.proto.TransferTypes
-            .internal_static_google_storagetransfer_v1_NotificationConfig_fieldAccessorTable
+        return com.google.storagetransfer.v1.proto.TransferTypes.internal_static_google_storagetransfer_v1_NotificationConfig_fieldAccessorTable
             .ensureFieldAccessorsInitialized(
-                com.google.storagetransfer.v1.proto.TransferTypes.NotificationConfig.class,
-                com.google.storagetransfer.v1.proto.TransferTypes.NotificationConfig.Builder.class);
+                com.google.storagetransfer.v1.proto.TransferTypes.NotificationConfig.class, com.google.storagetransfer.v1.proto.TransferTypes.NotificationConfig.Builder.class);
       }
 
-      // Construct using
-      // com.google.storagetransfer.v1.proto.TransferTypes.NotificationConfig.newBuilder()
+      // Construct using com.google.storagetransfer.v1.proto.TransferTypes.NotificationConfig.newBuilder()
       private Builder() {
         maybeForceBuilderInitialization();
       }
 
-      private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+      private Builder(
+          com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
         super(parent);
         maybeForceBuilderInitialization();
       }
-
       private void maybeForceBuilderInitialization() {
-        if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {}
+        if (com.google.protobuf.GeneratedMessageV3
+                .alwaysUseFieldBuilders) {
+        }
       }
-
       @java.lang.Override
       public Builder clear() {
         super.clear();
@@ -37860,22 +36661,19 @@ public Builder clear() {
       }
 
       @java.lang.Override
-      public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-        return com.google.storagetransfer.v1.proto.TransferTypes
-            .internal_static_google_storagetransfer_v1_NotificationConfig_descriptor;
+      public com.google.protobuf.Descriptors.Descriptor
+          getDescriptorForType() {
+        return com.google.storagetransfer.v1.proto.TransferTypes.internal_static_google_storagetransfer_v1_NotificationConfig_descriptor;
       }
 
       @java.lang.Override
-      public com.google.storagetransfer.v1.proto.TransferTypes.NotificationConfig
-          getDefaultInstanceForType() {
-        return com.google.storagetransfer.v1.proto.TransferTypes.NotificationConfig
-            .getDefaultInstance();
+      public com.google.storagetransfer.v1.proto.TransferTypes.NotificationConfig getDefaultInstanceForType() {
+        return com.google.storagetransfer.v1.proto.TransferTypes.NotificationConfig.getDefaultInstance();
       }
 
       @java.lang.Override
       public com.google.storagetransfer.v1.proto.TransferTypes.NotificationConfig build() {
-        com.google.storagetransfer.v1.proto.TransferTypes.NotificationConfig result =
-            buildPartial();
+        com.google.storagetransfer.v1.proto.TransferTypes.NotificationConfig result = buildPartial();
         if (!result.isInitialized()) {
           throw newUninitializedMessageException(result);
         }
@@ -37884,8 +36682,7 @@ public com.google.storagetransfer.v1.proto.TransferTypes.NotificationConfig buil
 
       @java.lang.Override
       public com.google.storagetransfer.v1.proto.TransferTypes.NotificationConfig buildPartial() {
-        com.google.storagetransfer.v1.proto.TransferTypes.NotificationConfig result =
-            new com.google.storagetransfer.v1.proto.TransferTypes.NotificationConfig(this);
+        com.google.storagetransfer.v1.proto.TransferTypes.NotificationConfig result = new com.google.storagetransfer.v1.proto.TransferTypes.NotificationConfig(this);
         int from_bitField0_ = bitField0_;
         result.pubsubTopic_ = pubsubTopic_;
         if (((bitField0_ & 0x00000001) != 0)) {
@@ -37902,53 +36699,46 @@ public com.google.storagetransfer.v1.proto.TransferTypes.NotificationConfig buil
       public Builder clone() {
         return super.clone();
       }
-
       @java.lang.Override
       public Builder setField(
-          com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+          com.google.protobuf.Descriptors.FieldDescriptor field,
+          java.lang.Object value) {
         return super.setField(field, value);
       }
-
       @java.lang.Override
-      public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+      public Builder clearField(
+          com.google.protobuf.Descriptors.FieldDescriptor field) {
         return super.clearField(field);
       }
-
       @java.lang.Override
-      public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+      public Builder clearOneof(
+          com.google.protobuf.Descriptors.OneofDescriptor oneof) {
         return super.clearOneof(oneof);
       }
-
       @java.lang.Override
       public Builder setRepeatedField(
           com.google.protobuf.Descriptors.FieldDescriptor field,
-          int index,
-          java.lang.Object value) {
+          int index, java.lang.Object value) {
         return super.setRepeatedField(field, index, value);
       }
-
       @java.lang.Override
       public Builder addRepeatedField(
-          com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+          com.google.protobuf.Descriptors.FieldDescriptor field,
+          java.lang.Object value) {
         return super.addRepeatedField(field, value);
       }
-
       @java.lang.Override
       public Builder mergeFrom(com.google.protobuf.Message other) {
         if (other instanceof com.google.storagetransfer.v1.proto.TransferTypes.NotificationConfig) {
-          return mergeFrom(
-              (com.google.storagetransfer.v1.proto.TransferTypes.NotificationConfig) other);
+          return mergeFrom((com.google.storagetransfer.v1.proto.TransferTypes.NotificationConfig)other);
         } else {
           super.mergeFrom(other);
           return this;
         }
       }
 
-      public Builder mergeFrom(
-          com.google.storagetransfer.v1.proto.TransferTypes.NotificationConfig other) {
-        if (other
-            == com.google.storagetransfer.v1.proto.TransferTypes.NotificationConfig
-                .getDefaultInstance()) return this;
+      public Builder mergeFrom(com.google.storagetransfer.v1.proto.TransferTypes.NotificationConfig other) {
+        if (other == com.google.storagetransfer.v1.proto.TransferTypes.NotificationConfig.getDefaultInstance()) return this;
         if (!other.getPubsubTopic().isEmpty()) {
           pubsubTopic_ = other.pubsubTopic_;
           onChanged();
@@ -37985,9 +36775,7 @@ public Builder mergeFrom(
         try {
           parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
         } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-          parsedMessage =
-              (com.google.storagetransfer.v1.proto.TransferTypes.NotificationConfig)
-                  e.getUnfinishedMessage();
+          parsedMessage = (com.google.storagetransfer.v1.proto.TransferTypes.NotificationConfig) e.getUnfinishedMessage();
           throw e.unwrapIOException();
         } finally {
           if (parsedMessage != null) {
@@ -37996,13 +36784,10 @@ public Builder mergeFrom(
         }
         return this;
       }
-
       private int bitField0_;
 
       private java.lang.Object pubsubTopic_ = "";
       /**
-       *
-       *
        * 
        * Required. The `Topic.name` of the Pub/Sub topic to which to publish
        * notifications. Must be of the format: `projects/{project}/topics/{topic}`.
@@ -38011,13 +36796,13 @@ public Builder mergeFrom(
        * 
* * string pubsub_topic = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The pubsubTopic. */ public java.lang.String getPubsubTopic() { java.lang.Object ref = pubsubTopic_; 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(); pubsubTopic_ = s; return s; @@ -38026,8 +36811,6 @@ public java.lang.String getPubsubTopic() { } } /** - * - * *
        * Required. The `Topic.name` of the Pub/Sub topic to which to publish
        * notifications. Must be of the format: `projects/{project}/topics/{topic}`.
@@ -38036,14 +36819,15 @@ public java.lang.String getPubsubTopic() {
        * 
* * string pubsub_topic = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for pubsubTopic. */ - public com.google.protobuf.ByteString getPubsubTopicBytes() { + public com.google.protobuf.ByteString + getPubsubTopicBytes() { java.lang.Object ref = pubsubTopic_; 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); pubsubTopic_ = b; return b; } else { @@ -38051,8 +36835,6 @@ public com.google.protobuf.ByteString getPubsubTopicBytes() { } } /** - * - * *
        * Required. The `Topic.name` of the Pub/Sub topic to which to publish
        * notifications. Must be of the format: `projects/{project}/topics/{topic}`.
@@ -38061,22 +36843,20 @@ public com.google.protobuf.ByteString getPubsubTopicBytes() {
        * 
* * string pubsub_topic = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The pubsubTopic to set. * @return This builder for chaining. */ - public Builder setPubsubTopic(java.lang.String value) { + public Builder setPubsubTopic( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + pubsubTopic_ = value; onChanged(); return this; } /** - * - * *
        * Required. The `Topic.name` of the Pub/Sub topic to which to publish
        * notifications. Must be of the format: `projects/{project}/topics/{topic}`.
@@ -38085,18 +36865,15 @@ public Builder setPubsubTopic(java.lang.String value) {
        * 
* * string pubsub_topic = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return This builder for chaining. */ public Builder clearPubsubTopic() { - + pubsubTopic_ = getDefaultInstance().getPubsubTopic(); onChanged(); return this; } /** - * - * *
        * Required. The `Topic.name` of the Pub/Sub topic to which to publish
        * notifications. Must be of the format: `projects/{project}/topics/{topic}`.
@@ -38105,23 +36882,23 @@ public Builder clearPubsubTopic() {
        * 
* * string pubsub_topic = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The bytes for pubsubTopic to set. * @return This builder for chaining. */ - public Builder setPubsubTopicBytes(com.google.protobuf.ByteString value) { + public Builder setPubsubTopicBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + pubsubTopic_ = value; onChanged(); return this; } - private java.util.List eventTypes_ = java.util.Collections.emptyList(); - + private java.util.List eventTypes_ = + java.util.Collections.emptyList(); private void ensureEventTypesIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { eventTypes_ = new java.util.ArrayList(eventTypes_); @@ -38129,78 +36906,56 @@ private void ensureEventTypesIsMutable() { } } /** - * - * *
        * Event types for which a notification is desired. If empty, send
        * notifications for all event types.
        * 
* - * repeated .google.storagetransfer.v1.NotificationConfig.EventType event_types = 2; - * - * + * repeated .google.storagetransfer.v1.NotificationConfig.EventType event_types = 2; * @return A list containing the eventTypes. */ - public java.util.List< - com.google.storagetransfer.v1.proto.TransferTypes.NotificationConfig.EventType> - getEventTypesList() { + public java.util.List getEventTypesList() { return new com.google.protobuf.Internal.ListAdapter< - java.lang.Integer, - com.google.storagetransfer.v1.proto.TransferTypes.NotificationConfig.EventType>( - eventTypes_, eventTypes_converter_); + java.lang.Integer, com.google.storagetransfer.v1.proto.TransferTypes.NotificationConfig.EventType>(eventTypes_, eventTypes_converter_); } /** - * - * *
        * Event types for which a notification is desired. If empty, send
        * notifications for all event types.
        * 
* - * repeated .google.storagetransfer.v1.NotificationConfig.EventType event_types = 2; - * - * + * repeated .google.storagetransfer.v1.NotificationConfig.EventType event_types = 2; * @return The count of eventTypes. */ public int getEventTypesCount() { return eventTypes_.size(); } /** - * - * *
        * Event types for which a notification is desired. If empty, send
        * notifications for all event types.
        * 
* - * repeated .google.storagetransfer.v1.NotificationConfig.EventType event_types = 2; - * - * + * repeated .google.storagetransfer.v1.NotificationConfig.EventType event_types = 2; * @param index The index of the element to return. * @return The eventTypes at the given index. */ - public com.google.storagetransfer.v1.proto.TransferTypes.NotificationConfig.EventType - getEventTypes(int index) { + public com.google.storagetransfer.v1.proto.TransferTypes.NotificationConfig.EventType getEventTypes(int index) { return eventTypes_converter_.convert(eventTypes_.get(index)); } /** - * - * *
        * Event types for which a notification is desired. If empty, send
        * notifications for all event types.
        * 
* - * repeated .google.storagetransfer.v1.NotificationConfig.EventType event_types = 2; - * - * + * repeated .google.storagetransfer.v1.NotificationConfig.EventType event_types = 2; * @param index The index to set the value at. * @param value The eventTypes to set. * @return This builder for chaining. */ public Builder setEventTypes( - int index, - com.google.storagetransfer.v1.proto.TransferTypes.NotificationConfig.EventType value) { + int index, com.google.storagetransfer.v1.proto.TransferTypes.NotificationConfig.EventType value) { if (value == null) { throw new NullPointerException(); } @@ -38210,21 +36965,16 @@ public Builder setEventTypes( return this; } /** - * - * *
        * Event types for which a notification is desired. If empty, send
        * notifications for all event types.
        * 
* - * repeated .google.storagetransfer.v1.NotificationConfig.EventType event_types = 2; - * - * + * repeated .google.storagetransfer.v1.NotificationConfig.EventType event_types = 2; * @param value The eventTypes to add. * @return This builder for chaining. */ - public Builder addEventTypes( - com.google.storagetransfer.v1.proto.TransferTypes.NotificationConfig.EventType value) { + public Builder addEventTypes(com.google.storagetransfer.v1.proto.TransferTypes.NotificationConfig.EventType value) { if (value == null) { throw new NullPointerException(); } @@ -38234,44 +36984,31 @@ public Builder addEventTypes( return this; } /** - * - * *
        * Event types for which a notification is desired. If empty, send
        * notifications for all event types.
        * 
* - * repeated .google.storagetransfer.v1.NotificationConfig.EventType event_types = 2; - * - * + * repeated .google.storagetransfer.v1.NotificationConfig.EventType event_types = 2; * @param values The eventTypes to add. * @return This builder for chaining. */ public Builder addAllEventTypes( - java.lang.Iterable< - ? extends - com.google.storagetransfer.v1.proto.TransferTypes.NotificationConfig - .EventType> - values) { + java.lang.Iterable values) { ensureEventTypesIsMutable(); - for (com.google.storagetransfer.v1.proto.TransferTypes.NotificationConfig.EventType value : - values) { + for (com.google.storagetransfer.v1.proto.TransferTypes.NotificationConfig.EventType value : values) { eventTypes_.add(value.getNumber()); } onChanged(); return this; } /** - * - * *
        * Event types for which a notification is desired. If empty, send
        * notifications for all event types.
        * 
* - * repeated .google.storagetransfer.v1.NotificationConfig.EventType event_types = 2; - * - * + * repeated .google.storagetransfer.v1.NotificationConfig.EventType event_types = 2; * @return This builder for chaining. */ public Builder clearEventTypes() { @@ -38281,32 +37018,25 @@ public Builder clearEventTypes() { return this; } /** - * - * *
        * Event types for which a notification is desired. If empty, send
        * notifications for all event types.
        * 
* - * repeated .google.storagetransfer.v1.NotificationConfig.EventType event_types = 2; - * - * + * repeated .google.storagetransfer.v1.NotificationConfig.EventType event_types = 2; * @return A list containing the enum numeric values on the wire for eventTypes. */ - public java.util.List getEventTypesValueList() { + public java.util.List + getEventTypesValueList() { return java.util.Collections.unmodifiableList(eventTypes_); } /** - * - * *
        * Event types for which a notification is desired. If empty, send
        * notifications for all event types.
        * 
* - * repeated .google.storagetransfer.v1.NotificationConfig.EventType event_types = 2; - * - * + * repeated .google.storagetransfer.v1.NotificationConfig.EventType event_types = 2; * @param index The index of the value to return. * @return The enum numeric value on the wire of eventTypes at the given index. */ @@ -38314,37 +37044,30 @@ public int getEventTypesValue(int index) { return eventTypes_.get(index); } /** - * - * *
        * Event types for which a notification is desired. If empty, send
        * notifications for all event types.
        * 
* - * repeated .google.storagetransfer.v1.NotificationConfig.EventType event_types = 2; - * - * + * repeated .google.storagetransfer.v1.NotificationConfig.EventType event_types = 2; * @param index The index to set the value at. * @param value The enum numeric value on the wire for eventTypes to set. * @return This builder for chaining. */ - public Builder setEventTypesValue(int index, int value) { + public Builder setEventTypesValue( + int index, int value) { ensureEventTypesIsMutable(); eventTypes_.set(index, value); onChanged(); return this; } /** - * - * *
        * Event types for which a notification is desired. If empty, send
        * notifications for all event types.
        * 
* - * repeated .google.storagetransfer.v1.NotificationConfig.EventType event_types = 2; - * - * + * repeated .google.storagetransfer.v1.NotificationConfig.EventType event_types = 2; * @param value The enum numeric value on the wire for eventTypes to add. * @return This builder for chaining. */ @@ -38355,20 +37078,17 @@ public Builder addEventTypesValue(int value) { return this; } /** - * - * *
        * Event types for which a notification is desired. If empty, send
        * notifications for all event types.
        * 
* - * repeated .google.storagetransfer.v1.NotificationConfig.EventType event_types = 2; - * - * + * repeated .google.storagetransfer.v1.NotificationConfig.EventType event_types = 2; * @param values The enum numeric values on the wire for eventTypes to add. * @return This builder for chaining. */ - public Builder addAllEventTypesValue(java.lang.Iterable values) { + public Builder addAllEventTypesValue( + java.lang.Iterable values) { ensureEventTypesIsMutable(); for (int value : values) { eventTypes_.add(value); @@ -38379,112 +37099,77 @@ public Builder addAllEventTypesValue(java.lang.Iterable value private int payloadFormat_ = 0; /** - * - * *
        * Required. The desired format of the notification message payloads.
        * 
* - * - * .google.storagetransfer.v1.NotificationConfig.PayloadFormat payload_format = 3 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.storagetransfer.v1.NotificationConfig.PayloadFormat payload_format = 3 [(.google.api.field_behavior) = REQUIRED]; * @return The enum numeric value on the wire for payloadFormat. */ - @java.lang.Override - public int getPayloadFormatValue() { + @java.lang.Override public int getPayloadFormatValue() { return payloadFormat_; } /** - * - * *
        * Required. The desired format of the notification message payloads.
        * 
* - * - * .google.storagetransfer.v1.NotificationConfig.PayloadFormat payload_format = 3 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.storagetransfer.v1.NotificationConfig.PayloadFormat payload_format = 3 [(.google.api.field_behavior) = REQUIRED]; * @param value The enum numeric value on the wire for payloadFormat to set. * @return This builder for chaining. */ public Builder setPayloadFormatValue(int value) { - + payloadFormat_ = value; onChanged(); return this; } /** - * - * *
        * Required. The desired format of the notification message payloads.
        * 
* - * - * .google.storagetransfer.v1.NotificationConfig.PayloadFormat payload_format = 3 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.storagetransfer.v1.NotificationConfig.PayloadFormat payload_format = 3 [(.google.api.field_behavior) = REQUIRED]; * @return The payloadFormat. */ @java.lang.Override - public com.google.storagetransfer.v1.proto.TransferTypes.NotificationConfig.PayloadFormat - getPayloadFormat() { + public com.google.storagetransfer.v1.proto.TransferTypes.NotificationConfig.PayloadFormat getPayloadFormat() { @SuppressWarnings("deprecation") - com.google.storagetransfer.v1.proto.TransferTypes.NotificationConfig.PayloadFormat result = - com.google.storagetransfer.v1.proto.TransferTypes.NotificationConfig.PayloadFormat - .valueOf(payloadFormat_); - return result == null - ? com.google.storagetransfer.v1.proto.TransferTypes.NotificationConfig.PayloadFormat - .UNRECOGNIZED - : result; + com.google.storagetransfer.v1.proto.TransferTypes.NotificationConfig.PayloadFormat result = com.google.storagetransfer.v1.proto.TransferTypes.NotificationConfig.PayloadFormat.valueOf(payloadFormat_); + return result == null ? com.google.storagetransfer.v1.proto.TransferTypes.NotificationConfig.PayloadFormat.UNRECOGNIZED : result; } /** - * - * *
        * Required. The desired format of the notification message payloads.
        * 
* - * - * .google.storagetransfer.v1.NotificationConfig.PayloadFormat payload_format = 3 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.storagetransfer.v1.NotificationConfig.PayloadFormat payload_format = 3 [(.google.api.field_behavior) = REQUIRED]; * @param value The payloadFormat to set. * @return This builder for chaining. */ - public Builder setPayloadFormat( - com.google.storagetransfer.v1.proto.TransferTypes.NotificationConfig.PayloadFormat - value) { + public Builder setPayloadFormat(com.google.storagetransfer.v1.proto.TransferTypes.NotificationConfig.PayloadFormat value) { if (value == null) { throw new NullPointerException(); } - + payloadFormat_ = value.getNumber(); onChanged(); return this; } /** - * - * *
        * Required. The desired format of the notification message payloads.
        * 
* - * - * .google.storagetransfer.v1.NotificationConfig.PayloadFormat payload_format = 3 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.storagetransfer.v1.NotificationConfig.PayloadFormat payload_format = 3 [(.google.api.field_behavior) = REQUIRED]; * @return This builder for chaining. */ public Builder clearPayloadFormat() { - + payloadFormat_ = 0; onChanged(); return this; } - @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -38497,32 +37182,30 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.storagetransfer.v1.NotificationConfig) } // @@protoc_insertion_point(class_scope:google.storagetransfer.v1.NotificationConfig) - private static final com.google.storagetransfer.v1.proto.TransferTypes.NotificationConfig - DEFAULT_INSTANCE; - + private static final com.google.storagetransfer.v1.proto.TransferTypes.NotificationConfig DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.storagetransfer.v1.proto.TransferTypes.NotificationConfig(); } - public static com.google.storagetransfer.v1.proto.TransferTypes.NotificationConfig - getDefaultInstance() { + public static com.google.storagetransfer.v1.proto.TransferTypes.NotificationConfig getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public NotificationConfig parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new NotificationConfig(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public NotificationConfig parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new NotificationConfig(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -38534,200 +37217,146 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.storagetransfer.v1.proto.TransferTypes.NotificationConfig - getDefaultInstanceForType() { + public com.google.storagetransfer.v1.proto.TransferTypes.NotificationConfig getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } - public interface LoggingConfigOrBuilder - extends + public interface LoggingConfigOrBuilder extends // @@protoc_insertion_point(interface_extends:google.storagetransfer.v1.LoggingConfig) com.google.protobuf.MessageOrBuilder { /** - * - * *
      * Specifies the actions to be logged. If empty, no logs are generated.
      * Not supported for transfers with PosixFilesystem data sources; use
      * [enable_onprem_gcs_transfer_logs][google.storagetransfer.v1.LoggingConfig.enable_onprem_gcs_transfer_logs] instead.
      * 
* - * repeated .google.storagetransfer.v1.LoggingConfig.LoggableAction log_actions = 1; - * - * + * repeated .google.storagetransfer.v1.LoggingConfig.LoggableAction log_actions = 1; * @return A list containing the logActions. */ - java.util.List - getLogActionsList(); + java.util.List getLogActionsList(); /** - * - * *
      * Specifies the actions to be logged. If empty, no logs are generated.
      * Not supported for transfers with PosixFilesystem data sources; use
      * [enable_onprem_gcs_transfer_logs][google.storagetransfer.v1.LoggingConfig.enable_onprem_gcs_transfer_logs] instead.
      * 
* - * repeated .google.storagetransfer.v1.LoggingConfig.LoggableAction log_actions = 1; - * - * + * repeated .google.storagetransfer.v1.LoggingConfig.LoggableAction log_actions = 1; * @return The count of logActions. */ int getLogActionsCount(); /** - * - * *
      * Specifies the actions to be logged. If empty, no logs are generated.
      * Not supported for transfers with PosixFilesystem data sources; use
      * [enable_onprem_gcs_transfer_logs][google.storagetransfer.v1.LoggingConfig.enable_onprem_gcs_transfer_logs] instead.
      * 
* - * repeated .google.storagetransfer.v1.LoggingConfig.LoggableAction log_actions = 1; - * - * + * repeated .google.storagetransfer.v1.LoggingConfig.LoggableAction log_actions = 1; * @param index The index of the element to return. * @return The logActions at the given index. */ - com.google.storagetransfer.v1.proto.TransferTypes.LoggingConfig.LoggableAction getLogActions( - int index); + com.google.storagetransfer.v1.proto.TransferTypes.LoggingConfig.LoggableAction getLogActions(int index); /** - * - * *
      * Specifies the actions to be logged. If empty, no logs are generated.
      * Not supported for transfers with PosixFilesystem data sources; use
      * [enable_onprem_gcs_transfer_logs][google.storagetransfer.v1.LoggingConfig.enable_onprem_gcs_transfer_logs] instead.
      * 
* - * repeated .google.storagetransfer.v1.LoggingConfig.LoggableAction log_actions = 1; - * - * + * repeated .google.storagetransfer.v1.LoggingConfig.LoggableAction log_actions = 1; * @return A list containing the enum numeric values on the wire for logActions. */ - java.util.List getLogActionsValueList(); + java.util.List + getLogActionsValueList(); /** - * - * *
      * Specifies the actions to be logged. If empty, no logs are generated.
      * Not supported for transfers with PosixFilesystem data sources; use
      * [enable_onprem_gcs_transfer_logs][google.storagetransfer.v1.LoggingConfig.enable_onprem_gcs_transfer_logs] instead.
      * 
* - * repeated .google.storagetransfer.v1.LoggingConfig.LoggableAction log_actions = 1; - * - * + * repeated .google.storagetransfer.v1.LoggingConfig.LoggableAction log_actions = 1; * @param index The index of the value to return. * @return The enum numeric value on the wire of logActions at the given index. */ int getLogActionsValue(int index); /** - * - * *
      * States in which `log_actions` are logged. If empty, no logs are generated.
      * Not supported for transfers with PosixFilesystem data sources; use
      * [enable_onprem_gcs_transfer_logs][google.storagetransfer.v1.LoggingConfig.enable_onprem_gcs_transfer_logs] instead.
      * 
* - * - * repeated .google.storagetransfer.v1.LoggingConfig.LoggableActionState log_action_states = 2; - * - * + * repeated .google.storagetransfer.v1.LoggingConfig.LoggableActionState log_action_states = 2; * @return A list containing the logActionStates. */ - java.util.List< - com.google.storagetransfer.v1.proto.TransferTypes.LoggingConfig.LoggableActionState> - getLogActionStatesList(); + java.util.List getLogActionStatesList(); /** - * - * *
      * States in which `log_actions` are logged. If empty, no logs are generated.
      * Not supported for transfers with PosixFilesystem data sources; use
      * [enable_onprem_gcs_transfer_logs][google.storagetransfer.v1.LoggingConfig.enable_onprem_gcs_transfer_logs] instead.
      * 
* - * - * repeated .google.storagetransfer.v1.LoggingConfig.LoggableActionState log_action_states = 2; - * - * + * repeated .google.storagetransfer.v1.LoggingConfig.LoggableActionState log_action_states = 2; * @return The count of logActionStates. */ int getLogActionStatesCount(); /** - * - * *
      * States in which `log_actions` are logged. If empty, no logs are generated.
      * Not supported for transfers with PosixFilesystem data sources; use
      * [enable_onprem_gcs_transfer_logs][google.storagetransfer.v1.LoggingConfig.enable_onprem_gcs_transfer_logs] instead.
      * 
* - * - * repeated .google.storagetransfer.v1.LoggingConfig.LoggableActionState log_action_states = 2; - * - * + * repeated .google.storagetransfer.v1.LoggingConfig.LoggableActionState log_action_states = 2; * @param index The index of the element to return. * @return The logActionStates at the given index. */ - com.google.storagetransfer.v1.proto.TransferTypes.LoggingConfig.LoggableActionState - getLogActionStates(int index); + com.google.storagetransfer.v1.proto.TransferTypes.LoggingConfig.LoggableActionState getLogActionStates(int index); /** - * - * *
      * States in which `log_actions` are logged. If empty, no logs are generated.
      * Not supported for transfers with PosixFilesystem data sources; use
      * [enable_onprem_gcs_transfer_logs][google.storagetransfer.v1.LoggingConfig.enable_onprem_gcs_transfer_logs] instead.
      * 
* - * - * repeated .google.storagetransfer.v1.LoggingConfig.LoggableActionState log_action_states = 2; - * - * + * repeated .google.storagetransfer.v1.LoggingConfig.LoggableActionState log_action_states = 2; * @return A list containing the enum numeric values on the wire for logActionStates. */ - java.util.List getLogActionStatesValueList(); + java.util.List + getLogActionStatesValueList(); /** - * - * *
      * States in which `log_actions` are logged. If empty, no logs are generated.
      * Not supported for transfers with PosixFilesystem data sources; use
      * [enable_onprem_gcs_transfer_logs][google.storagetransfer.v1.LoggingConfig.enable_onprem_gcs_transfer_logs] instead.
      * 
* - * - * repeated .google.storagetransfer.v1.LoggingConfig.LoggableActionState log_action_states = 2; - * - * + * repeated .google.storagetransfer.v1.LoggingConfig.LoggableActionState log_action_states = 2; * @param index The index of the value to return. * @return The enum numeric value on the wire of logActionStates at the given index. */ int getLogActionStatesValue(int index); /** - * - * *
      * For transfers with a PosixFilesystem source, this option enables the Cloud
      * Storage transfer logs for this transfer.
      * 
* * bool enable_onprem_gcs_transfer_logs = 3; - * * @return The enableOnpremGcsTransferLogs. */ boolean getEnableOnpremGcsTransferLogs(); } /** - * - * *
    * Specifies the logging behavior for transfer operations.
    * For cloud-to-cloud transfers, logs are sent to Cloud Logging. See
@@ -38743,16 +37372,15 @@ com.google.storagetransfer.v1.proto.TransferTypes.LoggingConfig.LoggableAction g
    *
    * Protobuf type {@code google.storagetransfer.v1.LoggingConfig}
    */
-  public static final class LoggingConfig extends com.google.protobuf.GeneratedMessageV3
-      implements
+  public static final class LoggingConfig extends
+      com.google.protobuf.GeneratedMessageV3 implements
       // @@protoc_insertion_point(message_implements:google.storagetransfer.v1.LoggingConfig)
       LoggingConfigOrBuilder {
-    private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
     // Use LoggingConfig.newBuilder() to construct.
     private LoggingConfig(com.google.protobuf.GeneratedMessageV3.Builder builder) {
       super(builder);
     }
-
     private LoggingConfig() {
       logActions_ = java.util.Collections.emptyList();
       logActionStates_ = java.util.Collections.emptyList();
@@ -38760,15 +37388,16 @@ private LoggingConfig() {
 
     @java.lang.Override
     @SuppressWarnings({"unused"})
-    protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+    protected java.lang.Object newInstance(
+        UnusedPrivateParameter unused) {
       return new LoggingConfig();
     }
 
     @java.lang.Override
-    public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+    public final com.google.protobuf.UnknownFieldSet
+    getUnknownFields() {
       return this.unknownFields;
     }
-
     private LoggingConfig(
         com.google.protobuf.CodedInputStream input,
         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -38788,68 +37417,64 @@ private LoggingConfig(
             case 0:
               done = true;
               break;
-            case 8:
-              {
+            case 8: {
+              int rawValue = input.readEnum();
+              if (!((mutable_bitField0_ & 0x00000001) != 0)) {
+                logActions_ = new java.util.ArrayList();
+                mutable_bitField0_ |= 0x00000001;
+              }
+              logActions_.add(rawValue);
+              break;
+            }
+            case 10: {
+              int length = input.readRawVarint32();
+              int oldLimit = input.pushLimit(length);
+              while(input.getBytesUntilLimit() > 0) {
                 int rawValue = input.readEnum();
                 if (!((mutable_bitField0_ & 0x00000001) != 0)) {
                   logActions_ = new java.util.ArrayList();
                   mutable_bitField0_ |= 0x00000001;
                 }
                 logActions_.add(rawValue);
-                break;
               }
-            case 10:
-              {
-                int length = input.readRawVarint32();
-                int oldLimit = input.pushLimit(length);
-                while (input.getBytesUntilLimit() > 0) {
-                  int rawValue = input.readEnum();
-                  if (!((mutable_bitField0_ & 0x00000001) != 0)) {
-                    logActions_ = new java.util.ArrayList();
-                    mutable_bitField0_ |= 0x00000001;
-                  }
-                  logActions_.add(rawValue);
-                }
-                input.popLimit(oldLimit);
-                break;
+              input.popLimit(oldLimit);
+              break;
+            }
+            case 16: {
+              int rawValue = input.readEnum();
+              if (!((mutable_bitField0_ & 0x00000002) != 0)) {
+                logActionStates_ = new java.util.ArrayList();
+                mutable_bitField0_ |= 0x00000002;
               }
-            case 16:
-              {
+              logActionStates_.add(rawValue);
+              break;
+            }
+            case 18: {
+              int length = input.readRawVarint32();
+              int oldLimit = input.pushLimit(length);
+              while(input.getBytesUntilLimit() > 0) {
                 int rawValue = input.readEnum();
                 if (!((mutable_bitField0_ & 0x00000002) != 0)) {
                   logActionStates_ = new java.util.ArrayList();
                   mutable_bitField0_ |= 0x00000002;
                 }
                 logActionStates_.add(rawValue);
-                break;
-              }
-            case 18:
-              {
-                int length = input.readRawVarint32();
-                int oldLimit = input.pushLimit(length);
-                while (input.getBytesUntilLimit() > 0) {
-                  int rawValue = input.readEnum();
-                  if (!((mutable_bitField0_ & 0x00000002) != 0)) {
-                    logActionStates_ = new java.util.ArrayList();
-                    mutable_bitField0_ |= 0x00000002;
-                  }
-                  logActionStates_.add(rawValue);
-                }
-                input.popLimit(oldLimit);
-                break;
-              }
-            case 24:
-              {
-                enableOnpremGcsTransferLogs_ = input.readBool();
-                break;
               }
-            default:
-              {
-                if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
-                  done = true;
-                }
-                break;
+              input.popLimit(oldLimit);
+              break;
+            }
+            case 24: {
+
+              enableOnpremGcsTransferLogs_ = input.readBool();
+              break;
+            }
+            default: {
+              if (!parseUnknownField(
+                  input, unknownFields, extensionRegistry, tag)) {
+                done = true;
               }
+              break;
+            }
           }
         }
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -38857,7 +37482,8 @@ private LoggingConfig(
       } catch (com.google.protobuf.UninitializedMessageException e) {
         throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
       } catch (java.io.IOException e) {
-        throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
+        throw new com.google.protobuf.InvalidProtocolBufferException(
+            e).setUnfinishedMessage(this);
       } finally {
         if (((mutable_bitField0_ & 0x00000001) != 0)) {
           logActions_ = java.util.Collections.unmodifiableList(logActions_);
@@ -38869,35 +37495,29 @@ private LoggingConfig(
         makeExtensionsImmutable();
       }
     }
-
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.storagetransfer.v1.proto.TransferTypes
-          .internal_static_google_storagetransfer_v1_LoggingConfig_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.storagetransfer.v1.proto.TransferTypes.internal_static_google_storagetransfer_v1_LoggingConfig_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.storagetransfer.v1.proto.TransferTypes
-          .internal_static_google_storagetransfer_v1_LoggingConfig_fieldAccessorTable
+      return com.google.storagetransfer.v1.proto.TransferTypes.internal_static_google_storagetransfer_v1_LoggingConfig_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.storagetransfer.v1.proto.TransferTypes.LoggingConfig.class,
-              com.google.storagetransfer.v1.proto.TransferTypes.LoggingConfig.Builder.class);
+              com.google.storagetransfer.v1.proto.TransferTypes.LoggingConfig.class, com.google.storagetransfer.v1.proto.TransferTypes.LoggingConfig.Builder.class);
     }
 
     /**
-     *
-     *
      * 
      * Loggable actions.
      * 
* * Protobuf enum {@code google.storagetransfer.v1.LoggingConfig.LoggableAction} */ - public enum LoggableAction implements com.google.protobuf.ProtocolMessageEnum { + public enum LoggableAction + implements com.google.protobuf.ProtocolMessageEnum { /** - * - * *
        * Default value. This value is unused.
        * 
@@ -38906,8 +37526,6 @@ public enum LoggableAction implements com.google.protobuf.ProtocolMessageEnum { */ LOGGABLE_ACTION_UNSPECIFIED(0), /** - * - * *
        * Listing objects in a bucket.
        * 
@@ -38916,8 +37534,6 @@ public enum LoggableAction implements com.google.protobuf.ProtocolMessageEnum { */ FIND(1), /** - * - * *
        * Deleting objects at the source or the destination.
        * 
@@ -38926,8 +37542,6 @@ public enum LoggableAction implements com.google.protobuf.ProtocolMessageEnum { */ DELETE(2), /** - * - * *
        * Copying objects to Google Cloud Storage.
        * 
@@ -38939,8 +37553,6 @@ public enum LoggableAction implements com.google.protobuf.ProtocolMessageEnum { ; /** - * - * *
        * Default value. This value is unused.
        * 
@@ -38949,8 +37561,6 @@ public enum LoggableAction implements com.google.protobuf.ProtocolMessageEnum { */ public static final int LOGGABLE_ACTION_UNSPECIFIED_VALUE = 0; /** - * - * *
        * Listing objects in a bucket.
        * 
@@ -38959,8 +37569,6 @@ public enum LoggableAction implements com.google.protobuf.ProtocolMessageEnum { */ public static final int FIND_VALUE = 1; /** - * - * *
        * Deleting objects at the source or the destination.
        * 
@@ -38969,8 +37577,6 @@ public enum LoggableAction implements com.google.protobuf.ProtocolMessageEnum { */ public static final int DELETE_VALUE = 2; /** - * - * *
        * Copying objects to Google Cloud Storage.
        * 
@@ -38979,6 +37585,7 @@ public enum LoggableAction implements com.google.protobuf.ProtocolMessageEnum { */ public static final int COPY_VALUE = 3; + public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -39003,47 +37610,41 @@ public static LoggableAction valueOf(int value) { */ public static LoggableAction forNumber(int value) { switch (value) { - case 0: - return LOGGABLE_ACTION_UNSPECIFIED; - case 1: - return FIND; - case 2: - return DELETE; - case 3: - return COPY; - default: - return null; + case 0: return LOGGABLE_ACTION_UNSPECIFIED; + case 1: return FIND; + case 2: return DELETE; + case 3: return COPY; + default: return null; } } - public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() { + public static com.google.protobuf.Internal.EnumLiteMap + internalGetValueMap() { return internalValueMap; } + private static final com.google.protobuf.Internal.EnumLiteMap< + LoggableAction> internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap() { + public LoggableAction findValueByNumber(int number) { + return LoggableAction.forNumber(number); + } + }; - private static final com.google.protobuf.Internal.EnumLiteMap - internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public LoggableAction findValueByNumber(int number) { - return LoggableAction.forNumber(number); - } - }; - - public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() { + public final com.google.protobuf.Descriptors.EnumValueDescriptor + getValueDescriptor() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalStateException( "Can't get the descriptor of an unrecognized enum value."); } return getDescriptor().getValues().get(ordinal()); } - - public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() { + public final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptorForType() { return getDescriptor(); } - - public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { - return com.google.storagetransfer.v1.proto.TransferTypes.LoggingConfig.getDescriptor() - .getEnumTypes() - .get(0); + public static final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptor() { + return com.google.storagetransfer.v1.proto.TransferTypes.LoggingConfig.getDescriptor().getEnumTypes().get(0); } private static final LoggableAction[] VALUES = values(); @@ -39051,7 +37652,8 @@ public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor public static LoggableAction valueOf( com.google.protobuf.Descriptors.EnumValueDescriptor desc) { if (desc.getType() != getDescriptor()) { - throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type."); + throw new java.lang.IllegalArgumentException( + "EnumValueDescriptor is not for this type."); } if (desc.getIndex() == -1) { return UNRECOGNIZED; @@ -39069,18 +37671,15 @@ private LoggableAction(int value) { } /** - * - * *
      * Loggable action states.
      * 
* * Protobuf enum {@code google.storagetransfer.v1.LoggingConfig.LoggableActionState} */ - public enum LoggableActionState implements com.google.protobuf.ProtocolMessageEnum { + public enum LoggableActionState + implements com.google.protobuf.ProtocolMessageEnum { /** - * - * *
        * Default value. This value is unused.
        * 
@@ -39089,8 +37688,6 @@ public enum LoggableActionState implements com.google.protobuf.ProtocolMessageEn */ LOGGABLE_ACTION_STATE_UNSPECIFIED(0), /** - * - * *
        * `LoggableAction` completed successfully. `SUCCEEDED` actions are
        * logged as [INFO][google.logging.type.LogSeverity.INFO].
@@ -39100,8 +37697,6 @@ public enum LoggableActionState implements com.google.protobuf.ProtocolMessageEn
        */
       SUCCEEDED(1),
       /**
-       *
-       *
        * 
        * `LoggableAction` terminated in an error state. `FAILED` actions are
        * logged as [ERROR][google.logging.type.LogSeverity.ERROR].
@@ -39114,8 +37709,6 @@ public enum LoggableActionState implements com.google.protobuf.ProtocolMessageEn
       ;
 
       /**
-       *
-       *
        * 
        * Default value. This value is unused.
        * 
@@ -39124,8 +37717,6 @@ public enum LoggableActionState implements com.google.protobuf.ProtocolMessageEn */ public static final int LOGGABLE_ACTION_STATE_UNSPECIFIED_VALUE = 0; /** - * - * *
        * `LoggableAction` completed successfully. `SUCCEEDED` actions are
        * logged as [INFO][google.logging.type.LogSeverity.INFO].
@@ -39135,8 +37726,6 @@ public enum LoggableActionState implements com.google.protobuf.ProtocolMessageEn
        */
       public static final int SUCCEEDED_VALUE = 1;
       /**
-       *
-       *
        * 
        * `LoggableAction` terminated in an error state. `FAILED` actions are
        * logged as [ERROR][google.logging.type.LogSeverity.ERROR].
@@ -39146,6 +37735,7 @@ public enum LoggableActionState implements com.google.protobuf.ProtocolMessageEn
        */
       public static final int FAILED_VALUE = 2;
 
+
       public final int getNumber() {
         if (this == UNRECOGNIZED) {
           throw new java.lang.IllegalArgumentException(
@@ -39170,14 +37760,10 @@ public static LoggableActionState valueOf(int value) {
        */
       public static LoggableActionState forNumber(int value) {
         switch (value) {
-          case 0:
-            return LOGGABLE_ACTION_STATE_UNSPECIFIED;
-          case 1:
-            return SUCCEEDED;
-          case 2:
-            return FAILED;
-          default:
-            return null;
+          case 0: return LOGGABLE_ACTION_STATE_UNSPECIFIED;
+          case 1: return SUCCEEDED;
+          case 2: return FAILED;
+          default: return null;
         }
       }
 
@@ -39185,31 +37771,29 @@ public static LoggableActionState forNumber(int value) {
           internalGetValueMap() {
         return internalValueMap;
       }
+      private static final com.google.protobuf.Internal.EnumLiteMap<
+          LoggableActionState> internalValueMap =
+            new com.google.protobuf.Internal.EnumLiteMap() {
+              public LoggableActionState findValueByNumber(int number) {
+                return LoggableActionState.forNumber(number);
+              }
+            };
 
-      private static final com.google.protobuf.Internal.EnumLiteMap
-          internalValueMap =
-              new com.google.protobuf.Internal.EnumLiteMap() {
-                public LoggableActionState findValueByNumber(int number) {
-                  return LoggableActionState.forNumber(number);
-                }
-              };
-
-      public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() {
+      public final com.google.protobuf.Descriptors.EnumValueDescriptor
+          getValueDescriptor() {
         if (this == UNRECOGNIZED) {
           throw new java.lang.IllegalStateException(
               "Can't get the descriptor of an unrecognized enum value.");
         }
         return getDescriptor().getValues().get(ordinal());
       }
-
-      public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() {
+      public final com.google.protobuf.Descriptors.EnumDescriptor
+          getDescriptorForType() {
         return getDescriptor();
       }
-
-      public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() {
-        return com.google.storagetransfer.v1.proto.TransferTypes.LoggingConfig.getDescriptor()
-            .getEnumTypes()
-            .get(1);
+      public static final com.google.protobuf.Descriptors.EnumDescriptor
+          getDescriptor() {
+        return com.google.storagetransfer.v1.proto.TransferTypes.LoggingConfig.getDescriptor().getEnumTypes().get(1);
       }
 
       private static final LoggableActionState[] VALUES = values();
@@ -39217,7 +37801,8 @@ public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor
       public static LoggableActionState valueOf(
           com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
         if (desc.getType() != getDescriptor()) {
-          throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type.");
+          throw new java.lang.IllegalArgumentException(
+            "EnumValueDescriptor is not for this type.");
         }
         if (desc.getIndex() == -1) {
           return UNRECOGNIZED;
@@ -39237,60 +37822,38 @@ private LoggableActionState(int value) {
     public static final int LOG_ACTIONS_FIELD_NUMBER = 1;
     private java.util.List logActions_;
     private static final com.google.protobuf.Internal.ListAdapter.Converter<
-            java.lang.Integer,
-            com.google.storagetransfer.v1.proto.TransferTypes.LoggingConfig.LoggableAction>
-        logActions_converter_ =
+        java.lang.Integer, com.google.storagetransfer.v1.proto.TransferTypes.LoggingConfig.LoggableAction> logActions_converter_ =
             new com.google.protobuf.Internal.ListAdapter.Converter<
-                java.lang.Integer,
-                com.google.storagetransfer.v1.proto.TransferTypes.LoggingConfig.LoggableAction>() {
-              public com.google.storagetransfer.v1.proto.TransferTypes.LoggingConfig.LoggableAction
-                  convert(java.lang.Integer from) {
+                java.lang.Integer, com.google.storagetransfer.v1.proto.TransferTypes.LoggingConfig.LoggableAction>() {
+              public com.google.storagetransfer.v1.proto.TransferTypes.LoggingConfig.LoggableAction convert(java.lang.Integer from) {
                 @SuppressWarnings("deprecation")
-                com.google.storagetransfer.v1.proto.TransferTypes.LoggingConfig.LoggableAction
-                    result =
-                        com.google.storagetransfer.v1.proto.TransferTypes.LoggingConfig
-                            .LoggableAction.valueOf(from);
-                return result == null
-                    ? com.google.storagetransfer.v1.proto.TransferTypes.LoggingConfig.LoggableAction
-                        .UNRECOGNIZED
-                    : result;
+                com.google.storagetransfer.v1.proto.TransferTypes.LoggingConfig.LoggableAction result = com.google.storagetransfer.v1.proto.TransferTypes.LoggingConfig.LoggableAction.valueOf(from);
+                return result == null ? com.google.storagetransfer.v1.proto.TransferTypes.LoggingConfig.LoggableAction.UNRECOGNIZED : result;
               }
             };
     /**
-     *
-     *
      * 
      * Specifies the actions to be logged. If empty, no logs are generated.
      * Not supported for transfers with PosixFilesystem data sources; use
      * [enable_onprem_gcs_transfer_logs][google.storagetransfer.v1.LoggingConfig.enable_onprem_gcs_transfer_logs] instead.
      * 
* - * repeated .google.storagetransfer.v1.LoggingConfig.LoggableAction log_actions = 1; - * - * + * repeated .google.storagetransfer.v1.LoggingConfig.LoggableAction log_actions = 1; * @return A list containing the logActions. */ @java.lang.Override - public java.util.List< - com.google.storagetransfer.v1.proto.TransferTypes.LoggingConfig.LoggableAction> - getLogActionsList() { + public java.util.List getLogActionsList() { return new com.google.protobuf.Internal.ListAdapter< - java.lang.Integer, - com.google.storagetransfer.v1.proto.TransferTypes.LoggingConfig.LoggableAction>( - logActions_, logActions_converter_); + java.lang.Integer, com.google.storagetransfer.v1.proto.TransferTypes.LoggingConfig.LoggableAction>(logActions_, logActions_converter_); } /** - * - * *
      * Specifies the actions to be logged. If empty, no logs are generated.
      * Not supported for transfers with PosixFilesystem data sources; use
      * [enable_onprem_gcs_transfer_logs][google.storagetransfer.v1.LoggingConfig.enable_onprem_gcs_transfer_logs] instead.
      * 
* - * repeated .google.storagetransfer.v1.LoggingConfig.LoggableAction log_actions = 1; - * - * + * repeated .google.storagetransfer.v1.LoggingConfig.LoggableAction log_actions = 1; * @return The count of logActions. */ @java.lang.Override @@ -39298,55 +37861,43 @@ public int getLogActionsCount() { return logActions_.size(); } /** - * - * *
      * Specifies the actions to be logged. If empty, no logs are generated.
      * Not supported for transfers with PosixFilesystem data sources; use
      * [enable_onprem_gcs_transfer_logs][google.storagetransfer.v1.LoggingConfig.enable_onprem_gcs_transfer_logs] instead.
      * 
* - * repeated .google.storagetransfer.v1.LoggingConfig.LoggableAction log_actions = 1; - * - * + * repeated .google.storagetransfer.v1.LoggingConfig.LoggableAction log_actions = 1; * @param index The index of the element to return. * @return The logActions at the given index. */ @java.lang.Override - public com.google.storagetransfer.v1.proto.TransferTypes.LoggingConfig.LoggableAction - getLogActions(int index) { + public com.google.storagetransfer.v1.proto.TransferTypes.LoggingConfig.LoggableAction getLogActions(int index) { return logActions_converter_.convert(logActions_.get(index)); } /** - * - * *
      * Specifies the actions to be logged. If empty, no logs are generated.
      * Not supported for transfers with PosixFilesystem data sources; use
      * [enable_onprem_gcs_transfer_logs][google.storagetransfer.v1.LoggingConfig.enable_onprem_gcs_transfer_logs] instead.
      * 
* - * repeated .google.storagetransfer.v1.LoggingConfig.LoggableAction log_actions = 1; - * - * + * repeated .google.storagetransfer.v1.LoggingConfig.LoggableAction log_actions = 1; * @return A list containing the enum numeric values on the wire for logActions. */ @java.lang.Override - public java.util.List getLogActionsValueList() { + public java.util.List + getLogActionsValueList() { return logActions_; } /** - * - * *
      * Specifies the actions to be logged. If empty, no logs are generated.
      * Not supported for transfers with PosixFilesystem data sources; use
      * [enable_onprem_gcs_transfer_logs][google.storagetransfer.v1.LoggingConfig.enable_onprem_gcs_transfer_logs] instead.
      * 
* - * repeated .google.storagetransfer.v1.LoggingConfig.LoggableAction log_actions = 1; - * - * + * repeated .google.storagetransfer.v1.LoggingConfig.LoggableAction log_actions = 1; * @param index The index of the value to return. * @return The enum numeric value on the wire of logActions at the given index. */ @@ -39354,70 +37905,43 @@ public java.util.List getLogActionsValueList() { public int getLogActionsValue(int index) { return logActions_.get(index); } - private int logActionsMemoizedSerializedSize; public static final int LOG_ACTION_STATES_FIELD_NUMBER = 2; private java.util.List logActionStates_; private static final com.google.protobuf.Internal.ListAdapter.Converter< - java.lang.Integer, - com.google.storagetransfer.v1.proto.TransferTypes.LoggingConfig.LoggableActionState> - logActionStates_converter_ = + java.lang.Integer, com.google.storagetransfer.v1.proto.TransferTypes.LoggingConfig.LoggableActionState> logActionStates_converter_ = new com.google.protobuf.Internal.ListAdapter.Converter< - java.lang.Integer, - com.google.storagetransfer.v1.proto.TransferTypes.LoggingConfig - .LoggableActionState>() { - public com.google.storagetransfer.v1.proto.TransferTypes.LoggingConfig - .LoggableActionState - convert(java.lang.Integer from) { + java.lang.Integer, com.google.storagetransfer.v1.proto.TransferTypes.LoggingConfig.LoggableActionState>() { + public com.google.storagetransfer.v1.proto.TransferTypes.LoggingConfig.LoggableActionState convert(java.lang.Integer from) { @SuppressWarnings("deprecation") - com.google.storagetransfer.v1.proto.TransferTypes.LoggingConfig.LoggableActionState - result = - com.google.storagetransfer.v1.proto.TransferTypes.LoggingConfig - .LoggableActionState.valueOf(from); - return result == null - ? com.google.storagetransfer.v1.proto.TransferTypes.LoggingConfig - .LoggableActionState.UNRECOGNIZED - : result; + com.google.storagetransfer.v1.proto.TransferTypes.LoggingConfig.LoggableActionState result = com.google.storagetransfer.v1.proto.TransferTypes.LoggingConfig.LoggableActionState.valueOf(from); + return result == null ? com.google.storagetransfer.v1.proto.TransferTypes.LoggingConfig.LoggableActionState.UNRECOGNIZED : result; } }; /** - * - * *
      * States in which `log_actions` are logged. If empty, no logs are generated.
      * Not supported for transfers with PosixFilesystem data sources; use
      * [enable_onprem_gcs_transfer_logs][google.storagetransfer.v1.LoggingConfig.enable_onprem_gcs_transfer_logs] instead.
      * 
* - * - * repeated .google.storagetransfer.v1.LoggingConfig.LoggableActionState log_action_states = 2; - * - * + * repeated .google.storagetransfer.v1.LoggingConfig.LoggableActionState log_action_states = 2; * @return A list containing the logActionStates. */ @java.lang.Override - public java.util.List< - com.google.storagetransfer.v1.proto.TransferTypes.LoggingConfig.LoggableActionState> - getLogActionStatesList() { + public java.util.List getLogActionStatesList() { return new com.google.protobuf.Internal.ListAdapter< - java.lang.Integer, - com.google.storagetransfer.v1.proto.TransferTypes.LoggingConfig.LoggableActionState>( - logActionStates_, logActionStates_converter_); + java.lang.Integer, com.google.storagetransfer.v1.proto.TransferTypes.LoggingConfig.LoggableActionState>(logActionStates_, logActionStates_converter_); } /** - * - * *
      * States in which `log_actions` are logged. If empty, no logs are generated.
      * Not supported for transfers with PosixFilesystem data sources; use
      * [enable_onprem_gcs_transfer_logs][google.storagetransfer.v1.LoggingConfig.enable_onprem_gcs_transfer_logs] instead.
      * 
* - * - * repeated .google.storagetransfer.v1.LoggingConfig.LoggableActionState log_action_states = 2; - * - * + * repeated .google.storagetransfer.v1.LoggingConfig.LoggableActionState log_action_states = 2; * @return The count of logActionStates. */ @java.lang.Override @@ -39425,58 +37949,43 @@ public int getLogActionStatesCount() { return logActionStates_.size(); } /** - * - * *
      * States in which `log_actions` are logged. If empty, no logs are generated.
      * Not supported for transfers with PosixFilesystem data sources; use
      * [enable_onprem_gcs_transfer_logs][google.storagetransfer.v1.LoggingConfig.enable_onprem_gcs_transfer_logs] instead.
      * 
* - * - * repeated .google.storagetransfer.v1.LoggingConfig.LoggableActionState log_action_states = 2; - * - * + * repeated .google.storagetransfer.v1.LoggingConfig.LoggableActionState log_action_states = 2; * @param index The index of the element to return. * @return The logActionStates at the given index. */ @java.lang.Override - public com.google.storagetransfer.v1.proto.TransferTypes.LoggingConfig.LoggableActionState - getLogActionStates(int index) { + public com.google.storagetransfer.v1.proto.TransferTypes.LoggingConfig.LoggableActionState getLogActionStates(int index) { return logActionStates_converter_.convert(logActionStates_.get(index)); } /** - * - * *
      * States in which `log_actions` are logged. If empty, no logs are generated.
      * Not supported for transfers with PosixFilesystem data sources; use
      * [enable_onprem_gcs_transfer_logs][google.storagetransfer.v1.LoggingConfig.enable_onprem_gcs_transfer_logs] instead.
      * 
* - * - * repeated .google.storagetransfer.v1.LoggingConfig.LoggableActionState log_action_states = 2; - * - * + * repeated .google.storagetransfer.v1.LoggingConfig.LoggableActionState log_action_states = 2; * @return A list containing the enum numeric values on the wire for logActionStates. */ @java.lang.Override - public java.util.List getLogActionStatesValueList() { + public java.util.List + getLogActionStatesValueList() { return logActionStates_; } /** - * - * *
      * States in which `log_actions` are logged. If empty, no logs are generated.
      * Not supported for transfers with PosixFilesystem data sources; use
      * [enable_onprem_gcs_transfer_logs][google.storagetransfer.v1.LoggingConfig.enable_onprem_gcs_transfer_logs] instead.
      * 
* - * - * repeated .google.storagetransfer.v1.LoggingConfig.LoggableActionState log_action_states = 2; - * - * + * repeated .google.storagetransfer.v1.LoggingConfig.LoggableActionState log_action_states = 2; * @param index The index of the value to return. * @return The enum numeric value on the wire of logActionStates at the given index. */ @@ -39484,21 +37993,17 @@ public java.util.List getLogActionStatesValueList() { public int getLogActionStatesValue(int index) { return logActionStates_.get(index); } - private int logActionStatesMemoizedSerializedSize; public static final int ENABLE_ONPREM_GCS_TRANSFER_LOGS_FIELD_NUMBER = 3; private boolean enableOnpremGcsTransferLogs_; /** - * - * *
      * For transfers with a PosixFilesystem source, this option enables the Cloud
      * Storage transfer logs for this transfer.
      * 
* * bool enable_onprem_gcs_transfer_logs = 3; - * * @return The enableOnpremGcsTransferLogs. */ @java.lang.Override @@ -39507,7 +38012,6 @@ public boolean getEnableOnpremGcsTransferLogs() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -39519,7 +38023,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 { getSerializedSize(); if (getLogActionsList().size() > 0) { output.writeUInt32NoTag(10); @@ -39550,32 +38055,30 @@ public int getSerializedSize() { { int dataSize = 0; for (int i = 0; i < logActions_.size(); i++) { - dataSize += - com.google.protobuf.CodedOutputStream.computeEnumSizeNoTag(logActions_.get(i)); + dataSize += com.google.protobuf.CodedOutputStream + .computeEnumSizeNoTag(logActions_.get(i)); } size += dataSize; - if (!getLogActionsList().isEmpty()) { - size += 1; - size += com.google.protobuf.CodedOutputStream.computeUInt32SizeNoTag(dataSize); - } - logActionsMemoizedSerializedSize = dataSize; + if (!getLogActionsList().isEmpty()) { size += 1; + size += com.google.protobuf.CodedOutputStream + .computeUInt32SizeNoTag(dataSize); + }logActionsMemoizedSerializedSize = dataSize; } { int dataSize = 0; for (int i = 0; i < logActionStates_.size(); i++) { - dataSize += - com.google.protobuf.CodedOutputStream.computeEnumSizeNoTag(logActionStates_.get(i)); + dataSize += com.google.protobuf.CodedOutputStream + .computeEnumSizeNoTag(logActionStates_.get(i)); } size += dataSize; - if (!getLogActionStatesList().isEmpty()) { - size += 1; - size += com.google.protobuf.CodedOutputStream.computeUInt32SizeNoTag(dataSize); - } - logActionStatesMemoizedSerializedSize = dataSize; + if (!getLogActionStatesList().isEmpty()) { size += 1; + size += com.google.protobuf.CodedOutputStream + .computeUInt32SizeNoTag(dataSize); + }logActionStatesMemoizedSerializedSize = dataSize; } if (enableOnpremGcsTransferLogs_ != false) { - size += - com.google.protobuf.CodedOutputStream.computeBoolSize(3, enableOnpremGcsTransferLogs_); + size += com.google.protobuf.CodedOutputStream + .computeBoolSize(3, enableOnpremGcsTransferLogs_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -39585,17 +38088,17 @@ 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.storagetransfer.v1.proto.TransferTypes.LoggingConfig)) { return super.equals(obj); } - com.google.storagetransfer.v1.proto.TransferTypes.LoggingConfig other = - (com.google.storagetransfer.v1.proto.TransferTypes.LoggingConfig) obj; + com.google.storagetransfer.v1.proto.TransferTypes.LoggingConfig other = (com.google.storagetransfer.v1.proto.TransferTypes.LoggingConfig) obj; if (!logActions_.equals(other.logActions_)) return false; if (!logActionStates_.equals(other.logActionStates_)) return false; - if (getEnableOnpremGcsTransferLogs() != other.getEnableOnpremGcsTransferLogs()) return false; + if (getEnableOnpremGcsTransferLogs() + != other.getEnableOnpremGcsTransferLogs()) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -39616,103 +38119,95 @@ public int hashCode() { hash = (53 * hash) + logActionStates_.hashCode(); } hash = (37 * hash) + ENABLE_ONPREM_GCS_TRANSFER_LOGS_FIELD_NUMBER; - hash = - (53 * hash) + com.google.protobuf.Internal.hashBoolean(getEnableOnpremGcsTransferLogs()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( + getEnableOnpremGcsTransferLogs()); hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static com.google.storagetransfer.v1.proto.TransferTypes.LoggingConfig parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.storagetransfer.v1.proto.TransferTypes.LoggingConfig 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.storagetransfer.v1.proto.TransferTypes.LoggingConfig parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.storagetransfer.v1.proto.TransferTypes.LoggingConfig 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.storagetransfer.v1.proto.TransferTypes.LoggingConfig parseFrom( - byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.storagetransfer.v1.proto.TransferTypes.LoggingConfig parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.storagetransfer.v1.proto.TransferTypes.LoggingConfig 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.storagetransfer.v1.proto.TransferTypes.LoggingConfig parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.storagetransfer.v1.proto.TransferTypes.LoggingConfig parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.storagetransfer.v1.proto.TransferTypes.LoggingConfig 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.storagetransfer.v1.proto.TransferTypes.LoggingConfig - parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.storagetransfer.v1.proto.TransferTypes.LoggingConfig parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - - public static com.google.storagetransfer.v1.proto.TransferTypes.LoggingConfig - parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + public static com.google.storagetransfer.v1.proto.TransferTypes.LoggingConfig parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.storagetransfer.v1.proto.TransferTypes.LoggingConfig 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.storagetransfer.v1.proto.TransferTypes.LoggingConfig 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.storagetransfer.v1.proto.TransferTypes.LoggingConfig prototype) { + public static Builder newBuilder(com.google.storagetransfer.v1.proto.TransferTypes.LoggingConfig 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 @@ -39722,8 +38217,6 @@ protected Builder newBuilderForType( return builder; } /** - * - * *
      * Specifies the logging behavior for transfer operations.
      * For cloud-to-cloud transfers, logs are sent to Cloud Logging. See
@@ -39739,41 +38232,38 @@ protected Builder newBuilderForType(
      *
      * Protobuf type {@code google.storagetransfer.v1.LoggingConfig}
      */
-    public static final class Builder
-        extends com.google.protobuf.GeneratedMessageV3.Builder
-        implements
+    public static final class Builder extends
+        com.google.protobuf.GeneratedMessageV3.Builder implements
         // @@protoc_insertion_point(builder_implements:google.storagetransfer.v1.LoggingConfig)
         com.google.storagetransfer.v1.proto.TransferTypes.LoggingConfigOrBuilder {
-      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-        return com.google.storagetransfer.v1.proto.TransferTypes
-            .internal_static_google_storagetransfer_v1_LoggingConfig_descriptor;
+      public static final com.google.protobuf.Descriptors.Descriptor
+          getDescriptor() {
+        return com.google.storagetransfer.v1.proto.TransferTypes.internal_static_google_storagetransfer_v1_LoggingConfig_descriptor;
       }
 
       @java.lang.Override
       protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
           internalGetFieldAccessorTable() {
-        return com.google.storagetransfer.v1.proto.TransferTypes
-            .internal_static_google_storagetransfer_v1_LoggingConfig_fieldAccessorTable
+        return com.google.storagetransfer.v1.proto.TransferTypes.internal_static_google_storagetransfer_v1_LoggingConfig_fieldAccessorTable
             .ensureFieldAccessorsInitialized(
-                com.google.storagetransfer.v1.proto.TransferTypes.LoggingConfig.class,
-                com.google.storagetransfer.v1.proto.TransferTypes.LoggingConfig.Builder.class);
+                com.google.storagetransfer.v1.proto.TransferTypes.LoggingConfig.class, com.google.storagetransfer.v1.proto.TransferTypes.LoggingConfig.Builder.class);
       }
 
-      // Construct using
-      // com.google.storagetransfer.v1.proto.TransferTypes.LoggingConfig.newBuilder()
+      // Construct using com.google.storagetransfer.v1.proto.TransferTypes.LoggingConfig.newBuilder()
       private Builder() {
         maybeForceBuilderInitialization();
       }
 
-      private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+      private Builder(
+          com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
         super(parent);
         maybeForceBuilderInitialization();
       }
-
       private void maybeForceBuilderInitialization() {
-        if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {}
+        if (com.google.protobuf.GeneratedMessageV3
+                .alwaysUseFieldBuilders) {
+        }
       }
-
       @java.lang.Override
       public Builder clear() {
         super.clear();
@@ -39787,14 +38277,13 @@ public Builder clear() {
       }
 
       @java.lang.Override
-      public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-        return com.google.storagetransfer.v1.proto.TransferTypes
-            .internal_static_google_storagetransfer_v1_LoggingConfig_descriptor;
+      public com.google.protobuf.Descriptors.Descriptor
+          getDescriptorForType() {
+        return com.google.storagetransfer.v1.proto.TransferTypes.internal_static_google_storagetransfer_v1_LoggingConfig_descriptor;
       }
 
       @java.lang.Override
-      public com.google.storagetransfer.v1.proto.TransferTypes.LoggingConfig
-          getDefaultInstanceForType() {
+      public com.google.storagetransfer.v1.proto.TransferTypes.LoggingConfig getDefaultInstanceForType() {
         return com.google.storagetransfer.v1.proto.TransferTypes.LoggingConfig.getDefaultInstance();
       }
 
@@ -39809,8 +38298,7 @@ public com.google.storagetransfer.v1.proto.TransferTypes.LoggingConfig build() {
 
       @java.lang.Override
       public com.google.storagetransfer.v1.proto.TransferTypes.LoggingConfig buildPartial() {
-        com.google.storagetransfer.v1.proto.TransferTypes.LoggingConfig result =
-            new com.google.storagetransfer.v1.proto.TransferTypes.LoggingConfig(this);
+        com.google.storagetransfer.v1.proto.TransferTypes.LoggingConfig result = new com.google.storagetransfer.v1.proto.TransferTypes.LoggingConfig(this);
         int from_bitField0_ = bitField0_;
         if (((bitField0_ & 0x00000001) != 0)) {
           logActions_ = java.util.Collections.unmodifiableList(logActions_);
@@ -39831,52 +38319,46 @@ public com.google.storagetransfer.v1.proto.TransferTypes.LoggingConfig buildPart
       public Builder clone() {
         return super.clone();
       }
-
       @java.lang.Override
       public Builder setField(
-          com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+          com.google.protobuf.Descriptors.FieldDescriptor field,
+          java.lang.Object value) {
         return super.setField(field, value);
       }
-
       @java.lang.Override
-      public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+      public Builder clearField(
+          com.google.protobuf.Descriptors.FieldDescriptor field) {
         return super.clearField(field);
       }
-
       @java.lang.Override
-      public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+      public Builder clearOneof(
+          com.google.protobuf.Descriptors.OneofDescriptor oneof) {
         return super.clearOneof(oneof);
       }
-
       @java.lang.Override
       public Builder setRepeatedField(
           com.google.protobuf.Descriptors.FieldDescriptor field,
-          int index,
-          java.lang.Object value) {
+          int index, java.lang.Object value) {
         return super.setRepeatedField(field, index, value);
       }
-
       @java.lang.Override
       public Builder addRepeatedField(
-          com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+          com.google.protobuf.Descriptors.FieldDescriptor field,
+          java.lang.Object value) {
         return super.addRepeatedField(field, value);
       }
-
       @java.lang.Override
       public Builder mergeFrom(com.google.protobuf.Message other) {
         if (other instanceof com.google.storagetransfer.v1.proto.TransferTypes.LoggingConfig) {
-          return mergeFrom((com.google.storagetransfer.v1.proto.TransferTypes.LoggingConfig) other);
+          return mergeFrom((com.google.storagetransfer.v1.proto.TransferTypes.LoggingConfig)other);
         } else {
           super.mergeFrom(other);
           return this;
         }
       }
 
-      public Builder mergeFrom(
-          com.google.storagetransfer.v1.proto.TransferTypes.LoggingConfig other) {
-        if (other
-            == com.google.storagetransfer.v1.proto.TransferTypes.LoggingConfig.getDefaultInstance())
-          return this;
+      public Builder mergeFrom(com.google.storagetransfer.v1.proto.TransferTypes.LoggingConfig other) {
+        if (other == com.google.storagetransfer.v1.proto.TransferTypes.LoggingConfig.getDefaultInstance()) return this;
         if (!other.logActions_.isEmpty()) {
           if (logActions_.isEmpty()) {
             logActions_ = other.logActions_;
@@ -39919,9 +38401,7 @@ public Builder mergeFrom(
         try {
           parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
         } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-          parsedMessage =
-              (com.google.storagetransfer.v1.proto.TransferTypes.LoggingConfig)
-                  e.getUnfinishedMessage();
+          parsedMessage = (com.google.storagetransfer.v1.proto.TransferTypes.LoggingConfig) e.getUnfinishedMessage();
           throw e.unwrapIOException();
         } finally {
           if (parsedMessage != null) {
@@ -39930,11 +38410,10 @@ public Builder mergeFrom(
         }
         return this;
       }
-
       private int bitField0_;
 
-      private java.util.List logActions_ = java.util.Collections.emptyList();
-
+      private java.util.List logActions_ =
+        java.util.Collections.emptyList();
       private void ensureLogActionsIsMutable() {
         if (!((bitField0_ & 0x00000001) != 0)) {
           logActions_ = new java.util.ArrayList(logActions_);
@@ -39942,82 +38421,60 @@ private void ensureLogActionsIsMutable() {
         }
       }
       /**
-       *
-       *
        * 
        * Specifies the actions to be logged. If empty, no logs are generated.
        * Not supported for transfers with PosixFilesystem data sources; use
        * [enable_onprem_gcs_transfer_logs][google.storagetransfer.v1.LoggingConfig.enable_onprem_gcs_transfer_logs] instead.
        * 
* - * repeated .google.storagetransfer.v1.LoggingConfig.LoggableAction log_actions = 1; - * - * + * repeated .google.storagetransfer.v1.LoggingConfig.LoggableAction log_actions = 1; * @return A list containing the logActions. */ - public java.util.List< - com.google.storagetransfer.v1.proto.TransferTypes.LoggingConfig.LoggableAction> - getLogActionsList() { + public java.util.List getLogActionsList() { return new com.google.protobuf.Internal.ListAdapter< - java.lang.Integer, - com.google.storagetransfer.v1.proto.TransferTypes.LoggingConfig.LoggableAction>( - logActions_, logActions_converter_); + java.lang.Integer, com.google.storagetransfer.v1.proto.TransferTypes.LoggingConfig.LoggableAction>(logActions_, logActions_converter_); } /** - * - * *
        * Specifies the actions to be logged. If empty, no logs are generated.
        * Not supported for transfers with PosixFilesystem data sources; use
        * [enable_onprem_gcs_transfer_logs][google.storagetransfer.v1.LoggingConfig.enable_onprem_gcs_transfer_logs] instead.
        * 
* - * repeated .google.storagetransfer.v1.LoggingConfig.LoggableAction log_actions = 1; - * - * + * repeated .google.storagetransfer.v1.LoggingConfig.LoggableAction log_actions = 1; * @return The count of logActions. */ public int getLogActionsCount() { return logActions_.size(); } /** - * - * *
        * Specifies the actions to be logged. If empty, no logs are generated.
        * Not supported for transfers with PosixFilesystem data sources; use
        * [enable_onprem_gcs_transfer_logs][google.storagetransfer.v1.LoggingConfig.enable_onprem_gcs_transfer_logs] instead.
        * 
* - * repeated .google.storagetransfer.v1.LoggingConfig.LoggableAction log_actions = 1; - * - * + * repeated .google.storagetransfer.v1.LoggingConfig.LoggableAction log_actions = 1; * @param index The index of the element to return. * @return The logActions at the given index. */ - public com.google.storagetransfer.v1.proto.TransferTypes.LoggingConfig.LoggableAction - getLogActions(int index) { + public com.google.storagetransfer.v1.proto.TransferTypes.LoggingConfig.LoggableAction getLogActions(int index) { return logActions_converter_.convert(logActions_.get(index)); } /** - * - * *
        * Specifies the actions to be logged. If empty, no logs are generated.
        * Not supported for transfers with PosixFilesystem data sources; use
        * [enable_onprem_gcs_transfer_logs][google.storagetransfer.v1.LoggingConfig.enable_onprem_gcs_transfer_logs] instead.
        * 
* - * repeated .google.storagetransfer.v1.LoggingConfig.LoggableAction log_actions = 1; - * - * + * repeated .google.storagetransfer.v1.LoggingConfig.LoggableAction log_actions = 1; * @param index The index to set the value at. * @param value The logActions to set. * @return This builder for chaining. */ public Builder setLogActions( - int index, - com.google.storagetransfer.v1.proto.TransferTypes.LoggingConfig.LoggableAction value) { + int index, com.google.storagetransfer.v1.proto.TransferTypes.LoggingConfig.LoggableAction value) { if (value == null) { throw new NullPointerException(); } @@ -40027,22 +38484,17 @@ public Builder setLogActions( return this; } /** - * - * *
        * Specifies the actions to be logged. If empty, no logs are generated.
        * Not supported for transfers with PosixFilesystem data sources; use
        * [enable_onprem_gcs_transfer_logs][google.storagetransfer.v1.LoggingConfig.enable_onprem_gcs_transfer_logs] instead.
        * 
* - * repeated .google.storagetransfer.v1.LoggingConfig.LoggableAction log_actions = 1; - * - * + * repeated .google.storagetransfer.v1.LoggingConfig.LoggableAction log_actions = 1; * @param value The logActions to add. * @return This builder for chaining. */ - public Builder addLogActions( - com.google.storagetransfer.v1.proto.TransferTypes.LoggingConfig.LoggableAction value) { + public Builder addLogActions(com.google.storagetransfer.v1.proto.TransferTypes.LoggingConfig.LoggableAction value) { if (value == null) { throw new NullPointerException(); } @@ -40052,46 +38504,33 @@ public Builder addLogActions( return this; } /** - * - * *
        * Specifies the actions to be logged. If empty, no logs are generated.
        * Not supported for transfers with PosixFilesystem data sources; use
        * [enable_onprem_gcs_transfer_logs][google.storagetransfer.v1.LoggingConfig.enable_onprem_gcs_transfer_logs] instead.
        * 
* - * repeated .google.storagetransfer.v1.LoggingConfig.LoggableAction log_actions = 1; - * - * + * repeated .google.storagetransfer.v1.LoggingConfig.LoggableAction log_actions = 1; * @param values The logActions to add. * @return This builder for chaining. */ public Builder addAllLogActions( - java.lang.Iterable< - ? extends - com.google.storagetransfer.v1.proto.TransferTypes.LoggingConfig - .LoggableAction> - values) { + java.lang.Iterable values) { ensureLogActionsIsMutable(); - for (com.google.storagetransfer.v1.proto.TransferTypes.LoggingConfig.LoggableAction value : - values) { + for (com.google.storagetransfer.v1.proto.TransferTypes.LoggingConfig.LoggableAction value : values) { logActions_.add(value.getNumber()); } onChanged(); return this; } /** - * - * *
        * Specifies the actions to be logged. If empty, no logs are generated.
        * Not supported for transfers with PosixFilesystem data sources; use
        * [enable_onprem_gcs_transfer_logs][google.storagetransfer.v1.LoggingConfig.enable_onprem_gcs_transfer_logs] instead.
        * 
* - * repeated .google.storagetransfer.v1.LoggingConfig.LoggableAction log_actions = 1; - * - * + * repeated .google.storagetransfer.v1.LoggingConfig.LoggableAction log_actions = 1; * @return This builder for chaining. */ public Builder clearLogActions() { @@ -40101,34 +38540,27 @@ public Builder clearLogActions() { return this; } /** - * - * *
        * Specifies the actions to be logged. If empty, no logs are generated.
        * Not supported for transfers with PosixFilesystem data sources; use
        * [enable_onprem_gcs_transfer_logs][google.storagetransfer.v1.LoggingConfig.enable_onprem_gcs_transfer_logs] instead.
        * 
* - * repeated .google.storagetransfer.v1.LoggingConfig.LoggableAction log_actions = 1; - * - * + * repeated .google.storagetransfer.v1.LoggingConfig.LoggableAction log_actions = 1; * @return A list containing the enum numeric values on the wire for logActions. */ - public java.util.List getLogActionsValueList() { + public java.util.List + getLogActionsValueList() { return java.util.Collections.unmodifiableList(logActions_); } /** - * - * *
        * Specifies the actions to be logged. If empty, no logs are generated.
        * Not supported for transfers with PosixFilesystem data sources; use
        * [enable_onprem_gcs_transfer_logs][google.storagetransfer.v1.LoggingConfig.enable_onprem_gcs_transfer_logs] instead.
        * 
* - * repeated .google.storagetransfer.v1.LoggingConfig.LoggableAction log_actions = 1; - * - * + * repeated .google.storagetransfer.v1.LoggingConfig.LoggableAction log_actions = 1; * @param index The index of the value to return. * @return The enum numeric value on the wire of logActions at the given index. */ @@ -40136,39 +38568,32 @@ public int getLogActionsValue(int index) { return logActions_.get(index); } /** - * - * *
        * Specifies the actions to be logged. If empty, no logs are generated.
        * Not supported for transfers with PosixFilesystem data sources; use
        * [enable_onprem_gcs_transfer_logs][google.storagetransfer.v1.LoggingConfig.enable_onprem_gcs_transfer_logs] instead.
        * 
* - * repeated .google.storagetransfer.v1.LoggingConfig.LoggableAction log_actions = 1; - * - * + * repeated .google.storagetransfer.v1.LoggingConfig.LoggableAction log_actions = 1; * @param index The index to set the value at. * @param value The enum numeric value on the wire for logActions to set. * @return This builder for chaining. */ - public Builder setLogActionsValue(int index, int value) { + public Builder setLogActionsValue( + int index, int value) { ensureLogActionsIsMutable(); logActions_.set(index, value); onChanged(); return this; } /** - * - * *
        * Specifies the actions to be logged. If empty, no logs are generated.
        * Not supported for transfers with PosixFilesystem data sources; use
        * [enable_onprem_gcs_transfer_logs][google.storagetransfer.v1.LoggingConfig.enable_onprem_gcs_transfer_logs] instead.
        * 
* - * repeated .google.storagetransfer.v1.LoggingConfig.LoggableAction log_actions = 1; - * - * + * repeated .google.storagetransfer.v1.LoggingConfig.LoggableAction log_actions = 1; * @param value The enum numeric value on the wire for logActions to add. * @return This builder for chaining. */ @@ -40179,21 +38604,18 @@ public Builder addLogActionsValue(int value) { return this; } /** - * - * *
        * Specifies the actions to be logged. If empty, no logs are generated.
        * Not supported for transfers with PosixFilesystem data sources; use
        * [enable_onprem_gcs_transfer_logs][google.storagetransfer.v1.LoggingConfig.enable_onprem_gcs_transfer_logs] instead.
        * 
* - * repeated .google.storagetransfer.v1.LoggingConfig.LoggableAction log_actions = 1; - * - * + * repeated .google.storagetransfer.v1.LoggingConfig.LoggableAction log_actions = 1; * @param values The enum numeric values on the wire for logActions to add. * @return This builder for chaining. */ - public Builder addAllLogActionsValue(java.lang.Iterable values) { + public Builder addAllLogActionsValue( + java.lang.Iterable values) { ensureLogActionsIsMutable(); for (int value : values) { logActions_.add(value); @@ -40203,8 +38625,7 @@ public Builder addAllLogActionsValue(java.lang.Iterable value } private java.util.List logActionStates_ = - java.util.Collections.emptyList(); - + java.util.Collections.emptyList(); private void ensureLogActionStatesIsMutable() { if (!((bitField0_ & 0x00000002) != 0)) { logActionStates_ = new java.util.ArrayList(logActionStates_); @@ -40212,87 +38633,60 @@ private void ensureLogActionStatesIsMutable() { } } /** - * - * *
        * States in which `log_actions` are logged. If empty, no logs are generated.
        * Not supported for transfers with PosixFilesystem data sources; use
        * [enable_onprem_gcs_transfer_logs][google.storagetransfer.v1.LoggingConfig.enable_onprem_gcs_transfer_logs] instead.
        * 
* - * - * repeated .google.storagetransfer.v1.LoggingConfig.LoggableActionState log_action_states = 2; - * - * + * repeated .google.storagetransfer.v1.LoggingConfig.LoggableActionState log_action_states = 2; * @return A list containing the logActionStates. */ - public java.util.List< - com.google.storagetransfer.v1.proto.TransferTypes.LoggingConfig.LoggableActionState> - getLogActionStatesList() { + public java.util.List getLogActionStatesList() { return new com.google.protobuf.Internal.ListAdapter< - java.lang.Integer, - com.google.storagetransfer.v1.proto.TransferTypes.LoggingConfig.LoggableActionState>( - logActionStates_, logActionStates_converter_); + java.lang.Integer, com.google.storagetransfer.v1.proto.TransferTypes.LoggingConfig.LoggableActionState>(logActionStates_, logActionStates_converter_); } /** - * - * *
        * States in which `log_actions` are logged. If empty, no logs are generated.
        * Not supported for transfers with PosixFilesystem data sources; use
        * [enable_onprem_gcs_transfer_logs][google.storagetransfer.v1.LoggingConfig.enable_onprem_gcs_transfer_logs] instead.
        * 
* - * - * repeated .google.storagetransfer.v1.LoggingConfig.LoggableActionState log_action_states = 2; - * - * + * repeated .google.storagetransfer.v1.LoggingConfig.LoggableActionState log_action_states = 2; * @return The count of logActionStates. */ public int getLogActionStatesCount() { return logActionStates_.size(); } /** - * - * *
        * States in which `log_actions` are logged. If empty, no logs are generated.
        * Not supported for transfers with PosixFilesystem data sources; use
        * [enable_onprem_gcs_transfer_logs][google.storagetransfer.v1.LoggingConfig.enable_onprem_gcs_transfer_logs] instead.
        * 
* - * - * repeated .google.storagetransfer.v1.LoggingConfig.LoggableActionState log_action_states = 2; - * - * + * repeated .google.storagetransfer.v1.LoggingConfig.LoggableActionState log_action_states = 2; * @param index The index of the element to return. * @return The logActionStates at the given index. */ - public com.google.storagetransfer.v1.proto.TransferTypes.LoggingConfig.LoggableActionState - getLogActionStates(int index) { + public com.google.storagetransfer.v1.proto.TransferTypes.LoggingConfig.LoggableActionState getLogActionStates(int index) { return logActionStates_converter_.convert(logActionStates_.get(index)); } /** - * - * *
        * States in which `log_actions` are logged. If empty, no logs are generated.
        * Not supported for transfers with PosixFilesystem data sources; use
        * [enable_onprem_gcs_transfer_logs][google.storagetransfer.v1.LoggingConfig.enable_onprem_gcs_transfer_logs] instead.
        * 
* - * - * repeated .google.storagetransfer.v1.LoggingConfig.LoggableActionState log_action_states = 2; - * - * + * repeated .google.storagetransfer.v1.LoggingConfig.LoggableActionState log_action_states = 2; * @param index The index to set the value at. * @param value The logActionStates to set. * @return This builder for chaining. */ public Builder setLogActionStates( - int index, - com.google.storagetransfer.v1.proto.TransferTypes.LoggingConfig.LoggableActionState - value) { + int index, com.google.storagetransfer.v1.proto.TransferTypes.LoggingConfig.LoggableActionState value) { if (value == null) { throw new NullPointerException(); } @@ -40302,24 +38696,17 @@ public Builder setLogActionStates( return this; } /** - * - * *
        * States in which `log_actions` are logged. If empty, no logs are generated.
        * Not supported for transfers with PosixFilesystem data sources; use
        * [enable_onprem_gcs_transfer_logs][google.storagetransfer.v1.LoggingConfig.enable_onprem_gcs_transfer_logs] instead.
        * 
* - * - * repeated .google.storagetransfer.v1.LoggingConfig.LoggableActionState log_action_states = 2; - * - * + * repeated .google.storagetransfer.v1.LoggingConfig.LoggableActionState log_action_states = 2; * @param value The logActionStates to add. * @return This builder for chaining. */ - public Builder addLogActionStates( - com.google.storagetransfer.v1.proto.TransferTypes.LoggingConfig.LoggableActionState - value) { + public Builder addLogActionStates(com.google.storagetransfer.v1.proto.TransferTypes.LoggingConfig.LoggableActionState value) { if (value == null) { throw new NullPointerException(); } @@ -40329,48 +38716,33 @@ public Builder addLogActionStates( return this; } /** - * - * *
        * States in which `log_actions` are logged. If empty, no logs are generated.
        * Not supported for transfers with PosixFilesystem data sources; use
        * [enable_onprem_gcs_transfer_logs][google.storagetransfer.v1.LoggingConfig.enable_onprem_gcs_transfer_logs] instead.
        * 
* - * - * repeated .google.storagetransfer.v1.LoggingConfig.LoggableActionState log_action_states = 2; - * - * + * repeated .google.storagetransfer.v1.LoggingConfig.LoggableActionState log_action_states = 2; * @param values The logActionStates to add. * @return This builder for chaining. */ public Builder addAllLogActionStates( - java.lang.Iterable< - ? extends - com.google.storagetransfer.v1.proto.TransferTypes.LoggingConfig - .LoggableActionState> - values) { + java.lang.Iterable values) { ensureLogActionStatesIsMutable(); - for (com.google.storagetransfer.v1.proto.TransferTypes.LoggingConfig.LoggableActionState - value : values) { + for (com.google.storagetransfer.v1.proto.TransferTypes.LoggingConfig.LoggableActionState value : values) { logActionStates_.add(value.getNumber()); } onChanged(); return this; } /** - * - * *
        * States in which `log_actions` are logged. If empty, no logs are generated.
        * Not supported for transfers with PosixFilesystem data sources; use
        * [enable_onprem_gcs_transfer_logs][google.storagetransfer.v1.LoggingConfig.enable_onprem_gcs_transfer_logs] instead.
        * 
* - * - * repeated .google.storagetransfer.v1.LoggingConfig.LoggableActionState log_action_states = 2; - * - * + * repeated .google.storagetransfer.v1.LoggingConfig.LoggableActionState log_action_states = 2; * @return This builder for chaining. */ public Builder clearLogActionStates() { @@ -40380,36 +38752,27 @@ public Builder clearLogActionStates() { return this; } /** - * - * *
        * States in which `log_actions` are logged. If empty, no logs are generated.
        * Not supported for transfers with PosixFilesystem data sources; use
        * [enable_onprem_gcs_transfer_logs][google.storagetransfer.v1.LoggingConfig.enable_onprem_gcs_transfer_logs] instead.
        * 
* - * - * repeated .google.storagetransfer.v1.LoggingConfig.LoggableActionState log_action_states = 2; - * - * + * repeated .google.storagetransfer.v1.LoggingConfig.LoggableActionState log_action_states = 2; * @return A list containing the enum numeric values on the wire for logActionStates. */ - public java.util.List getLogActionStatesValueList() { + public java.util.List + getLogActionStatesValueList() { return java.util.Collections.unmodifiableList(logActionStates_); } /** - * - * *
        * States in which `log_actions` are logged. If empty, no logs are generated.
        * Not supported for transfers with PosixFilesystem data sources; use
        * [enable_onprem_gcs_transfer_logs][google.storagetransfer.v1.LoggingConfig.enable_onprem_gcs_transfer_logs] instead.
        * 
* - * - * repeated .google.storagetransfer.v1.LoggingConfig.LoggableActionState log_action_states = 2; - * - * + * repeated .google.storagetransfer.v1.LoggingConfig.LoggableActionState log_action_states = 2; * @param index The index of the value to return. * @return The enum numeric value on the wire of logActionStates at the given index. */ @@ -40417,41 +38780,32 @@ public int getLogActionStatesValue(int index) { return logActionStates_.get(index); } /** - * - * *
        * States in which `log_actions` are logged. If empty, no logs are generated.
        * Not supported for transfers with PosixFilesystem data sources; use
        * [enable_onprem_gcs_transfer_logs][google.storagetransfer.v1.LoggingConfig.enable_onprem_gcs_transfer_logs] instead.
        * 
* - * - * repeated .google.storagetransfer.v1.LoggingConfig.LoggableActionState log_action_states = 2; - * - * + * repeated .google.storagetransfer.v1.LoggingConfig.LoggableActionState log_action_states = 2; * @param index The index to set the value at. * @param value The enum numeric value on the wire for logActionStates to set. * @return This builder for chaining. */ - public Builder setLogActionStatesValue(int index, int value) { + public Builder setLogActionStatesValue( + int index, int value) { ensureLogActionStatesIsMutable(); logActionStates_.set(index, value); onChanged(); return this; } /** - * - * *
        * States in which `log_actions` are logged. If empty, no logs are generated.
        * Not supported for transfers with PosixFilesystem data sources; use
        * [enable_onprem_gcs_transfer_logs][google.storagetransfer.v1.LoggingConfig.enable_onprem_gcs_transfer_logs] instead.
        * 
* - * - * repeated .google.storagetransfer.v1.LoggingConfig.LoggableActionState log_action_states = 2; - * - * + * repeated .google.storagetransfer.v1.LoggingConfig.LoggableActionState log_action_states = 2; * @param value The enum numeric value on the wire for logActionStates to add. * @return This builder for chaining. */ @@ -40462,22 +38816,18 @@ public Builder addLogActionStatesValue(int value) { return this; } /** - * - * *
        * States in which `log_actions` are logged. If empty, no logs are generated.
        * Not supported for transfers with PosixFilesystem data sources; use
        * [enable_onprem_gcs_transfer_logs][google.storagetransfer.v1.LoggingConfig.enable_onprem_gcs_transfer_logs] instead.
        * 
* - * - * repeated .google.storagetransfer.v1.LoggingConfig.LoggableActionState log_action_states = 2; - * - * + * repeated .google.storagetransfer.v1.LoggingConfig.LoggableActionState log_action_states = 2; * @param values The enum numeric values on the wire for logActionStates to add. * @return This builder for chaining. */ - public Builder addAllLogActionStatesValue(java.lang.Iterable values) { + public Builder addAllLogActionStatesValue( + java.lang.Iterable values) { ensureLogActionStatesIsMutable(); for (int value : values) { logActionStates_.add(value); @@ -40486,17 +38836,14 @@ public Builder addAllLogActionStatesValue(java.lang.Iterable return this; } - private boolean enableOnpremGcsTransferLogs_; + private boolean enableOnpremGcsTransferLogs_ ; /** - * - * *
        * For transfers with a PosixFilesystem source, this option enables the Cloud
        * Storage transfer logs for this transfer.
        * 
* * bool enable_onprem_gcs_transfer_logs = 3; - * * @return The enableOnpremGcsTransferLogs. */ @java.lang.Override @@ -40504,43 +38851,36 @@ public boolean getEnableOnpremGcsTransferLogs() { return enableOnpremGcsTransferLogs_; } /** - * - * *
        * For transfers with a PosixFilesystem source, this option enables the Cloud
        * Storage transfer logs for this transfer.
        * 
* * bool enable_onprem_gcs_transfer_logs = 3; - * * @param value The enableOnpremGcsTransferLogs to set. * @return This builder for chaining. */ public Builder setEnableOnpremGcsTransferLogs(boolean value) { - + enableOnpremGcsTransferLogs_ = value; onChanged(); return this; } /** - * - * *
        * For transfers with a PosixFilesystem source, this option enables the Cloud
        * Storage transfer logs for this transfer.
        * 
* * bool enable_onprem_gcs_transfer_logs = 3; - * * @return This builder for chaining. */ public Builder clearEnableOnpremGcsTransferLogs() { - + enableOnpremGcsTransferLogs_ = false; onChanged(); return this; } - @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -40553,32 +38893,30 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.storagetransfer.v1.LoggingConfig) } // @@protoc_insertion_point(class_scope:google.storagetransfer.v1.LoggingConfig) - private static final com.google.storagetransfer.v1.proto.TransferTypes.LoggingConfig - DEFAULT_INSTANCE; - + private static final com.google.storagetransfer.v1.proto.TransferTypes.LoggingConfig DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.storagetransfer.v1.proto.TransferTypes.LoggingConfig(); } - public static com.google.storagetransfer.v1.proto.TransferTypes.LoggingConfig - getDefaultInstance() { + public static com.google.storagetransfer.v1.proto.TransferTypes.LoggingConfig getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public LoggingConfig parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new LoggingConfig(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public LoggingConfig parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new LoggingConfig(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -40590,166 +38928,129 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.storagetransfer.v1.proto.TransferTypes.LoggingConfig - getDefaultInstanceForType() { + public com.google.storagetransfer.v1.proto.TransferTypes.LoggingConfig getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } - public interface TransferOperationOrBuilder - extends + public interface TransferOperationOrBuilder extends // @@protoc_insertion_point(interface_extends:google.storagetransfer.v1.TransferOperation) com.google.protobuf.MessageOrBuilder { /** - * - * *
      * A globally unique ID assigned by the system.
      * 
* * string name = 1; - * * @return The name. */ java.lang.String getName(); /** - * - * *
      * A globally unique ID assigned by the system.
      * 
* * string name = 1; - * * @return The bytes for name. */ - com.google.protobuf.ByteString getNameBytes(); + com.google.protobuf.ByteString + getNameBytes(); /** - * - * *
      * The ID of the Google Cloud project that owns the operation.
      * 
* * string project_id = 2; - * * @return The projectId. */ java.lang.String getProjectId(); /** - * - * *
      * The ID of the Google Cloud project that owns the operation.
      * 
* * string project_id = 2; - * * @return The bytes for projectId. */ - com.google.protobuf.ByteString getProjectIdBytes(); + com.google.protobuf.ByteString + getProjectIdBytes(); /** - * - * *
      * Transfer specification.
      * 
* * .google.storagetransfer.v1.TransferSpec transfer_spec = 3; - * * @return Whether the transferSpec field is set. */ boolean hasTransferSpec(); /** - * - * *
      * Transfer specification.
      * 
* * .google.storagetransfer.v1.TransferSpec transfer_spec = 3; - * * @return The transferSpec. */ com.google.storagetransfer.v1.proto.TransferTypes.TransferSpec getTransferSpec(); /** - * - * *
      * Transfer specification.
      * 
* * .google.storagetransfer.v1.TransferSpec transfer_spec = 3; */ - com.google.storagetransfer.v1.proto.TransferTypes.TransferSpecOrBuilder - getTransferSpecOrBuilder(); + com.google.storagetransfer.v1.proto.TransferTypes.TransferSpecOrBuilder getTransferSpecOrBuilder(); /** - * - * *
      * Notification configuration.
      * 
* * .google.storagetransfer.v1.NotificationConfig notification_config = 10; - * * @return Whether the notificationConfig field is set. */ boolean hasNotificationConfig(); /** - * - * *
      * Notification configuration.
      * 
* * .google.storagetransfer.v1.NotificationConfig notification_config = 10; - * * @return The notificationConfig. */ com.google.storagetransfer.v1.proto.TransferTypes.NotificationConfig getNotificationConfig(); /** - * - * *
      * Notification configuration.
      * 
* * .google.storagetransfer.v1.NotificationConfig notification_config = 10; */ - com.google.storagetransfer.v1.proto.TransferTypes.NotificationConfigOrBuilder - getNotificationConfigOrBuilder(); + com.google.storagetransfer.v1.proto.TransferTypes.NotificationConfigOrBuilder getNotificationConfigOrBuilder(); /** - * - * *
      * Start time of this transfer execution.
      * 
* * .google.protobuf.Timestamp start_time = 4; - * * @return Whether the startTime field is set. */ boolean hasStartTime(); /** - * - * *
      * Start time of this transfer execution.
      * 
* * .google.protobuf.Timestamp start_time = 4; - * * @return The startTime. */ com.google.protobuf.Timestamp getStartTime(); /** - * - * *
      * Start time of this transfer execution.
      * 
@@ -40759,32 +39060,24 @@ public interface TransferOperationOrBuilder com.google.protobuf.TimestampOrBuilder getStartTimeOrBuilder(); /** - * - * *
      * End time of this transfer execution.
      * 
* * .google.protobuf.Timestamp end_time = 5; - * * @return Whether the endTime field is set. */ boolean hasEndTime(); /** - * - * *
      * End time of this transfer execution.
      * 
* * .google.protobuf.Timestamp end_time = 5; - * * @return The endTime. */ com.google.protobuf.Timestamp getEndTime(); /** - * - * *
      * End time of this transfer execution.
      * 
@@ -40794,80 +39087,61 @@ public interface TransferOperationOrBuilder com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder(); /** - * - * *
      * Status of the transfer operation.
      * 
* * .google.storagetransfer.v1.TransferOperation.Status status = 6; - * * @return The enum numeric value on the wire for status. */ int getStatusValue(); /** - * - * *
      * Status of the transfer operation.
      * 
* * .google.storagetransfer.v1.TransferOperation.Status status = 6; - * * @return The status. */ com.google.storagetransfer.v1.proto.TransferTypes.TransferOperation.Status getStatus(); /** - * - * *
      * Information about the progress of the transfer operation.
      * 
* * .google.storagetransfer.v1.TransferCounters counters = 7; - * * @return Whether the counters field is set. */ boolean hasCounters(); /** - * - * *
      * Information about the progress of the transfer operation.
      * 
* * .google.storagetransfer.v1.TransferCounters counters = 7; - * * @return The counters. */ com.google.storagetransfer.v1.proto.TransferTypes.TransferCounters getCounters(); /** - * - * *
      * Information about the progress of the transfer operation.
      * 
* * .google.storagetransfer.v1.TransferCounters counters = 7; */ - com.google.storagetransfer.v1.proto.TransferTypes.TransferCountersOrBuilder - getCountersOrBuilder(); + com.google.storagetransfer.v1.proto.TransferTypes.TransferCountersOrBuilder getCountersOrBuilder(); /** - * - * *
      * Summarizes errors encountered with sample error log entries.
      * 
* * repeated .google.storagetransfer.v1.ErrorSummary error_breakdowns = 8; */ - java.util.List + java.util.List getErrorBreakdownsList(); /** - * - * *
      * Summarizes errors encountered with sample error log entries.
      * 
@@ -40876,8 +39150,6 @@ public interface TransferOperationOrBuilder */ com.google.storagetransfer.v1.proto.TransferTypes.ErrorSummary getErrorBreakdowns(int index); /** - * - * *
      * Summarizes errors encountered with sample error log entries.
      * 
@@ -40886,73 +39158,60 @@ public interface TransferOperationOrBuilder */ int getErrorBreakdownsCount(); /** - * - * *
      * Summarizes errors encountered with sample error log entries.
      * 
* * repeated .google.storagetransfer.v1.ErrorSummary error_breakdowns = 8; */ - java.util.List< - ? extends com.google.storagetransfer.v1.proto.TransferTypes.ErrorSummaryOrBuilder> + java.util.List getErrorBreakdownsOrBuilderList(); /** - * - * *
      * Summarizes errors encountered with sample error log entries.
      * 
* * repeated .google.storagetransfer.v1.ErrorSummary error_breakdowns = 8; */ - com.google.storagetransfer.v1.proto.TransferTypes.ErrorSummaryOrBuilder - getErrorBreakdownsOrBuilder(int index); + com.google.storagetransfer.v1.proto.TransferTypes.ErrorSummaryOrBuilder getErrorBreakdownsOrBuilder( + int index); /** - * - * *
      * The name of the transfer job that triggers this transfer operation.
      * 
* * string transfer_job_name = 9; - * * @return The transferJobName. */ java.lang.String getTransferJobName(); /** - * - * *
      * The name of the transfer job that triggers this transfer operation.
      * 
* * string transfer_job_name = 9; - * * @return The bytes for transferJobName. */ - com.google.protobuf.ByteString getTransferJobNameBytes(); + com.google.protobuf.ByteString + getTransferJobNameBytes(); } /** - * - * *
    * A description of the execution of a transfer.
    * 
* * Protobuf type {@code google.storagetransfer.v1.TransferOperation} */ - public static final class TransferOperation extends com.google.protobuf.GeneratedMessageV3 - implements + public static final class TransferOperation extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.storagetransfer.v1.TransferOperation) TransferOperationOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use TransferOperation.newBuilder() to construct. private TransferOperation(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private TransferOperation() { name_ = ""; projectId_ = ""; @@ -40963,15 +39222,16 @@ private TransferOperation() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new TransferOperation(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private TransferOperation( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -40991,140 +39251,111 @@ private TransferOperation( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - name_ = s; - break; - } - case 18: - { - java.lang.String s = input.readStringRequireUtf8(); + name_ = s; + break; + } + case 18: { + java.lang.String s = input.readStringRequireUtf8(); - projectId_ = s; - break; + projectId_ = s; + break; + } + case 26: { + com.google.storagetransfer.v1.proto.TransferTypes.TransferSpec.Builder subBuilder = null; + if (transferSpec_ != null) { + subBuilder = transferSpec_.toBuilder(); } - case 26: - { - com.google.storagetransfer.v1.proto.TransferTypes.TransferSpec.Builder subBuilder = - null; - if (transferSpec_ != null) { - subBuilder = transferSpec_.toBuilder(); - } - transferSpec_ = - input.readMessage( - com.google.storagetransfer.v1.proto.TransferTypes.TransferSpec.parser(), - extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(transferSpec_); - transferSpec_ = subBuilder.buildPartial(); - } - - break; + transferSpec_ = input.readMessage(com.google.storagetransfer.v1.proto.TransferTypes.TransferSpec.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(transferSpec_); + transferSpec_ = subBuilder.buildPartial(); } - case 34: - { - com.google.protobuf.Timestamp.Builder subBuilder = null; - if (startTime_ != null) { - subBuilder = startTime_.toBuilder(); - } - startTime_ = - input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(startTime_); - startTime_ = subBuilder.buildPartial(); - } - break; + break; + } + case 34: { + com.google.protobuf.Timestamp.Builder subBuilder = null; + if (startTime_ != null) { + subBuilder = startTime_.toBuilder(); } - case 42: - { - com.google.protobuf.Timestamp.Builder subBuilder = null; - if (endTime_ != null) { - subBuilder = endTime_.toBuilder(); - } - endTime_ = - input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(endTime_); - endTime_ = subBuilder.buildPartial(); - } - - break; + startTime_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(startTime_); + startTime_ = subBuilder.buildPartial(); } - case 48: - { - int rawValue = input.readEnum(); - status_ = rawValue; - break; + break; + } + case 42: { + com.google.protobuf.Timestamp.Builder subBuilder = null; + if (endTime_ != null) { + subBuilder = endTime_.toBuilder(); + } + endTime_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(endTime_); + endTime_ = subBuilder.buildPartial(); } - case 58: - { - com.google.storagetransfer.v1.proto.TransferTypes.TransferCounters.Builder - subBuilder = null; - if (counters_ != null) { - subBuilder = counters_.toBuilder(); - } - counters_ = - input.readMessage( - com.google.storagetransfer.v1.proto.TransferTypes.TransferCounters.parser(), - extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(counters_); - counters_ = subBuilder.buildPartial(); - } - break; + break; + } + case 48: { + int rawValue = input.readEnum(); + + status_ = rawValue; + break; + } + case 58: { + com.google.storagetransfer.v1.proto.TransferTypes.TransferCounters.Builder subBuilder = null; + if (counters_ != null) { + subBuilder = counters_.toBuilder(); } - case 66: - { - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - errorBreakdowns_ = - new java.util.ArrayList< - com.google.storagetransfer.v1.proto.TransferTypes.ErrorSummary>(); - mutable_bitField0_ |= 0x00000001; - } - errorBreakdowns_.add( - input.readMessage( - com.google.storagetransfer.v1.proto.TransferTypes.ErrorSummary.parser(), - extensionRegistry)); - break; + counters_ = input.readMessage(com.google.storagetransfer.v1.proto.TransferTypes.TransferCounters.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(counters_); + counters_ = subBuilder.buildPartial(); } - case 74: - { - java.lang.String s = input.readStringRequireUtf8(); - transferJobName_ = s; - break; + break; + } + case 66: { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + errorBreakdowns_ = new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000001; } - case 82: - { - com.google.storagetransfer.v1.proto.TransferTypes.NotificationConfig.Builder - subBuilder = null; - if (notificationConfig_ != null) { - subBuilder = notificationConfig_.toBuilder(); - } - notificationConfig_ = - input.readMessage( - com.google.storagetransfer.v1.proto.TransferTypes.NotificationConfig - .parser(), - extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(notificationConfig_); - notificationConfig_ = subBuilder.buildPartial(); - } + errorBreakdowns_.add( + input.readMessage(com.google.storagetransfer.v1.proto.TransferTypes.ErrorSummary.parser(), extensionRegistry)); + break; + } + case 74: { + java.lang.String s = input.readStringRequireUtf8(); - break; + transferJobName_ = s; + break; + } + case 82: { + com.google.storagetransfer.v1.proto.TransferTypes.NotificationConfig.Builder subBuilder = null; + if (notificationConfig_ != null) { + subBuilder = notificationConfig_.toBuilder(); } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + notificationConfig_ = input.readMessage(com.google.storagetransfer.v1.proto.TransferTypes.NotificationConfig.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(notificationConfig_); + notificationConfig_ = subBuilder.buildPartial(); } + + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -41132,7 +39363,8 @@ private TransferOperation( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000001) != 0)) { errorBreakdowns_ = java.util.Collections.unmodifiableList(errorBreakdowns_); @@ -41141,35 +39373,29 @@ private TransferOperation( makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.storagetransfer.v1.proto.TransferTypes - .internal_static_google_storagetransfer_v1_TransferOperation_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.storagetransfer.v1.proto.TransferTypes.internal_static_google_storagetransfer_v1_TransferOperation_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.storagetransfer.v1.proto.TransferTypes - .internal_static_google_storagetransfer_v1_TransferOperation_fieldAccessorTable + return com.google.storagetransfer.v1.proto.TransferTypes.internal_static_google_storagetransfer_v1_TransferOperation_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.storagetransfer.v1.proto.TransferTypes.TransferOperation.class, - com.google.storagetransfer.v1.proto.TransferTypes.TransferOperation.Builder.class); + com.google.storagetransfer.v1.proto.TransferTypes.TransferOperation.class, com.google.storagetransfer.v1.proto.TransferTypes.TransferOperation.Builder.class); } /** - * - * *
      * The status of a TransferOperation.
      * 
* * Protobuf enum {@code google.storagetransfer.v1.TransferOperation.Status} */ - public enum Status implements com.google.protobuf.ProtocolMessageEnum { + public enum Status + implements com.google.protobuf.ProtocolMessageEnum { /** - * - * *
        * Zero is an illegal value.
        * 
@@ -41178,8 +39404,6 @@ public enum Status implements com.google.protobuf.ProtocolMessageEnum { */ STATUS_UNSPECIFIED(0), /** - * - * *
        * In progress.
        * 
@@ -41188,8 +39412,6 @@ public enum Status implements com.google.protobuf.ProtocolMessageEnum { */ IN_PROGRESS(1), /** - * - * *
        * Paused.
        * 
@@ -41198,8 +39420,6 @@ public enum Status implements com.google.protobuf.ProtocolMessageEnum { */ PAUSED(2), /** - * - * *
        * Completed successfully.
        * 
@@ -41208,8 +39428,6 @@ public enum Status implements com.google.protobuf.ProtocolMessageEnum { */ SUCCESS(3), /** - * - * *
        * Terminated due to an unrecoverable failure.
        * 
@@ -41218,8 +39436,6 @@ public enum Status implements com.google.protobuf.ProtocolMessageEnum { */ FAILED(4), /** - * - * *
        * Aborted by the user.
        * 
@@ -41228,8 +39444,6 @@ public enum Status implements com.google.protobuf.ProtocolMessageEnum { */ ABORTED(5), /** - * - * *
        * Temporarily delayed by the system. No user action is required.
        * 
@@ -41241,8 +39455,6 @@ public enum Status implements com.google.protobuf.ProtocolMessageEnum { ; /** - * - * *
        * Zero is an illegal value.
        * 
@@ -41251,8 +39463,6 @@ public enum Status implements com.google.protobuf.ProtocolMessageEnum { */ public static final int STATUS_UNSPECIFIED_VALUE = 0; /** - * - * *
        * In progress.
        * 
@@ -41261,8 +39471,6 @@ public enum Status implements com.google.protobuf.ProtocolMessageEnum { */ public static final int IN_PROGRESS_VALUE = 1; /** - * - * *
        * Paused.
        * 
@@ -41271,8 +39479,6 @@ public enum Status implements com.google.protobuf.ProtocolMessageEnum { */ public static final int PAUSED_VALUE = 2; /** - * - * *
        * Completed successfully.
        * 
@@ -41281,8 +39487,6 @@ public enum Status implements com.google.protobuf.ProtocolMessageEnum { */ public static final int SUCCESS_VALUE = 3; /** - * - * *
        * Terminated due to an unrecoverable failure.
        * 
@@ -41291,8 +39495,6 @@ public enum Status implements com.google.protobuf.ProtocolMessageEnum { */ public static final int FAILED_VALUE = 4; /** - * - * *
        * Aborted by the user.
        * 
@@ -41301,8 +39503,6 @@ public enum Status implements com.google.protobuf.ProtocolMessageEnum { */ public static final int ABORTED_VALUE = 5; /** - * - * *
        * Temporarily delayed by the system. No user action is required.
        * 
@@ -41311,6 +39511,7 @@ public enum Status implements com.google.protobuf.ProtocolMessageEnum { */ public static final int QUEUED_VALUE = 6; + public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -41335,59 +39536,53 @@ public static Status valueOf(int value) { */ public static Status forNumber(int value) { switch (value) { - case 0: - return STATUS_UNSPECIFIED; - case 1: - return IN_PROGRESS; - case 2: - return PAUSED; - case 3: - return SUCCESS; - case 4: - return FAILED; - case 5: - return ABORTED; - case 6: - return QUEUED; - default: - return null; - } - } - - public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() { - return internalValueMap; + case 0: return STATUS_UNSPECIFIED; + case 1: return IN_PROGRESS; + case 2: return PAUSED; + case 3: return SUCCESS; + case 4: return FAILED; + case 5: return ABORTED; + case 6: return QUEUED; + default: return null; + } } - private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public Status findValueByNumber(int number) { - return Status.forNumber(number); - } - }; + public static com.google.protobuf.Internal.EnumLiteMap + internalGetValueMap() { + return internalValueMap; + } + private static final com.google.protobuf.Internal.EnumLiteMap< + Status> internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap() { + public Status findValueByNumber(int number) { + return Status.forNumber(number); + } + }; - public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() { + public final com.google.protobuf.Descriptors.EnumValueDescriptor + getValueDescriptor() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalStateException( "Can't get the descriptor of an unrecognized enum value."); } return getDescriptor().getValues().get(ordinal()); } - - public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() { + public final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptorForType() { return getDescriptor(); } - - public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { - return com.google.storagetransfer.v1.proto.TransferTypes.TransferOperation.getDescriptor() - .getEnumTypes() - .get(0); + public static final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptor() { + return com.google.storagetransfer.v1.proto.TransferTypes.TransferOperation.getDescriptor().getEnumTypes().get(0); } private static final Status[] VALUES = values(); - public static Status valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) { + public static Status valueOf( + com.google.protobuf.Descriptors.EnumValueDescriptor desc) { if (desc.getType() != getDescriptor()) { - throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type."); + throw new java.lang.IllegalArgumentException( + "EnumValueDescriptor is not for this type."); } if (desc.getIndex() == -1) { return UNRECOGNIZED; @@ -41407,14 +39602,11 @@ private Status(int value) { public static final int NAME_FIELD_NUMBER = 1; private volatile java.lang.Object name_; /** - * - * *
      * A globally unique ID assigned by the system.
      * 
* * string name = 1; - * * @return The name. */ @java.lang.Override @@ -41423,29 +39615,29 @@ public java.lang.String getName() { 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(); name_ = s; return s; } } /** - * - * *
      * A globally unique ID assigned by the system.
      * 
* * string name = 1; - * * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; 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); name_ = b; return b; } else { @@ -41456,14 +39648,11 @@ public com.google.protobuf.ByteString getNameBytes() { public static final int PROJECT_ID_FIELD_NUMBER = 2; private volatile java.lang.Object projectId_; /** - * - * *
      * The ID of the Google Cloud project that owns the operation.
      * 
* * string project_id = 2; - * * @return The projectId. */ @java.lang.Override @@ -41472,29 +39661,29 @@ public java.lang.String getProjectId() { 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(); projectId_ = s; return s; } } /** - * - * *
      * The ID of the Google Cloud project that owns the operation.
      * 
* * string project_id = 2; - * * @return The bytes for projectId. */ @java.lang.Override - public com.google.protobuf.ByteString getProjectIdBytes() { + public com.google.protobuf.ByteString + getProjectIdBytes() { java.lang.Object ref = projectId_; 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); projectId_ = b; return b; } else { @@ -41505,14 +39694,11 @@ public com.google.protobuf.ByteString getProjectIdBytes() { public static final int TRANSFER_SPEC_FIELD_NUMBER = 3; private com.google.storagetransfer.v1.proto.TransferTypes.TransferSpec transferSpec_; /** - * - * *
      * Transfer specification.
      * 
* * .google.storagetransfer.v1.TransferSpec transfer_spec = 3; - * * @return Whether the transferSpec field is set. */ @java.lang.Override @@ -41520,25 +39706,18 @@ public boolean hasTransferSpec() { return transferSpec_ != null; } /** - * - * *
      * Transfer specification.
      * 
* * .google.storagetransfer.v1.TransferSpec transfer_spec = 3; - * * @return The transferSpec. */ @java.lang.Override public com.google.storagetransfer.v1.proto.TransferTypes.TransferSpec getTransferSpec() { - return transferSpec_ == null - ? com.google.storagetransfer.v1.proto.TransferTypes.TransferSpec.getDefaultInstance() - : transferSpec_; + return transferSpec_ == null ? com.google.storagetransfer.v1.proto.TransferTypes.TransferSpec.getDefaultInstance() : transferSpec_; } /** - * - * *
      * Transfer specification.
      * 
@@ -41546,23 +39725,18 @@ public com.google.storagetransfer.v1.proto.TransferTypes.TransferSpec getTransfe * .google.storagetransfer.v1.TransferSpec transfer_spec = 3; */ @java.lang.Override - public com.google.storagetransfer.v1.proto.TransferTypes.TransferSpecOrBuilder - getTransferSpecOrBuilder() { + public com.google.storagetransfer.v1.proto.TransferTypes.TransferSpecOrBuilder getTransferSpecOrBuilder() { return getTransferSpec(); } public static final int NOTIFICATION_CONFIG_FIELD_NUMBER = 10; - private com.google.storagetransfer.v1.proto.TransferTypes.NotificationConfig - notificationConfig_; + private com.google.storagetransfer.v1.proto.TransferTypes.NotificationConfig notificationConfig_; /** - * - * *
      * Notification configuration.
      * 
* * .google.storagetransfer.v1.NotificationConfig notification_config = 10; - * * @return Whether the notificationConfig field is set. */ @java.lang.Override @@ -41570,27 +39744,18 @@ public boolean hasNotificationConfig() { return notificationConfig_ != null; } /** - * - * *
      * Notification configuration.
      * 
* * .google.storagetransfer.v1.NotificationConfig notification_config = 10; - * * @return The notificationConfig. */ @java.lang.Override - public com.google.storagetransfer.v1.proto.TransferTypes.NotificationConfig - getNotificationConfig() { - return notificationConfig_ == null - ? com.google.storagetransfer.v1.proto.TransferTypes.NotificationConfig - .getDefaultInstance() - : notificationConfig_; + public com.google.storagetransfer.v1.proto.TransferTypes.NotificationConfig getNotificationConfig() { + return notificationConfig_ == null ? com.google.storagetransfer.v1.proto.TransferTypes.NotificationConfig.getDefaultInstance() : notificationConfig_; } /** - * - * *
      * Notification configuration.
      * 
@@ -41598,22 +39763,18 @@ public boolean hasNotificationConfig() { * .google.storagetransfer.v1.NotificationConfig notification_config = 10; */ @java.lang.Override - public com.google.storagetransfer.v1.proto.TransferTypes.NotificationConfigOrBuilder - getNotificationConfigOrBuilder() { + public com.google.storagetransfer.v1.proto.TransferTypes.NotificationConfigOrBuilder getNotificationConfigOrBuilder() { return getNotificationConfig(); } public static final int START_TIME_FIELD_NUMBER = 4; private com.google.protobuf.Timestamp startTime_; /** - * - * *
      * Start time of this transfer execution.
      * 
* * .google.protobuf.Timestamp start_time = 4; - * * @return Whether the startTime field is set. */ @java.lang.Override @@ -41621,14 +39782,11 @@ public boolean hasStartTime() { return startTime_ != null; } /** - * - * *
      * Start time of this transfer execution.
      * 
* * .google.protobuf.Timestamp start_time = 4; - * * @return The startTime. */ @java.lang.Override @@ -41636,8 +39794,6 @@ public com.google.protobuf.Timestamp getStartTime() { return startTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : startTime_; } /** - * - * *
      * Start time of this transfer execution.
      * 
@@ -41652,14 +39808,11 @@ public com.google.protobuf.TimestampOrBuilder getStartTimeOrBuilder() { public static final int END_TIME_FIELD_NUMBER = 5; private com.google.protobuf.Timestamp endTime_; /** - * - * *
      * End time of this transfer execution.
      * 
* * .google.protobuf.Timestamp end_time = 5; - * * @return Whether the endTime field is set. */ @java.lang.Override @@ -41667,14 +39820,11 @@ public boolean hasEndTime() { return endTime_ != null; } /** - * - * *
      * End time of this transfer execution.
      * 
* * .google.protobuf.Timestamp end_time = 5; - * * @return The endTime. */ @java.lang.Override @@ -41682,8 +39832,6 @@ public com.google.protobuf.Timestamp getEndTime() { return endTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : endTime_; } /** - * - * *
      * End time of this transfer execution.
      * 
@@ -41698,53 +39846,38 @@ public com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder() { public static final int STATUS_FIELD_NUMBER = 6; private int status_; /** - * - * *
      * Status of the transfer operation.
      * 
* * .google.storagetransfer.v1.TransferOperation.Status status = 6; - * * @return The enum numeric value on the wire for status. */ - @java.lang.Override - public int getStatusValue() { + @java.lang.Override public int getStatusValue() { return status_; } /** - * - * *
      * Status of the transfer operation.
      * 
* * .google.storagetransfer.v1.TransferOperation.Status status = 6; - * * @return The status. */ - @java.lang.Override - public com.google.storagetransfer.v1.proto.TransferTypes.TransferOperation.Status getStatus() { + @java.lang.Override public com.google.storagetransfer.v1.proto.TransferTypes.TransferOperation.Status getStatus() { @SuppressWarnings("deprecation") - com.google.storagetransfer.v1.proto.TransferTypes.TransferOperation.Status result = - com.google.storagetransfer.v1.proto.TransferTypes.TransferOperation.Status.valueOf( - status_); - return result == null - ? com.google.storagetransfer.v1.proto.TransferTypes.TransferOperation.Status.UNRECOGNIZED - : result; + com.google.storagetransfer.v1.proto.TransferTypes.TransferOperation.Status result = com.google.storagetransfer.v1.proto.TransferTypes.TransferOperation.Status.valueOf(status_); + return result == null ? com.google.storagetransfer.v1.proto.TransferTypes.TransferOperation.Status.UNRECOGNIZED : result; } public static final int COUNTERS_FIELD_NUMBER = 7; private com.google.storagetransfer.v1.proto.TransferTypes.TransferCounters counters_; /** - * - * *
      * Information about the progress of the transfer operation.
      * 
* * .google.storagetransfer.v1.TransferCounters counters = 7; - * * @return Whether the counters field is set. */ @java.lang.Override @@ -41752,25 +39885,18 @@ public boolean hasCounters() { return counters_ != null; } /** - * - * *
      * Information about the progress of the transfer operation.
      * 
* * .google.storagetransfer.v1.TransferCounters counters = 7; - * * @return The counters. */ @java.lang.Override public com.google.storagetransfer.v1.proto.TransferTypes.TransferCounters getCounters() { - return counters_ == null - ? com.google.storagetransfer.v1.proto.TransferTypes.TransferCounters.getDefaultInstance() - : counters_; + return counters_ == null ? com.google.storagetransfer.v1.proto.TransferTypes.TransferCounters.getDefaultInstance() : counters_; } /** - * - * *
      * Information about the progress of the transfer operation.
      * 
@@ -41778,17 +39904,13 @@ public com.google.storagetransfer.v1.proto.TransferTypes.TransferCounters getCou * .google.storagetransfer.v1.TransferCounters counters = 7; */ @java.lang.Override - public com.google.storagetransfer.v1.proto.TransferTypes.TransferCountersOrBuilder - getCountersOrBuilder() { + public com.google.storagetransfer.v1.proto.TransferTypes.TransferCountersOrBuilder getCountersOrBuilder() { return getCounters(); } public static final int ERROR_BREAKDOWNS_FIELD_NUMBER = 8; - private java.util.List - errorBreakdowns_; + private java.util.List errorBreakdowns_; /** - * - * *
      * Summarizes errors encountered with sample error log entries.
      * 
@@ -41796,13 +39918,10 @@ public com.google.storagetransfer.v1.proto.TransferTypes.TransferCounters getCou * repeated .google.storagetransfer.v1.ErrorSummary error_breakdowns = 8; */ @java.lang.Override - public java.util.List - getErrorBreakdownsList() { + public java.util.List getErrorBreakdownsList() { return errorBreakdowns_; } /** - * - * *
      * Summarizes errors encountered with sample error log entries.
      * 
@@ -41810,14 +39929,11 @@ public com.google.storagetransfer.v1.proto.TransferTypes.TransferCounters getCou * repeated .google.storagetransfer.v1.ErrorSummary error_breakdowns = 8; */ @java.lang.Override - public java.util.List< - ? extends com.google.storagetransfer.v1.proto.TransferTypes.ErrorSummaryOrBuilder> + public java.util.List getErrorBreakdownsOrBuilderList() { return errorBreakdowns_; } /** - * - * *
      * Summarizes errors encountered with sample error log entries.
      * 
@@ -41829,8 +39945,6 @@ public int getErrorBreakdownsCount() { return errorBreakdowns_.size(); } /** - * - * *
      * Summarizes errors encountered with sample error log entries.
      * 
@@ -41838,13 +39952,10 @@ public int getErrorBreakdownsCount() { * repeated .google.storagetransfer.v1.ErrorSummary error_breakdowns = 8; */ @java.lang.Override - public com.google.storagetransfer.v1.proto.TransferTypes.ErrorSummary getErrorBreakdowns( - int index) { + public com.google.storagetransfer.v1.proto.TransferTypes.ErrorSummary getErrorBreakdowns(int index) { return errorBreakdowns_.get(index); } /** - * - * *
      * Summarizes errors encountered with sample error log entries.
      * 
@@ -41852,22 +39963,19 @@ public com.google.storagetransfer.v1.proto.TransferTypes.ErrorSummary getErrorBr * repeated .google.storagetransfer.v1.ErrorSummary error_breakdowns = 8; */ @java.lang.Override - public com.google.storagetransfer.v1.proto.TransferTypes.ErrorSummaryOrBuilder - getErrorBreakdownsOrBuilder(int index) { + public com.google.storagetransfer.v1.proto.TransferTypes.ErrorSummaryOrBuilder getErrorBreakdownsOrBuilder( + int index) { return errorBreakdowns_.get(index); } public static final int TRANSFER_JOB_NAME_FIELD_NUMBER = 9; private volatile java.lang.Object transferJobName_; /** - * - * *
      * The name of the transfer job that triggers this transfer operation.
      * 
* * string transfer_job_name = 9; - * * @return The transferJobName. */ @java.lang.Override @@ -41876,29 +39984,29 @@ public java.lang.String getTransferJobName() { 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(); transferJobName_ = s; return s; } } /** - * - * *
      * The name of the transfer job that triggers this transfer operation.
      * 
* * string transfer_job_name = 9; - * * @return The bytes for transferJobName. */ @java.lang.Override - public com.google.protobuf.ByteString getTransferJobNameBytes() { + public com.google.protobuf.ByteString + getTransferJobNameBytes() { java.lang.Object ref = transferJobName_; 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); transferJobName_ = b; return b; } else { @@ -41907,7 +40015,6 @@ public com.google.protobuf.ByteString getTransferJobNameBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -41919,7 +40026,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 (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -41935,10 +40043,7 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io if (endTime_ != null) { output.writeMessage(5, getEndTime()); } - if (status_ - != com.google.storagetransfer.v1.proto.TransferTypes.TransferOperation.Status - .STATUS_UNSPECIFIED - .getNumber()) { + if (status_ != com.google.storagetransfer.v1.proto.TransferTypes.TransferOperation.Status.STATUS_UNSPECIFIED.getNumber()) { output.writeEnum(6, status_); } if (counters_ != null) { @@ -41969,33 +40074,35 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, projectId_); } if (transferSpec_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getTransferSpec()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(3, getTransferSpec()); } if (startTime_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(4, getStartTime()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(4, getStartTime()); } if (endTime_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(5, getEndTime()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(5, getEndTime()); } - if (status_ - != com.google.storagetransfer.v1.proto.TransferTypes.TransferOperation.Status - .STATUS_UNSPECIFIED - .getNumber()) { - size += com.google.protobuf.CodedOutputStream.computeEnumSize(6, status_); + if (status_ != com.google.storagetransfer.v1.proto.TransferTypes.TransferOperation.Status.STATUS_UNSPECIFIED.getNumber()) { + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(6, status_); } if (counters_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(7, getCounters()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(7, getCounters()); } for (int i = 0; i < errorBreakdowns_.size(); i++) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize(8, errorBreakdowns_.get(i)); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(8, errorBreakdowns_.get(i)); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(transferJobName_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(9, transferJobName_); } if (notificationConfig_ != null) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize(10, getNotificationConfig()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(10, getNotificationConfig()); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -42005,39 +40112,47 @@ 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.storagetransfer.v1.proto.TransferTypes.TransferOperation)) { return super.equals(obj); } - com.google.storagetransfer.v1.proto.TransferTypes.TransferOperation other = - (com.google.storagetransfer.v1.proto.TransferTypes.TransferOperation) obj; + com.google.storagetransfer.v1.proto.TransferTypes.TransferOperation other = (com.google.storagetransfer.v1.proto.TransferTypes.TransferOperation) obj; - if (!getName().equals(other.getName())) return false; - if (!getProjectId().equals(other.getProjectId())) return false; + if (!getName() + .equals(other.getName())) return false; + if (!getProjectId() + .equals(other.getProjectId())) return false; if (hasTransferSpec() != other.hasTransferSpec()) return false; if (hasTransferSpec()) { - if (!getTransferSpec().equals(other.getTransferSpec())) return false; + if (!getTransferSpec() + .equals(other.getTransferSpec())) return false; } if (hasNotificationConfig() != other.hasNotificationConfig()) return false; if (hasNotificationConfig()) { - if (!getNotificationConfig().equals(other.getNotificationConfig())) return false; + if (!getNotificationConfig() + .equals(other.getNotificationConfig())) return false; } if (hasStartTime() != other.hasStartTime()) return false; if (hasStartTime()) { - if (!getStartTime().equals(other.getStartTime())) return false; + if (!getStartTime() + .equals(other.getStartTime())) return false; } if (hasEndTime() != other.hasEndTime()) return false; if (hasEndTime()) { - if (!getEndTime().equals(other.getEndTime())) return false; + if (!getEndTime() + .equals(other.getEndTime())) return false; } if (status_ != other.status_) return false; if (hasCounters() != other.hasCounters()) return false; if (hasCounters()) { - if (!getCounters().equals(other.getCounters())) return false; + if (!getCounters() + .equals(other.getCounters())) return false; } - if (!getErrorBreakdownsList().equals(other.getErrorBreakdownsList())) return false; - if (!getTransferJobName().equals(other.getTransferJobName())) return false; + if (!getErrorBreakdownsList() + .equals(other.getErrorBreakdownsList())) return false; + if (!getTransferJobName() + .equals(other.getTransferJobName())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -42087,95 +40202,87 @@ public int hashCode() { } public static com.google.storagetransfer.v1.proto.TransferTypes.TransferOperation parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.storagetransfer.v1.proto.TransferTypes.TransferOperation 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.storagetransfer.v1.proto.TransferTypes.TransferOperation parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.storagetransfer.v1.proto.TransferTypes.TransferOperation 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.storagetransfer.v1.proto.TransferTypes.TransferOperation parseFrom( - byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.storagetransfer.v1.proto.TransferTypes.TransferOperation parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.storagetransfer.v1.proto.TransferTypes.TransferOperation 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.storagetransfer.v1.proto.TransferTypes.TransferOperation parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.storagetransfer.v1.proto.TransferTypes.TransferOperation parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.storagetransfer.v1.proto.TransferTypes.TransferOperation 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.storagetransfer.v1.proto.TransferTypes.TransferOperation - parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.storagetransfer.v1.proto.TransferTypes.TransferOperation parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - - public static com.google.storagetransfer.v1.proto.TransferTypes.TransferOperation - parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + public static com.google.storagetransfer.v1.proto.TransferTypes.TransferOperation parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.storagetransfer.v1.proto.TransferTypes.TransferOperation 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.storagetransfer.v1.proto.TransferTypes.TransferOperation 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.storagetransfer.v1.proto.TransferTypes.TransferOperation prototype) { + public static Builder newBuilder(com.google.storagetransfer.v1.proto.TransferTypes.TransferOperation 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 @@ -42185,51 +40292,45 @@ protected Builder newBuilderForType( return builder; } /** - * - * *
      * A description of the execution of a transfer.
      * 
* * Protobuf type {@code google.storagetransfer.v1.TransferOperation} */ - public static final class Builder - extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.storagetransfer.v1.TransferOperation) com.google.storagetransfer.v1.proto.TransferTypes.TransferOperationOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.storagetransfer.v1.proto.TransferTypes - .internal_static_google_storagetransfer_v1_TransferOperation_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.storagetransfer.v1.proto.TransferTypes.internal_static_google_storagetransfer_v1_TransferOperation_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.storagetransfer.v1.proto.TransferTypes - .internal_static_google_storagetransfer_v1_TransferOperation_fieldAccessorTable + return com.google.storagetransfer.v1.proto.TransferTypes.internal_static_google_storagetransfer_v1_TransferOperation_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.storagetransfer.v1.proto.TransferTypes.TransferOperation.class, - com.google.storagetransfer.v1.proto.TransferTypes.TransferOperation.Builder.class); + com.google.storagetransfer.v1.proto.TransferTypes.TransferOperation.class, com.google.storagetransfer.v1.proto.TransferTypes.TransferOperation.Builder.class); } - // Construct using - // com.google.storagetransfer.v1.proto.TransferTypes.TransferOperation.newBuilder() + // Construct using com.google.storagetransfer.v1.proto.TransferTypes.TransferOperation.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { getErrorBreakdownsFieldBuilder(); } } - @java.lang.Override public Builder clear() { super.clear(); @@ -42281,16 +40382,14 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.storagetransfer.v1.proto.TransferTypes - .internal_static_google_storagetransfer_v1_TransferOperation_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.storagetransfer.v1.proto.TransferTypes.internal_static_google_storagetransfer_v1_TransferOperation_descriptor; } @java.lang.Override - public com.google.storagetransfer.v1.proto.TransferTypes.TransferOperation - getDefaultInstanceForType() { - return com.google.storagetransfer.v1.proto.TransferTypes.TransferOperation - .getDefaultInstance(); + public com.google.storagetransfer.v1.proto.TransferTypes.TransferOperation getDefaultInstanceForType() { + return com.google.storagetransfer.v1.proto.TransferTypes.TransferOperation.getDefaultInstance(); } @java.lang.Override @@ -42304,8 +40403,7 @@ public com.google.storagetransfer.v1.proto.TransferTypes.TransferOperation build @java.lang.Override public com.google.storagetransfer.v1.proto.TransferTypes.TransferOperation buildPartial() { - com.google.storagetransfer.v1.proto.TransferTypes.TransferOperation result = - new com.google.storagetransfer.v1.proto.TransferTypes.TransferOperation(this); + com.google.storagetransfer.v1.proto.TransferTypes.TransferOperation result = new com.google.storagetransfer.v1.proto.TransferTypes.TransferOperation(this); int from_bitField0_ = bitField0_; result.name_ = name_; result.projectId_ = projectId_; @@ -42353,53 +40451,46 @@ public com.google.storagetransfer.v1.proto.TransferTypes.TransferOperation build public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, - int index, - java.lang.Object value) { + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.storagetransfer.v1.proto.TransferTypes.TransferOperation) { - return mergeFrom( - (com.google.storagetransfer.v1.proto.TransferTypes.TransferOperation) other); + return mergeFrom((com.google.storagetransfer.v1.proto.TransferTypes.TransferOperation)other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom( - com.google.storagetransfer.v1.proto.TransferTypes.TransferOperation other) { - if (other - == com.google.storagetransfer.v1.proto.TransferTypes.TransferOperation - .getDefaultInstance()) return this; + public Builder mergeFrom(com.google.storagetransfer.v1.proto.TransferTypes.TransferOperation other) { + if (other == com.google.storagetransfer.v1.proto.TransferTypes.TransferOperation.getDefaultInstance()) return this; if (!other.getName().isEmpty()) { name_ = other.name_; onChanged(); @@ -42444,10 +40535,9 @@ public Builder mergeFrom( errorBreakdownsBuilder_ = null; errorBreakdowns_ = other.errorBreakdowns_; bitField0_ = (bitField0_ & ~0x00000001); - errorBreakdownsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders - ? getErrorBreakdownsFieldBuilder() - : null; + errorBreakdownsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getErrorBreakdownsFieldBuilder() : null; } else { errorBreakdownsBuilder_.addAllMessages(other.errorBreakdowns_); } @@ -42476,9 +40566,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.storagetransfer.v1.proto.TransferTypes.TransferOperation) - e.getUnfinishedMessage(); + parsedMessage = (com.google.storagetransfer.v1.proto.TransferTypes.TransferOperation) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -42487,25 +40575,22 @@ public Builder mergeFrom( } return this; } - private int bitField0_; private java.lang.Object name_ = ""; /** - * - * *
        * A globally unique ID assigned by the system.
        * 
* * string name = 1; - * * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; 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(); name_ = s; return s; @@ -42514,21 +40599,20 @@ public java.lang.String getName() { } } /** - * - * *
        * A globally unique ID assigned by the system.
        * 
* * string name = 1; - * * @return The bytes for name. */ - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; 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); name_ = b; return b; } else { @@ -42536,61 +40620,54 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
        * A globally unique ID assigned by the system.
        * 
* * string name = 1; - * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName(java.lang.String value) { + public Builder setName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** - * - * *
        * A globally unique ID assigned by the system.
        * 
* * string name = 1; - * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** - * - * *
        * A globally unique ID assigned by the system.
        * 
* * string name = 1; - * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { + public Builder setNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; @@ -42598,20 +40675,18 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) { private java.lang.Object projectId_ = ""; /** - * - * *
        * The ID of the Google Cloud project that owns the operation.
        * 
* * string project_id = 2; - * * @return The projectId. */ public java.lang.String getProjectId() { java.lang.Object ref = projectId_; 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(); projectId_ = s; return s; @@ -42620,21 +40695,20 @@ public java.lang.String getProjectId() { } } /** - * - * *
        * The ID of the Google Cloud project that owns the operation.
        * 
* * string project_id = 2; - * * @return The bytes for projectId. */ - public com.google.protobuf.ByteString getProjectIdBytes() { + public com.google.protobuf.ByteString + getProjectIdBytes() { java.lang.Object ref = projectId_; 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); projectId_ = b; return b; } else { @@ -42642,61 +40716,54 @@ public com.google.protobuf.ByteString getProjectIdBytes() { } } /** - * - * *
        * The ID of the Google Cloud project that owns the operation.
        * 
* * string project_id = 2; - * * @param value The projectId to set. * @return This builder for chaining. */ - public Builder setProjectId(java.lang.String value) { + public Builder setProjectId( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + projectId_ = value; onChanged(); return this; } /** - * - * *
        * The ID of the Google Cloud project that owns the operation.
        * 
* * string project_id = 2; - * * @return This builder for chaining. */ public Builder clearProjectId() { - + projectId_ = getDefaultInstance().getProjectId(); onChanged(); return this; } /** - * - * *
        * The ID of the Google Cloud project that owns the operation.
        * 
* * string project_id = 2; - * * @param value The bytes for projectId to set. * @return This builder for chaining. */ - public Builder setProjectIdBytes(com.google.protobuf.ByteString value) { + public Builder setProjectIdBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + projectId_ = value; onChanged(); return this; @@ -42704,55 +40771,41 @@ public Builder setProjectIdBytes(com.google.protobuf.ByteString value) { private com.google.storagetransfer.v1.proto.TransferTypes.TransferSpec transferSpec_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.storagetransfer.v1.proto.TransferTypes.TransferSpec, - com.google.storagetransfer.v1.proto.TransferTypes.TransferSpec.Builder, - com.google.storagetransfer.v1.proto.TransferTypes.TransferSpecOrBuilder> - transferSpecBuilder_; + com.google.storagetransfer.v1.proto.TransferTypes.TransferSpec, com.google.storagetransfer.v1.proto.TransferTypes.TransferSpec.Builder, com.google.storagetransfer.v1.proto.TransferTypes.TransferSpecOrBuilder> transferSpecBuilder_; /** - * - * *
        * Transfer specification.
        * 
* * .google.storagetransfer.v1.TransferSpec transfer_spec = 3; - * * @return Whether the transferSpec field is set. */ public boolean hasTransferSpec() { return transferSpecBuilder_ != null || transferSpec_ != null; } /** - * - * *
        * Transfer specification.
        * 
* * .google.storagetransfer.v1.TransferSpec transfer_spec = 3; - * * @return The transferSpec. */ public com.google.storagetransfer.v1.proto.TransferTypes.TransferSpec getTransferSpec() { if (transferSpecBuilder_ == null) { - return transferSpec_ == null - ? com.google.storagetransfer.v1.proto.TransferTypes.TransferSpec.getDefaultInstance() - : transferSpec_; + return transferSpec_ == null ? com.google.storagetransfer.v1.proto.TransferTypes.TransferSpec.getDefaultInstance() : transferSpec_; } else { return transferSpecBuilder_.getMessage(); } } /** - * - * *
        * Transfer specification.
        * 
* * .google.storagetransfer.v1.TransferSpec transfer_spec = 3; */ - public Builder setTransferSpec( - com.google.storagetransfer.v1.proto.TransferTypes.TransferSpec value) { + public Builder setTransferSpec(com.google.storagetransfer.v1.proto.TransferTypes.TransferSpec value) { if (transferSpecBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -42766,8 +40819,6 @@ public Builder setTransferSpec( return this; } /** - * - * *
        * Transfer specification.
        * 
@@ -42786,23 +40837,17 @@ public Builder setTransferSpec( return this; } /** - * - * *
        * Transfer specification.
        * 
* * .google.storagetransfer.v1.TransferSpec transfer_spec = 3; */ - public Builder mergeTransferSpec( - com.google.storagetransfer.v1.proto.TransferTypes.TransferSpec value) { + public Builder mergeTransferSpec(com.google.storagetransfer.v1.proto.TransferTypes.TransferSpec value) { if (transferSpecBuilder_ == null) { if (transferSpec_ != null) { transferSpec_ = - com.google.storagetransfer.v1.proto.TransferTypes.TransferSpec.newBuilder( - transferSpec_) - .mergeFrom(value) - .buildPartial(); + com.google.storagetransfer.v1.proto.TransferTypes.TransferSpec.newBuilder(transferSpec_).mergeFrom(value).buildPartial(); } else { transferSpec_ = value; } @@ -42814,8 +40859,6 @@ public Builder mergeTransferSpec( return this; } /** - * - * *
        * Transfer specification.
        * 
@@ -42834,42 +40877,33 @@ public Builder clearTransferSpec() { return this; } /** - * - * *
        * Transfer specification.
        * 
* * .google.storagetransfer.v1.TransferSpec transfer_spec = 3; */ - public com.google.storagetransfer.v1.proto.TransferTypes.TransferSpec.Builder - getTransferSpecBuilder() { - + public com.google.storagetransfer.v1.proto.TransferTypes.TransferSpec.Builder getTransferSpecBuilder() { + onChanged(); return getTransferSpecFieldBuilder().getBuilder(); } /** - * - * *
        * Transfer specification.
        * 
* * .google.storagetransfer.v1.TransferSpec transfer_spec = 3; */ - public com.google.storagetransfer.v1.proto.TransferTypes.TransferSpecOrBuilder - getTransferSpecOrBuilder() { + public com.google.storagetransfer.v1.proto.TransferTypes.TransferSpecOrBuilder getTransferSpecOrBuilder() { if (transferSpecBuilder_ != null) { return transferSpecBuilder_.getMessageOrBuilder(); } else { - return transferSpec_ == null - ? com.google.storagetransfer.v1.proto.TransferTypes.TransferSpec.getDefaultInstance() - : transferSpec_; + return transferSpec_ == null ? + com.google.storagetransfer.v1.proto.TransferTypes.TransferSpec.getDefaultInstance() : transferSpec_; } } /** - * - * *
        * Transfer specification.
        * 
@@ -42877,76 +40911,56 @@ public Builder clearTransferSpec() { * .google.storagetransfer.v1.TransferSpec transfer_spec = 3; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.storagetransfer.v1.proto.TransferTypes.TransferSpec, - com.google.storagetransfer.v1.proto.TransferTypes.TransferSpec.Builder, - com.google.storagetransfer.v1.proto.TransferTypes.TransferSpecOrBuilder> + com.google.storagetransfer.v1.proto.TransferTypes.TransferSpec, com.google.storagetransfer.v1.proto.TransferTypes.TransferSpec.Builder, com.google.storagetransfer.v1.proto.TransferTypes.TransferSpecOrBuilder> getTransferSpecFieldBuilder() { if (transferSpecBuilder_ == null) { - transferSpecBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.storagetransfer.v1.proto.TransferTypes.TransferSpec, - com.google.storagetransfer.v1.proto.TransferTypes.TransferSpec.Builder, - com.google.storagetransfer.v1.proto.TransferTypes.TransferSpecOrBuilder>( - getTransferSpec(), getParentForChildren(), isClean()); + transferSpecBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.storagetransfer.v1.proto.TransferTypes.TransferSpec, com.google.storagetransfer.v1.proto.TransferTypes.TransferSpec.Builder, com.google.storagetransfer.v1.proto.TransferTypes.TransferSpecOrBuilder>( + getTransferSpec(), + getParentForChildren(), + isClean()); transferSpec_ = null; } return transferSpecBuilder_; } - private com.google.storagetransfer.v1.proto.TransferTypes.NotificationConfig - notificationConfig_; + private com.google.storagetransfer.v1.proto.TransferTypes.NotificationConfig notificationConfig_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.storagetransfer.v1.proto.TransferTypes.NotificationConfig, - com.google.storagetransfer.v1.proto.TransferTypes.NotificationConfig.Builder, - com.google.storagetransfer.v1.proto.TransferTypes.NotificationConfigOrBuilder> - notificationConfigBuilder_; + com.google.storagetransfer.v1.proto.TransferTypes.NotificationConfig, com.google.storagetransfer.v1.proto.TransferTypes.NotificationConfig.Builder, com.google.storagetransfer.v1.proto.TransferTypes.NotificationConfigOrBuilder> notificationConfigBuilder_; /** - * - * *
        * Notification configuration.
        * 
* * .google.storagetransfer.v1.NotificationConfig notification_config = 10; - * * @return Whether the notificationConfig field is set. */ public boolean hasNotificationConfig() { return notificationConfigBuilder_ != null || notificationConfig_ != null; } /** - * - * *
        * Notification configuration.
        * 
* * .google.storagetransfer.v1.NotificationConfig notification_config = 10; - * * @return The notificationConfig. */ - public com.google.storagetransfer.v1.proto.TransferTypes.NotificationConfig - getNotificationConfig() { + public com.google.storagetransfer.v1.proto.TransferTypes.NotificationConfig getNotificationConfig() { if (notificationConfigBuilder_ == null) { - return notificationConfig_ == null - ? com.google.storagetransfer.v1.proto.TransferTypes.NotificationConfig - .getDefaultInstance() - : notificationConfig_; + return notificationConfig_ == null ? com.google.storagetransfer.v1.proto.TransferTypes.NotificationConfig.getDefaultInstance() : notificationConfig_; } else { return notificationConfigBuilder_.getMessage(); } } /** - * - * *
        * Notification configuration.
        * 
* * .google.storagetransfer.v1.NotificationConfig notification_config = 10; */ - public Builder setNotificationConfig( - com.google.storagetransfer.v1.proto.TransferTypes.NotificationConfig value) { + public Builder setNotificationConfig(com.google.storagetransfer.v1.proto.TransferTypes.NotificationConfig value) { if (notificationConfigBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -42960,8 +40974,6 @@ public Builder setNotificationConfig( return this; } /** - * - * *
        * Notification configuration.
        * 
@@ -42969,8 +40981,7 @@ public Builder setNotificationConfig( * .google.storagetransfer.v1.NotificationConfig notification_config = 10; */ public Builder setNotificationConfig( - com.google.storagetransfer.v1.proto.TransferTypes.NotificationConfig.Builder - builderForValue) { + com.google.storagetransfer.v1.proto.TransferTypes.NotificationConfig.Builder builderForValue) { if (notificationConfigBuilder_ == null) { notificationConfig_ = builderForValue.build(); onChanged(); @@ -42981,23 +40992,17 @@ public Builder setNotificationConfig( return this; } /** - * - * *
        * Notification configuration.
        * 
* * .google.storagetransfer.v1.NotificationConfig notification_config = 10; */ - public Builder mergeNotificationConfig( - com.google.storagetransfer.v1.proto.TransferTypes.NotificationConfig value) { + public Builder mergeNotificationConfig(com.google.storagetransfer.v1.proto.TransferTypes.NotificationConfig value) { if (notificationConfigBuilder_ == null) { if (notificationConfig_ != null) { notificationConfig_ = - com.google.storagetransfer.v1.proto.TransferTypes.NotificationConfig.newBuilder( - notificationConfig_) - .mergeFrom(value) - .buildPartial(); + com.google.storagetransfer.v1.proto.TransferTypes.NotificationConfig.newBuilder(notificationConfig_).mergeFrom(value).buildPartial(); } else { notificationConfig_ = value; } @@ -43009,8 +41014,6 @@ public Builder mergeNotificationConfig( return this; } /** - * - * *
        * Notification configuration.
        * 
@@ -43029,43 +41032,33 @@ public Builder clearNotificationConfig() { return this; } /** - * - * *
        * Notification configuration.
        * 
* * .google.storagetransfer.v1.NotificationConfig notification_config = 10; */ - public com.google.storagetransfer.v1.proto.TransferTypes.NotificationConfig.Builder - getNotificationConfigBuilder() { - + public com.google.storagetransfer.v1.proto.TransferTypes.NotificationConfig.Builder getNotificationConfigBuilder() { + onChanged(); return getNotificationConfigFieldBuilder().getBuilder(); } /** - * - * *
        * Notification configuration.
        * 
* * .google.storagetransfer.v1.NotificationConfig notification_config = 10; */ - public com.google.storagetransfer.v1.proto.TransferTypes.NotificationConfigOrBuilder - getNotificationConfigOrBuilder() { + public com.google.storagetransfer.v1.proto.TransferTypes.NotificationConfigOrBuilder getNotificationConfigOrBuilder() { if (notificationConfigBuilder_ != null) { return notificationConfigBuilder_.getMessageOrBuilder(); } else { - return notificationConfig_ == null - ? com.google.storagetransfer.v1.proto.TransferTypes.NotificationConfig - .getDefaultInstance() - : notificationConfig_; + return notificationConfig_ == null ? + com.google.storagetransfer.v1.proto.TransferTypes.NotificationConfig.getDefaultInstance() : notificationConfig_; } } /** - * - * *
        * Notification configuration.
        * 
@@ -43073,17 +41066,14 @@ public Builder clearNotificationConfig() { * .google.storagetransfer.v1.NotificationConfig notification_config = 10; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.storagetransfer.v1.proto.TransferTypes.NotificationConfig, - com.google.storagetransfer.v1.proto.TransferTypes.NotificationConfig.Builder, - com.google.storagetransfer.v1.proto.TransferTypes.NotificationConfigOrBuilder> + com.google.storagetransfer.v1.proto.TransferTypes.NotificationConfig, com.google.storagetransfer.v1.proto.TransferTypes.NotificationConfig.Builder, com.google.storagetransfer.v1.proto.TransferTypes.NotificationConfigOrBuilder> getNotificationConfigFieldBuilder() { if (notificationConfigBuilder_ == null) { - notificationConfigBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.storagetransfer.v1.proto.TransferTypes.NotificationConfig, - com.google.storagetransfer.v1.proto.TransferTypes.NotificationConfig.Builder, - com.google.storagetransfer.v1.proto.TransferTypes.NotificationConfigOrBuilder>( - getNotificationConfig(), getParentForChildren(), isClean()); + notificationConfigBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.storagetransfer.v1.proto.TransferTypes.NotificationConfig, com.google.storagetransfer.v1.proto.TransferTypes.NotificationConfig.Builder, com.google.storagetransfer.v1.proto.TransferTypes.NotificationConfigOrBuilder>( + getNotificationConfig(), + getParentForChildren(), + isClean()); notificationConfig_ = null; } return notificationConfigBuilder_; @@ -43091,47 +41081,34 @@ public Builder clearNotificationConfig() { private com.google.protobuf.Timestamp startTime_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> - startTimeBuilder_; + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> startTimeBuilder_; /** - * - * *
        * Start time of this transfer execution.
        * 
* * .google.protobuf.Timestamp start_time = 4; - * * @return Whether the startTime field is set. */ public boolean hasStartTime() { return startTimeBuilder_ != null || startTime_ != null; } /** - * - * *
        * Start time of this transfer execution.
        * 
* * .google.protobuf.Timestamp start_time = 4; - * * @return The startTime. */ public com.google.protobuf.Timestamp getStartTime() { if (startTimeBuilder_ == null) { - return startTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : startTime_; + return startTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : startTime_; } else { return startTimeBuilder_.getMessage(); } } /** - * - * *
        * Start time of this transfer execution.
        * 
@@ -43152,15 +41129,14 @@ public Builder setStartTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
        * Start time of this transfer execution.
        * 
* * .google.protobuf.Timestamp start_time = 4; */ - public Builder setStartTime(com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setStartTime( + com.google.protobuf.Timestamp.Builder builderForValue) { if (startTimeBuilder_ == null) { startTime_ = builderForValue.build(); onChanged(); @@ -43171,8 +41147,6 @@ public Builder setStartTime(com.google.protobuf.Timestamp.Builder builderForValu return this; } /** - * - * *
        * Start time of this transfer execution.
        * 
@@ -43183,9 +41157,7 @@ public Builder mergeStartTime(com.google.protobuf.Timestamp value) { if (startTimeBuilder_ == null) { if (startTime_ != null) { startTime_ = - com.google.protobuf.Timestamp.newBuilder(startTime_) - .mergeFrom(value) - .buildPartial(); + com.google.protobuf.Timestamp.newBuilder(startTime_).mergeFrom(value).buildPartial(); } else { startTime_ = value; } @@ -43197,8 +41169,6 @@ public Builder mergeStartTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
        * Start time of this transfer execution.
        * 
@@ -43217,8 +41187,6 @@ public Builder clearStartTime() { return this; } /** - * - * *
        * Start time of this transfer execution.
        * 
@@ -43226,13 +41194,11 @@ public Builder clearStartTime() { * .google.protobuf.Timestamp start_time = 4; */ public com.google.protobuf.Timestamp.Builder getStartTimeBuilder() { - + onChanged(); return getStartTimeFieldBuilder().getBuilder(); } /** - * - * *
        * Start time of this transfer execution.
        * 
@@ -43243,14 +41209,11 @@ public com.google.protobuf.TimestampOrBuilder getStartTimeOrBuilder() { if (startTimeBuilder_ != null) { return startTimeBuilder_.getMessageOrBuilder(); } else { - return startTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : startTime_; + return startTime_ == null ? + com.google.protobuf.Timestamp.getDefaultInstance() : startTime_; } } /** - * - * *
        * Start time of this transfer execution.
        * 
@@ -43258,17 +41221,14 @@ public com.google.protobuf.TimestampOrBuilder getStartTimeOrBuilder() { * .google.protobuf.Timestamp start_time = 4; */ 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> getStartTimeFieldBuilder() { if (startTimeBuilder_ == null) { - startTimeBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder>( - getStartTime(), getParentForChildren(), isClean()); + startTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( + getStartTime(), + getParentForChildren(), + isClean()); startTime_ = null; } return startTimeBuilder_; @@ -43276,33 +41236,24 @@ public com.google.protobuf.TimestampOrBuilder getStartTimeOrBuilder() { 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_; /** - * - * *
        * End time of this transfer execution.
        * 
* * .google.protobuf.Timestamp end_time = 5; - * * @return Whether the endTime field is set. */ public boolean hasEndTime() { return endTimeBuilder_ != null || endTime_ != null; } /** - * - * *
        * End time of this transfer execution.
        * 
* * .google.protobuf.Timestamp end_time = 5; - * * @return The endTime. */ public com.google.protobuf.Timestamp getEndTime() { @@ -43313,8 +41264,6 @@ public com.google.protobuf.Timestamp getEndTime() { } } /** - * - * *
        * End time of this transfer execution.
        * 
@@ -43335,15 +41284,14 @@ public Builder setEndTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
        * End time of this transfer execution.
        * 
* * .google.protobuf.Timestamp end_time = 5; */ - 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(); @@ -43354,8 +41302,6 @@ public Builder setEndTime(com.google.protobuf.Timestamp.Builder builderForValue) return this; } /** - * - * *
        * End time of this transfer execution.
        * 
@@ -43366,7 +41312,7 @@ 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; } @@ -43378,8 +41324,6 @@ public Builder mergeEndTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
        * End time of this transfer execution.
        * 
@@ -43398,8 +41342,6 @@ public Builder clearEndTime() { return this; } /** - * - * *
        * End time of this transfer execution.
        * 
@@ -43407,13 +41349,11 @@ public Builder clearEndTime() { * .google.protobuf.Timestamp end_time = 5; */ public com.google.protobuf.Timestamp.Builder getEndTimeBuilder() { - + onChanged(); return getEndTimeFieldBuilder().getBuilder(); } /** - * - * *
        * End time of this transfer execution.
        * 
@@ -43424,12 +41364,11 @@ 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_; } } /** - * - * *
        * End time of this transfer execution.
        * 
@@ -43437,17 +41376,14 @@ public com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder() { * .google.protobuf.Timestamp end_time = 5; */ 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_; @@ -43455,96 +41391,73 @@ public com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder() { private int status_ = 0; /** - * - * *
        * Status of the transfer operation.
        * 
* * .google.storagetransfer.v1.TransferOperation.Status status = 6; - * * @return The enum numeric value on the wire for status. */ - @java.lang.Override - public int getStatusValue() { + @java.lang.Override public int getStatusValue() { return status_; } /** - * - * *
        * Status of the transfer operation.
        * 
* * .google.storagetransfer.v1.TransferOperation.Status status = 6; - * * @param value The enum numeric value on the wire for status to set. * @return This builder for chaining. */ public Builder setStatusValue(int value) { - + status_ = value; onChanged(); return this; } /** - * - * *
        * Status of the transfer operation.
        * 
* * .google.storagetransfer.v1.TransferOperation.Status status = 6; - * * @return The status. */ @java.lang.Override - public com.google.storagetransfer.v1.proto.TransferTypes.TransferOperation.Status - getStatus() { + public com.google.storagetransfer.v1.proto.TransferTypes.TransferOperation.Status getStatus() { @SuppressWarnings("deprecation") - com.google.storagetransfer.v1.proto.TransferTypes.TransferOperation.Status result = - com.google.storagetransfer.v1.proto.TransferTypes.TransferOperation.Status.valueOf( - status_); - return result == null - ? com.google.storagetransfer.v1.proto.TransferTypes.TransferOperation.Status - .UNRECOGNIZED - : result; + com.google.storagetransfer.v1.proto.TransferTypes.TransferOperation.Status result = com.google.storagetransfer.v1.proto.TransferTypes.TransferOperation.Status.valueOf(status_); + return result == null ? com.google.storagetransfer.v1.proto.TransferTypes.TransferOperation.Status.UNRECOGNIZED : result; } /** - * - * *
        * Status of the transfer operation.
        * 
* * .google.storagetransfer.v1.TransferOperation.Status status = 6; - * * @param value The status to set. * @return This builder for chaining. */ - public Builder setStatus( - com.google.storagetransfer.v1.proto.TransferTypes.TransferOperation.Status value) { + public Builder setStatus(com.google.storagetransfer.v1.proto.TransferTypes.TransferOperation.Status value) { if (value == null) { throw new NullPointerException(); } - + status_ = value.getNumber(); onChanged(); return this; } /** - * - * *
        * Status of the transfer operation.
        * 
* * .google.storagetransfer.v1.TransferOperation.Status status = 6; - * * @return This builder for chaining. */ public Builder clearStatus() { - + status_ = 0; onChanged(); return this; @@ -43552,56 +41465,41 @@ public Builder clearStatus() { private com.google.storagetransfer.v1.proto.TransferTypes.TransferCounters counters_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.storagetransfer.v1.proto.TransferTypes.TransferCounters, - com.google.storagetransfer.v1.proto.TransferTypes.TransferCounters.Builder, - com.google.storagetransfer.v1.proto.TransferTypes.TransferCountersOrBuilder> - countersBuilder_; + com.google.storagetransfer.v1.proto.TransferTypes.TransferCounters, com.google.storagetransfer.v1.proto.TransferTypes.TransferCounters.Builder, com.google.storagetransfer.v1.proto.TransferTypes.TransferCountersOrBuilder> countersBuilder_; /** - * - * *
        * Information about the progress of the transfer operation.
        * 
* * .google.storagetransfer.v1.TransferCounters counters = 7; - * * @return Whether the counters field is set. */ public boolean hasCounters() { return countersBuilder_ != null || counters_ != null; } /** - * - * *
        * Information about the progress of the transfer operation.
        * 
* * .google.storagetransfer.v1.TransferCounters counters = 7; - * * @return The counters. */ public com.google.storagetransfer.v1.proto.TransferTypes.TransferCounters getCounters() { if (countersBuilder_ == null) { - return counters_ == null - ? com.google.storagetransfer.v1.proto.TransferTypes.TransferCounters - .getDefaultInstance() - : counters_; + return counters_ == null ? com.google.storagetransfer.v1.proto.TransferTypes.TransferCounters.getDefaultInstance() : counters_; } else { return countersBuilder_.getMessage(); } } /** - * - * *
        * Information about the progress of the transfer operation.
        * 
* * .google.storagetransfer.v1.TransferCounters counters = 7; */ - public Builder setCounters( - com.google.storagetransfer.v1.proto.TransferTypes.TransferCounters value) { + public Builder setCounters(com.google.storagetransfer.v1.proto.TransferTypes.TransferCounters value) { if (countersBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -43615,8 +41513,6 @@ public Builder setCounters( return this; } /** - * - * *
        * Information about the progress of the transfer operation.
        * 
@@ -43624,8 +41520,7 @@ public Builder setCounters( * .google.storagetransfer.v1.TransferCounters counters = 7; */ public Builder setCounters( - com.google.storagetransfer.v1.proto.TransferTypes.TransferCounters.Builder - builderForValue) { + com.google.storagetransfer.v1.proto.TransferTypes.TransferCounters.Builder builderForValue) { if (countersBuilder_ == null) { counters_ = builderForValue.build(); onChanged(); @@ -43636,23 +41531,17 @@ public Builder setCounters( return this; } /** - * - * *
        * Information about the progress of the transfer operation.
        * 
* * .google.storagetransfer.v1.TransferCounters counters = 7; */ - public Builder mergeCounters( - com.google.storagetransfer.v1.proto.TransferTypes.TransferCounters value) { + public Builder mergeCounters(com.google.storagetransfer.v1.proto.TransferTypes.TransferCounters value) { if (countersBuilder_ == null) { if (counters_ != null) { counters_ = - com.google.storagetransfer.v1.proto.TransferTypes.TransferCounters.newBuilder( - counters_) - .mergeFrom(value) - .buildPartial(); + com.google.storagetransfer.v1.proto.TransferTypes.TransferCounters.newBuilder(counters_).mergeFrom(value).buildPartial(); } else { counters_ = value; } @@ -43664,8 +41553,6 @@ public Builder mergeCounters( return this; } /** - * - * *
        * Information about the progress of the transfer operation.
        * 
@@ -43684,43 +41571,33 @@ public Builder clearCounters() { return this; } /** - * - * *
        * Information about the progress of the transfer operation.
        * 
* * .google.storagetransfer.v1.TransferCounters counters = 7; */ - public com.google.storagetransfer.v1.proto.TransferTypes.TransferCounters.Builder - getCountersBuilder() { - + public com.google.storagetransfer.v1.proto.TransferTypes.TransferCounters.Builder getCountersBuilder() { + onChanged(); return getCountersFieldBuilder().getBuilder(); } /** - * - * *
        * Information about the progress of the transfer operation.
        * 
* * .google.storagetransfer.v1.TransferCounters counters = 7; */ - public com.google.storagetransfer.v1.proto.TransferTypes.TransferCountersOrBuilder - getCountersOrBuilder() { + public com.google.storagetransfer.v1.proto.TransferTypes.TransferCountersOrBuilder getCountersOrBuilder() { if (countersBuilder_ != null) { return countersBuilder_.getMessageOrBuilder(); } else { - return counters_ == null - ? com.google.storagetransfer.v1.proto.TransferTypes.TransferCounters - .getDefaultInstance() - : counters_; + return counters_ == null ? + com.google.storagetransfer.v1.proto.TransferTypes.TransferCounters.getDefaultInstance() : counters_; } } /** - * - * *
        * Information about the progress of the transfer operation.
        * 
@@ -43728,51 +41605,39 @@ public Builder clearCounters() { * .google.storagetransfer.v1.TransferCounters counters = 7; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.storagetransfer.v1.proto.TransferTypes.TransferCounters, - com.google.storagetransfer.v1.proto.TransferTypes.TransferCounters.Builder, - com.google.storagetransfer.v1.proto.TransferTypes.TransferCountersOrBuilder> + com.google.storagetransfer.v1.proto.TransferTypes.TransferCounters, com.google.storagetransfer.v1.proto.TransferTypes.TransferCounters.Builder, com.google.storagetransfer.v1.proto.TransferTypes.TransferCountersOrBuilder> getCountersFieldBuilder() { if (countersBuilder_ == null) { - countersBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.storagetransfer.v1.proto.TransferTypes.TransferCounters, - com.google.storagetransfer.v1.proto.TransferTypes.TransferCounters.Builder, - com.google.storagetransfer.v1.proto.TransferTypes.TransferCountersOrBuilder>( - getCounters(), getParentForChildren(), isClean()); + countersBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.storagetransfer.v1.proto.TransferTypes.TransferCounters, com.google.storagetransfer.v1.proto.TransferTypes.TransferCounters.Builder, com.google.storagetransfer.v1.proto.TransferTypes.TransferCountersOrBuilder>( + getCounters(), + getParentForChildren(), + isClean()); counters_ = null; } return countersBuilder_; } - private java.util.List - errorBreakdowns_ = java.util.Collections.emptyList(); - + private java.util.List errorBreakdowns_ = + java.util.Collections.emptyList(); private void ensureErrorBreakdownsIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { - errorBreakdowns_ = - new java.util.ArrayList< - com.google.storagetransfer.v1.proto.TransferTypes.ErrorSummary>(errorBreakdowns_); + errorBreakdowns_ = new java.util.ArrayList(errorBreakdowns_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.storagetransfer.v1.proto.TransferTypes.ErrorSummary, - com.google.storagetransfer.v1.proto.TransferTypes.ErrorSummary.Builder, - com.google.storagetransfer.v1.proto.TransferTypes.ErrorSummaryOrBuilder> - errorBreakdownsBuilder_; + com.google.storagetransfer.v1.proto.TransferTypes.ErrorSummary, com.google.storagetransfer.v1.proto.TransferTypes.ErrorSummary.Builder, com.google.storagetransfer.v1.proto.TransferTypes.ErrorSummaryOrBuilder> errorBreakdownsBuilder_; /** - * - * *
        * Summarizes errors encountered with sample error log entries.
        * 
* * repeated .google.storagetransfer.v1.ErrorSummary error_breakdowns = 8; */ - public java.util.List - getErrorBreakdownsList() { + public java.util.List getErrorBreakdownsList() { if (errorBreakdownsBuilder_ == null) { return java.util.Collections.unmodifiableList(errorBreakdowns_); } else { @@ -43780,8 +41645,6 @@ private void ensureErrorBreakdownsIsMutable() { } } /** - * - * *
        * Summarizes errors encountered with sample error log entries.
        * 
@@ -43796,16 +41659,13 @@ public int getErrorBreakdownsCount() { } } /** - * - * *
        * Summarizes errors encountered with sample error log entries.
        * 
* * repeated .google.storagetransfer.v1.ErrorSummary error_breakdowns = 8; */ - public com.google.storagetransfer.v1.proto.TransferTypes.ErrorSummary getErrorBreakdowns( - int index) { + public com.google.storagetransfer.v1.proto.TransferTypes.ErrorSummary getErrorBreakdowns(int index) { if (errorBreakdownsBuilder_ == null) { return errorBreakdowns_.get(index); } else { @@ -43813,8 +41673,6 @@ public com.google.storagetransfer.v1.proto.TransferTypes.ErrorSummary getErrorBr } } /** - * - * *
        * Summarizes errors encountered with sample error log entries.
        * 
@@ -43836,8 +41694,6 @@ public Builder setErrorBreakdowns( return this; } /** - * - * *
        * Summarizes errors encountered with sample error log entries.
        * 
@@ -43845,8 +41701,7 @@ public Builder setErrorBreakdowns( * repeated .google.storagetransfer.v1.ErrorSummary error_breakdowns = 8; */ public Builder setErrorBreakdowns( - int index, - com.google.storagetransfer.v1.proto.TransferTypes.ErrorSummary.Builder builderForValue) { + int index, com.google.storagetransfer.v1.proto.TransferTypes.ErrorSummary.Builder builderForValue) { if (errorBreakdownsBuilder_ == null) { ensureErrorBreakdownsIsMutable(); errorBreakdowns_.set(index, builderForValue.build()); @@ -43857,16 +41712,13 @@ public Builder setErrorBreakdowns( return this; } /** - * - * *
        * Summarizes errors encountered with sample error log entries.
        * 
* * repeated .google.storagetransfer.v1.ErrorSummary error_breakdowns = 8; */ - public Builder addErrorBreakdowns( - com.google.storagetransfer.v1.proto.TransferTypes.ErrorSummary value) { + public Builder addErrorBreakdowns(com.google.storagetransfer.v1.proto.TransferTypes.ErrorSummary value) { if (errorBreakdownsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -43880,8 +41732,6 @@ public Builder addErrorBreakdowns( return this; } /** - * - * *
        * Summarizes errors encountered with sample error log entries.
        * 
@@ -43903,8 +41753,6 @@ public Builder addErrorBreakdowns( return this; } /** - * - * *
        * Summarizes errors encountered with sample error log entries.
        * 
@@ -43923,8 +41771,6 @@ public Builder addErrorBreakdowns( return this; } /** - * - * *
        * Summarizes errors encountered with sample error log entries.
        * 
@@ -43932,8 +41778,7 @@ public Builder addErrorBreakdowns( * repeated .google.storagetransfer.v1.ErrorSummary error_breakdowns = 8; */ public Builder addErrorBreakdowns( - int index, - com.google.storagetransfer.v1.proto.TransferTypes.ErrorSummary.Builder builderForValue) { + int index, com.google.storagetransfer.v1.proto.TransferTypes.ErrorSummary.Builder builderForValue) { if (errorBreakdownsBuilder_ == null) { ensureErrorBreakdownsIsMutable(); errorBreakdowns_.add(index, builderForValue.build()); @@ -43944,8 +41789,6 @@ public Builder addErrorBreakdowns( return this; } /** - * - * *
        * Summarizes errors encountered with sample error log entries.
        * 
@@ -43953,12 +41796,11 @@ public Builder addErrorBreakdowns( * repeated .google.storagetransfer.v1.ErrorSummary error_breakdowns = 8; */ public Builder addAllErrorBreakdowns( - java.lang.Iterable< - ? extends com.google.storagetransfer.v1.proto.TransferTypes.ErrorSummary> - values) { + java.lang.Iterable values) { if (errorBreakdownsBuilder_ == null) { ensureErrorBreakdownsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, errorBreakdowns_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, errorBreakdowns_); onChanged(); } else { errorBreakdownsBuilder_.addAllMessages(values); @@ -43966,8 +41808,6 @@ public Builder addAllErrorBreakdowns( return this; } /** - * - * *
        * Summarizes errors encountered with sample error log entries.
        * 
@@ -43985,8 +41825,6 @@ public Builder clearErrorBreakdowns() { return this; } /** - * - * *
        * Summarizes errors encountered with sample error log entries.
        * 
@@ -44004,47 +41842,39 @@ public Builder removeErrorBreakdowns(int index) { return this; } /** - * - * *
        * Summarizes errors encountered with sample error log entries.
        * 
* * repeated .google.storagetransfer.v1.ErrorSummary error_breakdowns = 8; */ - public com.google.storagetransfer.v1.proto.TransferTypes.ErrorSummary.Builder - getErrorBreakdownsBuilder(int index) { + public com.google.storagetransfer.v1.proto.TransferTypes.ErrorSummary.Builder getErrorBreakdownsBuilder( + int index) { return getErrorBreakdownsFieldBuilder().getBuilder(index); } /** - * - * *
        * Summarizes errors encountered with sample error log entries.
        * 
* * repeated .google.storagetransfer.v1.ErrorSummary error_breakdowns = 8; */ - public com.google.storagetransfer.v1.proto.TransferTypes.ErrorSummaryOrBuilder - getErrorBreakdownsOrBuilder(int index) { + public com.google.storagetransfer.v1.proto.TransferTypes.ErrorSummaryOrBuilder getErrorBreakdownsOrBuilder( + int index) { if (errorBreakdownsBuilder_ == null) { - return errorBreakdowns_.get(index); - } else { + return errorBreakdowns_.get(index); } else { return errorBreakdownsBuilder_.getMessageOrBuilder(index); } } /** - * - * *
        * Summarizes errors encountered with sample error log entries.
        * 
* * repeated .google.storagetransfer.v1.ErrorSummary error_breakdowns = 8; */ - public java.util.List< - ? extends com.google.storagetransfer.v1.proto.TransferTypes.ErrorSummaryOrBuilder> - getErrorBreakdownsOrBuilderList() { + public java.util.List + getErrorBreakdownsOrBuilderList() { if (errorBreakdownsBuilder_ != null) { return errorBreakdownsBuilder_.getMessageOrBuilderList(); } else { @@ -44052,63 +41882,45 @@ public Builder removeErrorBreakdowns(int index) { } } /** - * - * *
        * Summarizes errors encountered with sample error log entries.
        * 
* * repeated .google.storagetransfer.v1.ErrorSummary error_breakdowns = 8; */ - public com.google.storagetransfer.v1.proto.TransferTypes.ErrorSummary.Builder - addErrorBreakdownsBuilder() { - return getErrorBreakdownsFieldBuilder() - .addBuilder( - com.google.storagetransfer.v1.proto.TransferTypes.ErrorSummary - .getDefaultInstance()); + public com.google.storagetransfer.v1.proto.TransferTypes.ErrorSummary.Builder addErrorBreakdownsBuilder() { + return getErrorBreakdownsFieldBuilder().addBuilder( + com.google.storagetransfer.v1.proto.TransferTypes.ErrorSummary.getDefaultInstance()); } /** - * - * *
        * Summarizes errors encountered with sample error log entries.
        * 
* * repeated .google.storagetransfer.v1.ErrorSummary error_breakdowns = 8; */ - public com.google.storagetransfer.v1.proto.TransferTypes.ErrorSummary.Builder - addErrorBreakdownsBuilder(int index) { - return getErrorBreakdownsFieldBuilder() - .addBuilder( - index, - com.google.storagetransfer.v1.proto.TransferTypes.ErrorSummary - .getDefaultInstance()); + public com.google.storagetransfer.v1.proto.TransferTypes.ErrorSummary.Builder addErrorBreakdownsBuilder( + int index) { + return getErrorBreakdownsFieldBuilder().addBuilder( + index, com.google.storagetransfer.v1.proto.TransferTypes.ErrorSummary.getDefaultInstance()); } /** - * - * *
        * Summarizes errors encountered with sample error log entries.
        * 
* * repeated .google.storagetransfer.v1.ErrorSummary error_breakdowns = 8; */ - public java.util.List - getErrorBreakdownsBuilderList() { + public java.util.List + getErrorBreakdownsBuilderList() { return getErrorBreakdownsFieldBuilder().getBuilderList(); } - private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.storagetransfer.v1.proto.TransferTypes.ErrorSummary, - com.google.storagetransfer.v1.proto.TransferTypes.ErrorSummary.Builder, - com.google.storagetransfer.v1.proto.TransferTypes.ErrorSummaryOrBuilder> + com.google.storagetransfer.v1.proto.TransferTypes.ErrorSummary, com.google.storagetransfer.v1.proto.TransferTypes.ErrorSummary.Builder, com.google.storagetransfer.v1.proto.TransferTypes.ErrorSummaryOrBuilder> getErrorBreakdownsFieldBuilder() { if (errorBreakdownsBuilder_ == null) { - errorBreakdownsBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.storagetransfer.v1.proto.TransferTypes.ErrorSummary, - com.google.storagetransfer.v1.proto.TransferTypes.ErrorSummary.Builder, - com.google.storagetransfer.v1.proto.TransferTypes.ErrorSummaryOrBuilder>( + errorBreakdownsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.storagetransfer.v1.proto.TransferTypes.ErrorSummary, com.google.storagetransfer.v1.proto.TransferTypes.ErrorSummary.Builder, com.google.storagetransfer.v1.proto.TransferTypes.ErrorSummaryOrBuilder>( errorBreakdowns_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), @@ -44120,20 +41932,18 @@ public Builder removeErrorBreakdowns(int index) { private java.lang.Object transferJobName_ = ""; /** - * - * *
        * The name of the transfer job that triggers this transfer operation.
        * 
* * string transfer_job_name = 9; - * * @return The transferJobName. */ public java.lang.String getTransferJobName() { java.lang.Object ref = transferJobName_; 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(); transferJobName_ = s; return s; @@ -44142,21 +41952,20 @@ public java.lang.String getTransferJobName() { } } /** - * - * *
        * The name of the transfer job that triggers this transfer operation.
        * 
* * string transfer_job_name = 9; - * * @return The bytes for transferJobName. */ - public com.google.protobuf.ByteString getTransferJobNameBytes() { + public com.google.protobuf.ByteString + getTransferJobNameBytes() { java.lang.Object ref = transferJobName_; 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); transferJobName_ = b; return b; } else { @@ -44164,66 +41973,58 @@ public com.google.protobuf.ByteString getTransferJobNameBytes() { } } /** - * - * *
        * The name of the transfer job that triggers this transfer operation.
        * 
* * string transfer_job_name = 9; - * * @param value The transferJobName to set. * @return This builder for chaining. */ - public Builder setTransferJobName(java.lang.String value) { + public Builder setTransferJobName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + transferJobName_ = value; onChanged(); return this; } /** - * - * *
        * The name of the transfer job that triggers this transfer operation.
        * 
* * string transfer_job_name = 9; - * * @return This builder for chaining. */ public Builder clearTransferJobName() { - + transferJobName_ = getDefaultInstance().getTransferJobName(); onChanged(); return this; } /** - * - * *
        * The name of the transfer job that triggers this transfer operation.
        * 
* * string transfer_job_name = 9; - * * @param value The bytes for transferJobName to set. * @return This builder for chaining. */ - public Builder setTransferJobNameBytes(com.google.protobuf.ByteString value) { + public Builder setTransferJobNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + transferJobName_ = value; onChanged(); return this; } - @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -44236,32 +42037,30 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.storagetransfer.v1.TransferOperation) } // @@protoc_insertion_point(class_scope:google.storagetransfer.v1.TransferOperation) - private static final com.google.storagetransfer.v1.proto.TransferTypes.TransferOperation - DEFAULT_INSTANCE; - + private static final com.google.storagetransfer.v1.proto.TransferTypes.TransferOperation DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.storagetransfer.v1.proto.TransferTypes.TransferOperation(); } - public static com.google.storagetransfer.v1.proto.TransferTypes.TransferOperation - getDefaultInstance() { + public static com.google.storagetransfer.v1.proto.TransferTypes.TransferOperation getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public TransferOperation parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new TransferOperation(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public TransferOperation parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new TransferOperation(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -44273,598 +42072,546 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.storagetransfer.v1.proto.TransferTypes.TransferOperation - getDefaultInstanceForType() { + public com.google.storagetransfer.v1.proto.TransferTypes.TransferOperation getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } private static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_storagetransfer_v1_GoogleServiceAccount_descriptor; - private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_storagetransfer_v1_GoogleServiceAccount_descriptor; + private static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_google_storagetransfer_v1_GoogleServiceAccount_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_storagetransfer_v1_AwsAccessKey_descriptor; - private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_storagetransfer_v1_AwsAccessKey_descriptor; + private static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_google_storagetransfer_v1_AwsAccessKey_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_storagetransfer_v1_AzureCredentials_descriptor; - private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_storagetransfer_v1_AzureCredentials_descriptor; + private static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_google_storagetransfer_v1_AzureCredentials_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_storagetransfer_v1_ObjectConditions_descriptor; - private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_storagetransfer_v1_ObjectConditions_descriptor; + private static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_google_storagetransfer_v1_ObjectConditions_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_storagetransfer_v1_GcsData_descriptor; - private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_storagetransfer_v1_GcsData_descriptor; + private static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_google_storagetransfer_v1_GcsData_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_storagetransfer_v1_AwsS3Data_descriptor; - private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_storagetransfer_v1_AwsS3Data_descriptor; + private static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_google_storagetransfer_v1_AwsS3Data_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_storagetransfer_v1_AzureBlobStorageData_descriptor; - private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_storagetransfer_v1_AzureBlobStorageData_descriptor; + private static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_google_storagetransfer_v1_AzureBlobStorageData_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_storagetransfer_v1_HttpData_descriptor; - private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_storagetransfer_v1_HttpData_descriptor; + private static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_google_storagetransfer_v1_HttpData_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_storagetransfer_v1_PosixFilesystem_descriptor; - private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_storagetransfer_v1_PosixFilesystem_descriptor; + private static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_google_storagetransfer_v1_PosixFilesystem_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_storagetransfer_v1_AgentPool_descriptor; - private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_storagetransfer_v1_AwsS3CompatibleData_descriptor; + private static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_storagetransfer_v1_AwsS3CompatibleData_fieldAccessorTable; + private static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_storagetransfer_v1_S3CompatibleMetadata_descriptor; + private static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_storagetransfer_v1_S3CompatibleMetadata_fieldAccessorTable; + private static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_storagetransfer_v1_AgentPool_descriptor; + private static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_google_storagetransfer_v1_AgentPool_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_storagetransfer_v1_AgentPool_BandwidthLimit_descriptor; - private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_storagetransfer_v1_AgentPool_BandwidthLimit_descriptor; + private static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_google_storagetransfer_v1_AgentPool_BandwidthLimit_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_storagetransfer_v1_TransferOptions_descriptor; - private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_storagetransfer_v1_TransferOptions_descriptor; + private static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_google_storagetransfer_v1_TransferOptions_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_storagetransfer_v1_TransferSpec_descriptor; - private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_storagetransfer_v1_TransferSpec_descriptor; + private static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_google_storagetransfer_v1_TransferSpec_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_storagetransfer_v1_MetadataOptions_descriptor; - private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_storagetransfer_v1_MetadataOptions_descriptor; + private static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_google_storagetransfer_v1_MetadataOptions_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_storagetransfer_v1_TransferManifest_descriptor; - private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_storagetransfer_v1_TransferManifest_descriptor; + private static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_google_storagetransfer_v1_TransferManifest_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_storagetransfer_v1_Schedule_descriptor; - private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_storagetransfer_v1_Schedule_descriptor; + private static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_google_storagetransfer_v1_Schedule_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_storagetransfer_v1_TransferJob_descriptor; - private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_storagetransfer_v1_TransferJob_descriptor; + private static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_google_storagetransfer_v1_TransferJob_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_storagetransfer_v1_ErrorLogEntry_descriptor; - private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_storagetransfer_v1_ErrorLogEntry_descriptor; + private static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_google_storagetransfer_v1_ErrorLogEntry_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_storagetransfer_v1_ErrorSummary_descriptor; - private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_storagetransfer_v1_ErrorSummary_descriptor; + private static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_google_storagetransfer_v1_ErrorSummary_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_storagetransfer_v1_TransferCounters_descriptor; - private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_storagetransfer_v1_TransferCounters_descriptor; + private static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_google_storagetransfer_v1_TransferCounters_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_storagetransfer_v1_NotificationConfig_descriptor; - private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_storagetransfer_v1_NotificationConfig_descriptor; + private static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_google_storagetransfer_v1_NotificationConfig_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_storagetransfer_v1_LoggingConfig_descriptor; - private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_storagetransfer_v1_LoggingConfig_descriptor; + private static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_google_storagetransfer_v1_LoggingConfig_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_storagetransfer_v1_TransferOperation_descriptor; - private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_storagetransfer_v1_TransferOperation_descriptor; + private static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_google_storagetransfer_v1_TransferOperation_fieldAccessorTable; - public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + public static com.google.protobuf.Descriptors.FileDescriptor + getDescriptor() { return descriptor; } - - private static com.google.protobuf.Descriptors.FileDescriptor descriptor; - + private static com.google.protobuf.Descriptors.FileDescriptor + descriptor; static { java.lang.String[] descriptorData = { - "\n.google/storagetransfer/v1/transfer_typ" - + "es.proto\022\031google.storagetransfer.v1\032\037goo" - + "gle/api/field_behavior.proto\032\031google/api" - + "/resource.proto\032\036google/protobuf/duratio" - + "n.proto\032\037google/protobuf/timestamp.proto" - + "\032\025google/rpc/code.proto\032\026google/type/dat" - + "e.proto\032\033google/type/timeofday.proto\"A\n\024" - + "GoogleServiceAccount\022\025\n\raccount_email\030\001 " - + "\001(\t\022\022\n\nsubject_id\030\002 \001(\t\"J\n\014AwsAccessKey\022" - + "\032\n\raccess_key_id\030\001 \001(\tB\003\340A\002\022\036\n\021secret_ac" - + "cess_key\030\002 \001(\tB\003\340A\002\"*\n\020AzureCredentials\022" - + "\026\n\tsas_token\030\002 \001(\tB\003\340A\002\"\323\002\n\020ObjectCondit" - + "ions\022K\n(min_time_elapsed_since_last_modi" - + "fication\030\001 \001(\0132\031.google.protobuf.Duratio" - + "n\022K\n(max_time_elapsed_since_last_modific" - + "ation\030\002 \001(\0132\031.google.protobuf.Duration\022\030" - + "\n\020include_prefixes\030\003 \003(\t\022\030\n\020exclude_pref" - + "ixes\030\004 \003(\t\0227\n\023last_modified_since\030\005 \001(\0132" - + "\032.google.protobuf.Timestamp\0228\n\024last_modi" - + "fied_before\030\006 \001(\0132\032.google.protobuf.Time" - + "stamp\"1\n\007GcsData\022\030\n\013bucket_name\030\001 \001(\tB\003\340" - + "A\002\022\014\n\004path\030\003 \001(\t\"\213\001\n\tAwsS3Data\022\030\n\013bucket" - + "_name\030\001 \001(\tB\003\340A\002\022D\n\016aws_access_key\030\002 \001(\013" - + "2\'.google.storagetransfer.v1.AwsAccessKe" - + "yB\003\340A\004\022\014\n\004path\030\003 \001(\t\022\020\n\010role_arn\030\004 \001(\t\"\252" - + "\001\n\024AzureBlobStorageData\022\034\n\017storage_accou" - + "nt\030\001 \001(\tB\003\340A\002\022N\n\021azure_credentials\030\002 \001(\013" - + "2+.google.storagetransfer.v1.AzureCreden" - + "tialsB\006\340A\002\340A\004\022\026\n\tcontainer\030\004 \001(\tB\003\340A\002\022\014\n" - + "\004path\030\005 \001(\t\"!\n\010HttpData\022\025\n\010list_url\030\001 \001(" - + "\tB\003\340A\002\")\n\017PosixFilesystem\022\026\n\016root_direct" - + "ory\030\001 \001(\t\"\223\003\n\tAgentPool\022\021\n\004name\030\002 \001(\tB\003\340" - + "A\002\022\024\n\014display_name\030\003 \001(\t\022>\n\005state\030\004 \001(\0162" - + "*.google.storagetransfer.v1.AgentPool.St" - + "ateB\003\340A\003\022L\n\017bandwidth_limit\030\005 \001(\01323.goog" - + "le.storagetransfer.v1.AgentPool.Bandwidt" - + "hLimit\032$\n\016BandwidthLimit\022\022\n\nlimit_mbps\030\001" - + " \001(\003\"G\n\005State\022\025\n\021STATE_UNSPECIFIED\020\000\022\014\n\010" - + "CREATING\020\001\022\013\n\007CREATED\020\002\022\014\n\010DELETING\020\003:`\352" - + "A]\n)storagetransfer.googleapis.com/agent" - + "Pools\0220projects/{project_id}/agentPools/" - + "{agent_pool_id}\"\216\003\n\017TransferOptions\0222\n*o" - + "verwrite_objects_already_existing_in_sin" - + "k\030\001 \001(\010\022%\n\035delete_objects_unique_in_sink" - + "\030\002 \001(\010\0221\n)delete_objects_from_source_aft" - + "er_transfer\030\003 \001(\010\022P\n\016overwrite_when\030\004 \001(" - + "\01628.google.storagetransfer.v1.TransferOp" - + "tions.OverwriteWhen\022D\n\020metadata_options\030" - + "\005 \001(\0132*.google.storagetransfer.v1.Metada" - + "taOptions\"U\n\rOverwriteWhen\022\036\n\032OVERWRITE_" - + "WHEN_UNSPECIFIED\020\000\022\r\n\tDIFFERENT\020\001\022\t\n\005NEV" - + "ER\020\002\022\n\n\006ALWAYS\020\003\"\226\007\n\014TransferSpec\022;\n\rgcs" - + "_data_sink\030\004 \001(\0132\".google.storagetransfe" - + "r.v1.GcsDataH\000\022E\n\017posix_data_sink\030\r \001(\0132" - + "*.google.storagetransfer.v1.PosixFilesys" - + "temH\000\022=\n\017gcs_data_source\030\001 \001(\0132\".google." - + "storagetransfer.v1.GcsDataH\001\022B\n\022aws_s3_d" - + "ata_source\030\002 \001(\0132$.google.storagetransfe" - + "r.v1.AwsS3DataH\001\022?\n\020http_data_source\030\003 \001" - + "(\0132#.google.storagetransfer.v1.HttpDataH" - + "\001\022G\n\021posix_data_source\030\016 \001(\0132*.google.st" - + "oragetransfer.v1.PosixFilesystemH\001\022Y\n\036az" - + "ure_blob_storage_data_source\030\010 \001(\0132/.goo" - + "gle.storagetransfer.v1.AzureBlobStorageD" - + "ataH\001\022L\n\036gcs_intermediate_data_location\030" - + "\020 \001(\0132\".google.storagetransfer.v1.GcsDat" - + "aH\002\022F\n\021object_conditions\030\005 \001(\0132+.google." - + "storagetransfer.v1.ObjectConditions\022D\n\020t" - + "ransfer_options\030\006 \001(\0132*.google.storagetr" - + "ansfer.v1.TransferOptions\022F\n\021transfer_ma" - + "nifest\030\017 \001(\0132+.google.storagetransfer.v1" - + ".TransferManifest\022\036\n\026source_agent_pool_n" - + "ame\030\021 \001(\t\022\034\n\024sink_agent_pool_name\030\022 \001(\tB" - + "\013\n\tdata_sinkB\r\n\013data_sourceB\034\n\032intermedi" - + "ate_data_location\"\361\013\n\017MetadataOptions\022C\n" - + "\007symlink\030\001 \001(\01622.google.storagetransfer." - + "v1.MetadataOptions.Symlink\022=\n\004mode\030\002 \001(\016" - + "2/.google.storagetransfer.v1.MetadataOpt" - + "ions.Mode\022;\n\003gid\030\003 \001(\0162..google.storaget" - + "ransfer.v1.MetadataOptions.GID\022;\n\003uid\030\004 " - + "\001(\0162..google.storagetransfer.v1.Metadata" - + "Options.UID\022;\n\003acl\030\005 \001(\0162..google.storag" - + "etransfer.v1.MetadataOptions.Acl\022N\n\rstor" - + "age_class\030\006 \001(\01627.google.storagetransfer" - + ".v1.MetadataOptions.StorageClass\022P\n\016temp" - + "orary_hold\030\007 \001(\01628.google.storagetransfe" - + "r.v1.MetadataOptions.TemporaryHold\022B\n\007km" - + "s_key\030\010 \001(\01621.google.storagetransfer.v1." - + "MetadataOptions.KmsKey\022L\n\014time_created\030\t" - + " \001(\01626.google.storagetransfer.v1.Metadat" - + "aOptions.TimeCreated\"J\n\007Symlink\022\027\n\023SYMLI" - + "NK_UNSPECIFIED\020\000\022\020\n\014SYMLINK_SKIP\020\001\022\024\n\020SY" - + "MLINK_PRESERVE\020\002\">\n\004Mode\022\024\n\020MODE_UNSPECI" - + "FIED\020\000\022\r\n\tMODE_SKIP\020\001\022\021\n\rMODE_PRESERVE\020\002" - + "\"8\n\003GID\022\023\n\017GID_UNSPECIFIED\020\000\022\014\n\010GID_SKIP" - + "\020\001\022\016\n\nGID_NUMBER\020\002\"8\n\003UID\022\023\n\017UID_UNSPECI" - + "FIED\020\000\022\014\n\010UID_SKIP\020\001\022\016\n\nUID_NUMBER\020\002\"P\n\003" - + "Acl\022\023\n\017ACL_UNSPECIFIED\020\000\022\"\n\036ACL_DESTINAT" - + "ION_BUCKET_DEFAULT\020\001\022\020\n\014ACL_PRESERVE\020\002\"\346" - + "\001\n\014StorageClass\022\035\n\031STORAGE_CLASS_UNSPECI" - + "FIED\020\000\022,\n(STORAGE_CLASS_DESTINATION_BUCK" - + "ET_DEFAULT\020\001\022\032\n\026STORAGE_CLASS_PRESERVE\020\002" - + "\022\032\n\026STORAGE_CLASS_STANDARD\020\003\022\032\n\026STORAGE_" - + "CLASS_NEARLINE\020\004\022\032\n\026STORAGE_CLASS_COLDLI" - + "NE\020\005\022\031\n\025STORAGE_CLASS_ARCHIVE\020\006\"e\n\rTempo" - + "raryHold\022\036\n\032TEMPORARY_HOLD_UNSPECIFIED\020\000" - + "\022\027\n\023TEMPORARY_HOLD_SKIP\020\001\022\033\n\027TEMPORARY_H" - + "OLD_PRESERVE\020\002\"_\n\006KmsKey\022\027\n\023KMS_KEY_UNSP" - + "ECIFIED\020\000\022&\n\"KMS_KEY_DESTINATION_BUCKET_" - + "DEFAULT\020\001\022\024\n\020KMS_KEY_PRESERVE\020\002\"l\n\013TimeC" - + "reated\022\034\n\030TIME_CREATED_UNSPECIFIED\020\000\022\025\n\021" - + "TIME_CREATED_SKIP\020\001\022(\n$TIME_CREATED_PRES" - + "ERVE_AS_CUSTOM_TIME\020\002\"$\n\020TransferManifes" - + "t\022\020\n\010location\030\001 \001(\t\"\205\002\n\010Schedule\0223\n\023sche" - + "dule_start_date\030\001 \001(\0132\021.google.type.Date" - + "B\003\340A\002\022,\n\021schedule_end_date\030\002 \001(\0132\021.googl" - + "e.type.Date\0221\n\021start_time_of_day\030\003 \001(\0132\026" - + ".google.type.TimeOfDay\022/\n\017end_time_of_da" - + "y\030\004 \001(\0132\026.google.type.TimeOfDay\0222\n\017repea" - + "t_interval\030\005 \001(\0132\031.google.protobuf.Durat" - + "ion\"\242\005\n\013TransferJob\022\014\n\004name\030\001 \001(\t\022\023\n\013des" - + "cription\030\002 \001(\t\022\022\n\nproject_id\030\003 \001(\t\022>\n\rtr" - + "ansfer_spec\030\004 \001(\0132\'.google.storagetransf" - + "er.v1.TransferSpec\022J\n\023notification_confi" - + "g\030\013 \001(\0132-.google.storagetransfer.v1.Noti" - + "ficationConfig\022@\n\016logging_config\030\016 \001(\0132(" - + ".google.storagetransfer.v1.LoggingConfig" - + "\0225\n\010schedule\030\005 \001(\0132#.google.storagetrans" - + "fer.v1.Schedule\022=\n\006status\030\006 \001(\0162-.google" - + ".storagetransfer.v1.TransferJob.Status\0226" - + "\n\rcreation_time\030\007 \001(\0132\032.google.protobuf." - + "TimestampB\003\340A\003\022?\n\026last_modification_time" - + "\030\010 \001(\0132\032.google.protobuf.TimestampB\003\340A\003\022" - + "6\n\rdeletion_time\030\t \001(\0132\032.google.protobuf" - + ".TimestampB\003\340A\003\022\035\n\025latest_operation_name" - + "\030\014 \001(\t\"H\n\006Status\022\026\n\022STATUS_UNSPECIFIED\020\000" - + "\022\013\n\007ENABLED\020\001\022\014\n\010DISABLED\020\002\022\013\n\007DELETED\020\003" - + "\"8\n\rErrorLogEntry\022\020\n\003url\030\001 \001(\tB\003\340A\002\022\025\n\re" - + "rror_details\030\003 \003(\t\"\230\001\n\014ErrorSummary\022)\n\ne" - + "rror_code\030\001 \001(\0162\020.google.rpc.CodeB\003\340A\002\022\030" - + "\n\013error_count\030\002 \001(\003B\003\340A\002\022C\n\021error_log_en" - + "tries\030\003 \003(\0132(.google.storagetransfer.v1." - + "ErrorLogEntry\"\303\006\n\020TransferCounters\022!\n\031ob" - + "jects_found_from_source\030\001 \001(\003\022\037\n\027bytes_f" - + "ound_from_source\030\002 \001(\003\022$\n\034objects_found_" - + "only_from_sink\030\003 \001(\003\022\"\n\032bytes_found_only" - + "_from_sink\030\004 \001(\003\022+\n#objects_from_source_" - + "skipped_by_sync\030\005 \001(\003\022)\n!bytes_from_sour" - + "ce_skipped_by_sync\030\006 \001(\003\022\036\n\026objects_copi" - + "ed_to_sink\030\007 \001(\003\022\034\n\024bytes_copied_to_sink" - + "\030\010 \001(\003\022#\n\033objects_deleted_from_source\030\t " - + "\001(\003\022!\n\031bytes_deleted_from_source\030\n \001(\003\022!" - + "\n\031objects_deleted_from_sink\030\013 \001(\003\022\037\n\027byt" - + "es_deleted_from_sink\030\014 \001(\003\022\"\n\032objects_fr" - + "om_source_failed\030\r \001(\003\022 \n\030bytes_from_sou" - + "rce_failed\030\016 \001(\003\022*\n\"objects_failed_to_de" - + "lete_from_sink\030\017 \001(\003\022(\n bytes_failed_to_" - + "delete_from_sink\030\020 \001(\003\022%\n\035directories_fo" - + "und_from_source\030\021 \001(\003\022.\n&directories_fai" - + "led_to_list_from_source\030\022 \001(\003\0223\n+directo" - + "ries_successfully_listed_from_source\030\023 \001" - + "(\003\022\'\n\037intermediate_objects_cleaned_up\030\026 " - + "\001(\003\022.\n&intermediate_objects_failed_clean" - + "ed_up\030\027 \001(\003\"\245\003\n\022NotificationConfig\022\031\n\014pu" - + "bsub_topic\030\001 \001(\tB\003\340A\002\022L\n\013event_types\030\002 \003" - + "(\01627.google.storagetransfer.v1.Notificat" - + "ionConfig.EventType\022X\n\016payload_format\030\003 " - + "\001(\0162;.google.storagetransfer.v1.Notifica" - + "tionConfig.PayloadFormatB\003\340A\002\"\206\001\n\tEventT" - + "ype\022\032\n\026EVENT_TYPE_UNSPECIFIED\020\000\022\036\n\032TRANS" - + "FER_OPERATION_SUCCESS\020\001\022\035\n\031TRANSFER_OPER" - + "ATION_FAILED\020\002\022\036\n\032TRANSFER_OPERATION_ABO" - + "RTED\020\003\"C\n\rPayloadFormat\022\036\n\032PAYLOAD_FORMA" - + "T_UNSPECIFIED\020\000\022\010\n\004NONE\020\001\022\010\n\004JSON\020\002\"\213\003\n\r" - + "LoggingConfig\022L\n\013log_actions\030\001 \003(\01627.goo" - + "gle.storagetransfer.v1.LoggingConfig.Log" - + "gableAction\022W\n\021log_action_states\030\002 \003(\0162<" - + ".google.storagetransfer.v1.LoggingConfig" - + ".LoggableActionState\022\'\n\037enable_onprem_gc" - + "s_transfer_logs\030\003 \001(\010\"Q\n\016LoggableAction\022" - + "\037\n\033LOGGABLE_ACTION_UNSPECIFIED\020\000\022\010\n\004FIND" - + "\020\001\022\n\n\006DELETE\020\002\022\010\n\004COPY\020\003\"W\n\023LoggableActi" - + "onState\022%\n!LOGGABLE_ACTION_STATE_UNSPECI" - + "FIED\020\000\022\r\n\tSUCCEEDED\020\001\022\n\n\006FAILED\020\002\"\362\004\n\021Tr" - + "ansferOperation\022\014\n\004name\030\001 \001(\t\022\022\n\nproject" - + "_id\030\002 \001(\t\022>\n\rtransfer_spec\030\003 \001(\0132\'.googl" - + "e.storagetransfer.v1.TransferSpec\022J\n\023not" - + "ification_config\030\n \001(\0132-.google.storaget" - + "ransfer.v1.NotificationConfig\022.\n\nstart_t" - + "ime\030\004 \001(\0132\032.google.protobuf.Timestamp\022,\n" - + "\010end_time\030\005 \001(\0132\032.google.protobuf.Timest" - + "amp\022C\n\006status\030\006 \001(\01623.google.storagetran" - + "sfer.v1.TransferOperation.Status\022=\n\010coun" - + "ters\030\007 \001(\0132+.google.storagetransfer.v1.T" - + "ransferCounters\022A\n\020error_breakdowns\030\010 \003(" - + "\0132\'.google.storagetransfer.v1.ErrorSumma" - + "ry\022\031\n\021transfer_job_name\030\t \001(\t\"o\n\006Status\022" - + "\026\n\022STATUS_UNSPECIFIED\020\000\022\017\n\013IN_PROGRESS\020\001" - + "\022\n\n\006PAUSED\020\002\022\013\n\007SUCCESS\020\003\022\n\n\006FAILED\020\004\022\013\n" - + "\007ABORTED\020\005\022\n\n\006QUEUED\020\006B\352\001\n#com.google.st" - + "oragetransfer.v1.protoB\rTransferTypesZHg" - + "oogle.golang.org/genproto/googleapis/sto" - + "ragetransfer/v1;storagetransfer\370\001\001\252\002\037Goo" - + "gle.Cloud.StorageTransfer.V1\312\002\037Google\\Cl" - + "oud\\StorageTransfer\\V1\352\002\"Google::Cloud::" - + "StorageTransfer::V1b\006proto3" + "\n.google/storagetransfer/v1/transfer_typ" + + "es.proto\022\031google.storagetransfer.v1\032\037goo" + + "gle/api/field_behavior.proto\032\031google/api" + + "/resource.proto\032\036google/protobuf/duratio" + + "n.proto\032\037google/protobuf/timestamp.proto" + + "\032\025google/rpc/code.proto\032\026google/type/dat" + + "e.proto\032\033google/type/timeofday.proto\"A\n\024" + + "GoogleServiceAccount\022\025\n\raccount_email\030\001 " + + "\001(\t\022\022\n\nsubject_id\030\002 \001(\t\"J\n\014AwsAccessKey\022" + + "\032\n\raccess_key_id\030\001 \001(\tB\003\340A\002\022\036\n\021secret_ac" + + "cess_key\030\002 \001(\tB\003\340A\002\"*\n\020AzureCredentials\022" + + "\026\n\tsas_token\030\002 \001(\tB\003\340A\002\"\323\002\n\020ObjectCondit" + + "ions\022K\n(min_time_elapsed_since_last_modi" + + "fication\030\001 \001(\0132\031.google.protobuf.Duratio" + + "n\022K\n(max_time_elapsed_since_last_modific" + + "ation\030\002 \001(\0132\031.google.protobuf.Duration\022\030" + + "\n\020include_prefixes\030\003 \003(\t\022\030\n\020exclude_pref" + + "ixes\030\004 \003(\t\0227\n\023last_modified_since\030\005 \001(\0132" + + "\032.google.protobuf.Timestamp\0228\n\024last_modi" + + "fied_before\030\006 \001(\0132\032.google.protobuf.Time" + + "stamp\"1\n\007GcsData\022\030\n\013bucket_name\030\001 \001(\tB\003\340" + + "A\002\022\014\n\004path\030\003 \001(\t\"\213\001\n\tAwsS3Data\022\030\n\013bucket" + + "_name\030\001 \001(\tB\003\340A\002\022D\n\016aws_access_key\030\002 \001(\013" + + "2\'.google.storagetransfer.v1.AwsAccessKe" + + "yB\003\340A\004\022\014\n\004path\030\003 \001(\t\022\020\n\010role_arn\030\004 \001(\t\"\252" + + "\001\n\024AzureBlobStorageData\022\034\n\017storage_accou" + + "nt\030\001 \001(\tB\003\340A\002\022N\n\021azure_credentials\030\002 \001(\013" + + "2+.google.storagetransfer.v1.AzureCreden" + + "tialsB\006\340A\002\340A\004\022\026\n\tcontainer\030\004 \001(\tB\003\340A\002\022\014\n" + + "\004path\030\005 \001(\t\"!\n\010HttpData\022\025\n\010list_url\030\001 \001(" + + "\tB\003\340A\002\")\n\017PosixFilesystem\022\026\n\016root_direct" + + "ory\030\001 \001(\t\"\275\001\n\023AwsS3CompatibleData\022\030\n\013buc" + + "ket_name\030\001 \001(\tB\003\340A\002\022\014\n\004path\030\002 \001(\t\022\025\n\010end" + + "point\030\003 \001(\tB\003\340A\002\022\016\n\006region\030\005 \001(\t\022F\n\013s3_m" + + "etadata\030\004 \001(\0132/.google.storagetransfer.v" + + "1.S3CompatibleMetadataH\000B\017\n\rdata_provide" + + "r\"\366\005\n\024S3CompatibleMetadata\022O\n\013auth_metho" + + "d\030\001 \001(\0162:.google.storagetransfer.v1.S3Co" + + "mpatibleMetadata.AuthMethod\022S\n\rrequest_m" + + "odel\030\002 \001(\0162<.google.storagetransfer.v1.S" + + "3CompatibleMetadata.RequestModel\022Q\n\010prot" + + "ocol\030\003 \001(\0162?.google.storagetransfer.v1.S" + + "3CompatibleMetadata.NetworkProtocol\022I\n\010l" + + "ist_api\030\004 \001(\01627.google.storagetransfer.v" + + "1.S3CompatibleMetadata.ListApi\"m\n\nAuthMe" + + "thod\022\033\n\027AUTH_METHOD_UNSPECIFIED\020\000\022 \n\034AUT" + + "H_METHOD_AWS_SIGNATURE_V4\020\001\022 \n\034AUTH_METH" + + "OD_AWS_SIGNATURE_V2\020\002\"s\n\014RequestModel\022\035\n" + + "\031REQUEST_MODEL_UNSPECIFIED\020\000\022&\n\"REQUEST_" + + "MODEL_VIRTUAL_HOSTED_STYLE\020\001\022\034\n\030REQUEST_" + + "MODEL_PATH_STYLE\020\002\"j\n\017NetworkProtocol\022 \n" + + "\034NETWORK_PROTOCOL_UNSPECIFIED\020\000\022\032\n\026NETWO" + + "RK_PROTOCOL_HTTPS\020\001\022\031\n\025NETWORK_PROTOCOL_" + + "HTTP\020\002\"J\n\007ListApi\022\030\n\024LIST_API_UNSPECIFIE" + + "D\020\000\022\023\n\017LIST_OBJECTS_V2\020\001\022\020\n\014LIST_OBJECTS" + + "\020\002\"\223\003\n\tAgentPool\022\021\n\004name\030\002 \001(\tB\003\340A\002\022\024\n\014d" + + "isplay_name\030\003 \001(\t\022>\n\005state\030\004 \001(\0162*.googl" + + "e.storagetransfer.v1.AgentPool.StateB\003\340A" + + "\003\022L\n\017bandwidth_limit\030\005 \001(\01323.google.stor" + + "agetransfer.v1.AgentPool.BandwidthLimit\032" + + "$\n\016BandwidthLimit\022\022\n\nlimit_mbps\030\001 \001(\003\"G\n" + + "\005State\022\025\n\021STATE_UNSPECIFIED\020\000\022\014\n\010CREATIN" + + "G\020\001\022\013\n\007CREATED\020\002\022\014\n\010DELETING\020\003:`\352A]\n)sto" + + "ragetransfer.googleapis.com/agentPools\0220" + + "projects/{project_id}/agentPools/{agent_" + + "pool_id}\"\216\003\n\017TransferOptions\0222\n*overwrit" + + "e_objects_already_existing_in_sink\030\001 \001(\010" + + "\022%\n\035delete_objects_unique_in_sink\030\002 \001(\010\022" + + "1\n)delete_objects_from_source_after_tran" + + "sfer\030\003 \001(\010\022P\n\016overwrite_when\030\004 \001(\01628.goo" + + "gle.storagetransfer.v1.TransferOptions.O" + + "verwriteWhen\022D\n\020metadata_options\030\005 \001(\0132*" + + ".google.storagetransfer.v1.MetadataOptio" + + "ns\"U\n\rOverwriteWhen\022\036\n\032OVERWRITE_WHEN_UN" + + "SPECIFIED\020\000\022\r\n\tDIFFERENT\020\001\022\t\n\005NEVER\020\002\022\n\n" + + "\006ALWAYS\020\003\"\357\007\n\014TransferSpec\022;\n\rgcs_data_s" + + "ink\030\004 \001(\0132\".google.storagetransfer.v1.Gc" + + "sDataH\000\022E\n\017posix_data_sink\030\r \001(\0132*.googl" + + "e.storagetransfer.v1.PosixFilesystemH\000\022=" + + "\n\017gcs_data_source\030\001 \001(\0132\".google.storage" + + "transfer.v1.GcsDataH\001\022B\n\022aws_s3_data_sou" + + "rce\030\002 \001(\0132$.google.storagetransfer.v1.Aw" + + "sS3DataH\001\022?\n\020http_data_source\030\003 \001(\0132#.go" + + "ogle.storagetransfer.v1.HttpDataH\001\022G\n\021po" + + "six_data_source\030\016 \001(\0132*.google.storagetr" + + "ansfer.v1.PosixFilesystemH\001\022Y\n\036azure_blo" + + "b_storage_data_source\030\010 \001(\0132/.google.sto" + + "ragetransfer.v1.AzureBlobStorageDataH\001\022W" + + "\n\035aws_s3_compatible_data_source\030\023 \001(\0132.." + + "google.storagetransfer.v1.AwsS3Compatibl" + + "eDataH\001\022L\n\036gcs_intermediate_data_locatio" + + "n\030\020 \001(\0132\".google.storagetransfer.v1.GcsD" + + "ataH\002\022F\n\021object_conditions\030\005 \001(\0132+.googl" + + "e.storagetransfer.v1.ObjectConditions\022D\n" + + "\020transfer_options\030\006 \001(\0132*.google.storage" + + "transfer.v1.TransferOptions\022F\n\021transfer_" + + "manifest\030\017 \001(\0132+.google.storagetransfer." + + "v1.TransferManifest\022\036\n\026source_agent_pool" + + "_name\030\021 \001(\t\022\034\n\024sink_agent_pool_name\030\022 \001(" + + "\tB\013\n\tdata_sinkB\r\n\013data_sourceB\034\n\032interme" + + "diate_data_location\"\361\013\n\017MetadataOptions\022" + + "C\n\007symlink\030\001 \001(\01622.google.storagetransfe" + + "r.v1.MetadataOptions.Symlink\022=\n\004mode\030\002 \001" + + "(\0162/.google.storagetransfer.v1.MetadataO" + + "ptions.Mode\022;\n\003gid\030\003 \001(\0162..google.storag" + + "etransfer.v1.MetadataOptions.GID\022;\n\003uid\030" + + "\004 \001(\0162..google.storagetransfer.v1.Metada" + + "taOptions.UID\022;\n\003acl\030\005 \001(\0162..google.stor" + + "agetransfer.v1.MetadataOptions.Acl\022N\n\rst" + + "orage_class\030\006 \001(\01627.google.storagetransf" + + "er.v1.MetadataOptions.StorageClass\022P\n\016te" + + "mporary_hold\030\007 \001(\01628.google.storagetrans" + + "fer.v1.MetadataOptions.TemporaryHold\022B\n\007" + + "kms_key\030\010 \001(\01621.google.storagetransfer.v" + + "1.MetadataOptions.KmsKey\022L\n\014time_created" + + "\030\t \001(\01626.google.storagetransfer.v1.Metad" + + "ataOptions.TimeCreated\"J\n\007Symlink\022\027\n\023SYM" + + "LINK_UNSPECIFIED\020\000\022\020\n\014SYMLINK_SKIP\020\001\022\024\n\020" + + "SYMLINK_PRESERVE\020\002\">\n\004Mode\022\024\n\020MODE_UNSPE" + + "CIFIED\020\000\022\r\n\tMODE_SKIP\020\001\022\021\n\rMODE_PRESERVE" + + "\020\002\"8\n\003GID\022\023\n\017GID_UNSPECIFIED\020\000\022\014\n\010GID_SK" + + "IP\020\001\022\016\n\nGID_NUMBER\020\002\"8\n\003UID\022\023\n\017UID_UNSPE" + + "CIFIED\020\000\022\014\n\010UID_SKIP\020\001\022\016\n\nUID_NUMBER\020\002\"P" + + "\n\003Acl\022\023\n\017ACL_UNSPECIFIED\020\000\022\"\n\036ACL_DESTIN" + + "ATION_BUCKET_DEFAULT\020\001\022\020\n\014ACL_PRESERVE\020\002" + + "\"\346\001\n\014StorageClass\022\035\n\031STORAGE_CLASS_UNSPE" + + "CIFIED\020\000\022,\n(STORAGE_CLASS_DESTINATION_BU" + + "CKET_DEFAULT\020\001\022\032\n\026STORAGE_CLASS_PRESERVE" + + "\020\002\022\032\n\026STORAGE_CLASS_STANDARD\020\003\022\032\n\026STORAG" + + "E_CLASS_NEARLINE\020\004\022\032\n\026STORAGE_CLASS_COLD" + + "LINE\020\005\022\031\n\025STORAGE_CLASS_ARCHIVE\020\006\"e\n\rTem" + + "poraryHold\022\036\n\032TEMPORARY_HOLD_UNSPECIFIED" + + "\020\000\022\027\n\023TEMPORARY_HOLD_SKIP\020\001\022\033\n\027TEMPORARY" + + "_HOLD_PRESERVE\020\002\"_\n\006KmsKey\022\027\n\023KMS_KEY_UN" + + "SPECIFIED\020\000\022&\n\"KMS_KEY_DESTINATION_BUCKE" + + "T_DEFAULT\020\001\022\024\n\020KMS_KEY_PRESERVE\020\002\"l\n\013Tim" + + "eCreated\022\034\n\030TIME_CREATED_UNSPECIFIED\020\000\022\025" + + "\n\021TIME_CREATED_SKIP\020\001\022(\n$TIME_CREATED_PR" + + "ESERVE_AS_CUSTOM_TIME\020\002\"$\n\020TransferManif" + + "est\022\020\n\010location\030\001 \001(\t\"\205\002\n\010Schedule\0223\n\023sc" + + "hedule_start_date\030\001 \001(\0132\021.google.type.Da" + + "teB\003\340A\002\022,\n\021schedule_end_date\030\002 \001(\0132\021.goo" + + "gle.type.Date\0221\n\021start_time_of_day\030\003 \001(\013" + + "2\026.google.type.TimeOfDay\022/\n\017end_time_of_" + + "day\030\004 \001(\0132\026.google.type.TimeOfDay\0222\n\017rep" + + "eat_interval\030\005 \001(\0132\031.google.protobuf.Dur" + + "ation\"\242\005\n\013TransferJob\022\014\n\004name\030\001 \001(\t\022\023\n\013d" + + "escription\030\002 \001(\t\022\022\n\nproject_id\030\003 \001(\t\022>\n\r" + + "transfer_spec\030\004 \001(\0132\'.google.storagetran" + + "sfer.v1.TransferSpec\022J\n\023notification_con" + + "fig\030\013 \001(\0132-.google.storagetransfer.v1.No" + + "tificationConfig\022@\n\016logging_config\030\016 \001(\013" + + "2(.google.storagetransfer.v1.LoggingConf" + + "ig\0225\n\010schedule\030\005 \001(\0132#.google.storagetra" + + "nsfer.v1.Schedule\022=\n\006status\030\006 \001(\0162-.goog" + + "le.storagetransfer.v1.TransferJob.Status" + + "\0226\n\rcreation_time\030\007 \001(\0132\032.google.protobu" + + "f.TimestampB\003\340A\003\022?\n\026last_modification_ti" + + "me\030\010 \001(\0132\032.google.protobuf.TimestampB\003\340A" + + "\003\0226\n\rdeletion_time\030\t \001(\0132\032.google.protob" + + "uf.TimestampB\003\340A\003\022\035\n\025latest_operation_na" + + "me\030\014 \001(\t\"H\n\006Status\022\026\n\022STATUS_UNSPECIFIED" + + "\020\000\022\013\n\007ENABLED\020\001\022\014\n\010DISABLED\020\002\022\013\n\007DELETED" + + "\020\003\"8\n\rErrorLogEntry\022\020\n\003url\030\001 \001(\tB\003\340A\002\022\025\n" + + "\rerror_details\030\003 \003(\t\"\230\001\n\014ErrorSummary\022)\n" + + "\nerror_code\030\001 \001(\0162\020.google.rpc.CodeB\003\340A\002" + + "\022\030\n\013error_count\030\002 \001(\003B\003\340A\002\022C\n\021error_log_" + + "entries\030\003 \003(\0132(.google.storagetransfer.v" + + "1.ErrorLogEntry\"\303\006\n\020TransferCounters\022!\n\031" + + "objects_found_from_source\030\001 \001(\003\022\037\n\027bytes" + + "_found_from_source\030\002 \001(\003\022$\n\034objects_foun" + + "d_only_from_sink\030\003 \001(\003\022\"\n\032bytes_found_on" + + "ly_from_sink\030\004 \001(\003\022+\n#objects_from_sourc" + + "e_skipped_by_sync\030\005 \001(\003\022)\n!bytes_from_so" + + "urce_skipped_by_sync\030\006 \001(\003\022\036\n\026objects_co" + + "pied_to_sink\030\007 \001(\003\022\034\n\024bytes_copied_to_si" + + "nk\030\010 \001(\003\022#\n\033objects_deleted_from_source\030" + + "\t \001(\003\022!\n\031bytes_deleted_from_source\030\n \001(\003" + + "\022!\n\031objects_deleted_from_sink\030\013 \001(\003\022\037\n\027b" + + "ytes_deleted_from_sink\030\014 \001(\003\022\"\n\032objects_" + + "from_source_failed\030\r \001(\003\022 \n\030bytes_from_s" + + "ource_failed\030\016 \001(\003\022*\n\"objects_failed_to_" + + "delete_from_sink\030\017 \001(\003\022(\n bytes_failed_t" + + "o_delete_from_sink\030\020 \001(\003\022%\n\035directories_" + + "found_from_source\030\021 \001(\003\022.\n&directories_f" + + "ailed_to_list_from_source\030\022 \001(\003\0223\n+direc" + + "tories_successfully_listed_from_source\030\023" + + " \001(\003\022\'\n\037intermediate_objects_cleaned_up\030" + + "\026 \001(\003\022.\n&intermediate_objects_failed_cle" + + "aned_up\030\027 \001(\003\"\245\003\n\022NotificationConfig\022\031\n\014" + + "pubsub_topic\030\001 \001(\tB\003\340A\002\022L\n\013event_types\030\002" + + " \003(\01627.google.storagetransfer.v1.Notific" + + "ationConfig.EventType\022X\n\016payload_format\030" + + "\003 \001(\0162;.google.storagetransfer.v1.Notifi" + + "cationConfig.PayloadFormatB\003\340A\002\"\206\001\n\tEven" + + "tType\022\032\n\026EVENT_TYPE_UNSPECIFIED\020\000\022\036\n\032TRA" + + "NSFER_OPERATION_SUCCESS\020\001\022\035\n\031TRANSFER_OP" + + "ERATION_FAILED\020\002\022\036\n\032TRANSFER_OPERATION_A" + + "BORTED\020\003\"C\n\rPayloadFormat\022\036\n\032PAYLOAD_FOR" + + "MAT_UNSPECIFIED\020\000\022\010\n\004NONE\020\001\022\010\n\004JSON\020\002\"\213\003" + + "\n\rLoggingConfig\022L\n\013log_actions\030\001 \003(\01627.g" + + "oogle.storagetransfer.v1.LoggingConfig.L" + + "oggableAction\022W\n\021log_action_states\030\002 \003(\016" + + "2<.google.storagetransfer.v1.LoggingConf" + + "ig.LoggableActionState\022\'\n\037enable_onprem_" + + "gcs_transfer_logs\030\003 \001(\010\"Q\n\016LoggableActio" + + "n\022\037\n\033LOGGABLE_ACTION_UNSPECIFIED\020\000\022\010\n\004FI" + + "ND\020\001\022\n\n\006DELETE\020\002\022\010\n\004COPY\020\003\"W\n\023LoggableAc" + + "tionState\022%\n!LOGGABLE_ACTION_STATE_UNSPE" + + "CIFIED\020\000\022\r\n\tSUCCEEDED\020\001\022\n\n\006FAILED\020\002\"\362\004\n\021" + + "TransferOperation\022\014\n\004name\030\001 \001(\t\022\022\n\nproje" + + "ct_id\030\002 \001(\t\022>\n\rtransfer_spec\030\003 \001(\0132\'.goo" + + "gle.storagetransfer.v1.TransferSpec\022J\n\023n" + + "otification_config\030\n \001(\0132-.google.storag" + + "etransfer.v1.NotificationConfig\022.\n\nstart" + + "_time\030\004 \001(\0132\032.google.protobuf.Timestamp\022" + + ",\n\010end_time\030\005 \001(\0132\032.google.protobuf.Time" + + "stamp\022C\n\006status\030\006 \001(\01623.google.storagetr" + + "ansfer.v1.TransferOperation.Status\022=\n\010co" + + "unters\030\007 \001(\0132+.google.storagetransfer.v1" + + ".TransferCounters\022A\n\020error_breakdowns\030\010 " + + "\003(\0132\'.google.storagetransfer.v1.ErrorSum" + + "mary\022\031\n\021transfer_job_name\030\t \001(\t\"o\n\006Statu" + + "s\022\026\n\022STATUS_UNSPECIFIED\020\000\022\017\n\013IN_PROGRESS" + + "\020\001\022\n\n\006PAUSED\020\002\022\013\n\007SUCCESS\020\003\022\n\n\006FAILED\020\004\022" + + "\013\n\007ABORTED\020\005\022\n\n\006QUEUED\020\006B\352\001\n#com.google." + + "storagetransfer.v1.protoB\rTransferTypesZ" + + "Hgoogle.golang.org/genproto/googleapis/s" + + "toragetransfer/v1;storagetransfer\370\001\001\252\002\037G" + + "oogle.Cloud.StorageTransfer.V1\312\002\037Google\\" + + "Cloud\\StorageTransfer\\V1\352\002\"Google::Cloud" + + "::StorageTransfer::V1b\006proto3" }; - descriptor = - com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( - descriptorData, - new com.google.protobuf.Descriptors.FileDescriptor[] { - com.google.api.FieldBehaviorProto.getDescriptor(), - com.google.api.ResourceProto.getDescriptor(), - com.google.protobuf.DurationProto.getDescriptor(), - com.google.protobuf.TimestampProto.getDescriptor(), - com.google.rpc.CodeProto.getDescriptor(), - com.google.type.DateProto.getDescriptor(), - com.google.type.TimeOfDayProto.getDescriptor(), - }); + descriptor = com.google.protobuf.Descriptors.FileDescriptor + .internalBuildGeneratedFileFrom(descriptorData, + new com.google.protobuf.Descriptors.FileDescriptor[] { + com.google.api.FieldBehaviorProto.getDescriptor(), + com.google.api.ResourceProto.getDescriptor(), + com.google.protobuf.DurationProto.getDescriptor(), + com.google.protobuf.TimestampProto.getDescriptor(), + com.google.rpc.CodeProto.getDescriptor(), + com.google.type.DateProto.getDescriptor(), + com.google.type.TimeOfDayProto.getDescriptor(), + }); internal_static_google_storagetransfer_v1_GoogleServiceAccount_descriptor = - getDescriptor().getMessageTypes().get(0); - internal_static_google_storagetransfer_v1_GoogleServiceAccount_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_storagetransfer_v1_GoogleServiceAccount_descriptor, - new java.lang.String[] { - "AccountEmail", "SubjectId", - }); + getDescriptor().getMessageTypes().get(0); + internal_static_google_storagetransfer_v1_GoogleServiceAccount_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_storagetransfer_v1_GoogleServiceAccount_descriptor, + new java.lang.String[] { "AccountEmail", "SubjectId", }); internal_static_google_storagetransfer_v1_AwsAccessKey_descriptor = - getDescriptor().getMessageTypes().get(1); - internal_static_google_storagetransfer_v1_AwsAccessKey_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_storagetransfer_v1_AwsAccessKey_descriptor, - new java.lang.String[] { - "AccessKeyId", "SecretAccessKey", - }); + getDescriptor().getMessageTypes().get(1); + internal_static_google_storagetransfer_v1_AwsAccessKey_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_storagetransfer_v1_AwsAccessKey_descriptor, + new java.lang.String[] { "AccessKeyId", "SecretAccessKey", }); internal_static_google_storagetransfer_v1_AzureCredentials_descriptor = - getDescriptor().getMessageTypes().get(2); - internal_static_google_storagetransfer_v1_AzureCredentials_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_storagetransfer_v1_AzureCredentials_descriptor, - new java.lang.String[] { - "SasToken", - }); + getDescriptor().getMessageTypes().get(2); + internal_static_google_storagetransfer_v1_AzureCredentials_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_storagetransfer_v1_AzureCredentials_descriptor, + new java.lang.String[] { "SasToken", }); internal_static_google_storagetransfer_v1_ObjectConditions_descriptor = - getDescriptor().getMessageTypes().get(3); - internal_static_google_storagetransfer_v1_ObjectConditions_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_storagetransfer_v1_ObjectConditions_descriptor, - new java.lang.String[] { - "MinTimeElapsedSinceLastModification", - "MaxTimeElapsedSinceLastModification", - "IncludePrefixes", - "ExcludePrefixes", - "LastModifiedSince", - "LastModifiedBefore", - }); + getDescriptor().getMessageTypes().get(3); + internal_static_google_storagetransfer_v1_ObjectConditions_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_storagetransfer_v1_ObjectConditions_descriptor, + new java.lang.String[] { "MinTimeElapsedSinceLastModification", "MaxTimeElapsedSinceLastModification", "IncludePrefixes", "ExcludePrefixes", "LastModifiedSince", "LastModifiedBefore", }); internal_static_google_storagetransfer_v1_GcsData_descriptor = - getDescriptor().getMessageTypes().get(4); - internal_static_google_storagetransfer_v1_GcsData_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_storagetransfer_v1_GcsData_descriptor, - new java.lang.String[] { - "BucketName", "Path", - }); + getDescriptor().getMessageTypes().get(4); + internal_static_google_storagetransfer_v1_GcsData_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_storagetransfer_v1_GcsData_descriptor, + new java.lang.String[] { "BucketName", "Path", }); internal_static_google_storagetransfer_v1_AwsS3Data_descriptor = - getDescriptor().getMessageTypes().get(5); - internal_static_google_storagetransfer_v1_AwsS3Data_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_storagetransfer_v1_AwsS3Data_descriptor, - new java.lang.String[] { - "BucketName", "AwsAccessKey", "Path", "RoleArn", - }); + getDescriptor().getMessageTypes().get(5); + internal_static_google_storagetransfer_v1_AwsS3Data_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_storagetransfer_v1_AwsS3Data_descriptor, + new java.lang.String[] { "BucketName", "AwsAccessKey", "Path", "RoleArn", }); internal_static_google_storagetransfer_v1_AzureBlobStorageData_descriptor = - getDescriptor().getMessageTypes().get(6); - internal_static_google_storagetransfer_v1_AzureBlobStorageData_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_storagetransfer_v1_AzureBlobStorageData_descriptor, - new java.lang.String[] { - "StorageAccount", "AzureCredentials", "Container", "Path", - }); + getDescriptor().getMessageTypes().get(6); + internal_static_google_storagetransfer_v1_AzureBlobStorageData_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_storagetransfer_v1_AzureBlobStorageData_descriptor, + new java.lang.String[] { "StorageAccount", "AzureCredentials", "Container", "Path", }); internal_static_google_storagetransfer_v1_HttpData_descriptor = - getDescriptor().getMessageTypes().get(7); - internal_static_google_storagetransfer_v1_HttpData_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_storagetransfer_v1_HttpData_descriptor, - new java.lang.String[] { - "ListUrl", - }); + getDescriptor().getMessageTypes().get(7); + internal_static_google_storagetransfer_v1_HttpData_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_storagetransfer_v1_HttpData_descriptor, + new java.lang.String[] { "ListUrl", }); internal_static_google_storagetransfer_v1_PosixFilesystem_descriptor = - getDescriptor().getMessageTypes().get(8); - internal_static_google_storagetransfer_v1_PosixFilesystem_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_storagetransfer_v1_PosixFilesystem_descriptor, - new java.lang.String[] { - "RootDirectory", - }); + getDescriptor().getMessageTypes().get(8); + internal_static_google_storagetransfer_v1_PosixFilesystem_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_storagetransfer_v1_PosixFilesystem_descriptor, + new java.lang.String[] { "RootDirectory", }); + internal_static_google_storagetransfer_v1_AwsS3CompatibleData_descriptor = + getDescriptor().getMessageTypes().get(9); + internal_static_google_storagetransfer_v1_AwsS3CompatibleData_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_storagetransfer_v1_AwsS3CompatibleData_descriptor, + new java.lang.String[] { "BucketName", "Path", "Endpoint", "Region", "S3Metadata", "DataProvider", }); + internal_static_google_storagetransfer_v1_S3CompatibleMetadata_descriptor = + getDescriptor().getMessageTypes().get(10); + internal_static_google_storagetransfer_v1_S3CompatibleMetadata_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_storagetransfer_v1_S3CompatibleMetadata_descriptor, + new java.lang.String[] { "AuthMethod", "RequestModel", "Protocol", "ListApi", }); internal_static_google_storagetransfer_v1_AgentPool_descriptor = - getDescriptor().getMessageTypes().get(9); - internal_static_google_storagetransfer_v1_AgentPool_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_storagetransfer_v1_AgentPool_descriptor, - new java.lang.String[] { - "Name", "DisplayName", "State", "BandwidthLimit", - }); + getDescriptor().getMessageTypes().get(11); + internal_static_google_storagetransfer_v1_AgentPool_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_storagetransfer_v1_AgentPool_descriptor, + new java.lang.String[] { "Name", "DisplayName", "State", "BandwidthLimit", }); internal_static_google_storagetransfer_v1_AgentPool_BandwidthLimit_descriptor = - internal_static_google_storagetransfer_v1_AgentPool_descriptor.getNestedTypes().get(0); - internal_static_google_storagetransfer_v1_AgentPool_BandwidthLimit_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_storagetransfer_v1_AgentPool_BandwidthLimit_descriptor, - new java.lang.String[] { - "LimitMbps", - }); + internal_static_google_storagetransfer_v1_AgentPool_descriptor.getNestedTypes().get(0); + internal_static_google_storagetransfer_v1_AgentPool_BandwidthLimit_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_storagetransfer_v1_AgentPool_BandwidthLimit_descriptor, + new java.lang.String[] { "LimitMbps", }); internal_static_google_storagetransfer_v1_TransferOptions_descriptor = - getDescriptor().getMessageTypes().get(10); - internal_static_google_storagetransfer_v1_TransferOptions_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_storagetransfer_v1_TransferOptions_descriptor, - new java.lang.String[] { - "OverwriteObjectsAlreadyExistingInSink", - "DeleteObjectsUniqueInSink", - "DeleteObjectsFromSourceAfterTransfer", - "OverwriteWhen", - "MetadataOptions", - }); + getDescriptor().getMessageTypes().get(12); + internal_static_google_storagetransfer_v1_TransferOptions_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_storagetransfer_v1_TransferOptions_descriptor, + new java.lang.String[] { "OverwriteObjectsAlreadyExistingInSink", "DeleteObjectsUniqueInSink", "DeleteObjectsFromSourceAfterTransfer", "OverwriteWhen", "MetadataOptions", }); internal_static_google_storagetransfer_v1_TransferSpec_descriptor = - getDescriptor().getMessageTypes().get(11); - internal_static_google_storagetransfer_v1_TransferSpec_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_storagetransfer_v1_TransferSpec_descriptor, - new java.lang.String[] { - "GcsDataSink", - "PosixDataSink", - "GcsDataSource", - "AwsS3DataSource", - "HttpDataSource", - "PosixDataSource", - "AzureBlobStorageDataSource", - "GcsIntermediateDataLocation", - "ObjectConditions", - "TransferOptions", - "TransferManifest", - "SourceAgentPoolName", - "SinkAgentPoolName", - "DataSink", - "DataSource", - "IntermediateDataLocation", - }); + getDescriptor().getMessageTypes().get(13); + internal_static_google_storagetransfer_v1_TransferSpec_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_storagetransfer_v1_TransferSpec_descriptor, + new java.lang.String[] { "GcsDataSink", "PosixDataSink", "GcsDataSource", "AwsS3DataSource", "HttpDataSource", "PosixDataSource", "AzureBlobStorageDataSource", "AwsS3CompatibleDataSource", "GcsIntermediateDataLocation", "ObjectConditions", "TransferOptions", "TransferManifest", "SourceAgentPoolName", "SinkAgentPoolName", "DataSink", "DataSource", "IntermediateDataLocation", }); internal_static_google_storagetransfer_v1_MetadataOptions_descriptor = - getDescriptor().getMessageTypes().get(12); - internal_static_google_storagetransfer_v1_MetadataOptions_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_storagetransfer_v1_MetadataOptions_descriptor, - new java.lang.String[] { - "Symlink", - "Mode", - "Gid", - "Uid", - "Acl", - "StorageClass", - "TemporaryHold", - "KmsKey", - "TimeCreated", - }); + getDescriptor().getMessageTypes().get(14); + internal_static_google_storagetransfer_v1_MetadataOptions_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_storagetransfer_v1_MetadataOptions_descriptor, + new java.lang.String[] { "Symlink", "Mode", "Gid", "Uid", "Acl", "StorageClass", "TemporaryHold", "KmsKey", "TimeCreated", }); internal_static_google_storagetransfer_v1_TransferManifest_descriptor = - getDescriptor().getMessageTypes().get(13); - internal_static_google_storagetransfer_v1_TransferManifest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_storagetransfer_v1_TransferManifest_descriptor, - new java.lang.String[] { - "Location", - }); + getDescriptor().getMessageTypes().get(15); + internal_static_google_storagetransfer_v1_TransferManifest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_storagetransfer_v1_TransferManifest_descriptor, + new java.lang.String[] { "Location", }); internal_static_google_storagetransfer_v1_Schedule_descriptor = - getDescriptor().getMessageTypes().get(14); - internal_static_google_storagetransfer_v1_Schedule_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_storagetransfer_v1_Schedule_descriptor, - new java.lang.String[] { - "ScheduleStartDate", - "ScheduleEndDate", - "StartTimeOfDay", - "EndTimeOfDay", - "RepeatInterval", - }); + getDescriptor().getMessageTypes().get(16); + internal_static_google_storagetransfer_v1_Schedule_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_storagetransfer_v1_Schedule_descriptor, + new java.lang.String[] { "ScheduleStartDate", "ScheduleEndDate", "StartTimeOfDay", "EndTimeOfDay", "RepeatInterval", }); internal_static_google_storagetransfer_v1_TransferJob_descriptor = - getDescriptor().getMessageTypes().get(15); - internal_static_google_storagetransfer_v1_TransferJob_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_storagetransfer_v1_TransferJob_descriptor, - new java.lang.String[] { - "Name", - "Description", - "ProjectId", - "TransferSpec", - "NotificationConfig", - "LoggingConfig", - "Schedule", - "Status", - "CreationTime", - "LastModificationTime", - "DeletionTime", - "LatestOperationName", - }); + getDescriptor().getMessageTypes().get(17); + internal_static_google_storagetransfer_v1_TransferJob_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_storagetransfer_v1_TransferJob_descriptor, + new java.lang.String[] { "Name", "Description", "ProjectId", "TransferSpec", "NotificationConfig", "LoggingConfig", "Schedule", "Status", "CreationTime", "LastModificationTime", "DeletionTime", "LatestOperationName", }); internal_static_google_storagetransfer_v1_ErrorLogEntry_descriptor = - getDescriptor().getMessageTypes().get(16); - internal_static_google_storagetransfer_v1_ErrorLogEntry_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_storagetransfer_v1_ErrorLogEntry_descriptor, - new java.lang.String[] { - "Url", "ErrorDetails", - }); + getDescriptor().getMessageTypes().get(18); + internal_static_google_storagetransfer_v1_ErrorLogEntry_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_storagetransfer_v1_ErrorLogEntry_descriptor, + new java.lang.String[] { "Url", "ErrorDetails", }); internal_static_google_storagetransfer_v1_ErrorSummary_descriptor = - getDescriptor().getMessageTypes().get(17); - internal_static_google_storagetransfer_v1_ErrorSummary_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_storagetransfer_v1_ErrorSummary_descriptor, - new java.lang.String[] { - "ErrorCode", "ErrorCount", "ErrorLogEntries", - }); + getDescriptor().getMessageTypes().get(19); + internal_static_google_storagetransfer_v1_ErrorSummary_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_storagetransfer_v1_ErrorSummary_descriptor, + new java.lang.String[] { "ErrorCode", "ErrorCount", "ErrorLogEntries", }); internal_static_google_storagetransfer_v1_TransferCounters_descriptor = - getDescriptor().getMessageTypes().get(18); - internal_static_google_storagetransfer_v1_TransferCounters_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_storagetransfer_v1_TransferCounters_descriptor, - new java.lang.String[] { - "ObjectsFoundFromSource", - "BytesFoundFromSource", - "ObjectsFoundOnlyFromSink", - "BytesFoundOnlyFromSink", - "ObjectsFromSourceSkippedBySync", - "BytesFromSourceSkippedBySync", - "ObjectsCopiedToSink", - "BytesCopiedToSink", - "ObjectsDeletedFromSource", - "BytesDeletedFromSource", - "ObjectsDeletedFromSink", - "BytesDeletedFromSink", - "ObjectsFromSourceFailed", - "BytesFromSourceFailed", - "ObjectsFailedToDeleteFromSink", - "BytesFailedToDeleteFromSink", - "DirectoriesFoundFromSource", - "DirectoriesFailedToListFromSource", - "DirectoriesSuccessfullyListedFromSource", - "IntermediateObjectsCleanedUp", - "IntermediateObjectsFailedCleanedUp", - }); + getDescriptor().getMessageTypes().get(20); + internal_static_google_storagetransfer_v1_TransferCounters_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_storagetransfer_v1_TransferCounters_descriptor, + new java.lang.String[] { "ObjectsFoundFromSource", "BytesFoundFromSource", "ObjectsFoundOnlyFromSink", "BytesFoundOnlyFromSink", "ObjectsFromSourceSkippedBySync", "BytesFromSourceSkippedBySync", "ObjectsCopiedToSink", "BytesCopiedToSink", "ObjectsDeletedFromSource", "BytesDeletedFromSource", "ObjectsDeletedFromSink", "BytesDeletedFromSink", "ObjectsFromSourceFailed", "BytesFromSourceFailed", "ObjectsFailedToDeleteFromSink", "BytesFailedToDeleteFromSink", "DirectoriesFoundFromSource", "DirectoriesFailedToListFromSource", "DirectoriesSuccessfullyListedFromSource", "IntermediateObjectsCleanedUp", "IntermediateObjectsFailedCleanedUp", }); internal_static_google_storagetransfer_v1_NotificationConfig_descriptor = - getDescriptor().getMessageTypes().get(19); - internal_static_google_storagetransfer_v1_NotificationConfig_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_storagetransfer_v1_NotificationConfig_descriptor, - new java.lang.String[] { - "PubsubTopic", "EventTypes", "PayloadFormat", - }); + getDescriptor().getMessageTypes().get(21); + internal_static_google_storagetransfer_v1_NotificationConfig_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_storagetransfer_v1_NotificationConfig_descriptor, + new java.lang.String[] { "PubsubTopic", "EventTypes", "PayloadFormat", }); internal_static_google_storagetransfer_v1_LoggingConfig_descriptor = - getDescriptor().getMessageTypes().get(20); - internal_static_google_storagetransfer_v1_LoggingConfig_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_storagetransfer_v1_LoggingConfig_descriptor, - new java.lang.String[] { - "LogActions", "LogActionStates", "EnableOnpremGcsTransferLogs", - }); + getDescriptor().getMessageTypes().get(22); + internal_static_google_storagetransfer_v1_LoggingConfig_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_storagetransfer_v1_LoggingConfig_descriptor, + new java.lang.String[] { "LogActions", "LogActionStates", "EnableOnpremGcsTransferLogs", }); internal_static_google_storagetransfer_v1_TransferOperation_descriptor = - getDescriptor().getMessageTypes().get(21); - internal_static_google_storagetransfer_v1_TransferOperation_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_storagetransfer_v1_TransferOperation_descriptor, - new java.lang.String[] { - "Name", - "ProjectId", - "TransferSpec", - "NotificationConfig", - "StartTime", - "EndTime", - "Status", - "Counters", - "ErrorBreakdowns", - "TransferJobName", - }); + getDescriptor().getMessageTypes().get(23); + internal_static_google_storagetransfer_v1_TransferOperation_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_storagetransfer_v1_TransferOperation_descriptor, + new java.lang.String[] { "Name", "ProjectId", "TransferSpec", "NotificationConfig", "StartTime", "EndTime", "Status", "Counters", "ErrorBreakdowns", "TransferJobName", }); com.google.protobuf.ExtensionRegistry registry = com.google.protobuf.ExtensionRegistry.newInstance(); registry.add(com.google.api.FieldBehaviorProto.fieldBehavior); registry.add(com.google.api.ResourceProto.resource); - com.google.protobuf.Descriptors.FileDescriptor.internalUpdateFileDescriptor( - descriptor, registry); + com.google.protobuf.Descriptors.FileDescriptor + .internalUpdateFileDescriptor(descriptor, registry); com.google.api.FieldBehaviorProto.getDescriptor(); com.google.api.ResourceProto.getDescriptor(); com.google.protobuf.DurationProto.getDescriptor(); diff --git a/proto-google-cloud-storage-transfer-v1/src/main/proto/google/storagetransfer/v1/transfer.proto b/owl-bot-staging/v1/proto-google-cloud-storage-transfer-v1/src/main/proto/google/storagetransfer/v1/transfer.proto similarity index 95% rename from proto-google-cloud-storage-transfer-v1/src/main/proto/google/storagetransfer/v1/transfer.proto rename to owl-bot-staging/v1/proto-google-cloud-storage-transfer-v1/src/main/proto/google/storagetransfer/v1/transfer.proto index 5ee7211..802cc10 100644 --- a/proto-google-cloud-storage-transfer-v1/src/main/proto/google/storagetransfer/v1/transfer.proto +++ b/owl-bot-staging/v1/proto-google-cloud-storage-transfer-v1/src/main/proto/google/storagetransfer/v1/transfer.proto @@ -120,6 +120,14 @@ service StorageTransferService { }; } + // Deletes a transfer job. Deleting a transfer job sets its status to + // [DELETED][google.storagetransfer.v1.TransferJob.Status.DELETED]. + rpc DeleteTransferJob(DeleteTransferJobRequest) returns (google.protobuf.Empty) { + option (google.api.http) = { + delete: "/v1/{job_name=transferJobs/**}" + }; + } + // Creates an agent pool resource. rpc CreateAgentPool(CreateAgentPoolRequest) returns (AgentPool) { option (google.api.http) = { @@ -194,7 +202,7 @@ message UpdateTransferJobRequest { // other fields are rejected with the error // [INVALID_ARGUMENT][google.rpc.Code.INVALID_ARGUMENT]. Updating a job status // to [DELETED][google.storagetransfer.v1.TransferJob.Status.DELETED] requires - // `storagetransfer.jobs.delete` permissions. + // `storagetransfer.jobs.delete` permission. TransferJob transfer_job = 3 [(google.api.field_behavior) = REQUIRED]; // The field mask of the fields in `transferJob` that are to be updated in @@ -220,6 +228,16 @@ message GetTransferJobRequest { string project_id = 2 [(google.api.field_behavior) = REQUIRED]; } +// Request passed to DeleteTransferJob. +message DeleteTransferJobRequest { + // Required. The job to delete. + string job_name = 1 [(google.api.field_behavior) = REQUIRED]; + + // Required. The ID of the Google Cloud project that owns the + // job. + string project_id = 2 [(google.api.field_behavior) = REQUIRED]; +} + // `projectId`, `jobNames`, and `jobStatuses` are query parameters that can // be specified when listing transfer jobs. message ListTransferJobsRequest { diff --git a/proto-google-cloud-storage-transfer-v1/src/main/proto/google/storagetransfer/v1/transfer_types.proto b/owl-bot-staging/v1/proto-google-cloud-storage-transfer-v1/src/main/proto/google/storagetransfer/v1/transfer_types.proto similarity index 91% rename from proto-google-cloud-storage-transfer-v1/src/main/proto/google/storagetransfer/v1/transfer_types.proto rename to owl-bot-staging/v1/proto-google-cloud-storage-transfer-v1/src/main/proto/google/storagetransfer/v1/transfer_types.proto index cfb87a6..4e1a3b5 100644 --- a/proto-google-cloud-storage-transfer-v1/src/main/proto/google/storagetransfer/v1/transfer_types.proto +++ b/owl-bot-staging/v1/proto-google-cloud-storage-transfer-v1/src/main/proto/google/storagetransfer/v1/transfer_types.proto @@ -319,6 +319,108 @@ message PosixFilesystem { string root_directory = 1; } +// An AwsS3CompatibleData resource. +message AwsS3CompatibleData { + // Required. Specifies the name of the bucket. + string bucket_name = 1 [(google.api.field_behavior) = REQUIRED]; + + // Specifies the root path to transfer objects. + // + // Must be an empty string or full path name that ends with a '/'. This + // field is treated as an object prefix. As such, it should generally not + // begin with a '/'. + string path = 2; + + // Required. Specifies the endpoint of the storage service. + string endpoint = 3 [(google.api.field_behavior) = REQUIRED]; + + // Specifies the region to sign requests with. This can be left blank if + // requests should be signed with an empty region. + string region = 5; + + // Specifies the metadata of the S3 compatible data provider. Each provider + // may contain some attributes that do not apply to all S3-compatible data + // providers. When not specified, S3CompatibleMetadata is used by default. + oneof data_provider { + // A S3 compatible metadata. + S3CompatibleMetadata s3_metadata = 4; + } +} + +// S3CompatibleMetadata contains the metadata fields that apply to the basic +// types of S3-compatible data providers. +message S3CompatibleMetadata { + // The authentication and authorization method used by the storage service. + enum AuthMethod { + // AuthMethod is not specified. + AUTH_METHOD_UNSPECIFIED = 0; + + // Auth requests with AWS SigV4. + AUTH_METHOD_AWS_SIGNATURE_V4 = 1; + + // Auth requests with AWS SigV2. + AUTH_METHOD_AWS_SIGNATURE_V2 = 2; + } + + // The request model of the API. + enum RequestModel { + // RequestModel is not specified. + REQUEST_MODEL_UNSPECIFIED = 0; + + // Perform requests using Virtual Hosted Style. + // Example: https://bucket-name.s3.region.amazonaws.com/key-name + REQUEST_MODEL_VIRTUAL_HOSTED_STYLE = 1; + + // Perform requests using Path Style. + // Example: https://s3.region.amazonaws.com/bucket-name/key-name + REQUEST_MODEL_PATH_STYLE = 2; + } + + // The agent network protocol to access the storage service. + enum NetworkProtocol { + // NetworkProtocol is not specified. + NETWORK_PROTOCOL_UNSPECIFIED = 0; + + // Perform requests using HTTPS. + NETWORK_PROTOCOL_HTTPS = 1; + + // Not recommended: This sends data in clear-text. This is only + // appropriate within a closed network or for publicly available data. + // Perform requests using HTTP. + NETWORK_PROTOCOL_HTTP = 2; + } + + // The Listing API to use for discovering objects. + enum ListApi { + // ListApi is not specified. + LIST_API_UNSPECIFIED = 0; + + // Perform listing using ListObjectsV2 API. + LIST_OBJECTS_V2 = 1; + + // Legacy ListObjects API. + LIST_OBJECTS = 2; + } + + // Specifies the authentication and authorization method used by the storage + // service. When not specified, Transfer Service will attempt to determine + // right auth method to use. + AuthMethod auth_method = 1; + + // Specifies the API request model used to call the storage service. When not + // specified, the default value of RequestModel + // REQUEST_MODEL_VIRTUAL_HOSTED_STYLE is used. + RequestModel request_model = 2; + + // Specifies the network protocol of the agent. When not specified, the + // default value of NetworkProtocol NETWORK_PROTOCOL_HTTPS is used. + NetworkProtocol protocol = 3; + + // The Listing API to use for discovering objects. When not specified, + // Transfer Service will attempt to determine the right API to use. + ListApi list_api = 4; +} + // Represents an On-Premises Agent pool. message AgentPool { option (google.api.resource) = { @@ -372,17 +474,19 @@ message TransferOptions { // Specifies when to overwrite an object in the sink when an object with // matching name is found in the source. enum OverwriteWhen { - // Indicate the option is not set. + // Overwrite behavior is unspecified. OVERWRITE_WHEN_UNSPECIFIED = 0; - // Overwrite destination object with source if the two objects are - // different. + // Overwrites destination objects with the source objects, only if the + // objects have the same name but different HTTP ETags or checksum values. DIFFERENT = 1; - // Never overwrite destination object. + // Never overwrites a destination object if a source object has the + // same name. In this case, the source object is not transferred. NEVER = 2; - // Always overwrite destination object. + // Always overwrite the destination object with the source object, even if + // the HTTP Etags or checksum values are the same. ALWAYS = 3; } @@ -405,13 +509,12 @@ message TransferOptions { // exclusive. bool delete_objects_from_source_after_transfer = 3; - // When to overwrite objects that already exist in the sink. If not set + // When to overwrite objects that already exist in the sink. If not set, // overwrite behavior is determined by // [overwrite_objects_already_existing_in_sink][google.storagetransfer.v1.TransferOptions.overwrite_objects_already_existing_in_sink]. OverwriteWhen overwrite_when = 4; - // Represents the selected metadata options for a transfer job. This feature - // is in Preview. + // Represents the selected metadata options for a transfer job. MetadataOptions metadata_options = 5; } @@ -442,6 +545,9 @@ message TransferSpec { // An Azure Blob Storage data source. AzureBlobStorageData azure_blob_storage_data_source = 8; + + // An AWS S3 compatible data source. + AwsS3CompatibleData aws_s3_compatible_data_source = 19; } // Represents a supported data container type which is required for transfer From e19b544f207fc93645e0fc8300aa6a3ea25446db Mon Sep 17 00:00:00 2001 From: Owl Bot Date: Fri, 9 Sep 2022 23:51:40 +0000 Subject: [PATCH 2/2] =?UTF-8?q?=F0=9F=A6=89=20Updates=20from=20OwlBot=20po?= =?UTF-8?q?st-processor?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md --- .../proto/StorageTransferServiceClient.java | 0 .../proto/StorageTransferServiceSettings.java | 1 - .../v1/proto/gapic_metadata.json | 0 .../v1/proto/package-info.java | 0 ...StorageTransferServiceCallableFactory.java | 0 .../stub/GrpcStorageTransferServiceStub.java | 1 - ...StorageTransferServiceCallableFactory.java | 0 .../HttpJsonStorageTransferServiceStub.java | 1 - .../stub/StorageTransferServiceStub.java | 0 .../StorageTransferServiceStubSettings.java | 0 .../v1/proto/MockStorageTransferService.java | 0 .../proto/MockStorageTransferServiceImpl.java | 0 ...rageTransferServiceClientHttpJsonTest.java | 0 .../StorageTransferServiceClientTest.java | 0 .../v1/proto/StorageTransferServiceGrpc.java | 2067 ++ .../v1/proto/StorageTransferServiceGrpc.java | 1495 -- .../v1/proto/TransferProto.java | 8799 ++++--- .../v1/proto/TransferTypes.java | 21953 ++++++++++------ .../google/storagetransfer/v1/transfer.proto | 0 .../storagetransfer/v1/transfer_types.proto | 0 20 files changed, 21564 insertions(+), 12753 deletions(-) rename {owl-bot-staging/v1/google-cloud-storage-transfer => google-cloud-storage-transfer}/src/main/java/com/google/storagetransfer/v1/proto/StorageTransferServiceClient.java (100%) rename {owl-bot-staging/v1/google-cloud-storage-transfer => google-cloud-storage-transfer}/src/main/java/com/google/storagetransfer/v1/proto/StorageTransferServiceSettings.java (99%) rename {owl-bot-staging/v1/google-cloud-storage-transfer => google-cloud-storage-transfer}/src/main/java/com/google/storagetransfer/v1/proto/gapic_metadata.json (100%) rename {owl-bot-staging/v1/google-cloud-storage-transfer => google-cloud-storage-transfer}/src/main/java/com/google/storagetransfer/v1/proto/package-info.java (100%) rename {owl-bot-staging/v1/google-cloud-storage-transfer => google-cloud-storage-transfer}/src/main/java/com/google/storagetransfer/v1/proto/stub/GrpcStorageTransferServiceCallableFactory.java (100%) rename {owl-bot-staging/v1/google-cloud-storage-transfer => google-cloud-storage-transfer}/src/main/java/com/google/storagetransfer/v1/proto/stub/GrpcStorageTransferServiceStub.java (99%) rename {owl-bot-staging/v1/google-cloud-storage-transfer => google-cloud-storage-transfer}/src/main/java/com/google/storagetransfer/v1/proto/stub/HttpJsonStorageTransferServiceCallableFactory.java (100%) rename {owl-bot-staging/v1/google-cloud-storage-transfer => google-cloud-storage-transfer}/src/main/java/com/google/storagetransfer/v1/proto/stub/HttpJsonStorageTransferServiceStub.java (99%) rename {owl-bot-staging/v1/google-cloud-storage-transfer => google-cloud-storage-transfer}/src/main/java/com/google/storagetransfer/v1/proto/stub/StorageTransferServiceStub.java (100%) rename {owl-bot-staging/v1/google-cloud-storage-transfer => google-cloud-storage-transfer}/src/main/java/com/google/storagetransfer/v1/proto/stub/StorageTransferServiceStubSettings.java (100%) rename {owl-bot-staging/v1/google-cloud-storage-transfer => google-cloud-storage-transfer}/src/test/java/com/google/storagetransfer/v1/proto/MockStorageTransferService.java (100%) rename {owl-bot-staging/v1/google-cloud-storage-transfer => google-cloud-storage-transfer}/src/test/java/com/google/storagetransfer/v1/proto/MockStorageTransferServiceImpl.java (100%) rename {owl-bot-staging/v1/google-cloud-storage-transfer => google-cloud-storage-transfer}/src/test/java/com/google/storagetransfer/v1/proto/StorageTransferServiceClientHttpJsonTest.java (100%) rename {owl-bot-staging/v1/google-cloud-storage-transfer => google-cloud-storage-transfer}/src/test/java/com/google/storagetransfer/v1/proto/StorageTransferServiceClientTest.java (100%) create mode 100644 grpc-google-cloud-storage-transfer-v1/src/main/java/com/google/storagetransfer/v1/proto/StorageTransferServiceGrpc.java delete mode 100644 owl-bot-staging/v1/grpc-google-cloud-storage-transfer-v1/src/main/java/com/google/storagetransfer/v1/proto/StorageTransferServiceGrpc.java rename {owl-bot-staging/v1/proto-google-cloud-storage-transfer-v1 => proto-google-cloud-storage-transfer-v1}/src/main/java/com/google/storagetransfer/v1/proto/TransferProto.java (66%) rename {owl-bot-staging/v1/proto-google-cloud-storage-transfer-v1 => proto-google-cloud-storage-transfer-v1}/src/main/java/com/google/storagetransfer/v1/proto/TransferTypes.java (73%) rename {owl-bot-staging/v1/proto-google-cloud-storage-transfer-v1 => proto-google-cloud-storage-transfer-v1}/src/main/proto/google/storagetransfer/v1/transfer.proto (100%) rename {owl-bot-staging/v1/proto-google-cloud-storage-transfer-v1 => proto-google-cloud-storage-transfer-v1}/src/main/proto/google/storagetransfer/v1/transfer_types.proto (100%) diff --git a/owl-bot-staging/v1/google-cloud-storage-transfer/src/main/java/com/google/storagetransfer/v1/proto/StorageTransferServiceClient.java b/google-cloud-storage-transfer/src/main/java/com/google/storagetransfer/v1/proto/StorageTransferServiceClient.java similarity index 100% rename from owl-bot-staging/v1/google-cloud-storage-transfer/src/main/java/com/google/storagetransfer/v1/proto/StorageTransferServiceClient.java rename to google-cloud-storage-transfer/src/main/java/com/google/storagetransfer/v1/proto/StorageTransferServiceClient.java diff --git a/owl-bot-staging/v1/google-cloud-storage-transfer/src/main/java/com/google/storagetransfer/v1/proto/StorageTransferServiceSettings.java b/google-cloud-storage-transfer/src/main/java/com/google/storagetransfer/v1/proto/StorageTransferServiceSettings.java similarity index 99% rename from owl-bot-staging/v1/google-cloud-storage-transfer/src/main/java/com/google/storagetransfer/v1/proto/StorageTransferServiceSettings.java rename to google-cloud-storage-transfer/src/main/java/com/google/storagetransfer/v1/proto/StorageTransferServiceSettings.java index 094655c..2072ffc 100644 --- a/owl-bot-staging/v1/google-cloud-storage-transfer/src/main/java/com/google/storagetransfer/v1/proto/StorageTransferServiceSettings.java +++ b/google-cloud-storage-transfer/src/main/java/com/google/storagetransfer/v1/proto/StorageTransferServiceSettings.java @@ -30,7 +30,6 @@ 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.longrunning.Operation; diff --git a/owl-bot-staging/v1/google-cloud-storage-transfer/src/main/java/com/google/storagetransfer/v1/proto/gapic_metadata.json b/google-cloud-storage-transfer/src/main/java/com/google/storagetransfer/v1/proto/gapic_metadata.json similarity index 100% rename from owl-bot-staging/v1/google-cloud-storage-transfer/src/main/java/com/google/storagetransfer/v1/proto/gapic_metadata.json rename to google-cloud-storage-transfer/src/main/java/com/google/storagetransfer/v1/proto/gapic_metadata.json diff --git a/owl-bot-staging/v1/google-cloud-storage-transfer/src/main/java/com/google/storagetransfer/v1/proto/package-info.java b/google-cloud-storage-transfer/src/main/java/com/google/storagetransfer/v1/proto/package-info.java similarity index 100% rename from owl-bot-staging/v1/google-cloud-storage-transfer/src/main/java/com/google/storagetransfer/v1/proto/package-info.java rename to google-cloud-storage-transfer/src/main/java/com/google/storagetransfer/v1/proto/package-info.java diff --git a/owl-bot-staging/v1/google-cloud-storage-transfer/src/main/java/com/google/storagetransfer/v1/proto/stub/GrpcStorageTransferServiceCallableFactory.java b/google-cloud-storage-transfer/src/main/java/com/google/storagetransfer/v1/proto/stub/GrpcStorageTransferServiceCallableFactory.java similarity index 100% rename from owl-bot-staging/v1/google-cloud-storage-transfer/src/main/java/com/google/storagetransfer/v1/proto/stub/GrpcStorageTransferServiceCallableFactory.java rename to google-cloud-storage-transfer/src/main/java/com/google/storagetransfer/v1/proto/stub/GrpcStorageTransferServiceCallableFactory.java diff --git a/owl-bot-staging/v1/google-cloud-storage-transfer/src/main/java/com/google/storagetransfer/v1/proto/stub/GrpcStorageTransferServiceStub.java b/google-cloud-storage-transfer/src/main/java/com/google/storagetransfer/v1/proto/stub/GrpcStorageTransferServiceStub.java similarity index 99% rename from owl-bot-staging/v1/google-cloud-storage-transfer/src/main/java/com/google/storagetransfer/v1/proto/stub/GrpcStorageTransferServiceStub.java rename to google-cloud-storage-transfer/src/main/java/com/google/storagetransfer/v1/proto/stub/GrpcStorageTransferServiceStub.java index 7db2d8c..934a234 100644 --- a/owl-bot-staging/v1/google-cloud-storage-transfer/src/main/java/com/google/storagetransfer/v1/proto/stub/GrpcStorageTransferServiceStub.java +++ b/google-cloud-storage-transfer/src/main/java/com/google/storagetransfer/v1/proto/stub/GrpcStorageTransferServiceStub.java @@ -35,7 +35,6 @@ 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/owl-bot-staging/v1/google-cloud-storage-transfer/src/main/java/com/google/storagetransfer/v1/proto/stub/HttpJsonStorageTransferServiceCallableFactory.java b/google-cloud-storage-transfer/src/main/java/com/google/storagetransfer/v1/proto/stub/HttpJsonStorageTransferServiceCallableFactory.java similarity index 100% rename from owl-bot-staging/v1/google-cloud-storage-transfer/src/main/java/com/google/storagetransfer/v1/proto/stub/HttpJsonStorageTransferServiceCallableFactory.java rename to google-cloud-storage-transfer/src/main/java/com/google/storagetransfer/v1/proto/stub/HttpJsonStorageTransferServiceCallableFactory.java diff --git a/owl-bot-staging/v1/google-cloud-storage-transfer/src/main/java/com/google/storagetransfer/v1/proto/stub/HttpJsonStorageTransferServiceStub.java b/google-cloud-storage-transfer/src/main/java/com/google/storagetransfer/v1/proto/stub/HttpJsonStorageTransferServiceStub.java similarity index 99% rename from owl-bot-staging/v1/google-cloud-storage-transfer/src/main/java/com/google/storagetransfer/v1/proto/stub/HttpJsonStorageTransferServiceStub.java rename to google-cloud-storage-transfer/src/main/java/com/google/storagetransfer/v1/proto/stub/HttpJsonStorageTransferServiceStub.java index 7664cec..c4cb0a4 100644 --- a/owl-bot-staging/v1/google-cloud-storage-transfer/src/main/java/com/google/storagetransfer/v1/proto/stub/HttpJsonStorageTransferServiceStub.java +++ b/google-cloud-storage-transfer/src/main/java/com/google/storagetransfer/v1/proto/stub/HttpJsonStorageTransferServiceStub.java @@ -31,7 +31,6 @@ 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/owl-bot-staging/v1/google-cloud-storage-transfer/src/main/java/com/google/storagetransfer/v1/proto/stub/StorageTransferServiceStub.java b/google-cloud-storage-transfer/src/main/java/com/google/storagetransfer/v1/proto/stub/StorageTransferServiceStub.java similarity index 100% rename from owl-bot-staging/v1/google-cloud-storage-transfer/src/main/java/com/google/storagetransfer/v1/proto/stub/StorageTransferServiceStub.java rename to google-cloud-storage-transfer/src/main/java/com/google/storagetransfer/v1/proto/stub/StorageTransferServiceStub.java diff --git a/owl-bot-staging/v1/google-cloud-storage-transfer/src/main/java/com/google/storagetransfer/v1/proto/stub/StorageTransferServiceStubSettings.java b/google-cloud-storage-transfer/src/main/java/com/google/storagetransfer/v1/proto/stub/StorageTransferServiceStubSettings.java similarity index 100% rename from owl-bot-staging/v1/google-cloud-storage-transfer/src/main/java/com/google/storagetransfer/v1/proto/stub/StorageTransferServiceStubSettings.java rename to google-cloud-storage-transfer/src/main/java/com/google/storagetransfer/v1/proto/stub/StorageTransferServiceStubSettings.java diff --git a/owl-bot-staging/v1/google-cloud-storage-transfer/src/test/java/com/google/storagetransfer/v1/proto/MockStorageTransferService.java b/google-cloud-storage-transfer/src/test/java/com/google/storagetransfer/v1/proto/MockStorageTransferService.java similarity index 100% rename from owl-bot-staging/v1/google-cloud-storage-transfer/src/test/java/com/google/storagetransfer/v1/proto/MockStorageTransferService.java rename to google-cloud-storage-transfer/src/test/java/com/google/storagetransfer/v1/proto/MockStorageTransferService.java diff --git a/owl-bot-staging/v1/google-cloud-storage-transfer/src/test/java/com/google/storagetransfer/v1/proto/MockStorageTransferServiceImpl.java b/google-cloud-storage-transfer/src/test/java/com/google/storagetransfer/v1/proto/MockStorageTransferServiceImpl.java similarity index 100% rename from owl-bot-staging/v1/google-cloud-storage-transfer/src/test/java/com/google/storagetransfer/v1/proto/MockStorageTransferServiceImpl.java rename to google-cloud-storage-transfer/src/test/java/com/google/storagetransfer/v1/proto/MockStorageTransferServiceImpl.java diff --git a/owl-bot-staging/v1/google-cloud-storage-transfer/src/test/java/com/google/storagetransfer/v1/proto/StorageTransferServiceClientHttpJsonTest.java b/google-cloud-storage-transfer/src/test/java/com/google/storagetransfer/v1/proto/StorageTransferServiceClientHttpJsonTest.java similarity index 100% rename from owl-bot-staging/v1/google-cloud-storage-transfer/src/test/java/com/google/storagetransfer/v1/proto/StorageTransferServiceClientHttpJsonTest.java rename to google-cloud-storage-transfer/src/test/java/com/google/storagetransfer/v1/proto/StorageTransferServiceClientHttpJsonTest.java diff --git a/owl-bot-staging/v1/google-cloud-storage-transfer/src/test/java/com/google/storagetransfer/v1/proto/StorageTransferServiceClientTest.java b/google-cloud-storage-transfer/src/test/java/com/google/storagetransfer/v1/proto/StorageTransferServiceClientTest.java similarity index 100% rename from owl-bot-staging/v1/google-cloud-storage-transfer/src/test/java/com/google/storagetransfer/v1/proto/StorageTransferServiceClientTest.java rename to google-cloud-storage-transfer/src/test/java/com/google/storagetransfer/v1/proto/StorageTransferServiceClientTest.java diff --git a/grpc-google-cloud-storage-transfer-v1/src/main/java/com/google/storagetransfer/v1/proto/StorageTransferServiceGrpc.java b/grpc-google-cloud-storage-transfer-v1/src/main/java/com/google/storagetransfer/v1/proto/StorageTransferServiceGrpc.java new file mode 100644 index 0000000..f3c71c4 --- /dev/null +++ b/grpc-google-cloud-storage-transfer-v1/src/main/java/com/google/storagetransfer/v1/proto/StorageTransferServiceGrpc.java @@ -0,0 +1,2067 @@ +/* + * 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.storagetransfer.v1.proto; + +import static io.grpc.MethodDescriptor.generateFullMethodName; + +/** + * + * + *
+ * Storage Transfer Service and its protos.
+ * Transfers data between between Google Cloud Storage buckets or from a data
+ * source external to Google to a Cloud Storage bucket.
+ * 
+ */ +@javax.annotation.Generated( + value = "by gRPC proto compiler", + comments = "Source: google/storagetransfer/v1/transfer.proto") +@io.grpc.stub.annotations.GrpcGenerated +public final class StorageTransferServiceGrpc { + + private StorageTransferServiceGrpc() {} + + public static final String SERVICE_NAME = "google.storagetransfer.v1.StorageTransferService"; + + // Static method descriptors that strictly reflect the proto. + private static volatile io.grpc.MethodDescriptor< + com.google.storagetransfer.v1.proto.TransferProto.GetGoogleServiceAccountRequest, + com.google.storagetransfer.v1.proto.TransferTypes.GoogleServiceAccount> + getGetGoogleServiceAccountMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "GetGoogleServiceAccount", + requestType = + com.google.storagetransfer.v1.proto.TransferProto.GetGoogleServiceAccountRequest.class, + responseType = com.google.storagetransfer.v1.proto.TransferTypes.GoogleServiceAccount.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.storagetransfer.v1.proto.TransferProto.GetGoogleServiceAccountRequest, + com.google.storagetransfer.v1.proto.TransferTypes.GoogleServiceAccount> + getGetGoogleServiceAccountMethod() { + io.grpc.MethodDescriptor< + com.google.storagetransfer.v1.proto.TransferProto.GetGoogleServiceAccountRequest, + com.google.storagetransfer.v1.proto.TransferTypes.GoogleServiceAccount> + getGetGoogleServiceAccountMethod; + if ((getGetGoogleServiceAccountMethod = + StorageTransferServiceGrpc.getGetGoogleServiceAccountMethod) + == null) { + synchronized (StorageTransferServiceGrpc.class) { + if ((getGetGoogleServiceAccountMethod = + StorageTransferServiceGrpc.getGetGoogleServiceAccountMethod) + == null) { + StorageTransferServiceGrpc.getGetGoogleServiceAccountMethod = + getGetGoogleServiceAccountMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName( + generateFullMethodName(SERVICE_NAME, "GetGoogleServiceAccount")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.storagetransfer.v1.proto.TransferProto + .GetGoogleServiceAccountRequest.getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.storagetransfer.v1.proto.TransferTypes.GoogleServiceAccount + .getDefaultInstance())) + .setSchemaDescriptor( + new StorageTransferServiceMethodDescriptorSupplier( + "GetGoogleServiceAccount")) + .build(); + } + } + } + return getGetGoogleServiceAccountMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.storagetransfer.v1.proto.TransferProto.CreateTransferJobRequest, + com.google.storagetransfer.v1.proto.TransferTypes.TransferJob> + getCreateTransferJobMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "CreateTransferJob", + requestType = + com.google.storagetransfer.v1.proto.TransferProto.CreateTransferJobRequest.class, + responseType = com.google.storagetransfer.v1.proto.TransferTypes.TransferJob.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.storagetransfer.v1.proto.TransferProto.CreateTransferJobRequest, + com.google.storagetransfer.v1.proto.TransferTypes.TransferJob> + getCreateTransferJobMethod() { + io.grpc.MethodDescriptor< + com.google.storagetransfer.v1.proto.TransferProto.CreateTransferJobRequest, + com.google.storagetransfer.v1.proto.TransferTypes.TransferJob> + getCreateTransferJobMethod; + if ((getCreateTransferJobMethod = StorageTransferServiceGrpc.getCreateTransferJobMethod) + == null) { + synchronized (StorageTransferServiceGrpc.class) { + if ((getCreateTransferJobMethod = StorageTransferServiceGrpc.getCreateTransferJobMethod) + == null) { + StorageTransferServiceGrpc.getCreateTransferJobMethod = + getCreateTransferJobMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "CreateTransferJob")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.storagetransfer.v1.proto.TransferProto + .CreateTransferJobRequest.getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.storagetransfer.v1.proto.TransferTypes.TransferJob + .getDefaultInstance())) + .setSchemaDescriptor( + new StorageTransferServiceMethodDescriptorSupplier("CreateTransferJob")) + .build(); + } + } + } + return getCreateTransferJobMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.storagetransfer.v1.proto.TransferProto.UpdateTransferJobRequest, + com.google.storagetransfer.v1.proto.TransferTypes.TransferJob> + getUpdateTransferJobMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "UpdateTransferJob", + requestType = + com.google.storagetransfer.v1.proto.TransferProto.UpdateTransferJobRequest.class, + responseType = com.google.storagetransfer.v1.proto.TransferTypes.TransferJob.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.storagetransfer.v1.proto.TransferProto.UpdateTransferJobRequest, + com.google.storagetransfer.v1.proto.TransferTypes.TransferJob> + getUpdateTransferJobMethod() { + io.grpc.MethodDescriptor< + com.google.storagetransfer.v1.proto.TransferProto.UpdateTransferJobRequest, + com.google.storagetransfer.v1.proto.TransferTypes.TransferJob> + getUpdateTransferJobMethod; + if ((getUpdateTransferJobMethod = StorageTransferServiceGrpc.getUpdateTransferJobMethod) + == null) { + synchronized (StorageTransferServiceGrpc.class) { + if ((getUpdateTransferJobMethod = StorageTransferServiceGrpc.getUpdateTransferJobMethod) + == null) { + StorageTransferServiceGrpc.getUpdateTransferJobMethod = + getUpdateTransferJobMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "UpdateTransferJob")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.storagetransfer.v1.proto.TransferProto + .UpdateTransferJobRequest.getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.storagetransfer.v1.proto.TransferTypes.TransferJob + .getDefaultInstance())) + .setSchemaDescriptor( + new StorageTransferServiceMethodDescriptorSupplier("UpdateTransferJob")) + .build(); + } + } + } + return getUpdateTransferJobMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.storagetransfer.v1.proto.TransferProto.GetTransferJobRequest, + com.google.storagetransfer.v1.proto.TransferTypes.TransferJob> + getGetTransferJobMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "GetTransferJob", + requestType = com.google.storagetransfer.v1.proto.TransferProto.GetTransferJobRequest.class, + responseType = com.google.storagetransfer.v1.proto.TransferTypes.TransferJob.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.storagetransfer.v1.proto.TransferProto.GetTransferJobRequest, + com.google.storagetransfer.v1.proto.TransferTypes.TransferJob> + getGetTransferJobMethod() { + io.grpc.MethodDescriptor< + com.google.storagetransfer.v1.proto.TransferProto.GetTransferJobRequest, + com.google.storagetransfer.v1.proto.TransferTypes.TransferJob> + getGetTransferJobMethod; + if ((getGetTransferJobMethod = StorageTransferServiceGrpc.getGetTransferJobMethod) == null) { + synchronized (StorageTransferServiceGrpc.class) { + if ((getGetTransferJobMethod = StorageTransferServiceGrpc.getGetTransferJobMethod) + == null) { + StorageTransferServiceGrpc.getGetTransferJobMethod = + getGetTransferJobMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetTransferJob")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.storagetransfer.v1.proto.TransferProto + .GetTransferJobRequest.getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.storagetransfer.v1.proto.TransferTypes.TransferJob + .getDefaultInstance())) + .setSchemaDescriptor( + new StorageTransferServiceMethodDescriptorSupplier("GetTransferJob")) + .build(); + } + } + } + return getGetTransferJobMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.storagetransfer.v1.proto.TransferProto.ListTransferJobsRequest, + com.google.storagetransfer.v1.proto.TransferProto.ListTransferJobsResponse> + getListTransferJobsMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "ListTransferJobs", + requestType = com.google.storagetransfer.v1.proto.TransferProto.ListTransferJobsRequest.class, + responseType = + com.google.storagetransfer.v1.proto.TransferProto.ListTransferJobsResponse.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.storagetransfer.v1.proto.TransferProto.ListTransferJobsRequest, + com.google.storagetransfer.v1.proto.TransferProto.ListTransferJobsResponse> + getListTransferJobsMethod() { + io.grpc.MethodDescriptor< + com.google.storagetransfer.v1.proto.TransferProto.ListTransferJobsRequest, + com.google.storagetransfer.v1.proto.TransferProto.ListTransferJobsResponse> + getListTransferJobsMethod; + if ((getListTransferJobsMethod = StorageTransferServiceGrpc.getListTransferJobsMethod) + == null) { + synchronized (StorageTransferServiceGrpc.class) { + if ((getListTransferJobsMethod = StorageTransferServiceGrpc.getListTransferJobsMethod) + == null) { + StorageTransferServiceGrpc.getListTransferJobsMethod = + getListTransferJobsMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListTransferJobs")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.storagetransfer.v1.proto.TransferProto + .ListTransferJobsRequest.getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.storagetransfer.v1.proto.TransferProto + .ListTransferJobsResponse.getDefaultInstance())) + .setSchemaDescriptor( + new StorageTransferServiceMethodDescriptorSupplier("ListTransferJobs")) + .build(); + } + } + } + return getListTransferJobsMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.storagetransfer.v1.proto.TransferProto.PauseTransferOperationRequest, + com.google.protobuf.Empty> + getPauseTransferOperationMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "PauseTransferOperation", + requestType = + com.google.storagetransfer.v1.proto.TransferProto.PauseTransferOperationRequest.class, + responseType = com.google.protobuf.Empty.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.storagetransfer.v1.proto.TransferProto.PauseTransferOperationRequest, + com.google.protobuf.Empty> + getPauseTransferOperationMethod() { + io.grpc.MethodDescriptor< + com.google.storagetransfer.v1.proto.TransferProto.PauseTransferOperationRequest, + com.google.protobuf.Empty> + getPauseTransferOperationMethod; + if ((getPauseTransferOperationMethod = + StorageTransferServiceGrpc.getPauseTransferOperationMethod) + == null) { + synchronized (StorageTransferServiceGrpc.class) { + if ((getPauseTransferOperationMethod = + StorageTransferServiceGrpc.getPauseTransferOperationMethod) + == null) { + StorageTransferServiceGrpc.getPauseTransferOperationMethod = + getPauseTransferOperationMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName( + generateFullMethodName(SERVICE_NAME, "PauseTransferOperation")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.storagetransfer.v1.proto.TransferProto + .PauseTransferOperationRequest.getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.protobuf.Empty.getDefaultInstance())) + .setSchemaDescriptor( + new StorageTransferServiceMethodDescriptorSupplier( + "PauseTransferOperation")) + .build(); + } + } + } + return getPauseTransferOperationMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.storagetransfer.v1.proto.TransferProto.ResumeTransferOperationRequest, + com.google.protobuf.Empty> + getResumeTransferOperationMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "ResumeTransferOperation", + requestType = + com.google.storagetransfer.v1.proto.TransferProto.ResumeTransferOperationRequest.class, + responseType = com.google.protobuf.Empty.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.storagetransfer.v1.proto.TransferProto.ResumeTransferOperationRequest, + com.google.protobuf.Empty> + getResumeTransferOperationMethod() { + io.grpc.MethodDescriptor< + com.google.storagetransfer.v1.proto.TransferProto.ResumeTransferOperationRequest, + com.google.protobuf.Empty> + getResumeTransferOperationMethod; + if ((getResumeTransferOperationMethod = + StorageTransferServiceGrpc.getResumeTransferOperationMethod) + == null) { + synchronized (StorageTransferServiceGrpc.class) { + if ((getResumeTransferOperationMethod = + StorageTransferServiceGrpc.getResumeTransferOperationMethod) + == null) { + StorageTransferServiceGrpc.getResumeTransferOperationMethod = + getResumeTransferOperationMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName( + generateFullMethodName(SERVICE_NAME, "ResumeTransferOperation")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.storagetransfer.v1.proto.TransferProto + .ResumeTransferOperationRequest.getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.protobuf.Empty.getDefaultInstance())) + .setSchemaDescriptor( + new StorageTransferServiceMethodDescriptorSupplier( + "ResumeTransferOperation")) + .build(); + } + } + } + return getResumeTransferOperationMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.storagetransfer.v1.proto.TransferProto.RunTransferJobRequest, + com.google.longrunning.Operation> + getRunTransferJobMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "RunTransferJob", + requestType = com.google.storagetransfer.v1.proto.TransferProto.RunTransferJobRequest.class, + responseType = com.google.longrunning.Operation.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.storagetransfer.v1.proto.TransferProto.RunTransferJobRequest, + com.google.longrunning.Operation> + getRunTransferJobMethod() { + io.grpc.MethodDescriptor< + com.google.storagetransfer.v1.proto.TransferProto.RunTransferJobRequest, + com.google.longrunning.Operation> + getRunTransferJobMethod; + if ((getRunTransferJobMethod = StorageTransferServiceGrpc.getRunTransferJobMethod) == null) { + synchronized (StorageTransferServiceGrpc.class) { + if ((getRunTransferJobMethod = StorageTransferServiceGrpc.getRunTransferJobMethod) + == null) { + StorageTransferServiceGrpc.getRunTransferJobMethod = + getRunTransferJobMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "RunTransferJob")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.storagetransfer.v1.proto.TransferProto + .RunTransferJobRequest.getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.longrunning.Operation.getDefaultInstance())) + .setSchemaDescriptor( + new StorageTransferServiceMethodDescriptorSupplier("RunTransferJob")) + .build(); + } + } + } + return getRunTransferJobMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.storagetransfer.v1.proto.TransferProto.DeleteTransferJobRequest, + com.google.protobuf.Empty> + getDeleteTransferJobMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "DeleteTransferJob", + requestType = + com.google.storagetransfer.v1.proto.TransferProto.DeleteTransferJobRequest.class, + responseType = com.google.protobuf.Empty.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.storagetransfer.v1.proto.TransferProto.DeleteTransferJobRequest, + com.google.protobuf.Empty> + getDeleteTransferJobMethod() { + io.grpc.MethodDescriptor< + com.google.storagetransfer.v1.proto.TransferProto.DeleteTransferJobRequest, + com.google.protobuf.Empty> + getDeleteTransferJobMethod; + if ((getDeleteTransferJobMethod = StorageTransferServiceGrpc.getDeleteTransferJobMethod) + == null) { + synchronized (StorageTransferServiceGrpc.class) { + if ((getDeleteTransferJobMethod = StorageTransferServiceGrpc.getDeleteTransferJobMethod) + == null) { + StorageTransferServiceGrpc.getDeleteTransferJobMethod = + getDeleteTransferJobMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "DeleteTransferJob")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.storagetransfer.v1.proto.TransferProto + .DeleteTransferJobRequest.getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.protobuf.Empty.getDefaultInstance())) + .setSchemaDescriptor( + new StorageTransferServiceMethodDescriptorSupplier("DeleteTransferJob")) + .build(); + } + } + } + return getDeleteTransferJobMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.storagetransfer.v1.proto.TransferProto.CreateAgentPoolRequest, + com.google.storagetransfer.v1.proto.TransferTypes.AgentPool> + getCreateAgentPoolMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "CreateAgentPool", + requestType = com.google.storagetransfer.v1.proto.TransferProto.CreateAgentPoolRequest.class, + responseType = com.google.storagetransfer.v1.proto.TransferTypes.AgentPool.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.storagetransfer.v1.proto.TransferProto.CreateAgentPoolRequest, + com.google.storagetransfer.v1.proto.TransferTypes.AgentPool> + getCreateAgentPoolMethod() { + io.grpc.MethodDescriptor< + com.google.storagetransfer.v1.proto.TransferProto.CreateAgentPoolRequest, + com.google.storagetransfer.v1.proto.TransferTypes.AgentPool> + getCreateAgentPoolMethod; + if ((getCreateAgentPoolMethod = StorageTransferServiceGrpc.getCreateAgentPoolMethod) == null) { + synchronized (StorageTransferServiceGrpc.class) { + if ((getCreateAgentPoolMethod = StorageTransferServiceGrpc.getCreateAgentPoolMethod) + == null) { + StorageTransferServiceGrpc.getCreateAgentPoolMethod = + getCreateAgentPoolMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "CreateAgentPool")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.storagetransfer.v1.proto.TransferProto + .CreateAgentPoolRequest.getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.storagetransfer.v1.proto.TransferTypes.AgentPool + .getDefaultInstance())) + .setSchemaDescriptor( + new StorageTransferServiceMethodDescriptorSupplier("CreateAgentPool")) + .build(); + } + } + } + return getCreateAgentPoolMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.storagetransfer.v1.proto.TransferProto.UpdateAgentPoolRequest, + com.google.storagetransfer.v1.proto.TransferTypes.AgentPool> + getUpdateAgentPoolMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "UpdateAgentPool", + requestType = com.google.storagetransfer.v1.proto.TransferProto.UpdateAgentPoolRequest.class, + responseType = com.google.storagetransfer.v1.proto.TransferTypes.AgentPool.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.storagetransfer.v1.proto.TransferProto.UpdateAgentPoolRequest, + com.google.storagetransfer.v1.proto.TransferTypes.AgentPool> + getUpdateAgentPoolMethod() { + io.grpc.MethodDescriptor< + com.google.storagetransfer.v1.proto.TransferProto.UpdateAgentPoolRequest, + com.google.storagetransfer.v1.proto.TransferTypes.AgentPool> + getUpdateAgentPoolMethod; + if ((getUpdateAgentPoolMethod = StorageTransferServiceGrpc.getUpdateAgentPoolMethod) == null) { + synchronized (StorageTransferServiceGrpc.class) { + if ((getUpdateAgentPoolMethod = StorageTransferServiceGrpc.getUpdateAgentPoolMethod) + == null) { + StorageTransferServiceGrpc.getUpdateAgentPoolMethod = + getUpdateAgentPoolMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "UpdateAgentPool")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.storagetransfer.v1.proto.TransferProto + .UpdateAgentPoolRequest.getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.storagetransfer.v1.proto.TransferTypes.AgentPool + .getDefaultInstance())) + .setSchemaDescriptor( + new StorageTransferServiceMethodDescriptorSupplier("UpdateAgentPool")) + .build(); + } + } + } + return getUpdateAgentPoolMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.storagetransfer.v1.proto.TransferProto.GetAgentPoolRequest, + com.google.storagetransfer.v1.proto.TransferTypes.AgentPool> + getGetAgentPoolMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "GetAgentPool", + requestType = com.google.storagetransfer.v1.proto.TransferProto.GetAgentPoolRequest.class, + responseType = com.google.storagetransfer.v1.proto.TransferTypes.AgentPool.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.storagetransfer.v1.proto.TransferProto.GetAgentPoolRequest, + com.google.storagetransfer.v1.proto.TransferTypes.AgentPool> + getGetAgentPoolMethod() { + io.grpc.MethodDescriptor< + com.google.storagetransfer.v1.proto.TransferProto.GetAgentPoolRequest, + com.google.storagetransfer.v1.proto.TransferTypes.AgentPool> + getGetAgentPoolMethod; + if ((getGetAgentPoolMethod = StorageTransferServiceGrpc.getGetAgentPoolMethod) == null) { + synchronized (StorageTransferServiceGrpc.class) { + if ((getGetAgentPoolMethod = StorageTransferServiceGrpc.getGetAgentPoolMethod) == null) { + StorageTransferServiceGrpc.getGetAgentPoolMethod = + getGetAgentPoolMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetAgentPool")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.storagetransfer.v1.proto.TransferProto.GetAgentPoolRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.storagetransfer.v1.proto.TransferTypes.AgentPool + .getDefaultInstance())) + .setSchemaDescriptor( + new StorageTransferServiceMethodDescriptorSupplier("GetAgentPool")) + .build(); + } + } + } + return getGetAgentPoolMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.storagetransfer.v1.proto.TransferProto.ListAgentPoolsRequest, + com.google.storagetransfer.v1.proto.TransferProto.ListAgentPoolsResponse> + getListAgentPoolsMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "ListAgentPools", + requestType = com.google.storagetransfer.v1.proto.TransferProto.ListAgentPoolsRequest.class, + responseType = com.google.storagetransfer.v1.proto.TransferProto.ListAgentPoolsResponse.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.storagetransfer.v1.proto.TransferProto.ListAgentPoolsRequest, + com.google.storagetransfer.v1.proto.TransferProto.ListAgentPoolsResponse> + getListAgentPoolsMethod() { + io.grpc.MethodDescriptor< + com.google.storagetransfer.v1.proto.TransferProto.ListAgentPoolsRequest, + com.google.storagetransfer.v1.proto.TransferProto.ListAgentPoolsResponse> + getListAgentPoolsMethod; + if ((getListAgentPoolsMethod = StorageTransferServiceGrpc.getListAgentPoolsMethod) == null) { + synchronized (StorageTransferServiceGrpc.class) { + if ((getListAgentPoolsMethod = StorageTransferServiceGrpc.getListAgentPoolsMethod) + == null) { + StorageTransferServiceGrpc.getListAgentPoolsMethod = + getListAgentPoolsMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListAgentPools")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.storagetransfer.v1.proto.TransferProto + .ListAgentPoolsRequest.getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.storagetransfer.v1.proto.TransferProto + .ListAgentPoolsResponse.getDefaultInstance())) + .setSchemaDescriptor( + new StorageTransferServiceMethodDescriptorSupplier("ListAgentPools")) + .build(); + } + } + } + return getListAgentPoolsMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.storagetransfer.v1.proto.TransferProto.DeleteAgentPoolRequest, + com.google.protobuf.Empty> + getDeleteAgentPoolMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "DeleteAgentPool", + requestType = com.google.storagetransfer.v1.proto.TransferProto.DeleteAgentPoolRequest.class, + responseType = com.google.protobuf.Empty.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.storagetransfer.v1.proto.TransferProto.DeleteAgentPoolRequest, + com.google.protobuf.Empty> + getDeleteAgentPoolMethod() { + io.grpc.MethodDescriptor< + com.google.storagetransfer.v1.proto.TransferProto.DeleteAgentPoolRequest, + com.google.protobuf.Empty> + getDeleteAgentPoolMethod; + if ((getDeleteAgentPoolMethod = StorageTransferServiceGrpc.getDeleteAgentPoolMethod) == null) { + synchronized (StorageTransferServiceGrpc.class) { + if ((getDeleteAgentPoolMethod = StorageTransferServiceGrpc.getDeleteAgentPoolMethod) + == null) { + StorageTransferServiceGrpc.getDeleteAgentPoolMethod = + getDeleteAgentPoolMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "DeleteAgentPool")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.storagetransfer.v1.proto.TransferProto + .DeleteAgentPoolRequest.getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.protobuf.Empty.getDefaultInstance())) + .setSchemaDescriptor( + new StorageTransferServiceMethodDescriptorSupplier("DeleteAgentPool")) + .build(); + } + } + } + return getDeleteAgentPoolMethod; + } + + /** Creates a new async stub that supports all call types for the service */ + public static StorageTransferServiceStub newStub(io.grpc.Channel channel) { + io.grpc.stub.AbstractStub.StubFactory factory = + new io.grpc.stub.AbstractStub.StubFactory() { + @java.lang.Override + public StorageTransferServiceStub newStub( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new StorageTransferServiceStub(channel, callOptions); + } + }; + return StorageTransferServiceStub.newStub(factory, channel); + } + + /** + * Creates a new blocking-style stub that supports unary and streaming output calls on the service + */ + public static StorageTransferServiceBlockingStub newBlockingStub(io.grpc.Channel channel) { + io.grpc.stub.AbstractStub.StubFactory factory = + new io.grpc.stub.AbstractStub.StubFactory() { + @java.lang.Override + public StorageTransferServiceBlockingStub newStub( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new StorageTransferServiceBlockingStub(channel, callOptions); + } + }; + return StorageTransferServiceBlockingStub.newStub(factory, channel); + } + + /** Creates a new ListenableFuture-style stub that supports unary calls on the service */ + public static StorageTransferServiceFutureStub newFutureStub(io.grpc.Channel channel) { + io.grpc.stub.AbstractStub.StubFactory factory = + new io.grpc.stub.AbstractStub.StubFactory() { + @java.lang.Override + public StorageTransferServiceFutureStub newStub( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new StorageTransferServiceFutureStub(channel, callOptions); + } + }; + return StorageTransferServiceFutureStub.newStub(factory, channel); + } + + /** + * + * + *
+   * Storage Transfer Service and its protos.
+   * Transfers data between between Google Cloud Storage buckets or from a data
+   * source external to Google to a Cloud Storage bucket.
+   * 
+ */ + public abstract static class StorageTransferServiceImplBase implements io.grpc.BindableService { + + /** + * + * + *
+     * Returns the Google service account that is used by Storage Transfer
+     * Service to access buckets in the project where transfers
+     * run or in other projects. Each Google service account is associated
+     * with one Google Cloud project. Users
+     * should add this service account to the Google Cloud Storage bucket
+     * ACLs to grant access to Storage Transfer Service. This service
+     * account is created and owned by Storage Transfer Service and can
+     * only be used by Storage Transfer Service.
+     * 
+ */ + public void getGoogleServiceAccount( + com.google.storagetransfer.v1.proto.TransferProto.GetGoogleServiceAccountRequest request, + io.grpc.stub.StreamObserver< + com.google.storagetransfer.v1.proto.TransferTypes.GoogleServiceAccount> + responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getGetGoogleServiceAccountMethod(), responseObserver); + } + + /** + * + * + *
+     * Creates a transfer job that runs periodically.
+     * 
+ */ + public void createTransferJob( + com.google.storagetransfer.v1.proto.TransferProto.CreateTransferJobRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getCreateTransferJobMethod(), responseObserver); + } + + /** + * + * + *
+     * Updates a transfer job. Updating a job's transfer spec does not affect
+     * transfer operations that are running already.
+     * **Note:** The job's [status][google.storagetransfer.v1.TransferJob.status] field can be modified
+     * using this RPC (for example, to set a job's status to
+     * [DELETED][google.storagetransfer.v1.TransferJob.Status.DELETED],
+     * [DISABLED][google.storagetransfer.v1.TransferJob.Status.DISABLED], or
+     * [ENABLED][google.storagetransfer.v1.TransferJob.Status.ENABLED]).
+     * 
+ */ + public void updateTransferJob( + com.google.storagetransfer.v1.proto.TransferProto.UpdateTransferJobRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getUpdateTransferJobMethod(), responseObserver); + } + + /** + * + * + *
+     * Gets a transfer job.
+     * 
+ */ + public void getTransferJob( + com.google.storagetransfer.v1.proto.TransferProto.GetTransferJobRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getGetTransferJobMethod(), responseObserver); + } + + /** + * + * + *
+     * Lists transfer jobs.
+     * 
+ */ + public void listTransferJobs( + com.google.storagetransfer.v1.proto.TransferProto.ListTransferJobsRequest request, + io.grpc.stub.StreamObserver< + com.google.storagetransfer.v1.proto.TransferProto.ListTransferJobsResponse> + responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getListTransferJobsMethod(), responseObserver); + } + + /** + * + * + *
+     * Pauses a transfer operation.
+     * 
+ */ + public void pauseTransferOperation( + com.google.storagetransfer.v1.proto.TransferProto.PauseTransferOperationRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getPauseTransferOperationMethod(), responseObserver); + } + + /** + * + * + *
+     * Resumes a transfer operation that is paused.
+     * 
+ */ + public void resumeTransferOperation( + com.google.storagetransfer.v1.proto.TransferProto.ResumeTransferOperationRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getResumeTransferOperationMethod(), responseObserver); + } + + /** + * + * + *
+     * Attempts to start a new TransferOperation for the current TransferJob. A
+     * TransferJob has a maximum of one active TransferOperation. If this method
+     * is called while a TransferOperation is active, an error will be returned.
+     * 
+ */ + public void runTransferJob( + com.google.storagetransfer.v1.proto.TransferProto.RunTransferJobRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getRunTransferJobMethod(), responseObserver); + } + + /** + * + * + *
+     * Deletes a transfer job. Deleting a transfer job sets its status to
+     * [DELETED][google.storagetransfer.v1.TransferJob.Status.DELETED].
+     * 
+ */ + public void deleteTransferJob( + com.google.storagetransfer.v1.proto.TransferProto.DeleteTransferJobRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getDeleteTransferJobMethod(), responseObserver); + } + + /** + * + * + *
+     * Creates an agent pool resource.
+     * 
+ */ + public void createAgentPool( + com.google.storagetransfer.v1.proto.TransferProto.CreateAgentPoolRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getCreateAgentPoolMethod(), responseObserver); + } + + /** + * + * + *
+     * Updates an existing agent pool resource.
+     * 
+ */ + public void updateAgentPool( + com.google.storagetransfer.v1.proto.TransferProto.UpdateAgentPoolRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getUpdateAgentPoolMethod(), responseObserver); + } + + /** + * + * + *
+     * Gets an agent pool.
+     * 
+ */ + public void getAgentPool( + com.google.storagetransfer.v1.proto.TransferProto.GetAgentPoolRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getGetAgentPoolMethod(), responseObserver); + } + + /** + * + * + *
+     * Lists agent pools.
+     * 
+ */ + public void listAgentPools( + com.google.storagetransfer.v1.proto.TransferProto.ListAgentPoolsRequest request, + io.grpc.stub.StreamObserver< + com.google.storagetransfer.v1.proto.TransferProto.ListAgentPoolsResponse> + responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getListAgentPoolsMethod(), responseObserver); + } + + /** + * + * + *
+     * Deletes an agent pool.
+     * 
+ */ + public void deleteAgentPool( + com.google.storagetransfer.v1.proto.TransferProto.DeleteAgentPoolRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getDeleteAgentPoolMethod(), responseObserver); + } + + @java.lang.Override + public final io.grpc.ServerServiceDefinition bindService() { + return io.grpc.ServerServiceDefinition.builder(getServiceDescriptor()) + .addMethod( + getGetGoogleServiceAccountMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.storagetransfer.v1.proto.TransferProto + .GetGoogleServiceAccountRequest, + com.google.storagetransfer.v1.proto.TransferTypes.GoogleServiceAccount>( + this, METHODID_GET_GOOGLE_SERVICE_ACCOUNT))) + .addMethod( + getCreateTransferJobMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.storagetransfer.v1.proto.TransferProto.CreateTransferJobRequest, + com.google.storagetransfer.v1.proto.TransferTypes.TransferJob>( + this, METHODID_CREATE_TRANSFER_JOB))) + .addMethod( + getUpdateTransferJobMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.storagetransfer.v1.proto.TransferProto.UpdateTransferJobRequest, + com.google.storagetransfer.v1.proto.TransferTypes.TransferJob>( + this, METHODID_UPDATE_TRANSFER_JOB))) + .addMethod( + getGetTransferJobMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.storagetransfer.v1.proto.TransferProto.GetTransferJobRequest, + com.google.storagetransfer.v1.proto.TransferTypes.TransferJob>( + this, METHODID_GET_TRANSFER_JOB))) + .addMethod( + getListTransferJobsMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.storagetransfer.v1.proto.TransferProto.ListTransferJobsRequest, + com.google.storagetransfer.v1.proto.TransferProto.ListTransferJobsResponse>( + this, METHODID_LIST_TRANSFER_JOBS))) + .addMethod( + getPauseTransferOperationMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.storagetransfer.v1.proto.TransferProto + .PauseTransferOperationRequest, + com.google.protobuf.Empty>(this, METHODID_PAUSE_TRANSFER_OPERATION))) + .addMethod( + getResumeTransferOperationMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.storagetransfer.v1.proto.TransferProto + .ResumeTransferOperationRequest, + com.google.protobuf.Empty>(this, METHODID_RESUME_TRANSFER_OPERATION))) + .addMethod( + getRunTransferJobMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.storagetransfer.v1.proto.TransferProto.RunTransferJobRequest, + com.google.longrunning.Operation>(this, METHODID_RUN_TRANSFER_JOB))) + .addMethod( + getDeleteTransferJobMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.storagetransfer.v1.proto.TransferProto.DeleteTransferJobRequest, + com.google.protobuf.Empty>(this, METHODID_DELETE_TRANSFER_JOB))) + .addMethod( + getCreateAgentPoolMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.storagetransfer.v1.proto.TransferProto.CreateAgentPoolRequest, + com.google.storagetransfer.v1.proto.TransferTypes.AgentPool>( + this, METHODID_CREATE_AGENT_POOL))) + .addMethod( + getUpdateAgentPoolMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.storagetransfer.v1.proto.TransferProto.UpdateAgentPoolRequest, + com.google.storagetransfer.v1.proto.TransferTypes.AgentPool>( + this, METHODID_UPDATE_AGENT_POOL))) + .addMethod( + getGetAgentPoolMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.storagetransfer.v1.proto.TransferProto.GetAgentPoolRequest, + com.google.storagetransfer.v1.proto.TransferTypes.AgentPool>( + this, METHODID_GET_AGENT_POOL))) + .addMethod( + getListAgentPoolsMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.storagetransfer.v1.proto.TransferProto.ListAgentPoolsRequest, + com.google.storagetransfer.v1.proto.TransferProto.ListAgentPoolsResponse>( + this, METHODID_LIST_AGENT_POOLS))) + .addMethod( + getDeleteAgentPoolMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.storagetransfer.v1.proto.TransferProto.DeleteAgentPoolRequest, + com.google.protobuf.Empty>(this, METHODID_DELETE_AGENT_POOL))) + .build(); + } + } + + /** + * + * + *
+   * Storage Transfer Service and its protos.
+   * Transfers data between between Google Cloud Storage buckets or from a data
+   * source external to Google to a Cloud Storage bucket.
+   * 
+ */ + public static final class StorageTransferServiceStub + extends io.grpc.stub.AbstractAsyncStub { + private StorageTransferServiceStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + super(channel, callOptions); + } + + @java.lang.Override + protected StorageTransferServiceStub build( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new StorageTransferServiceStub(channel, callOptions); + } + + /** + * + * + *
+     * Returns the Google service account that is used by Storage Transfer
+     * Service to access buckets in the project where transfers
+     * run or in other projects. Each Google service account is associated
+     * with one Google Cloud project. Users
+     * should add this service account to the Google Cloud Storage bucket
+     * ACLs to grant access to Storage Transfer Service. This service
+     * account is created and owned by Storage Transfer Service and can
+     * only be used by Storage Transfer Service.
+     * 
+ */ + public void getGoogleServiceAccount( + com.google.storagetransfer.v1.proto.TransferProto.GetGoogleServiceAccountRequest request, + io.grpc.stub.StreamObserver< + com.google.storagetransfer.v1.proto.TransferTypes.GoogleServiceAccount> + responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getGetGoogleServiceAccountMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Creates a transfer job that runs periodically.
+     * 
+ */ + public void createTransferJob( + com.google.storagetransfer.v1.proto.TransferProto.CreateTransferJobRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getCreateTransferJobMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Updates a transfer job. Updating a job's transfer spec does not affect
+     * transfer operations that are running already.
+     * **Note:** The job's [status][google.storagetransfer.v1.TransferJob.status] field can be modified
+     * using this RPC (for example, to set a job's status to
+     * [DELETED][google.storagetransfer.v1.TransferJob.Status.DELETED],
+     * [DISABLED][google.storagetransfer.v1.TransferJob.Status.DISABLED], or
+     * [ENABLED][google.storagetransfer.v1.TransferJob.Status.ENABLED]).
+     * 
+ */ + public void updateTransferJob( + com.google.storagetransfer.v1.proto.TransferProto.UpdateTransferJobRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getUpdateTransferJobMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Gets a transfer job.
+     * 
+ */ + public void getTransferJob( + com.google.storagetransfer.v1.proto.TransferProto.GetTransferJobRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getGetTransferJobMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Lists transfer jobs.
+     * 
+ */ + public void listTransferJobs( + com.google.storagetransfer.v1.proto.TransferProto.ListTransferJobsRequest request, + io.grpc.stub.StreamObserver< + com.google.storagetransfer.v1.proto.TransferProto.ListTransferJobsResponse> + responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getListTransferJobsMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Pauses a transfer operation.
+     * 
+ */ + public void pauseTransferOperation( + com.google.storagetransfer.v1.proto.TransferProto.PauseTransferOperationRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getPauseTransferOperationMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Resumes a transfer operation that is paused.
+     * 
+ */ + public void resumeTransferOperation( + com.google.storagetransfer.v1.proto.TransferProto.ResumeTransferOperationRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getResumeTransferOperationMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Attempts to start a new TransferOperation for the current TransferJob. A
+     * TransferJob has a maximum of one active TransferOperation. If this method
+     * is called while a TransferOperation is active, an error will be returned.
+     * 
+ */ + public void runTransferJob( + com.google.storagetransfer.v1.proto.TransferProto.RunTransferJobRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getRunTransferJobMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Deletes a transfer job. Deleting a transfer job sets its status to
+     * [DELETED][google.storagetransfer.v1.TransferJob.Status.DELETED].
+     * 
+ */ + public void deleteTransferJob( + com.google.storagetransfer.v1.proto.TransferProto.DeleteTransferJobRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getDeleteTransferJobMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Creates an agent pool resource.
+     * 
+ */ + public void createAgentPool( + com.google.storagetransfer.v1.proto.TransferProto.CreateAgentPoolRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getCreateAgentPoolMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Updates an existing agent pool resource.
+     * 
+ */ + public void updateAgentPool( + com.google.storagetransfer.v1.proto.TransferProto.UpdateAgentPoolRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getUpdateAgentPoolMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Gets an agent pool.
+     * 
+ */ + public void getAgentPool( + com.google.storagetransfer.v1.proto.TransferProto.GetAgentPoolRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getGetAgentPoolMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Lists agent pools.
+     * 
+ */ + public void listAgentPools( + com.google.storagetransfer.v1.proto.TransferProto.ListAgentPoolsRequest request, + io.grpc.stub.StreamObserver< + com.google.storagetransfer.v1.proto.TransferProto.ListAgentPoolsResponse> + responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getListAgentPoolsMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Deletes an agent pool.
+     * 
+ */ + public void deleteAgentPool( + com.google.storagetransfer.v1.proto.TransferProto.DeleteAgentPoolRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getDeleteAgentPoolMethod(), getCallOptions()), + request, + responseObserver); + } + } + + /** + * + * + *
+   * Storage Transfer Service and its protos.
+   * Transfers data between between Google Cloud Storage buckets or from a data
+   * source external to Google to a Cloud Storage bucket.
+   * 
+ */ + public static final class StorageTransferServiceBlockingStub + extends io.grpc.stub.AbstractBlockingStub { + private StorageTransferServiceBlockingStub( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + super(channel, callOptions); + } + + @java.lang.Override + protected StorageTransferServiceBlockingStub build( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new StorageTransferServiceBlockingStub(channel, callOptions); + } + + /** + * + * + *
+     * Returns the Google service account that is used by Storage Transfer
+     * Service to access buckets in the project where transfers
+     * run or in other projects. Each Google service account is associated
+     * with one Google Cloud project. Users
+     * should add this service account to the Google Cloud Storage bucket
+     * ACLs to grant access to Storage Transfer Service. This service
+     * account is created and owned by Storage Transfer Service and can
+     * only be used by Storage Transfer Service.
+     * 
+ */ + public com.google.storagetransfer.v1.proto.TransferTypes.GoogleServiceAccount + getGoogleServiceAccount( + com.google.storagetransfer.v1.proto.TransferProto.GetGoogleServiceAccountRequest + request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getGetGoogleServiceAccountMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Creates a transfer job that runs periodically.
+     * 
+ */ + public com.google.storagetransfer.v1.proto.TransferTypes.TransferJob createTransferJob( + com.google.storagetransfer.v1.proto.TransferProto.CreateTransferJobRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getCreateTransferJobMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Updates a transfer job. Updating a job's transfer spec does not affect
+     * transfer operations that are running already.
+     * **Note:** The job's [status][google.storagetransfer.v1.TransferJob.status] field can be modified
+     * using this RPC (for example, to set a job's status to
+     * [DELETED][google.storagetransfer.v1.TransferJob.Status.DELETED],
+     * [DISABLED][google.storagetransfer.v1.TransferJob.Status.DISABLED], or
+     * [ENABLED][google.storagetransfer.v1.TransferJob.Status.ENABLED]).
+     * 
+ */ + public com.google.storagetransfer.v1.proto.TransferTypes.TransferJob updateTransferJob( + com.google.storagetransfer.v1.proto.TransferProto.UpdateTransferJobRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getUpdateTransferJobMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Gets a transfer job.
+     * 
+ */ + public com.google.storagetransfer.v1.proto.TransferTypes.TransferJob getTransferJob( + com.google.storagetransfer.v1.proto.TransferProto.GetTransferJobRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getGetTransferJobMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Lists transfer jobs.
+     * 
+ */ + public com.google.storagetransfer.v1.proto.TransferProto.ListTransferJobsResponse + listTransferJobs( + com.google.storagetransfer.v1.proto.TransferProto.ListTransferJobsRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getListTransferJobsMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Pauses a transfer operation.
+     * 
+ */ + public com.google.protobuf.Empty pauseTransferOperation( + com.google.storagetransfer.v1.proto.TransferProto.PauseTransferOperationRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getPauseTransferOperationMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Resumes a transfer operation that is paused.
+     * 
+ */ + public com.google.protobuf.Empty resumeTransferOperation( + com.google.storagetransfer.v1.proto.TransferProto.ResumeTransferOperationRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getResumeTransferOperationMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Attempts to start a new TransferOperation for the current TransferJob. A
+     * TransferJob has a maximum of one active TransferOperation. If this method
+     * is called while a TransferOperation is active, an error will be returned.
+     * 
+ */ + public com.google.longrunning.Operation runTransferJob( + com.google.storagetransfer.v1.proto.TransferProto.RunTransferJobRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getRunTransferJobMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Deletes a transfer job. Deleting a transfer job sets its status to
+     * [DELETED][google.storagetransfer.v1.TransferJob.Status.DELETED].
+     * 
+ */ + public com.google.protobuf.Empty deleteTransferJob( + com.google.storagetransfer.v1.proto.TransferProto.DeleteTransferJobRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getDeleteTransferJobMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Creates an agent pool resource.
+     * 
+ */ + public com.google.storagetransfer.v1.proto.TransferTypes.AgentPool createAgentPool( + com.google.storagetransfer.v1.proto.TransferProto.CreateAgentPoolRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getCreateAgentPoolMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Updates an existing agent pool resource.
+     * 
+ */ + public com.google.storagetransfer.v1.proto.TransferTypes.AgentPool updateAgentPool( + com.google.storagetransfer.v1.proto.TransferProto.UpdateAgentPoolRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getUpdateAgentPoolMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Gets an agent pool.
+     * 
+ */ + public com.google.storagetransfer.v1.proto.TransferTypes.AgentPool getAgentPool( + com.google.storagetransfer.v1.proto.TransferProto.GetAgentPoolRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getGetAgentPoolMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Lists agent pools.
+     * 
+ */ + public com.google.storagetransfer.v1.proto.TransferProto.ListAgentPoolsResponse listAgentPools( + com.google.storagetransfer.v1.proto.TransferProto.ListAgentPoolsRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getListAgentPoolsMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Deletes an agent pool.
+     * 
+ */ + public com.google.protobuf.Empty deleteAgentPool( + com.google.storagetransfer.v1.proto.TransferProto.DeleteAgentPoolRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getDeleteAgentPoolMethod(), getCallOptions(), request); + } + } + + /** + * + * + *
+   * Storage Transfer Service and its protos.
+   * Transfers data between between Google Cloud Storage buckets or from a data
+   * source external to Google to a Cloud Storage bucket.
+   * 
+ */ + public static final class StorageTransferServiceFutureStub + extends io.grpc.stub.AbstractFutureStub { + private StorageTransferServiceFutureStub( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + super(channel, callOptions); + } + + @java.lang.Override + protected StorageTransferServiceFutureStub build( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new StorageTransferServiceFutureStub(channel, callOptions); + } + + /** + * + * + *
+     * Returns the Google service account that is used by Storage Transfer
+     * Service to access buckets in the project where transfers
+     * run or in other projects. Each Google service account is associated
+     * with one Google Cloud project. Users
+     * should add this service account to the Google Cloud Storage bucket
+     * ACLs to grant access to Storage Transfer Service. This service
+     * account is created and owned by Storage Transfer Service and can
+     * only be used by Storage Transfer Service.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture< + com.google.storagetransfer.v1.proto.TransferTypes.GoogleServiceAccount> + getGoogleServiceAccount( + com.google.storagetransfer.v1.proto.TransferProto.GetGoogleServiceAccountRequest + request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getGetGoogleServiceAccountMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Creates a transfer job that runs periodically.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture< + com.google.storagetransfer.v1.proto.TransferTypes.TransferJob> + createTransferJob( + com.google.storagetransfer.v1.proto.TransferProto.CreateTransferJobRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getCreateTransferJobMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Updates a transfer job. Updating a job's transfer spec does not affect
+     * transfer operations that are running already.
+     * **Note:** The job's [status][google.storagetransfer.v1.TransferJob.status] field can be modified
+     * using this RPC (for example, to set a job's status to
+     * [DELETED][google.storagetransfer.v1.TransferJob.Status.DELETED],
+     * [DISABLED][google.storagetransfer.v1.TransferJob.Status.DISABLED], or
+     * [ENABLED][google.storagetransfer.v1.TransferJob.Status.ENABLED]).
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture< + com.google.storagetransfer.v1.proto.TransferTypes.TransferJob> + updateTransferJob( + com.google.storagetransfer.v1.proto.TransferProto.UpdateTransferJobRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getUpdateTransferJobMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Gets a transfer job.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture< + com.google.storagetransfer.v1.proto.TransferTypes.TransferJob> + getTransferJob( + com.google.storagetransfer.v1.proto.TransferProto.GetTransferJobRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getGetTransferJobMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Lists transfer jobs.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture< + com.google.storagetransfer.v1.proto.TransferProto.ListTransferJobsResponse> + listTransferJobs( + com.google.storagetransfer.v1.proto.TransferProto.ListTransferJobsRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getListTransferJobsMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Pauses a transfer operation.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture + pauseTransferOperation( + com.google.storagetransfer.v1.proto.TransferProto.PauseTransferOperationRequest + request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getPauseTransferOperationMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Resumes a transfer operation that is paused.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture + resumeTransferOperation( + com.google.storagetransfer.v1.proto.TransferProto.ResumeTransferOperationRequest + request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getResumeTransferOperationMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Attempts to start a new TransferOperation for the current TransferJob. A
+     * TransferJob has a maximum of one active TransferOperation. If this method
+     * is called while a TransferOperation is active, an error will be returned.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture + runTransferJob( + com.google.storagetransfer.v1.proto.TransferProto.RunTransferJobRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getRunTransferJobMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Deletes a transfer job. Deleting a transfer job sets its status to
+     * [DELETED][google.storagetransfer.v1.TransferJob.Status.DELETED].
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture + deleteTransferJob( + com.google.storagetransfer.v1.proto.TransferProto.DeleteTransferJobRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getDeleteTransferJobMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Creates an agent pool resource.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture< + com.google.storagetransfer.v1.proto.TransferTypes.AgentPool> + createAgentPool( + com.google.storagetransfer.v1.proto.TransferProto.CreateAgentPoolRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getCreateAgentPoolMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Updates an existing agent pool resource.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture< + com.google.storagetransfer.v1.proto.TransferTypes.AgentPool> + updateAgentPool( + com.google.storagetransfer.v1.proto.TransferProto.UpdateAgentPoolRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getUpdateAgentPoolMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Gets an agent pool.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture< + com.google.storagetransfer.v1.proto.TransferTypes.AgentPool> + getAgentPool( + com.google.storagetransfer.v1.proto.TransferProto.GetAgentPoolRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getGetAgentPoolMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Lists agent pools.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture< + com.google.storagetransfer.v1.proto.TransferProto.ListAgentPoolsResponse> + listAgentPools( + com.google.storagetransfer.v1.proto.TransferProto.ListAgentPoolsRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getListAgentPoolsMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Deletes an agent pool.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture + deleteAgentPool( + com.google.storagetransfer.v1.proto.TransferProto.DeleteAgentPoolRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getDeleteAgentPoolMethod(), getCallOptions()), request); + } + } + + private static final int METHODID_GET_GOOGLE_SERVICE_ACCOUNT = 0; + private static final int METHODID_CREATE_TRANSFER_JOB = 1; + private static final int METHODID_UPDATE_TRANSFER_JOB = 2; + private static final int METHODID_GET_TRANSFER_JOB = 3; + private static final int METHODID_LIST_TRANSFER_JOBS = 4; + private static final int METHODID_PAUSE_TRANSFER_OPERATION = 5; + private static final int METHODID_RESUME_TRANSFER_OPERATION = 6; + private static final int METHODID_RUN_TRANSFER_JOB = 7; + private static final int METHODID_DELETE_TRANSFER_JOB = 8; + private static final int METHODID_CREATE_AGENT_POOL = 9; + private static final int METHODID_UPDATE_AGENT_POOL = 10; + private static final int METHODID_GET_AGENT_POOL = 11; + private static final int METHODID_LIST_AGENT_POOLS = 12; + private static final int METHODID_DELETE_AGENT_POOL = 13; + + private static final class MethodHandlers + implements io.grpc.stub.ServerCalls.UnaryMethod, + io.grpc.stub.ServerCalls.ServerStreamingMethod, + io.grpc.stub.ServerCalls.ClientStreamingMethod, + io.grpc.stub.ServerCalls.BidiStreamingMethod { + private final StorageTransferServiceImplBase serviceImpl; + private final int methodId; + + MethodHandlers(StorageTransferServiceImplBase serviceImpl, int methodId) { + this.serviceImpl = serviceImpl; + this.methodId = methodId; + } + + @java.lang.Override + @java.lang.SuppressWarnings("unchecked") + public void invoke(Req request, io.grpc.stub.StreamObserver responseObserver) { + switch (methodId) { + case METHODID_GET_GOOGLE_SERVICE_ACCOUNT: + serviceImpl.getGoogleServiceAccount( + (com.google.storagetransfer.v1.proto.TransferProto.GetGoogleServiceAccountRequest) + request, + (io.grpc.stub.StreamObserver< + com.google.storagetransfer.v1.proto.TransferTypes.GoogleServiceAccount>) + responseObserver); + break; + case METHODID_CREATE_TRANSFER_JOB: + serviceImpl.createTransferJob( + (com.google.storagetransfer.v1.proto.TransferProto.CreateTransferJobRequest) request, + (io.grpc.stub.StreamObserver< + com.google.storagetransfer.v1.proto.TransferTypes.TransferJob>) + responseObserver); + break; + case METHODID_UPDATE_TRANSFER_JOB: + serviceImpl.updateTransferJob( + (com.google.storagetransfer.v1.proto.TransferProto.UpdateTransferJobRequest) request, + (io.grpc.stub.StreamObserver< + com.google.storagetransfer.v1.proto.TransferTypes.TransferJob>) + responseObserver); + break; + case METHODID_GET_TRANSFER_JOB: + serviceImpl.getTransferJob( + (com.google.storagetransfer.v1.proto.TransferProto.GetTransferJobRequest) request, + (io.grpc.stub.StreamObserver< + com.google.storagetransfer.v1.proto.TransferTypes.TransferJob>) + responseObserver); + break; + case METHODID_LIST_TRANSFER_JOBS: + serviceImpl.listTransferJobs( + (com.google.storagetransfer.v1.proto.TransferProto.ListTransferJobsRequest) request, + (io.grpc.stub.StreamObserver< + com.google.storagetransfer.v1.proto.TransferProto.ListTransferJobsResponse>) + responseObserver); + break; + case METHODID_PAUSE_TRANSFER_OPERATION: + serviceImpl.pauseTransferOperation( + (com.google.storagetransfer.v1.proto.TransferProto.PauseTransferOperationRequest) + request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_RESUME_TRANSFER_OPERATION: + serviceImpl.resumeTransferOperation( + (com.google.storagetransfer.v1.proto.TransferProto.ResumeTransferOperationRequest) + request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_RUN_TRANSFER_JOB: + serviceImpl.runTransferJob( + (com.google.storagetransfer.v1.proto.TransferProto.RunTransferJobRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_DELETE_TRANSFER_JOB: + serviceImpl.deleteTransferJob( + (com.google.storagetransfer.v1.proto.TransferProto.DeleteTransferJobRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_CREATE_AGENT_POOL: + serviceImpl.createAgentPool( + (com.google.storagetransfer.v1.proto.TransferProto.CreateAgentPoolRequest) request, + (io.grpc.stub.StreamObserver< + com.google.storagetransfer.v1.proto.TransferTypes.AgentPool>) + responseObserver); + break; + case METHODID_UPDATE_AGENT_POOL: + serviceImpl.updateAgentPool( + (com.google.storagetransfer.v1.proto.TransferProto.UpdateAgentPoolRequest) request, + (io.grpc.stub.StreamObserver< + com.google.storagetransfer.v1.proto.TransferTypes.AgentPool>) + responseObserver); + break; + case METHODID_GET_AGENT_POOL: + serviceImpl.getAgentPool( + (com.google.storagetransfer.v1.proto.TransferProto.GetAgentPoolRequest) request, + (io.grpc.stub.StreamObserver< + com.google.storagetransfer.v1.proto.TransferTypes.AgentPool>) + responseObserver); + break; + case METHODID_LIST_AGENT_POOLS: + serviceImpl.listAgentPools( + (com.google.storagetransfer.v1.proto.TransferProto.ListAgentPoolsRequest) request, + (io.grpc.stub.StreamObserver< + com.google.storagetransfer.v1.proto.TransferProto.ListAgentPoolsResponse>) + responseObserver); + break; + case METHODID_DELETE_AGENT_POOL: + serviceImpl.deleteAgentPool( + (com.google.storagetransfer.v1.proto.TransferProto.DeleteAgentPoolRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + default: + throw new AssertionError(); + } + } + + @java.lang.Override + @java.lang.SuppressWarnings("unchecked") + public io.grpc.stub.StreamObserver invoke( + io.grpc.stub.StreamObserver responseObserver) { + switch (methodId) { + default: + throw new AssertionError(); + } + } + } + + private abstract static class StorageTransferServiceBaseDescriptorSupplier + implements io.grpc.protobuf.ProtoFileDescriptorSupplier, + io.grpc.protobuf.ProtoServiceDescriptorSupplier { + StorageTransferServiceBaseDescriptorSupplier() {} + + @java.lang.Override + public com.google.protobuf.Descriptors.FileDescriptor getFileDescriptor() { + return com.google.storagetransfer.v1.proto.TransferProto.getDescriptor(); + } + + @java.lang.Override + public com.google.protobuf.Descriptors.ServiceDescriptor getServiceDescriptor() { + return getFileDescriptor().findServiceByName("StorageTransferService"); + } + } + + private static final class StorageTransferServiceFileDescriptorSupplier + extends StorageTransferServiceBaseDescriptorSupplier { + StorageTransferServiceFileDescriptorSupplier() {} + } + + private static final class StorageTransferServiceMethodDescriptorSupplier + extends StorageTransferServiceBaseDescriptorSupplier + implements io.grpc.protobuf.ProtoMethodDescriptorSupplier { + private final String methodName; + + StorageTransferServiceMethodDescriptorSupplier(String methodName) { + this.methodName = methodName; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.MethodDescriptor getMethodDescriptor() { + return getServiceDescriptor().findMethodByName(methodName); + } + } + + private static volatile io.grpc.ServiceDescriptor serviceDescriptor; + + public static io.grpc.ServiceDescriptor getServiceDescriptor() { + io.grpc.ServiceDescriptor result = serviceDescriptor; + if (result == null) { + synchronized (StorageTransferServiceGrpc.class) { + result = serviceDescriptor; + if (result == null) { + serviceDescriptor = + result = + io.grpc.ServiceDescriptor.newBuilder(SERVICE_NAME) + .setSchemaDescriptor(new StorageTransferServiceFileDescriptorSupplier()) + .addMethod(getGetGoogleServiceAccountMethod()) + .addMethod(getCreateTransferJobMethod()) + .addMethod(getUpdateTransferJobMethod()) + .addMethod(getGetTransferJobMethod()) + .addMethod(getListTransferJobsMethod()) + .addMethod(getPauseTransferOperationMethod()) + .addMethod(getResumeTransferOperationMethod()) + .addMethod(getRunTransferJobMethod()) + .addMethod(getDeleteTransferJobMethod()) + .addMethod(getCreateAgentPoolMethod()) + .addMethod(getUpdateAgentPoolMethod()) + .addMethod(getGetAgentPoolMethod()) + .addMethod(getListAgentPoolsMethod()) + .addMethod(getDeleteAgentPoolMethod()) + .build(); + } + } + } + return result; + } +} diff --git a/owl-bot-staging/v1/grpc-google-cloud-storage-transfer-v1/src/main/java/com/google/storagetransfer/v1/proto/StorageTransferServiceGrpc.java b/owl-bot-staging/v1/grpc-google-cloud-storage-transfer-v1/src/main/java/com/google/storagetransfer/v1/proto/StorageTransferServiceGrpc.java deleted file mode 100644 index ed8fba4..0000000 --- a/owl-bot-staging/v1/grpc-google-cloud-storage-transfer-v1/src/main/java/com/google/storagetransfer/v1/proto/StorageTransferServiceGrpc.java +++ /dev/null @@ -1,1495 +0,0 @@ -package com.google.storagetransfer.v1.proto; - -import static io.grpc.MethodDescriptor.generateFullMethodName; - -/** - *
- * Storage Transfer Service and its protos.
- * Transfers data between between Google Cloud Storage buckets or from a data
- * source external to Google to a Cloud Storage bucket.
- * 
- */ -@javax.annotation.Generated( - value = "by gRPC proto compiler", - comments = "Source: google/storagetransfer/v1/transfer.proto") -@io.grpc.stub.annotations.GrpcGenerated -public final class StorageTransferServiceGrpc { - - private StorageTransferServiceGrpc() {} - - public static final String SERVICE_NAME = "google.storagetransfer.v1.StorageTransferService"; - - // Static method descriptors that strictly reflect the proto. - private static volatile io.grpc.MethodDescriptor getGetGoogleServiceAccountMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "GetGoogleServiceAccount", - requestType = com.google.storagetransfer.v1.proto.TransferProto.GetGoogleServiceAccountRequest.class, - responseType = com.google.storagetransfer.v1.proto.TransferTypes.GoogleServiceAccount.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getGetGoogleServiceAccountMethod() { - io.grpc.MethodDescriptor getGetGoogleServiceAccountMethod; - if ((getGetGoogleServiceAccountMethod = StorageTransferServiceGrpc.getGetGoogleServiceAccountMethod) == null) { - synchronized (StorageTransferServiceGrpc.class) { - if ((getGetGoogleServiceAccountMethod = StorageTransferServiceGrpc.getGetGoogleServiceAccountMethod) == null) { - StorageTransferServiceGrpc.getGetGoogleServiceAccountMethod = getGetGoogleServiceAccountMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetGoogleServiceAccount")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.storagetransfer.v1.proto.TransferProto.GetGoogleServiceAccountRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.storagetransfer.v1.proto.TransferTypes.GoogleServiceAccount.getDefaultInstance())) - .setSchemaDescriptor(new StorageTransferServiceMethodDescriptorSupplier("GetGoogleServiceAccount")) - .build(); - } - } - } - return getGetGoogleServiceAccountMethod; - } - - private static volatile io.grpc.MethodDescriptor getCreateTransferJobMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "CreateTransferJob", - requestType = com.google.storagetransfer.v1.proto.TransferProto.CreateTransferJobRequest.class, - responseType = com.google.storagetransfer.v1.proto.TransferTypes.TransferJob.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getCreateTransferJobMethod() { - io.grpc.MethodDescriptor getCreateTransferJobMethod; - if ((getCreateTransferJobMethod = StorageTransferServiceGrpc.getCreateTransferJobMethod) == null) { - synchronized (StorageTransferServiceGrpc.class) { - if ((getCreateTransferJobMethod = StorageTransferServiceGrpc.getCreateTransferJobMethod) == null) { - StorageTransferServiceGrpc.getCreateTransferJobMethod = getCreateTransferJobMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "CreateTransferJob")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.storagetransfer.v1.proto.TransferProto.CreateTransferJobRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.storagetransfer.v1.proto.TransferTypes.TransferJob.getDefaultInstance())) - .setSchemaDescriptor(new StorageTransferServiceMethodDescriptorSupplier("CreateTransferJob")) - .build(); - } - } - } - return getCreateTransferJobMethod; - } - - private static volatile io.grpc.MethodDescriptor getUpdateTransferJobMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "UpdateTransferJob", - requestType = com.google.storagetransfer.v1.proto.TransferProto.UpdateTransferJobRequest.class, - responseType = com.google.storagetransfer.v1.proto.TransferTypes.TransferJob.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getUpdateTransferJobMethod() { - io.grpc.MethodDescriptor getUpdateTransferJobMethod; - if ((getUpdateTransferJobMethod = StorageTransferServiceGrpc.getUpdateTransferJobMethod) == null) { - synchronized (StorageTransferServiceGrpc.class) { - if ((getUpdateTransferJobMethod = StorageTransferServiceGrpc.getUpdateTransferJobMethod) == null) { - StorageTransferServiceGrpc.getUpdateTransferJobMethod = getUpdateTransferJobMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "UpdateTransferJob")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.storagetransfer.v1.proto.TransferProto.UpdateTransferJobRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.storagetransfer.v1.proto.TransferTypes.TransferJob.getDefaultInstance())) - .setSchemaDescriptor(new StorageTransferServiceMethodDescriptorSupplier("UpdateTransferJob")) - .build(); - } - } - } - return getUpdateTransferJobMethod; - } - - private static volatile io.grpc.MethodDescriptor getGetTransferJobMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "GetTransferJob", - requestType = com.google.storagetransfer.v1.proto.TransferProto.GetTransferJobRequest.class, - responseType = com.google.storagetransfer.v1.proto.TransferTypes.TransferJob.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getGetTransferJobMethod() { - io.grpc.MethodDescriptor getGetTransferJobMethod; - if ((getGetTransferJobMethod = StorageTransferServiceGrpc.getGetTransferJobMethod) == null) { - synchronized (StorageTransferServiceGrpc.class) { - if ((getGetTransferJobMethod = StorageTransferServiceGrpc.getGetTransferJobMethod) == null) { - StorageTransferServiceGrpc.getGetTransferJobMethod = getGetTransferJobMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetTransferJob")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.storagetransfer.v1.proto.TransferProto.GetTransferJobRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.storagetransfer.v1.proto.TransferTypes.TransferJob.getDefaultInstance())) - .setSchemaDescriptor(new StorageTransferServiceMethodDescriptorSupplier("GetTransferJob")) - .build(); - } - } - } - return getGetTransferJobMethod; - } - - private static volatile io.grpc.MethodDescriptor getListTransferJobsMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "ListTransferJobs", - requestType = com.google.storagetransfer.v1.proto.TransferProto.ListTransferJobsRequest.class, - responseType = com.google.storagetransfer.v1.proto.TransferProto.ListTransferJobsResponse.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getListTransferJobsMethod() { - io.grpc.MethodDescriptor getListTransferJobsMethod; - if ((getListTransferJobsMethod = StorageTransferServiceGrpc.getListTransferJobsMethod) == null) { - synchronized (StorageTransferServiceGrpc.class) { - if ((getListTransferJobsMethod = StorageTransferServiceGrpc.getListTransferJobsMethod) == null) { - StorageTransferServiceGrpc.getListTransferJobsMethod = getListTransferJobsMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListTransferJobs")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.storagetransfer.v1.proto.TransferProto.ListTransferJobsRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.storagetransfer.v1.proto.TransferProto.ListTransferJobsResponse.getDefaultInstance())) - .setSchemaDescriptor(new StorageTransferServiceMethodDescriptorSupplier("ListTransferJobs")) - .build(); - } - } - } - return getListTransferJobsMethod; - } - - private static volatile io.grpc.MethodDescriptor getPauseTransferOperationMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "PauseTransferOperation", - requestType = com.google.storagetransfer.v1.proto.TransferProto.PauseTransferOperationRequest.class, - responseType = com.google.protobuf.Empty.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getPauseTransferOperationMethod() { - io.grpc.MethodDescriptor getPauseTransferOperationMethod; - if ((getPauseTransferOperationMethod = StorageTransferServiceGrpc.getPauseTransferOperationMethod) == null) { - synchronized (StorageTransferServiceGrpc.class) { - if ((getPauseTransferOperationMethod = StorageTransferServiceGrpc.getPauseTransferOperationMethod) == null) { - StorageTransferServiceGrpc.getPauseTransferOperationMethod = getPauseTransferOperationMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "PauseTransferOperation")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.storagetransfer.v1.proto.TransferProto.PauseTransferOperationRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.protobuf.Empty.getDefaultInstance())) - .setSchemaDescriptor(new StorageTransferServiceMethodDescriptorSupplier("PauseTransferOperation")) - .build(); - } - } - } - return getPauseTransferOperationMethod; - } - - private static volatile io.grpc.MethodDescriptor getResumeTransferOperationMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "ResumeTransferOperation", - requestType = com.google.storagetransfer.v1.proto.TransferProto.ResumeTransferOperationRequest.class, - responseType = com.google.protobuf.Empty.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getResumeTransferOperationMethod() { - io.grpc.MethodDescriptor getResumeTransferOperationMethod; - if ((getResumeTransferOperationMethod = StorageTransferServiceGrpc.getResumeTransferOperationMethod) == null) { - synchronized (StorageTransferServiceGrpc.class) { - if ((getResumeTransferOperationMethod = StorageTransferServiceGrpc.getResumeTransferOperationMethod) == null) { - StorageTransferServiceGrpc.getResumeTransferOperationMethod = getResumeTransferOperationMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ResumeTransferOperation")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.storagetransfer.v1.proto.TransferProto.ResumeTransferOperationRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.protobuf.Empty.getDefaultInstance())) - .setSchemaDescriptor(new StorageTransferServiceMethodDescriptorSupplier("ResumeTransferOperation")) - .build(); - } - } - } - return getResumeTransferOperationMethod; - } - - private static volatile io.grpc.MethodDescriptor getRunTransferJobMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "RunTransferJob", - requestType = com.google.storagetransfer.v1.proto.TransferProto.RunTransferJobRequest.class, - responseType = com.google.longrunning.Operation.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getRunTransferJobMethod() { - io.grpc.MethodDescriptor getRunTransferJobMethod; - if ((getRunTransferJobMethod = StorageTransferServiceGrpc.getRunTransferJobMethod) == null) { - synchronized (StorageTransferServiceGrpc.class) { - if ((getRunTransferJobMethod = StorageTransferServiceGrpc.getRunTransferJobMethod) == null) { - StorageTransferServiceGrpc.getRunTransferJobMethod = getRunTransferJobMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "RunTransferJob")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.storagetransfer.v1.proto.TransferProto.RunTransferJobRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.longrunning.Operation.getDefaultInstance())) - .setSchemaDescriptor(new StorageTransferServiceMethodDescriptorSupplier("RunTransferJob")) - .build(); - } - } - } - return getRunTransferJobMethod; - } - - private static volatile io.grpc.MethodDescriptor getDeleteTransferJobMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "DeleteTransferJob", - requestType = com.google.storagetransfer.v1.proto.TransferProto.DeleteTransferJobRequest.class, - responseType = com.google.protobuf.Empty.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getDeleteTransferJobMethod() { - io.grpc.MethodDescriptor getDeleteTransferJobMethod; - if ((getDeleteTransferJobMethod = StorageTransferServiceGrpc.getDeleteTransferJobMethod) == null) { - synchronized (StorageTransferServiceGrpc.class) { - if ((getDeleteTransferJobMethod = StorageTransferServiceGrpc.getDeleteTransferJobMethod) == null) { - StorageTransferServiceGrpc.getDeleteTransferJobMethod = getDeleteTransferJobMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "DeleteTransferJob")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.storagetransfer.v1.proto.TransferProto.DeleteTransferJobRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.protobuf.Empty.getDefaultInstance())) - .setSchemaDescriptor(new StorageTransferServiceMethodDescriptorSupplier("DeleteTransferJob")) - .build(); - } - } - } - return getDeleteTransferJobMethod; - } - - private static volatile io.grpc.MethodDescriptor getCreateAgentPoolMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "CreateAgentPool", - requestType = com.google.storagetransfer.v1.proto.TransferProto.CreateAgentPoolRequest.class, - responseType = com.google.storagetransfer.v1.proto.TransferTypes.AgentPool.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getCreateAgentPoolMethod() { - io.grpc.MethodDescriptor getCreateAgentPoolMethod; - if ((getCreateAgentPoolMethod = StorageTransferServiceGrpc.getCreateAgentPoolMethod) == null) { - synchronized (StorageTransferServiceGrpc.class) { - if ((getCreateAgentPoolMethod = StorageTransferServiceGrpc.getCreateAgentPoolMethod) == null) { - StorageTransferServiceGrpc.getCreateAgentPoolMethod = getCreateAgentPoolMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "CreateAgentPool")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.storagetransfer.v1.proto.TransferProto.CreateAgentPoolRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.storagetransfer.v1.proto.TransferTypes.AgentPool.getDefaultInstance())) - .setSchemaDescriptor(new StorageTransferServiceMethodDescriptorSupplier("CreateAgentPool")) - .build(); - } - } - } - return getCreateAgentPoolMethod; - } - - private static volatile io.grpc.MethodDescriptor getUpdateAgentPoolMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "UpdateAgentPool", - requestType = com.google.storagetransfer.v1.proto.TransferProto.UpdateAgentPoolRequest.class, - responseType = com.google.storagetransfer.v1.proto.TransferTypes.AgentPool.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getUpdateAgentPoolMethod() { - io.grpc.MethodDescriptor getUpdateAgentPoolMethod; - if ((getUpdateAgentPoolMethod = StorageTransferServiceGrpc.getUpdateAgentPoolMethod) == null) { - synchronized (StorageTransferServiceGrpc.class) { - if ((getUpdateAgentPoolMethod = StorageTransferServiceGrpc.getUpdateAgentPoolMethod) == null) { - StorageTransferServiceGrpc.getUpdateAgentPoolMethod = getUpdateAgentPoolMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "UpdateAgentPool")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.storagetransfer.v1.proto.TransferProto.UpdateAgentPoolRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.storagetransfer.v1.proto.TransferTypes.AgentPool.getDefaultInstance())) - .setSchemaDescriptor(new StorageTransferServiceMethodDescriptorSupplier("UpdateAgentPool")) - .build(); - } - } - } - return getUpdateAgentPoolMethod; - } - - private static volatile io.grpc.MethodDescriptor getGetAgentPoolMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "GetAgentPool", - requestType = com.google.storagetransfer.v1.proto.TransferProto.GetAgentPoolRequest.class, - responseType = com.google.storagetransfer.v1.proto.TransferTypes.AgentPool.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getGetAgentPoolMethod() { - io.grpc.MethodDescriptor getGetAgentPoolMethod; - if ((getGetAgentPoolMethod = StorageTransferServiceGrpc.getGetAgentPoolMethod) == null) { - synchronized (StorageTransferServiceGrpc.class) { - if ((getGetAgentPoolMethod = StorageTransferServiceGrpc.getGetAgentPoolMethod) == null) { - StorageTransferServiceGrpc.getGetAgentPoolMethod = getGetAgentPoolMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetAgentPool")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.storagetransfer.v1.proto.TransferProto.GetAgentPoolRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.storagetransfer.v1.proto.TransferTypes.AgentPool.getDefaultInstance())) - .setSchemaDescriptor(new StorageTransferServiceMethodDescriptorSupplier("GetAgentPool")) - .build(); - } - } - } - return getGetAgentPoolMethod; - } - - private static volatile io.grpc.MethodDescriptor getListAgentPoolsMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "ListAgentPools", - requestType = com.google.storagetransfer.v1.proto.TransferProto.ListAgentPoolsRequest.class, - responseType = com.google.storagetransfer.v1.proto.TransferProto.ListAgentPoolsResponse.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getListAgentPoolsMethod() { - io.grpc.MethodDescriptor getListAgentPoolsMethod; - if ((getListAgentPoolsMethod = StorageTransferServiceGrpc.getListAgentPoolsMethod) == null) { - synchronized (StorageTransferServiceGrpc.class) { - if ((getListAgentPoolsMethod = StorageTransferServiceGrpc.getListAgentPoolsMethod) == null) { - StorageTransferServiceGrpc.getListAgentPoolsMethod = getListAgentPoolsMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListAgentPools")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.storagetransfer.v1.proto.TransferProto.ListAgentPoolsRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.storagetransfer.v1.proto.TransferProto.ListAgentPoolsResponse.getDefaultInstance())) - .setSchemaDescriptor(new StorageTransferServiceMethodDescriptorSupplier("ListAgentPools")) - .build(); - } - } - } - return getListAgentPoolsMethod; - } - - private static volatile io.grpc.MethodDescriptor getDeleteAgentPoolMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "DeleteAgentPool", - requestType = com.google.storagetransfer.v1.proto.TransferProto.DeleteAgentPoolRequest.class, - responseType = com.google.protobuf.Empty.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getDeleteAgentPoolMethod() { - io.grpc.MethodDescriptor getDeleteAgentPoolMethod; - if ((getDeleteAgentPoolMethod = StorageTransferServiceGrpc.getDeleteAgentPoolMethod) == null) { - synchronized (StorageTransferServiceGrpc.class) { - if ((getDeleteAgentPoolMethod = StorageTransferServiceGrpc.getDeleteAgentPoolMethod) == null) { - StorageTransferServiceGrpc.getDeleteAgentPoolMethod = getDeleteAgentPoolMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "DeleteAgentPool")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.storagetransfer.v1.proto.TransferProto.DeleteAgentPoolRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.protobuf.Empty.getDefaultInstance())) - .setSchemaDescriptor(new StorageTransferServiceMethodDescriptorSupplier("DeleteAgentPool")) - .build(); - } - } - } - return getDeleteAgentPoolMethod; - } - - /** - * Creates a new async stub that supports all call types for the service - */ - public static StorageTransferServiceStub newStub(io.grpc.Channel channel) { - io.grpc.stub.AbstractStub.StubFactory factory = - new io.grpc.stub.AbstractStub.StubFactory() { - @java.lang.Override - public StorageTransferServiceStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new StorageTransferServiceStub(channel, callOptions); - } - }; - return StorageTransferServiceStub.newStub(factory, channel); - } - - /** - * Creates a new blocking-style stub that supports unary and streaming output calls on the service - */ - public static StorageTransferServiceBlockingStub newBlockingStub( - io.grpc.Channel channel) { - io.grpc.stub.AbstractStub.StubFactory factory = - new io.grpc.stub.AbstractStub.StubFactory() { - @java.lang.Override - public StorageTransferServiceBlockingStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new StorageTransferServiceBlockingStub(channel, callOptions); - } - }; - return StorageTransferServiceBlockingStub.newStub(factory, channel); - } - - /** - * Creates a new ListenableFuture-style stub that supports unary calls on the service - */ - public static StorageTransferServiceFutureStub newFutureStub( - io.grpc.Channel channel) { - io.grpc.stub.AbstractStub.StubFactory factory = - new io.grpc.stub.AbstractStub.StubFactory() { - @java.lang.Override - public StorageTransferServiceFutureStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new StorageTransferServiceFutureStub(channel, callOptions); - } - }; - return StorageTransferServiceFutureStub.newStub(factory, channel); - } - - /** - *
-   * Storage Transfer Service and its protos.
-   * Transfers data between between Google Cloud Storage buckets or from a data
-   * source external to Google to a Cloud Storage bucket.
-   * 
- */ - public static abstract class StorageTransferServiceImplBase implements io.grpc.BindableService { - - /** - *
-     * Returns the Google service account that is used by Storage Transfer
-     * Service to access buckets in the project where transfers
-     * run or in other projects. Each Google service account is associated
-     * with one Google Cloud project. Users
-     * should add this service account to the Google Cloud Storage bucket
-     * ACLs to grant access to Storage Transfer Service. This service
-     * account is created and owned by Storage Transfer Service and can
-     * only be used by Storage Transfer Service.
-     * 
- */ - public void getGoogleServiceAccount(com.google.storagetransfer.v1.proto.TransferProto.GetGoogleServiceAccountRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetGoogleServiceAccountMethod(), responseObserver); - } - - /** - *
-     * Creates a transfer job that runs periodically.
-     * 
- */ - public void createTransferJob(com.google.storagetransfer.v1.proto.TransferProto.CreateTransferJobRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getCreateTransferJobMethod(), responseObserver); - } - - /** - *
-     * Updates a transfer job. Updating a job's transfer spec does not affect
-     * transfer operations that are running already.
-     * **Note:** The job's [status][google.storagetransfer.v1.TransferJob.status] field can be modified
-     * using this RPC (for example, to set a job's status to
-     * [DELETED][google.storagetransfer.v1.TransferJob.Status.DELETED],
-     * [DISABLED][google.storagetransfer.v1.TransferJob.Status.DISABLED], or
-     * [ENABLED][google.storagetransfer.v1.TransferJob.Status.ENABLED]).
-     * 
- */ - public void updateTransferJob(com.google.storagetransfer.v1.proto.TransferProto.UpdateTransferJobRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getUpdateTransferJobMethod(), responseObserver); - } - - /** - *
-     * Gets a transfer job.
-     * 
- */ - public void getTransferJob(com.google.storagetransfer.v1.proto.TransferProto.GetTransferJobRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetTransferJobMethod(), responseObserver); - } - - /** - *
-     * Lists transfer jobs.
-     * 
- */ - public void listTransferJobs(com.google.storagetransfer.v1.proto.TransferProto.ListTransferJobsRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getListTransferJobsMethod(), responseObserver); - } - - /** - *
-     * Pauses a transfer operation.
-     * 
- */ - public void pauseTransferOperation(com.google.storagetransfer.v1.proto.TransferProto.PauseTransferOperationRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getPauseTransferOperationMethod(), responseObserver); - } - - /** - *
-     * Resumes a transfer operation that is paused.
-     * 
- */ - public void resumeTransferOperation(com.google.storagetransfer.v1.proto.TransferProto.ResumeTransferOperationRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getResumeTransferOperationMethod(), responseObserver); - } - - /** - *
-     * Attempts to start a new TransferOperation for the current TransferJob. A
-     * TransferJob has a maximum of one active TransferOperation. If this method
-     * is called while a TransferOperation is active, an error will be returned.
-     * 
- */ - public void runTransferJob(com.google.storagetransfer.v1.proto.TransferProto.RunTransferJobRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getRunTransferJobMethod(), responseObserver); - } - - /** - *
-     * Deletes a transfer job. Deleting a transfer job sets its status to
-     * [DELETED][google.storagetransfer.v1.TransferJob.Status.DELETED].
-     * 
- */ - public void deleteTransferJob(com.google.storagetransfer.v1.proto.TransferProto.DeleteTransferJobRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getDeleteTransferJobMethod(), responseObserver); - } - - /** - *
-     * Creates an agent pool resource.
-     * 
- */ - public void createAgentPool(com.google.storagetransfer.v1.proto.TransferProto.CreateAgentPoolRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getCreateAgentPoolMethod(), responseObserver); - } - - /** - *
-     * Updates an existing agent pool resource.
-     * 
- */ - public void updateAgentPool(com.google.storagetransfer.v1.proto.TransferProto.UpdateAgentPoolRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getUpdateAgentPoolMethod(), responseObserver); - } - - /** - *
-     * Gets an agent pool.
-     * 
- */ - public void getAgentPool(com.google.storagetransfer.v1.proto.TransferProto.GetAgentPoolRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetAgentPoolMethod(), responseObserver); - } - - /** - *
-     * Lists agent pools.
-     * 
- */ - public void listAgentPools(com.google.storagetransfer.v1.proto.TransferProto.ListAgentPoolsRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getListAgentPoolsMethod(), responseObserver); - } - - /** - *
-     * Deletes an agent pool.
-     * 
- */ - public void deleteAgentPool(com.google.storagetransfer.v1.proto.TransferProto.DeleteAgentPoolRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getDeleteAgentPoolMethod(), responseObserver); - } - - @java.lang.Override public final io.grpc.ServerServiceDefinition bindService() { - return io.grpc.ServerServiceDefinition.builder(getServiceDescriptor()) - .addMethod( - getGetGoogleServiceAccountMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.storagetransfer.v1.proto.TransferProto.GetGoogleServiceAccountRequest, - com.google.storagetransfer.v1.proto.TransferTypes.GoogleServiceAccount>( - this, METHODID_GET_GOOGLE_SERVICE_ACCOUNT))) - .addMethod( - getCreateTransferJobMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.storagetransfer.v1.proto.TransferProto.CreateTransferJobRequest, - com.google.storagetransfer.v1.proto.TransferTypes.TransferJob>( - this, METHODID_CREATE_TRANSFER_JOB))) - .addMethod( - getUpdateTransferJobMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.storagetransfer.v1.proto.TransferProto.UpdateTransferJobRequest, - com.google.storagetransfer.v1.proto.TransferTypes.TransferJob>( - this, METHODID_UPDATE_TRANSFER_JOB))) - .addMethod( - getGetTransferJobMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.storagetransfer.v1.proto.TransferProto.GetTransferJobRequest, - com.google.storagetransfer.v1.proto.TransferTypes.TransferJob>( - this, METHODID_GET_TRANSFER_JOB))) - .addMethod( - getListTransferJobsMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.storagetransfer.v1.proto.TransferProto.ListTransferJobsRequest, - com.google.storagetransfer.v1.proto.TransferProto.ListTransferJobsResponse>( - this, METHODID_LIST_TRANSFER_JOBS))) - .addMethod( - getPauseTransferOperationMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.storagetransfer.v1.proto.TransferProto.PauseTransferOperationRequest, - com.google.protobuf.Empty>( - this, METHODID_PAUSE_TRANSFER_OPERATION))) - .addMethod( - getResumeTransferOperationMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.storagetransfer.v1.proto.TransferProto.ResumeTransferOperationRequest, - com.google.protobuf.Empty>( - this, METHODID_RESUME_TRANSFER_OPERATION))) - .addMethod( - getRunTransferJobMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.storagetransfer.v1.proto.TransferProto.RunTransferJobRequest, - com.google.longrunning.Operation>( - this, METHODID_RUN_TRANSFER_JOB))) - .addMethod( - getDeleteTransferJobMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.storagetransfer.v1.proto.TransferProto.DeleteTransferJobRequest, - com.google.protobuf.Empty>( - this, METHODID_DELETE_TRANSFER_JOB))) - .addMethod( - getCreateAgentPoolMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.storagetransfer.v1.proto.TransferProto.CreateAgentPoolRequest, - com.google.storagetransfer.v1.proto.TransferTypes.AgentPool>( - this, METHODID_CREATE_AGENT_POOL))) - .addMethod( - getUpdateAgentPoolMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.storagetransfer.v1.proto.TransferProto.UpdateAgentPoolRequest, - com.google.storagetransfer.v1.proto.TransferTypes.AgentPool>( - this, METHODID_UPDATE_AGENT_POOL))) - .addMethod( - getGetAgentPoolMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.storagetransfer.v1.proto.TransferProto.GetAgentPoolRequest, - com.google.storagetransfer.v1.proto.TransferTypes.AgentPool>( - this, METHODID_GET_AGENT_POOL))) - .addMethod( - getListAgentPoolsMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.storagetransfer.v1.proto.TransferProto.ListAgentPoolsRequest, - com.google.storagetransfer.v1.proto.TransferProto.ListAgentPoolsResponse>( - this, METHODID_LIST_AGENT_POOLS))) - .addMethod( - getDeleteAgentPoolMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.storagetransfer.v1.proto.TransferProto.DeleteAgentPoolRequest, - com.google.protobuf.Empty>( - this, METHODID_DELETE_AGENT_POOL))) - .build(); - } - } - - /** - *
-   * Storage Transfer Service and its protos.
-   * Transfers data between between Google Cloud Storage buckets or from a data
-   * source external to Google to a Cloud Storage bucket.
-   * 
- */ - public static final class StorageTransferServiceStub extends io.grpc.stub.AbstractAsyncStub { - private StorageTransferServiceStub( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - super(channel, callOptions); - } - - @java.lang.Override - protected StorageTransferServiceStub build( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new StorageTransferServiceStub(channel, callOptions); - } - - /** - *
-     * Returns the Google service account that is used by Storage Transfer
-     * Service to access buckets in the project where transfers
-     * run or in other projects. Each Google service account is associated
-     * with one Google Cloud project. Users
-     * should add this service account to the Google Cloud Storage bucket
-     * ACLs to grant access to Storage Transfer Service. This service
-     * account is created and owned by Storage Transfer Service and can
-     * only be used by Storage Transfer Service.
-     * 
- */ - public void getGoogleServiceAccount(com.google.storagetransfer.v1.proto.TransferProto.GetGoogleServiceAccountRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getGetGoogleServiceAccountMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Creates a transfer job that runs periodically.
-     * 
- */ - public void createTransferJob(com.google.storagetransfer.v1.proto.TransferProto.CreateTransferJobRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getCreateTransferJobMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Updates a transfer job. Updating a job's transfer spec does not affect
-     * transfer operations that are running already.
-     * **Note:** The job's [status][google.storagetransfer.v1.TransferJob.status] field can be modified
-     * using this RPC (for example, to set a job's status to
-     * [DELETED][google.storagetransfer.v1.TransferJob.Status.DELETED],
-     * [DISABLED][google.storagetransfer.v1.TransferJob.Status.DISABLED], or
-     * [ENABLED][google.storagetransfer.v1.TransferJob.Status.ENABLED]).
-     * 
- */ - public void updateTransferJob(com.google.storagetransfer.v1.proto.TransferProto.UpdateTransferJobRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getUpdateTransferJobMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Gets a transfer job.
-     * 
- */ - public void getTransferJob(com.google.storagetransfer.v1.proto.TransferProto.GetTransferJobRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getGetTransferJobMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Lists transfer jobs.
-     * 
- */ - public void listTransferJobs(com.google.storagetransfer.v1.proto.TransferProto.ListTransferJobsRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getListTransferJobsMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Pauses a transfer operation.
-     * 
- */ - public void pauseTransferOperation(com.google.storagetransfer.v1.proto.TransferProto.PauseTransferOperationRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getPauseTransferOperationMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Resumes a transfer operation that is paused.
-     * 
- */ - public void resumeTransferOperation(com.google.storagetransfer.v1.proto.TransferProto.ResumeTransferOperationRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getResumeTransferOperationMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Attempts to start a new TransferOperation for the current TransferJob. A
-     * TransferJob has a maximum of one active TransferOperation. If this method
-     * is called while a TransferOperation is active, an error will be returned.
-     * 
- */ - public void runTransferJob(com.google.storagetransfer.v1.proto.TransferProto.RunTransferJobRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getRunTransferJobMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Deletes a transfer job. Deleting a transfer job sets its status to
-     * [DELETED][google.storagetransfer.v1.TransferJob.Status.DELETED].
-     * 
- */ - public void deleteTransferJob(com.google.storagetransfer.v1.proto.TransferProto.DeleteTransferJobRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getDeleteTransferJobMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Creates an agent pool resource.
-     * 
- */ - public void createAgentPool(com.google.storagetransfer.v1.proto.TransferProto.CreateAgentPoolRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getCreateAgentPoolMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Updates an existing agent pool resource.
-     * 
- */ - public void updateAgentPool(com.google.storagetransfer.v1.proto.TransferProto.UpdateAgentPoolRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getUpdateAgentPoolMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Gets an agent pool.
-     * 
- */ - public void getAgentPool(com.google.storagetransfer.v1.proto.TransferProto.GetAgentPoolRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getGetAgentPoolMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Lists agent pools.
-     * 
- */ - public void listAgentPools(com.google.storagetransfer.v1.proto.TransferProto.ListAgentPoolsRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getListAgentPoolsMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Deletes an agent pool.
-     * 
- */ - public void deleteAgentPool(com.google.storagetransfer.v1.proto.TransferProto.DeleteAgentPoolRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getDeleteAgentPoolMethod(), getCallOptions()), request, responseObserver); - } - } - - /** - *
-   * Storage Transfer Service and its protos.
-   * Transfers data between between Google Cloud Storage buckets or from a data
-   * source external to Google to a Cloud Storage bucket.
-   * 
- */ - public static final class StorageTransferServiceBlockingStub extends io.grpc.stub.AbstractBlockingStub { - private StorageTransferServiceBlockingStub( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - super(channel, callOptions); - } - - @java.lang.Override - protected StorageTransferServiceBlockingStub build( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new StorageTransferServiceBlockingStub(channel, callOptions); - } - - /** - *
-     * Returns the Google service account that is used by Storage Transfer
-     * Service to access buckets in the project where transfers
-     * run or in other projects. Each Google service account is associated
-     * with one Google Cloud project. Users
-     * should add this service account to the Google Cloud Storage bucket
-     * ACLs to grant access to Storage Transfer Service. This service
-     * account is created and owned by Storage Transfer Service and can
-     * only be used by Storage Transfer Service.
-     * 
- */ - public com.google.storagetransfer.v1.proto.TransferTypes.GoogleServiceAccount getGoogleServiceAccount(com.google.storagetransfer.v1.proto.TransferProto.GetGoogleServiceAccountRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getGetGoogleServiceAccountMethod(), getCallOptions(), request); - } - - /** - *
-     * Creates a transfer job that runs periodically.
-     * 
- */ - public com.google.storagetransfer.v1.proto.TransferTypes.TransferJob createTransferJob(com.google.storagetransfer.v1.proto.TransferProto.CreateTransferJobRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getCreateTransferJobMethod(), getCallOptions(), request); - } - - /** - *
-     * Updates a transfer job. Updating a job's transfer spec does not affect
-     * transfer operations that are running already.
-     * **Note:** The job's [status][google.storagetransfer.v1.TransferJob.status] field can be modified
-     * using this RPC (for example, to set a job's status to
-     * [DELETED][google.storagetransfer.v1.TransferJob.Status.DELETED],
-     * [DISABLED][google.storagetransfer.v1.TransferJob.Status.DISABLED], or
-     * [ENABLED][google.storagetransfer.v1.TransferJob.Status.ENABLED]).
-     * 
- */ - public com.google.storagetransfer.v1.proto.TransferTypes.TransferJob updateTransferJob(com.google.storagetransfer.v1.proto.TransferProto.UpdateTransferJobRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getUpdateTransferJobMethod(), getCallOptions(), request); - } - - /** - *
-     * Gets a transfer job.
-     * 
- */ - public com.google.storagetransfer.v1.proto.TransferTypes.TransferJob getTransferJob(com.google.storagetransfer.v1.proto.TransferProto.GetTransferJobRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getGetTransferJobMethod(), getCallOptions(), request); - } - - /** - *
-     * Lists transfer jobs.
-     * 
- */ - public com.google.storagetransfer.v1.proto.TransferProto.ListTransferJobsResponse listTransferJobs(com.google.storagetransfer.v1.proto.TransferProto.ListTransferJobsRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getListTransferJobsMethod(), getCallOptions(), request); - } - - /** - *
-     * Pauses a transfer operation.
-     * 
- */ - public com.google.protobuf.Empty pauseTransferOperation(com.google.storagetransfer.v1.proto.TransferProto.PauseTransferOperationRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getPauseTransferOperationMethod(), getCallOptions(), request); - } - - /** - *
-     * Resumes a transfer operation that is paused.
-     * 
- */ - public com.google.protobuf.Empty resumeTransferOperation(com.google.storagetransfer.v1.proto.TransferProto.ResumeTransferOperationRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getResumeTransferOperationMethod(), getCallOptions(), request); - } - - /** - *
-     * Attempts to start a new TransferOperation for the current TransferJob. A
-     * TransferJob has a maximum of one active TransferOperation. If this method
-     * is called while a TransferOperation is active, an error will be returned.
-     * 
- */ - public com.google.longrunning.Operation runTransferJob(com.google.storagetransfer.v1.proto.TransferProto.RunTransferJobRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getRunTransferJobMethod(), getCallOptions(), request); - } - - /** - *
-     * Deletes a transfer job. Deleting a transfer job sets its status to
-     * [DELETED][google.storagetransfer.v1.TransferJob.Status.DELETED].
-     * 
- */ - public com.google.protobuf.Empty deleteTransferJob(com.google.storagetransfer.v1.proto.TransferProto.DeleteTransferJobRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getDeleteTransferJobMethod(), getCallOptions(), request); - } - - /** - *
-     * Creates an agent pool resource.
-     * 
- */ - public com.google.storagetransfer.v1.proto.TransferTypes.AgentPool createAgentPool(com.google.storagetransfer.v1.proto.TransferProto.CreateAgentPoolRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getCreateAgentPoolMethod(), getCallOptions(), request); - } - - /** - *
-     * Updates an existing agent pool resource.
-     * 
- */ - public com.google.storagetransfer.v1.proto.TransferTypes.AgentPool updateAgentPool(com.google.storagetransfer.v1.proto.TransferProto.UpdateAgentPoolRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getUpdateAgentPoolMethod(), getCallOptions(), request); - } - - /** - *
-     * Gets an agent pool.
-     * 
- */ - public com.google.storagetransfer.v1.proto.TransferTypes.AgentPool getAgentPool(com.google.storagetransfer.v1.proto.TransferProto.GetAgentPoolRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getGetAgentPoolMethod(), getCallOptions(), request); - } - - /** - *
-     * Lists agent pools.
-     * 
- */ - public com.google.storagetransfer.v1.proto.TransferProto.ListAgentPoolsResponse listAgentPools(com.google.storagetransfer.v1.proto.TransferProto.ListAgentPoolsRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getListAgentPoolsMethod(), getCallOptions(), request); - } - - /** - *
-     * Deletes an agent pool.
-     * 
- */ - public com.google.protobuf.Empty deleteAgentPool(com.google.storagetransfer.v1.proto.TransferProto.DeleteAgentPoolRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getDeleteAgentPoolMethod(), getCallOptions(), request); - } - } - - /** - *
-   * Storage Transfer Service and its protos.
-   * Transfers data between between Google Cloud Storage buckets or from a data
-   * source external to Google to a Cloud Storage bucket.
-   * 
- */ - public static final class StorageTransferServiceFutureStub extends io.grpc.stub.AbstractFutureStub { - private StorageTransferServiceFutureStub( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - super(channel, callOptions); - } - - @java.lang.Override - protected StorageTransferServiceFutureStub build( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new StorageTransferServiceFutureStub(channel, callOptions); - } - - /** - *
-     * Returns the Google service account that is used by Storage Transfer
-     * Service to access buckets in the project where transfers
-     * run or in other projects. Each Google service account is associated
-     * with one Google Cloud project. Users
-     * should add this service account to the Google Cloud Storage bucket
-     * ACLs to grant access to Storage Transfer Service. This service
-     * account is created and owned by Storage Transfer Service and can
-     * only be used by Storage Transfer Service.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture getGoogleServiceAccount( - com.google.storagetransfer.v1.proto.TransferProto.GetGoogleServiceAccountRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getGetGoogleServiceAccountMethod(), getCallOptions()), request); - } - - /** - *
-     * Creates a transfer job that runs periodically.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture createTransferJob( - com.google.storagetransfer.v1.proto.TransferProto.CreateTransferJobRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getCreateTransferJobMethod(), getCallOptions()), request); - } - - /** - *
-     * Updates a transfer job. Updating a job's transfer spec does not affect
-     * transfer operations that are running already.
-     * **Note:** The job's [status][google.storagetransfer.v1.TransferJob.status] field can be modified
-     * using this RPC (for example, to set a job's status to
-     * [DELETED][google.storagetransfer.v1.TransferJob.Status.DELETED],
-     * [DISABLED][google.storagetransfer.v1.TransferJob.Status.DISABLED], or
-     * [ENABLED][google.storagetransfer.v1.TransferJob.Status.ENABLED]).
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture updateTransferJob( - com.google.storagetransfer.v1.proto.TransferProto.UpdateTransferJobRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getUpdateTransferJobMethod(), getCallOptions()), request); - } - - /** - *
-     * Gets a transfer job.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture getTransferJob( - com.google.storagetransfer.v1.proto.TransferProto.GetTransferJobRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getGetTransferJobMethod(), getCallOptions()), request); - } - - /** - *
-     * Lists transfer jobs.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture listTransferJobs( - com.google.storagetransfer.v1.proto.TransferProto.ListTransferJobsRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getListTransferJobsMethod(), getCallOptions()), request); - } - - /** - *
-     * Pauses a transfer operation.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture pauseTransferOperation( - com.google.storagetransfer.v1.proto.TransferProto.PauseTransferOperationRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getPauseTransferOperationMethod(), getCallOptions()), request); - } - - /** - *
-     * Resumes a transfer operation that is paused.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture resumeTransferOperation( - com.google.storagetransfer.v1.proto.TransferProto.ResumeTransferOperationRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getResumeTransferOperationMethod(), getCallOptions()), request); - } - - /** - *
-     * Attempts to start a new TransferOperation for the current TransferJob. A
-     * TransferJob has a maximum of one active TransferOperation. If this method
-     * is called while a TransferOperation is active, an error will be returned.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture runTransferJob( - com.google.storagetransfer.v1.proto.TransferProto.RunTransferJobRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getRunTransferJobMethod(), getCallOptions()), request); - } - - /** - *
-     * Deletes a transfer job. Deleting a transfer job sets its status to
-     * [DELETED][google.storagetransfer.v1.TransferJob.Status.DELETED].
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture deleteTransferJob( - com.google.storagetransfer.v1.proto.TransferProto.DeleteTransferJobRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getDeleteTransferJobMethod(), getCallOptions()), request); - } - - /** - *
-     * Creates an agent pool resource.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture createAgentPool( - com.google.storagetransfer.v1.proto.TransferProto.CreateAgentPoolRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getCreateAgentPoolMethod(), getCallOptions()), request); - } - - /** - *
-     * Updates an existing agent pool resource.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture updateAgentPool( - com.google.storagetransfer.v1.proto.TransferProto.UpdateAgentPoolRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getUpdateAgentPoolMethod(), getCallOptions()), request); - } - - /** - *
-     * Gets an agent pool.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture getAgentPool( - com.google.storagetransfer.v1.proto.TransferProto.GetAgentPoolRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getGetAgentPoolMethod(), getCallOptions()), request); - } - - /** - *
-     * Lists agent pools.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture listAgentPools( - com.google.storagetransfer.v1.proto.TransferProto.ListAgentPoolsRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getListAgentPoolsMethod(), getCallOptions()), request); - } - - /** - *
-     * Deletes an agent pool.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture deleteAgentPool( - com.google.storagetransfer.v1.proto.TransferProto.DeleteAgentPoolRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getDeleteAgentPoolMethod(), getCallOptions()), request); - } - } - - private static final int METHODID_GET_GOOGLE_SERVICE_ACCOUNT = 0; - private static final int METHODID_CREATE_TRANSFER_JOB = 1; - private static final int METHODID_UPDATE_TRANSFER_JOB = 2; - private static final int METHODID_GET_TRANSFER_JOB = 3; - private static final int METHODID_LIST_TRANSFER_JOBS = 4; - private static final int METHODID_PAUSE_TRANSFER_OPERATION = 5; - private static final int METHODID_RESUME_TRANSFER_OPERATION = 6; - private static final int METHODID_RUN_TRANSFER_JOB = 7; - private static final int METHODID_DELETE_TRANSFER_JOB = 8; - private static final int METHODID_CREATE_AGENT_POOL = 9; - private static final int METHODID_UPDATE_AGENT_POOL = 10; - private static final int METHODID_GET_AGENT_POOL = 11; - private static final int METHODID_LIST_AGENT_POOLS = 12; - private static final int METHODID_DELETE_AGENT_POOL = 13; - - private static final class MethodHandlers implements - io.grpc.stub.ServerCalls.UnaryMethod, - io.grpc.stub.ServerCalls.ServerStreamingMethod, - io.grpc.stub.ServerCalls.ClientStreamingMethod, - io.grpc.stub.ServerCalls.BidiStreamingMethod { - private final StorageTransferServiceImplBase serviceImpl; - private final int methodId; - - MethodHandlers(StorageTransferServiceImplBase serviceImpl, int methodId) { - this.serviceImpl = serviceImpl; - this.methodId = methodId; - } - - @java.lang.Override - @java.lang.SuppressWarnings("unchecked") - public void invoke(Req request, io.grpc.stub.StreamObserver responseObserver) { - switch (methodId) { - case METHODID_GET_GOOGLE_SERVICE_ACCOUNT: - serviceImpl.getGoogleServiceAccount((com.google.storagetransfer.v1.proto.TransferProto.GetGoogleServiceAccountRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_CREATE_TRANSFER_JOB: - serviceImpl.createTransferJob((com.google.storagetransfer.v1.proto.TransferProto.CreateTransferJobRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_UPDATE_TRANSFER_JOB: - serviceImpl.updateTransferJob((com.google.storagetransfer.v1.proto.TransferProto.UpdateTransferJobRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_GET_TRANSFER_JOB: - serviceImpl.getTransferJob((com.google.storagetransfer.v1.proto.TransferProto.GetTransferJobRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_LIST_TRANSFER_JOBS: - serviceImpl.listTransferJobs((com.google.storagetransfer.v1.proto.TransferProto.ListTransferJobsRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_PAUSE_TRANSFER_OPERATION: - serviceImpl.pauseTransferOperation((com.google.storagetransfer.v1.proto.TransferProto.PauseTransferOperationRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_RESUME_TRANSFER_OPERATION: - serviceImpl.resumeTransferOperation((com.google.storagetransfer.v1.proto.TransferProto.ResumeTransferOperationRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_RUN_TRANSFER_JOB: - serviceImpl.runTransferJob((com.google.storagetransfer.v1.proto.TransferProto.RunTransferJobRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_DELETE_TRANSFER_JOB: - serviceImpl.deleteTransferJob((com.google.storagetransfer.v1.proto.TransferProto.DeleteTransferJobRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_CREATE_AGENT_POOL: - serviceImpl.createAgentPool((com.google.storagetransfer.v1.proto.TransferProto.CreateAgentPoolRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_UPDATE_AGENT_POOL: - serviceImpl.updateAgentPool((com.google.storagetransfer.v1.proto.TransferProto.UpdateAgentPoolRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_GET_AGENT_POOL: - serviceImpl.getAgentPool((com.google.storagetransfer.v1.proto.TransferProto.GetAgentPoolRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_LIST_AGENT_POOLS: - serviceImpl.listAgentPools((com.google.storagetransfer.v1.proto.TransferProto.ListAgentPoolsRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_DELETE_AGENT_POOL: - serviceImpl.deleteAgentPool((com.google.storagetransfer.v1.proto.TransferProto.DeleteAgentPoolRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - default: - throw new AssertionError(); - } - } - - @java.lang.Override - @java.lang.SuppressWarnings("unchecked") - public io.grpc.stub.StreamObserver invoke( - io.grpc.stub.StreamObserver responseObserver) { - switch (methodId) { - default: - throw new AssertionError(); - } - } - } - - private static abstract class StorageTransferServiceBaseDescriptorSupplier - implements io.grpc.protobuf.ProtoFileDescriptorSupplier, io.grpc.protobuf.ProtoServiceDescriptorSupplier { - StorageTransferServiceBaseDescriptorSupplier() {} - - @java.lang.Override - public com.google.protobuf.Descriptors.FileDescriptor getFileDescriptor() { - return com.google.storagetransfer.v1.proto.TransferProto.getDescriptor(); - } - - @java.lang.Override - public com.google.protobuf.Descriptors.ServiceDescriptor getServiceDescriptor() { - return getFileDescriptor().findServiceByName("StorageTransferService"); - } - } - - private static final class StorageTransferServiceFileDescriptorSupplier - extends StorageTransferServiceBaseDescriptorSupplier { - StorageTransferServiceFileDescriptorSupplier() {} - } - - private static final class StorageTransferServiceMethodDescriptorSupplier - extends StorageTransferServiceBaseDescriptorSupplier - implements io.grpc.protobuf.ProtoMethodDescriptorSupplier { - private final String methodName; - - StorageTransferServiceMethodDescriptorSupplier(String methodName) { - this.methodName = methodName; - } - - @java.lang.Override - public com.google.protobuf.Descriptors.MethodDescriptor getMethodDescriptor() { - return getServiceDescriptor().findMethodByName(methodName); - } - } - - private static volatile io.grpc.ServiceDescriptor serviceDescriptor; - - public static io.grpc.ServiceDescriptor getServiceDescriptor() { - io.grpc.ServiceDescriptor result = serviceDescriptor; - if (result == null) { - synchronized (StorageTransferServiceGrpc.class) { - result = serviceDescriptor; - if (result == null) { - serviceDescriptor = result = io.grpc.ServiceDescriptor.newBuilder(SERVICE_NAME) - .setSchemaDescriptor(new StorageTransferServiceFileDescriptorSupplier()) - .addMethod(getGetGoogleServiceAccountMethod()) - .addMethod(getCreateTransferJobMethod()) - .addMethod(getUpdateTransferJobMethod()) - .addMethod(getGetTransferJobMethod()) - .addMethod(getListTransferJobsMethod()) - .addMethod(getPauseTransferOperationMethod()) - .addMethod(getResumeTransferOperationMethod()) - .addMethod(getRunTransferJobMethod()) - .addMethod(getDeleteTransferJobMethod()) - .addMethod(getCreateAgentPoolMethod()) - .addMethod(getUpdateAgentPoolMethod()) - .addMethod(getGetAgentPoolMethod()) - .addMethod(getListAgentPoolsMethod()) - .addMethod(getDeleteAgentPoolMethod()) - .build(); - } - } - } - return result; - } -} diff --git a/owl-bot-staging/v1/proto-google-cloud-storage-transfer-v1/src/main/java/com/google/storagetransfer/v1/proto/TransferProto.java b/proto-google-cloud-storage-transfer-v1/src/main/java/com/google/storagetransfer/v1/proto/TransferProto.java similarity index 66% rename from owl-bot-staging/v1/proto-google-cloud-storage-transfer-v1/src/main/java/com/google/storagetransfer/v1/proto/TransferProto.java rename to proto-google-cloud-storage-transfer-v1/src/main/java/com/google/storagetransfer/v1/proto/TransferProto.java index 04d01f7..a09b18f 100644 --- a/owl-bot-staging/v1/proto-google-cloud-storage-transfer-v1/src/main/java/com/google/storagetransfer/v1/proto/TransferProto.java +++ b/proto-google-cloud-storage-transfer-v1/src/main/java/com/google/storagetransfer/v1/proto/TransferProto.java @@ -1,3 +1,18 @@ +/* + * 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/storagetransfer/v1/transfer.proto @@ -5,73 +20,81 @@ public final class TransferProto { private TransferProto() {} - public static void registerAllExtensions( - com.google.protobuf.ExtensionRegistryLite registry) { - } - public static void registerAllExtensions( - com.google.protobuf.ExtensionRegistry registry) { - registerAllExtensions( - (com.google.protobuf.ExtensionRegistryLite) registry); + public static void registerAllExtensions(com.google.protobuf.ExtensionRegistryLite registry) {} + + public static void registerAllExtensions(com.google.protobuf.ExtensionRegistry registry) { + registerAllExtensions((com.google.protobuf.ExtensionRegistryLite) registry); } - public interface GetGoogleServiceAccountRequestOrBuilder extends + + public interface GetGoogleServiceAccountRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.storagetransfer.v1.GetGoogleServiceAccountRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
      * Required. The ID of the Google Cloud project that the Google service
      * account is associated with.
      * 
* * string project_id = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The projectId. */ java.lang.String getProjectId(); /** + * + * *
      * Required. The ID of the Google Cloud project that the Google service
      * account is associated with.
      * 
* * string project_id = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for projectId. */ - com.google.protobuf.ByteString - getProjectIdBytes(); + com.google.protobuf.ByteString getProjectIdBytes(); } /** + * + * *
    * Request passed to GetGoogleServiceAccount.
    * 
* * Protobuf type {@code google.storagetransfer.v1.GetGoogleServiceAccountRequest} */ - public static final class GetGoogleServiceAccountRequest extends - com.google.protobuf.GeneratedMessageV3 implements + public static final class GetGoogleServiceAccountRequest + extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.storagetransfer.v1.GetGoogleServiceAccountRequest) GetGoogleServiceAccountRequestOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use GetGoogleServiceAccountRequest.newBuilder() to construct. - private GetGoogleServiceAccountRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { + private GetGoogleServiceAccountRequest( + com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private GetGoogleServiceAccountRequest() { projectId_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new GetGoogleServiceAccountRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private GetGoogleServiceAccountRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -90,19 +113,20 @@ private GetGoogleServiceAccountRequest( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - projectId_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + projectId_ = s; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -110,35 +134,42 @@ private GetGoogleServiceAccountRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.storagetransfer.v1.proto.TransferProto.internal_static_google_storagetransfer_v1_GetGoogleServiceAccountRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.storagetransfer.v1.proto.TransferProto + .internal_static_google_storagetransfer_v1_GetGoogleServiceAccountRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.storagetransfer.v1.proto.TransferProto.internal_static_google_storagetransfer_v1_GetGoogleServiceAccountRequest_fieldAccessorTable + return com.google.storagetransfer.v1.proto.TransferProto + .internal_static_google_storagetransfer_v1_GetGoogleServiceAccountRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.storagetransfer.v1.proto.TransferProto.GetGoogleServiceAccountRequest.class, com.google.storagetransfer.v1.proto.TransferProto.GetGoogleServiceAccountRequest.Builder.class); + com.google.storagetransfer.v1.proto.TransferProto.GetGoogleServiceAccountRequest + .class, + com.google.storagetransfer.v1.proto.TransferProto.GetGoogleServiceAccountRequest + .Builder.class); } public static final int PROJECT_ID_FIELD_NUMBER = 1; private volatile java.lang.Object projectId_; /** + * + * *
      * Required. The ID of the Google Cloud project that the Google service
      * account is associated with.
      * 
* * string project_id = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The projectId. */ @java.lang.Override @@ -147,30 +178,30 @@ public java.lang.String getProjectId() { 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(); projectId_ = s; return s; } } /** + * + * *
      * Required. The ID of the Google Cloud project that the Google service
      * account is associated with.
      * 
* * string project_id = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for projectId. */ @java.lang.Override - public com.google.protobuf.ByteString - getProjectIdBytes() { + public com.google.protobuf.ByteString getProjectIdBytes() { java.lang.Object ref = projectId_; 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); projectId_ = b; return b; } else { @@ -179,6 +210,7 @@ public java.lang.String getProjectId() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -190,8 +222,7 @@ 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 (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(projectId_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, projectId_); } @@ -215,15 +246,17 @@ 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.storagetransfer.v1.proto.TransferProto.GetGoogleServiceAccountRequest)) { + if (!(obj + instanceof + com.google.storagetransfer.v1.proto.TransferProto.GetGoogleServiceAccountRequest)) { return super.equals(obj); } - com.google.storagetransfer.v1.proto.TransferProto.GetGoogleServiceAccountRequest other = (com.google.storagetransfer.v1.proto.TransferProto.GetGoogleServiceAccountRequest) obj; + com.google.storagetransfer.v1.proto.TransferProto.GetGoogleServiceAccountRequest other = + (com.google.storagetransfer.v1.proto.TransferProto.GetGoogleServiceAccountRequest) obj; - if (!getProjectId() - .equals(other.getProjectId())) return false; + if (!getProjectId().equals(other.getProjectId())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -242,88 +275,102 @@ public int hashCode() { return hash; } - public static com.google.storagetransfer.v1.proto.TransferProto.GetGoogleServiceAccountRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.storagetransfer.v1.proto.TransferProto.GetGoogleServiceAccountRequest + parseFrom(java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.storagetransfer.v1.proto.TransferProto.GetGoogleServiceAccountRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.storagetransfer.v1.proto.TransferProto.GetGoogleServiceAccountRequest + parseFrom( + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.storagetransfer.v1.proto.TransferProto.GetGoogleServiceAccountRequest parseFrom( - com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.storagetransfer.v1.proto.TransferProto.GetGoogleServiceAccountRequest + parseFrom(com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.storagetransfer.v1.proto.TransferProto.GetGoogleServiceAccountRequest parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.storagetransfer.v1.proto.TransferProto.GetGoogleServiceAccountRequest + 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.storagetransfer.v1.proto.TransferProto.GetGoogleServiceAccountRequest parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.storagetransfer.v1.proto.TransferProto.GetGoogleServiceAccountRequest + parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.storagetransfer.v1.proto.TransferProto.GetGoogleServiceAccountRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.storagetransfer.v1.proto.TransferProto.GetGoogleServiceAccountRequest + parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.storagetransfer.v1.proto.TransferProto.GetGoogleServiceAccountRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.storagetransfer.v1.proto.TransferProto.GetGoogleServiceAccountRequest + parseFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } - public static com.google.storagetransfer.v1.proto.TransferProto.GetGoogleServiceAccountRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + + public static com.google.storagetransfer.v1.proto.TransferProto.GetGoogleServiceAccountRequest + parseFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.storagetransfer.v1.proto.TransferProto.GetGoogleServiceAccountRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.storagetransfer.v1.proto.TransferProto.GetGoogleServiceAccountRequest + parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } - public static com.google.storagetransfer.v1.proto.TransferProto.GetGoogleServiceAccountRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + + public static com.google.storagetransfer.v1.proto.TransferProto.GetGoogleServiceAccountRequest + parseDelimitedFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.storagetransfer.v1.proto.TransferProto.GetGoogleServiceAccountRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.storagetransfer.v1.proto.TransferProto.GetGoogleServiceAccountRequest + parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } - public static com.google.storagetransfer.v1.proto.TransferProto.GetGoogleServiceAccountRequest parseFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + + public static com.google.storagetransfer.v1.proto.TransferProto.GetGoogleServiceAccountRequest + parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + 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.storagetransfer.v1.proto.TransferProto.GetGoogleServiceAccountRequest prototype) { + + public static Builder newBuilder( + com.google.storagetransfer.v1.proto.TransferProto.GetGoogleServiceAccountRequest + 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 @@ -333,44 +380,51 @@ protected Builder newBuilderForType( return builder; } /** + * + * *
      * Request passed to GetGoogleServiceAccount.
      * 
* * Protobuf type {@code google.storagetransfer.v1.GetGoogleServiceAccountRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder + extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.storagetransfer.v1.GetGoogleServiceAccountRequest) com.google.storagetransfer.v1.proto.TransferProto.GetGoogleServiceAccountRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.storagetransfer.v1.proto.TransferProto.internal_static_google_storagetransfer_v1_GetGoogleServiceAccountRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.storagetransfer.v1.proto.TransferProto + .internal_static_google_storagetransfer_v1_GetGoogleServiceAccountRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.storagetransfer.v1.proto.TransferProto.internal_static_google_storagetransfer_v1_GetGoogleServiceAccountRequest_fieldAccessorTable + return com.google.storagetransfer.v1.proto.TransferProto + .internal_static_google_storagetransfer_v1_GetGoogleServiceAccountRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.storagetransfer.v1.proto.TransferProto.GetGoogleServiceAccountRequest.class, com.google.storagetransfer.v1.proto.TransferProto.GetGoogleServiceAccountRequest.Builder.class); + com.google.storagetransfer.v1.proto.TransferProto.GetGoogleServiceAccountRequest + .class, + com.google.storagetransfer.v1.proto.TransferProto.GetGoogleServiceAccountRequest + .Builder.class); } - // Construct using com.google.storagetransfer.v1.proto.TransferProto.GetGoogleServiceAccountRequest.newBuilder() + // Construct using + // com.google.storagetransfer.v1.proto.TransferProto.GetGoogleServiceAccountRequest.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -380,19 +434,23 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.storagetransfer.v1.proto.TransferProto.internal_static_google_storagetransfer_v1_GetGoogleServiceAccountRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.storagetransfer.v1.proto.TransferProto + .internal_static_google_storagetransfer_v1_GetGoogleServiceAccountRequest_descriptor; } @java.lang.Override - public com.google.storagetransfer.v1.proto.TransferProto.GetGoogleServiceAccountRequest getDefaultInstanceForType() { - return com.google.storagetransfer.v1.proto.TransferProto.GetGoogleServiceAccountRequest.getDefaultInstance(); + public com.google.storagetransfer.v1.proto.TransferProto.GetGoogleServiceAccountRequest + getDefaultInstanceForType() { + return com.google.storagetransfer.v1.proto.TransferProto.GetGoogleServiceAccountRequest + .getDefaultInstance(); } @java.lang.Override - public com.google.storagetransfer.v1.proto.TransferProto.GetGoogleServiceAccountRequest build() { - com.google.storagetransfer.v1.proto.TransferProto.GetGoogleServiceAccountRequest result = buildPartial(); + public com.google.storagetransfer.v1.proto.TransferProto.GetGoogleServiceAccountRequest + build() { + com.google.storagetransfer.v1.proto.TransferProto.GetGoogleServiceAccountRequest result = + buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } @@ -400,8 +458,11 @@ public com.google.storagetransfer.v1.proto.TransferProto.GetGoogleServiceAccount } @java.lang.Override - public com.google.storagetransfer.v1.proto.TransferProto.GetGoogleServiceAccountRequest buildPartial() { - com.google.storagetransfer.v1.proto.TransferProto.GetGoogleServiceAccountRequest result = new com.google.storagetransfer.v1.proto.TransferProto.GetGoogleServiceAccountRequest(this); + public com.google.storagetransfer.v1.proto.TransferProto.GetGoogleServiceAccountRequest + buildPartial() { + com.google.storagetransfer.v1.proto.TransferProto.GetGoogleServiceAccountRequest result = + new com.google.storagetransfer.v1.proto.TransferProto.GetGoogleServiceAccountRequest( + this); result.projectId_ = projectId_; onBuilt(); return result; @@ -411,46 +472,56 @@ public com.google.storagetransfer.v1.proto.TransferProto.GetGoogleServiceAccount public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + int index, + java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { - if (other instanceof com.google.storagetransfer.v1.proto.TransferProto.GetGoogleServiceAccountRequest) { - return mergeFrom((com.google.storagetransfer.v1.proto.TransferProto.GetGoogleServiceAccountRequest)other); + if (other + instanceof + com.google.storagetransfer.v1.proto.TransferProto.GetGoogleServiceAccountRequest) { + return mergeFrom( + (com.google.storagetransfer.v1.proto.TransferProto.GetGoogleServiceAccountRequest) + other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.google.storagetransfer.v1.proto.TransferProto.GetGoogleServiceAccountRequest other) { - if (other == com.google.storagetransfer.v1.proto.TransferProto.GetGoogleServiceAccountRequest.getDefaultInstance()) return this; + public Builder mergeFrom( + com.google.storagetransfer.v1.proto.TransferProto.GetGoogleServiceAccountRequest other) { + if (other + == com.google.storagetransfer.v1.proto.TransferProto.GetGoogleServiceAccountRequest + .getDefaultInstance()) return this; if (!other.getProjectId().isEmpty()) { projectId_ = other.projectId_; onChanged(); @@ -470,11 +541,14 @@ public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - com.google.storagetransfer.v1.proto.TransferProto.GetGoogleServiceAccountRequest parsedMessage = null; + com.google.storagetransfer.v1.proto.TransferProto.GetGoogleServiceAccountRequest + parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.storagetransfer.v1.proto.TransferProto.GetGoogleServiceAccountRequest) e.getUnfinishedMessage(); + parsedMessage = + (com.google.storagetransfer.v1.proto.TransferProto.GetGoogleServiceAccountRequest) + e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -486,19 +560,21 @@ public Builder mergeFrom( private java.lang.Object projectId_ = ""; /** + * + * *
        * Required. The ID of the Google Cloud project that the Google service
        * account is associated with.
        * 
* * string project_id = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The projectId. */ public java.lang.String getProjectId() { java.lang.Object ref = projectId_; 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(); projectId_ = s; return s; @@ -507,21 +583,22 @@ public java.lang.String getProjectId() { } } /** + * + * *
        * Required. The ID of the Google Cloud project that the Google service
        * account is associated with.
        * 
* * string project_id = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for projectId. */ - public com.google.protobuf.ByteString - getProjectIdBytes() { + public com.google.protobuf.ByteString getProjectIdBytes() { java.lang.Object ref = projectId_; 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); projectId_ = b; return b; } else { @@ -529,61 +606,69 @@ public java.lang.String getProjectId() { } } /** + * + * *
        * Required. The ID of the Google Cloud project that the Google service
        * account is associated with.
        * 
* * string project_id = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The projectId to set. * @return This builder for chaining. */ - public Builder setProjectId( - java.lang.String value) { + public Builder setProjectId(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + projectId_ = value; onChanged(); return this; } /** + * + * *
        * Required. The ID of the Google Cloud project that the Google service
        * account is associated with.
        * 
* * string project_id = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return This builder for chaining. */ public Builder clearProjectId() { - + projectId_ = getDefaultInstance().getProjectId(); onChanged(); return this; } /** + * + * *
        * Required. The ID of the Google Cloud project that the Google service
        * account is associated with.
        * 
* * string project_id = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The bytes for projectId to set. * @return This builder for chaining. */ - public Builder setProjectIdBytes( - com.google.protobuf.ByteString value) { + public Builder setProjectIdBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + projectId_ = value; onChanged(); return this; } + @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -596,30 +681,34 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.storagetransfer.v1.GetGoogleServiceAccountRequest) } // @@protoc_insertion_point(class_scope:google.storagetransfer.v1.GetGoogleServiceAccountRequest) - private static final com.google.storagetransfer.v1.proto.TransferProto.GetGoogleServiceAccountRequest DEFAULT_INSTANCE; + private static final com.google.storagetransfer.v1.proto.TransferProto + .GetGoogleServiceAccountRequest + DEFAULT_INSTANCE; + static { - DEFAULT_INSTANCE = new com.google.storagetransfer.v1.proto.TransferProto.GetGoogleServiceAccountRequest(); + DEFAULT_INSTANCE = + new com.google.storagetransfer.v1.proto.TransferProto.GetGoogleServiceAccountRequest(); } - public static com.google.storagetransfer.v1.proto.TransferProto.GetGoogleServiceAccountRequest getDefaultInstance() { + public static com.google.storagetransfer.v1.proto.TransferProto.GetGoogleServiceAccountRequest + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public GetGoogleServiceAccountRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new GetGoogleServiceAccountRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public GetGoogleServiceAccountRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new GetGoogleServiceAccountRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -631,74 +720,91 @@ public com.google.protobuf.Parser getParserForTy } @java.lang.Override - public com.google.storagetransfer.v1.proto.TransferProto.GetGoogleServiceAccountRequest getDefaultInstanceForType() { + public com.google.storagetransfer.v1.proto.TransferProto.GetGoogleServiceAccountRequest + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - public interface CreateTransferJobRequestOrBuilder extends + public interface CreateTransferJobRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.storagetransfer.v1.CreateTransferJobRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
      * Required. The job to create.
      * 
* - * .google.storagetransfer.v1.TransferJob transfer_job = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.storagetransfer.v1.TransferJob transfer_job = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the transferJob field is set. */ boolean hasTransferJob(); /** + * + * *
      * Required. The job to create.
      * 
* - * .google.storagetransfer.v1.TransferJob transfer_job = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.storagetransfer.v1.TransferJob transfer_job = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The transferJob. */ com.google.storagetransfer.v1.proto.TransferTypes.TransferJob getTransferJob(); /** + * + * *
      * Required. The job to create.
      * 
* - * .google.storagetransfer.v1.TransferJob transfer_job = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.storagetransfer.v1.TransferJob transfer_job = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ - com.google.storagetransfer.v1.proto.TransferTypes.TransferJobOrBuilder getTransferJobOrBuilder(); + com.google.storagetransfer.v1.proto.TransferTypes.TransferJobOrBuilder + getTransferJobOrBuilder(); } /** + * + * *
    * Request passed to CreateTransferJob.
    * 
* * Protobuf type {@code google.storagetransfer.v1.CreateTransferJobRequest} */ - public static final class CreateTransferJobRequest extends - com.google.protobuf.GeneratedMessageV3 implements + public static final class CreateTransferJobRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.storagetransfer.v1.CreateTransferJobRequest) CreateTransferJobRequestOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use CreateTransferJobRequest.newBuilder() to construct. private CreateTransferJobRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private CreateTransferJobRequest() { - } + + private CreateTransferJobRequest() {} @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new CreateTransferJobRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private CreateTransferJobRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -717,26 +823,31 @@ private CreateTransferJobRequest( case 0: done = true; break; - case 10: { - com.google.storagetransfer.v1.proto.TransferTypes.TransferJob.Builder subBuilder = null; - if (transferJob_ != null) { - subBuilder = transferJob_.toBuilder(); + case 10: + { + com.google.storagetransfer.v1.proto.TransferTypes.TransferJob.Builder subBuilder = + null; + if (transferJob_ != null) { + subBuilder = transferJob_.toBuilder(); + } + transferJob_ = + input.readMessage( + com.google.storagetransfer.v1.proto.TransferTypes.TransferJob.parser(), + extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(transferJob_); + transferJob_ = subBuilder.buildPartial(); + } + + break; } - transferJob_ = input.readMessage(com.google.storagetransfer.v1.proto.TransferTypes.TransferJob.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(transferJob_); - transferJob_ = subBuilder.buildPartial(); + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -744,34 +855,42 @@ private CreateTransferJobRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.storagetransfer.v1.proto.TransferProto.internal_static_google_storagetransfer_v1_CreateTransferJobRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.storagetransfer.v1.proto.TransferProto + .internal_static_google_storagetransfer_v1_CreateTransferJobRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.storagetransfer.v1.proto.TransferProto.internal_static_google_storagetransfer_v1_CreateTransferJobRequest_fieldAccessorTable + return com.google.storagetransfer.v1.proto.TransferProto + .internal_static_google_storagetransfer_v1_CreateTransferJobRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.storagetransfer.v1.proto.TransferProto.CreateTransferJobRequest.class, com.google.storagetransfer.v1.proto.TransferProto.CreateTransferJobRequest.Builder.class); + com.google.storagetransfer.v1.proto.TransferProto.CreateTransferJobRequest.class, + com.google.storagetransfer.v1.proto.TransferProto.CreateTransferJobRequest.Builder + .class); } public static final int TRANSFER_JOB_FIELD_NUMBER = 1; private com.google.storagetransfer.v1.proto.TransferTypes.TransferJob transferJob_; /** + * + * *
      * Required. The job to create.
      * 
* - * .google.storagetransfer.v1.TransferJob transfer_job = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.storagetransfer.v1.TransferJob transfer_job = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the transferJob field is set. */ @java.lang.Override @@ -779,30 +898,43 @@ public boolean hasTransferJob() { return transferJob_ != null; } /** + * + * *
      * Required. The job to create.
      * 
* - * .google.storagetransfer.v1.TransferJob transfer_job = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.storagetransfer.v1.TransferJob transfer_job = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The transferJob. */ @java.lang.Override public com.google.storagetransfer.v1.proto.TransferTypes.TransferJob getTransferJob() { - return transferJob_ == null ? com.google.storagetransfer.v1.proto.TransferTypes.TransferJob.getDefaultInstance() : transferJob_; + return transferJob_ == null + ? com.google.storagetransfer.v1.proto.TransferTypes.TransferJob.getDefaultInstance() + : transferJob_; } /** + * + * *
      * Required. The job to create.
      * 
* - * .google.storagetransfer.v1.TransferJob transfer_job = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.storagetransfer.v1.TransferJob transfer_job = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ @java.lang.Override - public com.google.storagetransfer.v1.proto.TransferTypes.TransferJobOrBuilder getTransferJobOrBuilder() { + public com.google.storagetransfer.v1.proto.TransferTypes.TransferJobOrBuilder + getTransferJobOrBuilder() { return getTransferJob(); } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -814,8 +946,7 @@ 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 (transferJob_ != null) { output.writeMessage(1, getTransferJob()); } @@ -829,8 +960,7 @@ public int getSerializedSize() { size = 0; if (transferJob_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, getTransferJob()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getTransferJob()); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -840,17 +970,18 @@ 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.storagetransfer.v1.proto.TransferProto.CreateTransferJobRequest)) { + if (!(obj + instanceof com.google.storagetransfer.v1.proto.TransferProto.CreateTransferJobRequest)) { return super.equals(obj); } - com.google.storagetransfer.v1.proto.TransferProto.CreateTransferJobRequest other = (com.google.storagetransfer.v1.proto.TransferProto.CreateTransferJobRequest) obj; + com.google.storagetransfer.v1.proto.TransferProto.CreateTransferJobRequest other = + (com.google.storagetransfer.v1.proto.TransferProto.CreateTransferJobRequest) obj; if (hasTransferJob() != other.hasTransferJob()) return false; if (hasTransferJob()) { - if (!getTransferJob() - .equals(other.getTransferJob())) return false; + if (!getTransferJob().equals(other.getTransferJob())) return false; } if (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -872,88 +1003,101 @@ public int hashCode() { return hash; } - public static com.google.storagetransfer.v1.proto.TransferProto.CreateTransferJobRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.storagetransfer.v1.proto.TransferProto.CreateTransferJobRequest + parseFrom(java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.storagetransfer.v1.proto.TransferProto.CreateTransferJobRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.storagetransfer.v1.proto.TransferProto.CreateTransferJobRequest + parseFrom( + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.storagetransfer.v1.proto.TransferProto.CreateTransferJobRequest parseFrom( - com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.storagetransfer.v1.proto.TransferProto.CreateTransferJobRequest + parseFrom(com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.storagetransfer.v1.proto.TransferProto.CreateTransferJobRequest parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.storagetransfer.v1.proto.TransferProto.CreateTransferJobRequest + 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.storagetransfer.v1.proto.TransferProto.CreateTransferJobRequest parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.storagetransfer.v1.proto.TransferProto.CreateTransferJobRequest + parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.storagetransfer.v1.proto.TransferProto.CreateTransferJobRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.storagetransfer.v1.proto.TransferProto.CreateTransferJobRequest + parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.storagetransfer.v1.proto.TransferProto.CreateTransferJobRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.storagetransfer.v1.proto.TransferProto.CreateTransferJobRequest + parseFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } - public static com.google.storagetransfer.v1.proto.TransferProto.CreateTransferJobRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + + public static com.google.storagetransfer.v1.proto.TransferProto.CreateTransferJobRequest + parseFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.storagetransfer.v1.proto.TransferProto.CreateTransferJobRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.storagetransfer.v1.proto.TransferProto.CreateTransferJobRequest + parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } - public static com.google.storagetransfer.v1.proto.TransferProto.CreateTransferJobRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + + public static com.google.storagetransfer.v1.proto.TransferProto.CreateTransferJobRequest + parseDelimitedFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.storagetransfer.v1.proto.TransferProto.CreateTransferJobRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.storagetransfer.v1.proto.TransferProto.CreateTransferJobRequest + parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } - public static com.google.storagetransfer.v1.proto.TransferProto.CreateTransferJobRequest parseFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + + public static com.google.storagetransfer.v1.proto.TransferProto.CreateTransferJobRequest + parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + 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.storagetransfer.v1.proto.TransferProto.CreateTransferJobRequest prototype) { + + public static Builder newBuilder( + com.google.storagetransfer.v1.proto.TransferProto.CreateTransferJobRequest 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 @@ -963,44 +1107,50 @@ protected Builder newBuilderForType( return builder; } /** + * + * *
      * Request passed to CreateTransferJob.
      * 
* * Protobuf type {@code google.storagetransfer.v1.CreateTransferJobRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder + extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.storagetransfer.v1.CreateTransferJobRequest) com.google.storagetransfer.v1.proto.TransferProto.CreateTransferJobRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.storagetransfer.v1.proto.TransferProto.internal_static_google_storagetransfer_v1_CreateTransferJobRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.storagetransfer.v1.proto.TransferProto + .internal_static_google_storagetransfer_v1_CreateTransferJobRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.storagetransfer.v1.proto.TransferProto.internal_static_google_storagetransfer_v1_CreateTransferJobRequest_fieldAccessorTable + return com.google.storagetransfer.v1.proto.TransferProto + .internal_static_google_storagetransfer_v1_CreateTransferJobRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.storagetransfer.v1.proto.TransferProto.CreateTransferJobRequest.class, com.google.storagetransfer.v1.proto.TransferProto.CreateTransferJobRequest.Builder.class); + com.google.storagetransfer.v1.proto.TransferProto.CreateTransferJobRequest.class, + com.google.storagetransfer.v1.proto.TransferProto.CreateTransferJobRequest.Builder + .class); } - // Construct using com.google.storagetransfer.v1.proto.TransferProto.CreateTransferJobRequest.newBuilder() + // Construct using + // com.google.storagetransfer.v1.proto.TransferProto.CreateTransferJobRequest.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -1014,19 +1164,22 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.storagetransfer.v1.proto.TransferProto.internal_static_google_storagetransfer_v1_CreateTransferJobRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.storagetransfer.v1.proto.TransferProto + .internal_static_google_storagetransfer_v1_CreateTransferJobRequest_descriptor; } @java.lang.Override - public com.google.storagetransfer.v1.proto.TransferProto.CreateTransferJobRequest getDefaultInstanceForType() { - return com.google.storagetransfer.v1.proto.TransferProto.CreateTransferJobRequest.getDefaultInstance(); + public com.google.storagetransfer.v1.proto.TransferProto.CreateTransferJobRequest + getDefaultInstanceForType() { + return com.google.storagetransfer.v1.proto.TransferProto.CreateTransferJobRequest + .getDefaultInstance(); } @java.lang.Override public com.google.storagetransfer.v1.proto.TransferProto.CreateTransferJobRequest build() { - com.google.storagetransfer.v1.proto.TransferProto.CreateTransferJobRequest result = buildPartial(); + com.google.storagetransfer.v1.proto.TransferProto.CreateTransferJobRequest result = + buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } @@ -1034,8 +1187,10 @@ public com.google.storagetransfer.v1.proto.TransferProto.CreateTransferJobReques } @java.lang.Override - public com.google.storagetransfer.v1.proto.TransferProto.CreateTransferJobRequest buildPartial() { - com.google.storagetransfer.v1.proto.TransferProto.CreateTransferJobRequest result = new com.google.storagetransfer.v1.proto.TransferProto.CreateTransferJobRequest(this); + public com.google.storagetransfer.v1.proto.TransferProto.CreateTransferJobRequest + buildPartial() { + com.google.storagetransfer.v1.proto.TransferProto.CreateTransferJobRequest result = + new com.google.storagetransfer.v1.proto.TransferProto.CreateTransferJobRequest(this); if (transferJobBuilder_ == null) { result.transferJob_ = transferJob_; } else { @@ -1049,46 +1204,54 @@ public com.google.storagetransfer.v1.proto.TransferProto.CreateTransferJobReques public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + int index, + java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { - if (other instanceof com.google.storagetransfer.v1.proto.TransferProto.CreateTransferJobRequest) { - return mergeFrom((com.google.storagetransfer.v1.proto.TransferProto.CreateTransferJobRequest)other); + if (other + instanceof com.google.storagetransfer.v1.proto.TransferProto.CreateTransferJobRequest) { + return mergeFrom( + (com.google.storagetransfer.v1.proto.TransferProto.CreateTransferJobRequest) other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.google.storagetransfer.v1.proto.TransferProto.CreateTransferJobRequest other) { - if (other == com.google.storagetransfer.v1.proto.TransferProto.CreateTransferJobRequest.getDefaultInstance()) return this; + public Builder mergeFrom( + com.google.storagetransfer.v1.proto.TransferProto.CreateTransferJobRequest other) { + if (other + == com.google.storagetransfer.v1.proto.TransferProto.CreateTransferJobRequest + .getDefaultInstance()) return this; if (other.hasTransferJob()) { mergeTransferJob(other.getTransferJob()); } @@ -1107,11 +1270,14 @@ public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - com.google.storagetransfer.v1.proto.TransferProto.CreateTransferJobRequest parsedMessage = null; + com.google.storagetransfer.v1.proto.TransferProto.CreateTransferJobRequest parsedMessage = + null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.storagetransfer.v1.proto.TransferProto.CreateTransferJobRequest) e.getUnfinishedMessage(); + parsedMessage = + (com.google.storagetransfer.v1.proto.TransferProto.CreateTransferJobRequest) + e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -1123,41 +1289,61 @@ public Builder mergeFrom( private com.google.storagetransfer.v1.proto.TransferTypes.TransferJob transferJob_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.storagetransfer.v1.proto.TransferTypes.TransferJob, com.google.storagetransfer.v1.proto.TransferTypes.TransferJob.Builder, com.google.storagetransfer.v1.proto.TransferTypes.TransferJobOrBuilder> transferJobBuilder_; + com.google.storagetransfer.v1.proto.TransferTypes.TransferJob, + com.google.storagetransfer.v1.proto.TransferTypes.TransferJob.Builder, + com.google.storagetransfer.v1.proto.TransferTypes.TransferJobOrBuilder> + transferJobBuilder_; /** + * + * *
        * Required. The job to create.
        * 
* - * .google.storagetransfer.v1.TransferJob transfer_job = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.storagetransfer.v1.TransferJob transfer_job = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the transferJob field is set. */ public boolean hasTransferJob() { return transferJobBuilder_ != null || transferJob_ != null; } /** + * + * *
        * Required. The job to create.
        * 
* - * .google.storagetransfer.v1.TransferJob transfer_job = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.storagetransfer.v1.TransferJob transfer_job = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The transferJob. */ public com.google.storagetransfer.v1.proto.TransferTypes.TransferJob getTransferJob() { if (transferJobBuilder_ == null) { - return transferJob_ == null ? com.google.storagetransfer.v1.proto.TransferTypes.TransferJob.getDefaultInstance() : transferJob_; + return transferJob_ == null + ? com.google.storagetransfer.v1.proto.TransferTypes.TransferJob.getDefaultInstance() + : transferJob_; } else { return transferJobBuilder_.getMessage(); } } /** + * + * *
        * Required. The job to create.
        * 
* - * .google.storagetransfer.v1.TransferJob transfer_job = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.storagetransfer.v1.TransferJob transfer_job = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ - public Builder setTransferJob(com.google.storagetransfer.v1.proto.TransferTypes.TransferJob value) { + public Builder setTransferJob( + com.google.storagetransfer.v1.proto.TransferTypes.TransferJob value) { if (transferJobBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -1171,11 +1357,15 @@ public Builder setTransferJob(com.google.storagetransfer.v1.proto.TransferTypes. return this; } /** + * + * *
        * Required. The job to create.
        * 
* - * .google.storagetransfer.v1.TransferJob transfer_job = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.storagetransfer.v1.TransferJob transfer_job = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder setTransferJob( com.google.storagetransfer.v1.proto.TransferTypes.TransferJob.Builder builderForValue) { @@ -1189,17 +1379,25 @@ public Builder setTransferJob( return this; } /** + * + * *
        * Required. The job to create.
        * 
* - * .google.storagetransfer.v1.TransferJob transfer_job = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.storagetransfer.v1.TransferJob transfer_job = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ - public Builder mergeTransferJob(com.google.storagetransfer.v1.proto.TransferTypes.TransferJob value) { + public Builder mergeTransferJob( + com.google.storagetransfer.v1.proto.TransferTypes.TransferJob value) { if (transferJobBuilder_ == null) { if (transferJob_ != null) { transferJob_ = - com.google.storagetransfer.v1.proto.TransferTypes.TransferJob.newBuilder(transferJob_).mergeFrom(value).buildPartial(); + com.google.storagetransfer.v1.proto.TransferTypes.TransferJob.newBuilder( + transferJob_) + .mergeFrom(value) + .buildPartial(); } else { transferJob_ = value; } @@ -1211,11 +1409,15 @@ public Builder mergeTransferJob(com.google.storagetransfer.v1.proto.TransferType return this; } /** + * + * *
        * Required. The job to create.
        * 
* - * .google.storagetransfer.v1.TransferJob transfer_job = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.storagetransfer.v1.TransferJob transfer_job = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder clearTransferJob() { if (transferJobBuilder_ == null) { @@ -1229,52 +1431,71 @@ public Builder clearTransferJob() { return this; } /** + * + * *
        * Required. The job to create.
        * 
* - * .google.storagetransfer.v1.TransferJob transfer_job = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.storagetransfer.v1.TransferJob transfer_job = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ - public com.google.storagetransfer.v1.proto.TransferTypes.TransferJob.Builder getTransferJobBuilder() { - + public com.google.storagetransfer.v1.proto.TransferTypes.TransferJob.Builder + getTransferJobBuilder() { + onChanged(); return getTransferJobFieldBuilder().getBuilder(); } /** + * + * *
        * Required. The job to create.
        * 
* - * .google.storagetransfer.v1.TransferJob transfer_job = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.storagetransfer.v1.TransferJob transfer_job = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ - public com.google.storagetransfer.v1.proto.TransferTypes.TransferJobOrBuilder getTransferJobOrBuilder() { + public com.google.storagetransfer.v1.proto.TransferTypes.TransferJobOrBuilder + getTransferJobOrBuilder() { if (transferJobBuilder_ != null) { return transferJobBuilder_.getMessageOrBuilder(); } else { - return transferJob_ == null ? - com.google.storagetransfer.v1.proto.TransferTypes.TransferJob.getDefaultInstance() : transferJob_; + return transferJob_ == null + ? com.google.storagetransfer.v1.proto.TransferTypes.TransferJob.getDefaultInstance() + : transferJob_; } } /** + * + * *
        * Required. The job to create.
        * 
* - * .google.storagetransfer.v1.TransferJob transfer_job = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.storagetransfer.v1.TransferJob transfer_job = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.storagetransfer.v1.proto.TransferTypes.TransferJob, com.google.storagetransfer.v1.proto.TransferTypes.TransferJob.Builder, com.google.storagetransfer.v1.proto.TransferTypes.TransferJobOrBuilder> + com.google.storagetransfer.v1.proto.TransferTypes.TransferJob, + com.google.storagetransfer.v1.proto.TransferTypes.TransferJob.Builder, + com.google.storagetransfer.v1.proto.TransferTypes.TransferJobOrBuilder> getTransferJobFieldBuilder() { if (transferJobBuilder_ == null) { - transferJobBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.storagetransfer.v1.proto.TransferTypes.TransferJob, com.google.storagetransfer.v1.proto.TransferTypes.TransferJob.Builder, com.google.storagetransfer.v1.proto.TransferTypes.TransferJobOrBuilder>( - getTransferJob(), - getParentForChildren(), - isClean()); + transferJobBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.storagetransfer.v1.proto.TransferTypes.TransferJob, + com.google.storagetransfer.v1.proto.TransferTypes.TransferJob.Builder, + com.google.storagetransfer.v1.proto.TransferTypes.TransferJobOrBuilder>( + getTransferJob(), getParentForChildren(), isClean()); transferJob_ = null; } return transferJobBuilder_; } + @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -1287,30 +1508,33 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.storagetransfer.v1.CreateTransferJobRequest) } // @@protoc_insertion_point(class_scope:google.storagetransfer.v1.CreateTransferJobRequest) - private static final com.google.storagetransfer.v1.proto.TransferProto.CreateTransferJobRequest DEFAULT_INSTANCE; + private static final com.google.storagetransfer.v1.proto.TransferProto.CreateTransferJobRequest + DEFAULT_INSTANCE; + static { - DEFAULT_INSTANCE = new com.google.storagetransfer.v1.proto.TransferProto.CreateTransferJobRequest(); + DEFAULT_INSTANCE = + new com.google.storagetransfer.v1.proto.TransferProto.CreateTransferJobRequest(); } - public static com.google.storagetransfer.v1.proto.TransferProto.CreateTransferJobRequest getDefaultInstance() { + public static com.google.storagetransfer.v1.proto.TransferProto.CreateTransferJobRequest + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public CreateTransferJobRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new CreateTransferJobRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public CreateTransferJobRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new CreateTransferJobRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1322,59 +1546,72 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.storagetransfer.v1.proto.TransferProto.CreateTransferJobRequest getDefaultInstanceForType() { + public com.google.storagetransfer.v1.proto.TransferProto.CreateTransferJobRequest + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - public interface UpdateTransferJobRequestOrBuilder extends + public interface UpdateTransferJobRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.storagetransfer.v1.UpdateTransferJobRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
      * Required. The name of job to update.
      * 
* * string job_name = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The jobName. */ java.lang.String getJobName(); /** + * + * *
      * Required. The name of job to update.
      * 
* * string job_name = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for jobName. */ - com.google.protobuf.ByteString - getJobNameBytes(); + com.google.protobuf.ByteString getJobNameBytes(); /** + * + * *
      * Required. The ID of the Google Cloud project that owns the
      * job.
      * 
* * string project_id = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The projectId. */ java.lang.String getProjectId(); /** + * + * *
      * Required. The ID of the Google Cloud project that owns the
      * job.
      * 
* * string project_id = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for projectId. */ - com.google.protobuf.ByteString - getProjectIdBytes(); + com.google.protobuf.ByteString getProjectIdBytes(); /** + * + * *
      * Required. The job to update. `transferJob` is expected to specify one or more of
      * five fields: [description][google.storagetransfer.v1.TransferJob.description],
@@ -1388,11 +1625,16 @@ public interface UpdateTransferJobRequestOrBuilder extends
      * `storagetransfer.jobs.delete` permission.
      * 
* - * .google.storagetransfer.v1.TransferJob transfer_job = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.storagetransfer.v1.TransferJob transfer_job = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the transferJob field is set. */ boolean hasTransferJob(); /** + * + * *
      * Required. The job to update. `transferJob` is expected to specify one or more of
      * five fields: [description][google.storagetransfer.v1.TransferJob.description],
@@ -1406,11 +1648,16 @@ public interface UpdateTransferJobRequestOrBuilder extends
      * `storagetransfer.jobs.delete` permission.
      * 
* - * .google.storagetransfer.v1.TransferJob transfer_job = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.storagetransfer.v1.TransferJob transfer_job = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The transferJob. */ com.google.storagetransfer.v1.proto.TransferTypes.TransferJob getTransferJob(); /** + * + * *
      * Required. The job to update. `transferJob` is expected to specify one or more of
      * five fields: [description][google.storagetransfer.v1.TransferJob.description],
@@ -1424,11 +1671,16 @@ public interface UpdateTransferJobRequestOrBuilder extends
      * `storagetransfer.jobs.delete` permission.
      * 
* - * .google.storagetransfer.v1.TransferJob transfer_job = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.storagetransfer.v1.TransferJob transfer_job = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ - com.google.storagetransfer.v1.proto.TransferTypes.TransferJobOrBuilder getTransferJobOrBuilder(); + com.google.storagetransfer.v1.proto.TransferTypes.TransferJobOrBuilder + getTransferJobOrBuilder(); /** + * + * *
      * The field mask of the fields in `transferJob` that are to be updated in
      * this request.  Fields in `transferJob` that can be updated are:
@@ -1443,10 +1695,13 @@ public interface UpdateTransferJobRequestOrBuilder extends
      * 
* * .google.protobuf.FieldMask update_transfer_job_field_mask = 4; + * * @return Whether the updateTransferJobFieldMask field is set. */ boolean hasUpdateTransferJobFieldMask(); /** + * + * *
      * The field mask of the fields in `transferJob` that are to be updated in
      * this request.  Fields in `transferJob` that can be updated are:
@@ -1461,10 +1716,13 @@ public interface UpdateTransferJobRequestOrBuilder extends
      * 
* * .google.protobuf.FieldMask update_transfer_job_field_mask = 4; + * * @return The updateTransferJobFieldMask. */ com.google.protobuf.FieldMask getUpdateTransferJobFieldMask(); /** + * + * *
      * The field mask of the fields in `transferJob` that are to be updated in
      * this request.  Fields in `transferJob` that can be updated are:
@@ -1483,21 +1741,24 @@ public interface UpdateTransferJobRequestOrBuilder extends
     com.google.protobuf.FieldMaskOrBuilder getUpdateTransferJobFieldMaskOrBuilder();
   }
   /**
+   *
+   *
    * 
    * Request passed to UpdateTransferJob.
    * 
* * Protobuf type {@code google.storagetransfer.v1.UpdateTransferJobRequest} */ - public static final class UpdateTransferJobRequest extends - com.google.protobuf.GeneratedMessageV3 implements + public static final class UpdateTransferJobRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.storagetransfer.v1.UpdateTransferJobRequest) UpdateTransferJobRequestOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use UpdateTransferJobRequest.newBuilder() to construct. private UpdateTransferJobRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private UpdateTransferJobRequest() { jobName_ = ""; projectId_ = ""; @@ -1505,16 +1766,15 @@ private UpdateTransferJobRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new UpdateTransferJobRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private UpdateTransferJobRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -1533,51 +1793,60 @@ private UpdateTransferJobRequest( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - jobName_ = s; - break; - } - case 18: { - java.lang.String s = input.readStringRequireUtf8(); - - projectId_ = s; - break; - } - case 26: { - com.google.storagetransfer.v1.proto.TransferTypes.TransferJob.Builder subBuilder = null; - if (transferJob_ != null) { - subBuilder = transferJob_.toBuilder(); - } - transferJob_ = input.readMessage(com.google.storagetransfer.v1.proto.TransferTypes.TransferJob.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(transferJob_); - transferJob_ = subBuilder.buildPartial(); + jobName_ = s; + break; } + case 18: + { + java.lang.String s = input.readStringRequireUtf8(); - break; - } - case 34: { - com.google.protobuf.FieldMask.Builder subBuilder = null; - if (updateTransferJobFieldMask_ != null) { - subBuilder = updateTransferJobFieldMask_.toBuilder(); + projectId_ = s; + break; } - updateTransferJobFieldMask_ = input.readMessage(com.google.protobuf.FieldMask.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(updateTransferJobFieldMask_); - updateTransferJobFieldMask_ = subBuilder.buildPartial(); + case 26: + { + com.google.storagetransfer.v1.proto.TransferTypes.TransferJob.Builder subBuilder = + null; + if (transferJob_ != null) { + subBuilder = transferJob_.toBuilder(); + } + transferJob_ = + input.readMessage( + com.google.storagetransfer.v1.proto.TransferTypes.TransferJob.parser(), + extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(transferJob_); + transferJob_ = subBuilder.buildPartial(); + } + + break; } - - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + case 34: + { + com.google.protobuf.FieldMask.Builder subBuilder = null; + if (updateTransferJobFieldMask_ != null) { + subBuilder = updateTransferJobFieldMask_.toBuilder(); + } + updateTransferJobFieldMask_ = + input.readMessage(com.google.protobuf.FieldMask.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(updateTransferJobFieldMask_); + updateTransferJobFieldMask_ = subBuilder.buildPartial(); + } + + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -1585,34 +1854,40 @@ private UpdateTransferJobRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.storagetransfer.v1.proto.TransferProto.internal_static_google_storagetransfer_v1_UpdateTransferJobRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.storagetransfer.v1.proto.TransferProto + .internal_static_google_storagetransfer_v1_UpdateTransferJobRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.storagetransfer.v1.proto.TransferProto.internal_static_google_storagetransfer_v1_UpdateTransferJobRequest_fieldAccessorTable + return com.google.storagetransfer.v1.proto.TransferProto + .internal_static_google_storagetransfer_v1_UpdateTransferJobRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.storagetransfer.v1.proto.TransferProto.UpdateTransferJobRequest.class, com.google.storagetransfer.v1.proto.TransferProto.UpdateTransferJobRequest.Builder.class); + com.google.storagetransfer.v1.proto.TransferProto.UpdateTransferJobRequest.class, + com.google.storagetransfer.v1.proto.TransferProto.UpdateTransferJobRequest.Builder + .class); } public static final int JOB_NAME_FIELD_NUMBER = 1; private volatile java.lang.Object jobName_; /** + * + * *
      * Required. The name of job to update.
      * 
* * string job_name = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The jobName. */ @java.lang.Override @@ -1621,29 +1896,29 @@ public java.lang.String getJobName() { 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(); jobName_ = s; return s; } } /** + * + * *
      * Required. The name of job to update.
      * 
* * string job_name = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for jobName. */ @java.lang.Override - public com.google.protobuf.ByteString - getJobNameBytes() { + public com.google.protobuf.ByteString getJobNameBytes() { java.lang.Object ref = jobName_; 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); jobName_ = b; return b; } else { @@ -1654,12 +1929,15 @@ public java.lang.String getJobName() { public static final int PROJECT_ID_FIELD_NUMBER = 2; private volatile java.lang.Object projectId_; /** + * + * *
      * Required. The ID of the Google Cloud project that owns the
      * job.
      * 
* * string project_id = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The projectId. */ @java.lang.Override @@ -1668,30 +1946,30 @@ public java.lang.String getProjectId() { 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(); projectId_ = s; return s; } } /** + * + * *
      * Required. The ID of the Google Cloud project that owns the
      * job.
      * 
* * string project_id = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for projectId. */ @java.lang.Override - public com.google.protobuf.ByteString - getProjectIdBytes() { + public com.google.protobuf.ByteString getProjectIdBytes() { java.lang.Object ref = projectId_; 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); projectId_ = b; return b; } else { @@ -1702,6 +1980,8 @@ public java.lang.String getProjectId() { public static final int TRANSFER_JOB_FIELD_NUMBER = 3; private com.google.storagetransfer.v1.proto.TransferTypes.TransferJob transferJob_; /** + * + * *
      * Required. The job to update. `transferJob` is expected to specify one or more of
      * five fields: [description][google.storagetransfer.v1.TransferJob.description],
@@ -1715,7 +1995,10 @@ public java.lang.String getProjectId() {
      * `storagetransfer.jobs.delete` permission.
      * 
* - * .google.storagetransfer.v1.TransferJob transfer_job = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.storagetransfer.v1.TransferJob transfer_job = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the transferJob field is set. */ @java.lang.Override @@ -1723,6 +2006,8 @@ public boolean hasTransferJob() { return transferJob_ != null; } /** + * + * *
      * Required. The job to update. `transferJob` is expected to specify one or more of
      * five fields: [description][google.storagetransfer.v1.TransferJob.description],
@@ -1736,14 +2021,21 @@ public boolean hasTransferJob() {
      * `storagetransfer.jobs.delete` permission.
      * 
* - * .google.storagetransfer.v1.TransferJob transfer_job = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.storagetransfer.v1.TransferJob transfer_job = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The transferJob. */ @java.lang.Override public com.google.storagetransfer.v1.proto.TransferTypes.TransferJob getTransferJob() { - return transferJob_ == null ? com.google.storagetransfer.v1.proto.TransferTypes.TransferJob.getDefaultInstance() : transferJob_; + return transferJob_ == null + ? com.google.storagetransfer.v1.proto.TransferTypes.TransferJob.getDefaultInstance() + : transferJob_; } /** + * + * *
      * Required. The job to update. `transferJob` is expected to specify one or more of
      * five fields: [description][google.storagetransfer.v1.TransferJob.description],
@@ -1757,16 +2049,21 @@ public com.google.storagetransfer.v1.proto.TransferTypes.TransferJob getTransfer
      * `storagetransfer.jobs.delete` permission.
      * 
* - * .google.storagetransfer.v1.TransferJob transfer_job = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.storagetransfer.v1.TransferJob transfer_job = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ @java.lang.Override - public com.google.storagetransfer.v1.proto.TransferTypes.TransferJobOrBuilder getTransferJobOrBuilder() { + public com.google.storagetransfer.v1.proto.TransferTypes.TransferJobOrBuilder + getTransferJobOrBuilder() { return getTransferJob(); } public static final int UPDATE_TRANSFER_JOB_FIELD_MASK_FIELD_NUMBER = 4; private com.google.protobuf.FieldMask updateTransferJobFieldMask_; /** + * + * *
      * The field mask of the fields in `transferJob` that are to be updated in
      * this request.  Fields in `transferJob` that can be updated are:
@@ -1781,6 +2078,7 @@ public com.google.storagetransfer.v1.proto.TransferTypes.TransferJobOrBuilder ge
      * 
* * .google.protobuf.FieldMask update_transfer_job_field_mask = 4; + * * @return Whether the updateTransferJobFieldMask field is set. */ @java.lang.Override @@ -1788,6 +2086,8 @@ public boolean hasUpdateTransferJobFieldMask() { return updateTransferJobFieldMask_ != null; } /** + * + * *
      * The field mask of the fields in `transferJob` that are to be updated in
      * this request.  Fields in `transferJob` that can be updated are:
@@ -1802,13 +2102,18 @@ public boolean hasUpdateTransferJobFieldMask() {
      * 
* * .google.protobuf.FieldMask update_transfer_job_field_mask = 4; + * * @return The updateTransferJobFieldMask. */ @java.lang.Override public com.google.protobuf.FieldMask getUpdateTransferJobFieldMask() { - return updateTransferJobFieldMask_ == null ? com.google.protobuf.FieldMask.getDefaultInstance() : updateTransferJobFieldMask_; + return updateTransferJobFieldMask_ == null + ? com.google.protobuf.FieldMask.getDefaultInstance() + : updateTransferJobFieldMask_; } /** + * + * *
      * The field mask of the fields in `transferJob` that are to be updated in
      * this request.  Fields in `transferJob` that can be updated are:
@@ -1830,6 +2135,7 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateTransferJobFieldMaskOrBui
     }
 
     private byte memoizedIsInitialized = -1;
+
     @java.lang.Override
     public final boolean isInitialized() {
       byte isInitialized = memoizedIsInitialized;
@@ -1841,8 +2147,7 @@ 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 (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(jobName_)) {
         com.google.protobuf.GeneratedMessageV3.writeString(output, 1, jobName_);
       }
@@ -1871,12 +2176,12 @@ public int getSerializedSize() {
         size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, projectId_);
       }
       if (transferJob_ != null) {
-        size += com.google.protobuf.CodedOutputStream
-          .computeMessageSize(3, getTransferJob());
+        size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getTransferJob());
       }
       if (updateTransferJobFieldMask_ != null) {
-        size += com.google.protobuf.CodedOutputStream
-          .computeMessageSize(4, getUpdateTransferJobFieldMask());
+        size +=
+            com.google.protobuf.CodedOutputStream.computeMessageSize(
+                4, getUpdateTransferJobFieldMask());
       }
       size += unknownFields.getSerializedSize();
       memoizedSize = size;
@@ -1886,26 +2191,25 @@ 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.storagetransfer.v1.proto.TransferProto.UpdateTransferJobRequest)) {
+      if (!(obj
+          instanceof com.google.storagetransfer.v1.proto.TransferProto.UpdateTransferJobRequest)) {
         return super.equals(obj);
       }
-      com.google.storagetransfer.v1.proto.TransferProto.UpdateTransferJobRequest other = (com.google.storagetransfer.v1.proto.TransferProto.UpdateTransferJobRequest) obj;
+      com.google.storagetransfer.v1.proto.TransferProto.UpdateTransferJobRequest other =
+          (com.google.storagetransfer.v1.proto.TransferProto.UpdateTransferJobRequest) obj;
 
-      if (!getJobName()
-          .equals(other.getJobName())) return false;
-      if (!getProjectId()
-          .equals(other.getProjectId())) return false;
+      if (!getJobName().equals(other.getJobName())) return false;
+      if (!getProjectId().equals(other.getProjectId())) return false;
       if (hasTransferJob() != other.hasTransferJob()) return false;
       if (hasTransferJob()) {
-        if (!getTransferJob()
-            .equals(other.getTransferJob())) return false;
+        if (!getTransferJob().equals(other.getTransferJob())) return false;
       }
       if (hasUpdateTransferJobFieldMask() != other.hasUpdateTransferJobFieldMask()) return false;
       if (hasUpdateTransferJobFieldMask()) {
-        if (!getUpdateTransferJobFieldMask()
-            .equals(other.getUpdateTransferJobFieldMask())) return false;
+        if (!getUpdateTransferJobFieldMask().equals(other.getUpdateTransferJobFieldMask()))
+          return false;
       }
       if (!unknownFields.equals(other.unknownFields)) return false;
       return true;
@@ -1935,88 +2239,101 @@ public int hashCode() {
       return hash;
     }
 
-    public static com.google.storagetransfer.v1.proto.TransferProto.UpdateTransferJobRequest parseFrom(
-        java.nio.ByteBuffer data)
-        throws com.google.protobuf.InvalidProtocolBufferException {
+    public static com.google.storagetransfer.v1.proto.TransferProto.UpdateTransferJobRequest
+        parseFrom(java.nio.ByteBuffer data)
+            throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data);
     }
-    public static com.google.storagetransfer.v1.proto.TransferProto.UpdateTransferJobRequest parseFrom(
-        java.nio.ByteBuffer data,
-        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-        throws com.google.protobuf.InvalidProtocolBufferException {
+
+    public static com.google.storagetransfer.v1.proto.TransferProto.UpdateTransferJobRequest
+        parseFrom(
+            java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+            throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data, extensionRegistry);
     }
-    public static com.google.storagetransfer.v1.proto.TransferProto.UpdateTransferJobRequest parseFrom(
-        com.google.protobuf.ByteString data)
-        throws com.google.protobuf.InvalidProtocolBufferException {
+
+    public static com.google.storagetransfer.v1.proto.TransferProto.UpdateTransferJobRequest
+        parseFrom(com.google.protobuf.ByteString data)
+            throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data);
     }
-    public static com.google.storagetransfer.v1.proto.TransferProto.UpdateTransferJobRequest parseFrom(
-        com.google.protobuf.ByteString data,
-        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-        throws com.google.protobuf.InvalidProtocolBufferException {
+
+    public static com.google.storagetransfer.v1.proto.TransferProto.UpdateTransferJobRequest
+        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.storagetransfer.v1.proto.TransferProto.UpdateTransferJobRequest parseFrom(byte[] data)
-        throws com.google.protobuf.InvalidProtocolBufferException {
+
+    public static com.google.storagetransfer.v1.proto.TransferProto.UpdateTransferJobRequest
+        parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data);
     }
-    public static com.google.storagetransfer.v1.proto.TransferProto.UpdateTransferJobRequest parseFrom(
-        byte[] data,
-        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-        throws com.google.protobuf.InvalidProtocolBufferException {
+
+    public static com.google.storagetransfer.v1.proto.TransferProto.UpdateTransferJobRequest
+        parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+            throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data, extensionRegistry);
     }
-    public static com.google.storagetransfer.v1.proto.TransferProto.UpdateTransferJobRequest parseFrom(java.io.InputStream input)
-        throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3
-          .parseWithIOException(PARSER, input);
+
+    public static com.google.storagetransfer.v1.proto.TransferProto.UpdateTransferJobRequest
+        parseFrom(java.io.InputStream input) throws java.io.IOException {
+      return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
     }
-    public static com.google.storagetransfer.v1.proto.TransferProto.UpdateTransferJobRequest parseFrom(
-        java.io.InputStream input,
-        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-        throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3
-          .parseWithIOException(PARSER, input, extensionRegistry);
+
+    public static com.google.storagetransfer.v1.proto.TransferProto.UpdateTransferJobRequest
+        parseFrom(
+            java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+            throws java.io.IOException {
+      return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
+          PARSER, input, extensionRegistry);
     }
-    public static com.google.storagetransfer.v1.proto.TransferProto.UpdateTransferJobRequest parseDelimitedFrom(java.io.InputStream input)
-        throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3
-          .parseDelimitedWithIOException(PARSER, input);
+
+    public static com.google.storagetransfer.v1.proto.TransferProto.UpdateTransferJobRequest
+        parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException {
+      return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
     }
-    public static com.google.storagetransfer.v1.proto.TransferProto.UpdateTransferJobRequest parseDelimitedFrom(
-        java.io.InputStream input,
-        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-        throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3
-          .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
+
+    public static com.google.storagetransfer.v1.proto.TransferProto.UpdateTransferJobRequest
+        parseDelimitedFrom(
+            java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+            throws java.io.IOException {
+      return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(
+          PARSER, input, extensionRegistry);
     }
-    public static com.google.storagetransfer.v1.proto.TransferProto.UpdateTransferJobRequest parseFrom(
-        com.google.protobuf.CodedInputStream input)
-        throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3
-          .parseWithIOException(PARSER, input);
+
+    public static com.google.storagetransfer.v1.proto.TransferProto.UpdateTransferJobRequest
+        parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException {
+      return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
     }
-    public static com.google.storagetransfer.v1.proto.TransferProto.UpdateTransferJobRequest parseFrom(
-        com.google.protobuf.CodedInputStream input,
-        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-        throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3
-          .parseWithIOException(PARSER, input, extensionRegistry);
+
+    public static com.google.storagetransfer.v1.proto.TransferProto.UpdateTransferJobRequest
+        parseFrom(
+            com.google.protobuf.CodedInputStream input,
+            com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+            throws java.io.IOException {
+      return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
+          PARSER, input, extensionRegistry);
+    }
+
+    @java.lang.Override
+    public Builder newBuilderForType() {
+      return newBuilder();
     }
 
-    @java.lang.Override
-    public Builder newBuilderForType() { return newBuilder(); }
     public static Builder newBuilder() {
       return DEFAULT_INSTANCE.toBuilder();
     }
-    public static Builder newBuilder(com.google.storagetransfer.v1.proto.TransferProto.UpdateTransferJobRequest prototype) {
+
+    public static Builder newBuilder(
+        com.google.storagetransfer.v1.proto.TransferProto.UpdateTransferJobRequest 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
@@ -2026,44 +2343,50 @@ protected Builder newBuilderForType(
       return builder;
     }
     /**
+     *
+     *
      * 
      * Request passed to UpdateTransferJob.
      * 
* * Protobuf type {@code google.storagetransfer.v1.UpdateTransferJobRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder + extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.storagetransfer.v1.UpdateTransferJobRequest) com.google.storagetransfer.v1.proto.TransferProto.UpdateTransferJobRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.storagetransfer.v1.proto.TransferProto.internal_static_google_storagetransfer_v1_UpdateTransferJobRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.storagetransfer.v1.proto.TransferProto + .internal_static_google_storagetransfer_v1_UpdateTransferJobRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.storagetransfer.v1.proto.TransferProto.internal_static_google_storagetransfer_v1_UpdateTransferJobRequest_fieldAccessorTable + return com.google.storagetransfer.v1.proto.TransferProto + .internal_static_google_storagetransfer_v1_UpdateTransferJobRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.storagetransfer.v1.proto.TransferProto.UpdateTransferJobRequest.class, com.google.storagetransfer.v1.proto.TransferProto.UpdateTransferJobRequest.Builder.class); + com.google.storagetransfer.v1.proto.TransferProto.UpdateTransferJobRequest.class, + com.google.storagetransfer.v1.proto.TransferProto.UpdateTransferJobRequest.Builder + .class); } - // Construct using com.google.storagetransfer.v1.proto.TransferProto.UpdateTransferJobRequest.newBuilder() + // Construct using + // com.google.storagetransfer.v1.proto.TransferProto.UpdateTransferJobRequest.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -2087,19 +2410,22 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.storagetransfer.v1.proto.TransferProto.internal_static_google_storagetransfer_v1_UpdateTransferJobRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.storagetransfer.v1.proto.TransferProto + .internal_static_google_storagetransfer_v1_UpdateTransferJobRequest_descriptor; } @java.lang.Override - public com.google.storagetransfer.v1.proto.TransferProto.UpdateTransferJobRequest getDefaultInstanceForType() { - return com.google.storagetransfer.v1.proto.TransferProto.UpdateTransferJobRequest.getDefaultInstance(); + public com.google.storagetransfer.v1.proto.TransferProto.UpdateTransferJobRequest + getDefaultInstanceForType() { + return com.google.storagetransfer.v1.proto.TransferProto.UpdateTransferJobRequest + .getDefaultInstance(); } @java.lang.Override public com.google.storagetransfer.v1.proto.TransferProto.UpdateTransferJobRequest build() { - com.google.storagetransfer.v1.proto.TransferProto.UpdateTransferJobRequest result = buildPartial(); + com.google.storagetransfer.v1.proto.TransferProto.UpdateTransferJobRequest result = + buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } @@ -2107,8 +2433,10 @@ public com.google.storagetransfer.v1.proto.TransferProto.UpdateTransferJobReques } @java.lang.Override - public com.google.storagetransfer.v1.proto.TransferProto.UpdateTransferJobRequest buildPartial() { - com.google.storagetransfer.v1.proto.TransferProto.UpdateTransferJobRequest result = new com.google.storagetransfer.v1.proto.TransferProto.UpdateTransferJobRequest(this); + public com.google.storagetransfer.v1.proto.TransferProto.UpdateTransferJobRequest + buildPartial() { + com.google.storagetransfer.v1.proto.TransferProto.UpdateTransferJobRequest result = + new com.google.storagetransfer.v1.proto.TransferProto.UpdateTransferJobRequest(this); result.jobName_ = jobName_; result.projectId_ = projectId_; if (transferJobBuilder_ == null) { @@ -2129,46 +2457,54 @@ public com.google.storagetransfer.v1.proto.TransferProto.UpdateTransferJobReques public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + int index, + java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { - if (other instanceof com.google.storagetransfer.v1.proto.TransferProto.UpdateTransferJobRequest) { - return mergeFrom((com.google.storagetransfer.v1.proto.TransferProto.UpdateTransferJobRequest)other); + if (other + instanceof com.google.storagetransfer.v1.proto.TransferProto.UpdateTransferJobRequest) { + return mergeFrom( + (com.google.storagetransfer.v1.proto.TransferProto.UpdateTransferJobRequest) other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.google.storagetransfer.v1.proto.TransferProto.UpdateTransferJobRequest other) { - if (other == com.google.storagetransfer.v1.proto.TransferProto.UpdateTransferJobRequest.getDefaultInstance()) return this; + public Builder mergeFrom( + com.google.storagetransfer.v1.proto.TransferProto.UpdateTransferJobRequest other) { + if (other + == com.google.storagetransfer.v1.proto.TransferProto.UpdateTransferJobRequest + .getDefaultInstance()) return this; if (!other.getJobName().isEmpty()) { jobName_ = other.jobName_; onChanged(); @@ -2198,11 +2534,14 @@ public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - com.google.storagetransfer.v1.proto.TransferProto.UpdateTransferJobRequest parsedMessage = null; + com.google.storagetransfer.v1.proto.TransferProto.UpdateTransferJobRequest parsedMessage = + null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.storagetransfer.v1.proto.TransferProto.UpdateTransferJobRequest) e.getUnfinishedMessage(); + parsedMessage = + (com.google.storagetransfer.v1.proto.TransferProto.UpdateTransferJobRequest) + e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -2214,18 +2553,20 @@ public Builder mergeFrom( private java.lang.Object jobName_ = ""; /** + * + * *
        * Required. The name of job to update.
        * 
* * string job_name = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The jobName. */ public java.lang.String getJobName() { java.lang.Object ref = jobName_; 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(); jobName_ = s; return s; @@ -2234,20 +2575,21 @@ public java.lang.String getJobName() { } } /** + * + * *
        * Required. The name of job to update.
        * 
* * string job_name = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for jobName. */ - public com.google.protobuf.ByteString - getJobNameBytes() { + public com.google.protobuf.ByteString getJobNameBytes() { java.lang.Object ref = jobName_; 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); jobName_ = b; return b; } else { @@ -2255,54 +2597,61 @@ public java.lang.String getJobName() { } } /** + * + * *
        * Required. The name of job to update.
        * 
* * string job_name = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The jobName to set. * @return This builder for chaining. */ - public Builder setJobName( - java.lang.String value) { + public Builder setJobName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + jobName_ = value; onChanged(); return this; } /** + * + * *
        * Required. The name of job to update.
        * 
* * string job_name = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return This builder for chaining. */ public Builder clearJobName() { - + jobName_ = getDefaultInstance().getJobName(); onChanged(); return this; } /** + * + * *
        * Required. The name of job to update.
        * 
* * string job_name = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The bytes for jobName to set. * @return This builder for chaining. */ - public Builder setJobNameBytes( - com.google.protobuf.ByteString value) { + public Builder setJobNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + jobName_ = value; onChanged(); return this; @@ -2310,19 +2659,21 @@ public Builder setJobNameBytes( private java.lang.Object projectId_ = ""; /** + * + * *
        * Required. The ID of the Google Cloud project that owns the
        * job.
        * 
* * string project_id = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The projectId. */ public java.lang.String getProjectId() { java.lang.Object ref = projectId_; 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(); projectId_ = s; return s; @@ -2331,21 +2682,22 @@ public java.lang.String getProjectId() { } } /** + * + * *
        * Required. The ID of the Google Cloud project that owns the
        * job.
        * 
* * string project_id = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for projectId. */ - public com.google.protobuf.ByteString - getProjectIdBytes() { + public com.google.protobuf.ByteString getProjectIdBytes() { java.lang.Object ref = projectId_; 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); projectId_ = b; return b; } else { @@ -2353,57 +2705,64 @@ public java.lang.String getProjectId() { } } /** + * + * *
        * Required. The ID of the Google Cloud project that owns the
        * job.
        * 
* * string project_id = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The projectId to set. * @return This builder for chaining. */ - public Builder setProjectId( - java.lang.String value) { + public Builder setProjectId(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + projectId_ = value; onChanged(); return this; } /** + * + * *
        * Required. The ID of the Google Cloud project that owns the
        * job.
        * 
* * string project_id = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return This builder for chaining. */ public Builder clearProjectId() { - + projectId_ = getDefaultInstance().getProjectId(); onChanged(); return this; } /** + * + * *
        * Required. The ID of the Google Cloud project that owns the
        * job.
        * 
* * string project_id = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The bytes for projectId to set. * @return This builder for chaining. */ - public Builder setProjectIdBytes( - com.google.protobuf.ByteString value) { + public Builder setProjectIdBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + projectId_ = value; onChanged(); return this; @@ -2411,8 +2770,13 @@ public Builder setProjectIdBytes( private com.google.storagetransfer.v1.proto.TransferTypes.TransferJob transferJob_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.storagetransfer.v1.proto.TransferTypes.TransferJob, com.google.storagetransfer.v1.proto.TransferTypes.TransferJob.Builder, com.google.storagetransfer.v1.proto.TransferTypes.TransferJobOrBuilder> transferJobBuilder_; + com.google.storagetransfer.v1.proto.TransferTypes.TransferJob, + com.google.storagetransfer.v1.proto.TransferTypes.TransferJob.Builder, + com.google.storagetransfer.v1.proto.TransferTypes.TransferJobOrBuilder> + transferJobBuilder_; /** + * + * *
        * Required. The job to update. `transferJob` is expected to specify one or more of
        * five fields: [description][google.storagetransfer.v1.TransferJob.description],
@@ -2426,13 +2790,18 @@ public Builder setProjectIdBytes(
        * `storagetransfer.jobs.delete` permission.
        * 
* - * .google.storagetransfer.v1.TransferJob transfer_job = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.storagetransfer.v1.TransferJob transfer_job = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the transferJob field is set. */ public boolean hasTransferJob() { return transferJobBuilder_ != null || transferJob_ != null; } /** + * + * *
        * Required. The job to update. `transferJob` is expected to specify one or more of
        * five fields: [description][google.storagetransfer.v1.TransferJob.description],
@@ -2446,17 +2815,24 @@ public boolean hasTransferJob() {
        * `storagetransfer.jobs.delete` permission.
        * 
* - * .google.storagetransfer.v1.TransferJob transfer_job = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.storagetransfer.v1.TransferJob transfer_job = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The transferJob. */ public com.google.storagetransfer.v1.proto.TransferTypes.TransferJob getTransferJob() { if (transferJobBuilder_ == null) { - return transferJob_ == null ? com.google.storagetransfer.v1.proto.TransferTypes.TransferJob.getDefaultInstance() : transferJob_; + return transferJob_ == null + ? com.google.storagetransfer.v1.proto.TransferTypes.TransferJob.getDefaultInstance() + : transferJob_; } else { return transferJobBuilder_.getMessage(); } } /** + * + * *
        * Required. The job to update. `transferJob` is expected to specify one or more of
        * five fields: [description][google.storagetransfer.v1.TransferJob.description],
@@ -2470,9 +2846,12 @@ public com.google.storagetransfer.v1.proto.TransferTypes.TransferJob getTransfer
        * `storagetransfer.jobs.delete` permission.
        * 
* - * .google.storagetransfer.v1.TransferJob transfer_job = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.storagetransfer.v1.TransferJob transfer_job = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ - public Builder setTransferJob(com.google.storagetransfer.v1.proto.TransferTypes.TransferJob value) { + public Builder setTransferJob( + com.google.storagetransfer.v1.proto.TransferTypes.TransferJob value) { if (transferJobBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -2486,6 +2865,8 @@ public Builder setTransferJob(com.google.storagetransfer.v1.proto.TransferTypes. return this; } /** + * + * *
        * Required. The job to update. `transferJob` is expected to specify one or more of
        * five fields: [description][google.storagetransfer.v1.TransferJob.description],
@@ -2499,7 +2880,9 @@ public Builder setTransferJob(com.google.storagetransfer.v1.proto.TransferTypes.
        * `storagetransfer.jobs.delete` permission.
        * 
* - * .google.storagetransfer.v1.TransferJob transfer_job = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.storagetransfer.v1.TransferJob transfer_job = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder setTransferJob( com.google.storagetransfer.v1.proto.TransferTypes.TransferJob.Builder builderForValue) { @@ -2513,6 +2896,8 @@ public Builder setTransferJob( return this; } /** + * + * *
        * Required. The job to update. `transferJob` is expected to specify one or more of
        * five fields: [description][google.storagetransfer.v1.TransferJob.description],
@@ -2526,13 +2911,19 @@ public Builder setTransferJob(
        * `storagetransfer.jobs.delete` permission.
        * 
* - * .google.storagetransfer.v1.TransferJob transfer_job = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.storagetransfer.v1.TransferJob transfer_job = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ - public Builder mergeTransferJob(com.google.storagetransfer.v1.proto.TransferTypes.TransferJob value) { + public Builder mergeTransferJob( + com.google.storagetransfer.v1.proto.TransferTypes.TransferJob value) { if (transferJobBuilder_ == null) { if (transferJob_ != null) { transferJob_ = - com.google.storagetransfer.v1.proto.TransferTypes.TransferJob.newBuilder(transferJob_).mergeFrom(value).buildPartial(); + com.google.storagetransfer.v1.proto.TransferTypes.TransferJob.newBuilder( + transferJob_) + .mergeFrom(value) + .buildPartial(); } else { transferJob_ = value; } @@ -2544,6 +2935,8 @@ public Builder mergeTransferJob(com.google.storagetransfer.v1.proto.TransferType return this; } /** + * + * *
        * Required. The job to update. `transferJob` is expected to specify one or more of
        * five fields: [description][google.storagetransfer.v1.TransferJob.description],
@@ -2557,7 +2950,9 @@ public Builder mergeTransferJob(com.google.storagetransfer.v1.proto.TransferType
        * `storagetransfer.jobs.delete` permission.
        * 
* - * .google.storagetransfer.v1.TransferJob transfer_job = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.storagetransfer.v1.TransferJob transfer_job = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder clearTransferJob() { if (transferJobBuilder_ == null) { @@ -2571,6 +2966,8 @@ public Builder clearTransferJob() { return this; } /** + * + * *
        * Required. The job to update. `transferJob` is expected to specify one or more of
        * five fields: [description][google.storagetransfer.v1.TransferJob.description],
@@ -2584,14 +2981,19 @@ public Builder clearTransferJob() {
        * `storagetransfer.jobs.delete` permission.
        * 
* - * .google.storagetransfer.v1.TransferJob transfer_job = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.storagetransfer.v1.TransferJob transfer_job = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ - public com.google.storagetransfer.v1.proto.TransferTypes.TransferJob.Builder getTransferJobBuilder() { - + public com.google.storagetransfer.v1.proto.TransferTypes.TransferJob.Builder + getTransferJobBuilder() { + onChanged(); return getTransferJobFieldBuilder().getBuilder(); } /** + * + * *
        * Required. The job to update. `transferJob` is expected to specify one or more of
        * five fields: [description][google.storagetransfer.v1.TransferJob.description],
@@ -2605,17 +3007,23 @@ public com.google.storagetransfer.v1.proto.TransferTypes.TransferJob.Builder get
        * `storagetransfer.jobs.delete` permission.
        * 
* - * .google.storagetransfer.v1.TransferJob transfer_job = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.storagetransfer.v1.TransferJob transfer_job = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ - public com.google.storagetransfer.v1.proto.TransferTypes.TransferJobOrBuilder getTransferJobOrBuilder() { + public com.google.storagetransfer.v1.proto.TransferTypes.TransferJobOrBuilder + getTransferJobOrBuilder() { if (transferJobBuilder_ != null) { return transferJobBuilder_.getMessageOrBuilder(); } else { - return transferJob_ == null ? - com.google.storagetransfer.v1.proto.TransferTypes.TransferJob.getDefaultInstance() : transferJob_; + return transferJob_ == null + ? com.google.storagetransfer.v1.proto.TransferTypes.TransferJob.getDefaultInstance() + : transferJob_; } } /** + * + * *
        * Required. The job to update. `transferJob` is expected to specify one or more of
        * five fields: [description][google.storagetransfer.v1.TransferJob.description],
@@ -2629,17 +3037,22 @@ public com.google.storagetransfer.v1.proto.TransferTypes.TransferJobOrBuilder ge
        * `storagetransfer.jobs.delete` permission.
        * 
* - * .google.storagetransfer.v1.TransferJob transfer_job = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.storagetransfer.v1.TransferJob transfer_job = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.storagetransfer.v1.proto.TransferTypes.TransferJob, com.google.storagetransfer.v1.proto.TransferTypes.TransferJob.Builder, com.google.storagetransfer.v1.proto.TransferTypes.TransferJobOrBuilder> + com.google.storagetransfer.v1.proto.TransferTypes.TransferJob, + com.google.storagetransfer.v1.proto.TransferTypes.TransferJob.Builder, + com.google.storagetransfer.v1.proto.TransferTypes.TransferJobOrBuilder> getTransferJobFieldBuilder() { if (transferJobBuilder_ == null) { - transferJobBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.storagetransfer.v1.proto.TransferTypes.TransferJob, com.google.storagetransfer.v1.proto.TransferTypes.TransferJob.Builder, com.google.storagetransfer.v1.proto.TransferTypes.TransferJobOrBuilder>( - getTransferJob(), - getParentForChildren(), - isClean()); + transferJobBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.storagetransfer.v1.proto.TransferTypes.TransferJob, + com.google.storagetransfer.v1.proto.TransferTypes.TransferJob.Builder, + com.google.storagetransfer.v1.proto.TransferTypes.TransferJobOrBuilder>( + getTransferJob(), getParentForChildren(), isClean()); transferJob_ = null; } return transferJobBuilder_; @@ -2647,8 +3060,13 @@ public com.google.storagetransfer.v1.proto.TransferTypes.TransferJobOrBuilder ge private com.google.protobuf.FieldMask updateTransferJobFieldMask_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.FieldMask, com.google.protobuf.FieldMask.Builder, com.google.protobuf.FieldMaskOrBuilder> updateTransferJobFieldMaskBuilder_; + com.google.protobuf.FieldMask, + com.google.protobuf.FieldMask.Builder, + com.google.protobuf.FieldMaskOrBuilder> + updateTransferJobFieldMaskBuilder_; /** + * + * *
        * The field mask of the fields in `transferJob` that are to be updated in
        * this request.  Fields in `transferJob` that can be updated are:
@@ -2663,12 +3081,15 @@ public com.google.storagetransfer.v1.proto.TransferTypes.TransferJobOrBuilder ge
        * 
* * .google.protobuf.FieldMask update_transfer_job_field_mask = 4; + * * @return Whether the updateTransferJobFieldMask field is set. */ public boolean hasUpdateTransferJobFieldMask() { return updateTransferJobFieldMaskBuilder_ != null || updateTransferJobFieldMask_ != null; } /** + * + * *
        * The field mask of the fields in `transferJob` that are to be updated in
        * this request.  Fields in `transferJob` that can be updated are:
@@ -2683,16 +3104,21 @@ public boolean hasUpdateTransferJobFieldMask() {
        * 
* * .google.protobuf.FieldMask update_transfer_job_field_mask = 4; + * * @return The updateTransferJobFieldMask. */ public com.google.protobuf.FieldMask getUpdateTransferJobFieldMask() { if (updateTransferJobFieldMaskBuilder_ == null) { - return updateTransferJobFieldMask_ == null ? com.google.protobuf.FieldMask.getDefaultInstance() : updateTransferJobFieldMask_; + return updateTransferJobFieldMask_ == null + ? com.google.protobuf.FieldMask.getDefaultInstance() + : updateTransferJobFieldMask_; } else { return updateTransferJobFieldMaskBuilder_.getMessage(); } } /** + * + * *
        * The field mask of the fields in `transferJob` that are to be updated in
        * this request.  Fields in `transferJob` that can be updated are:
@@ -2722,6 +3148,8 @@ public Builder setUpdateTransferJobFieldMask(com.google.protobuf.FieldMask value
         return this;
       }
       /**
+       *
+       *
        * 
        * The field mask of the fields in `transferJob` that are to be updated in
        * this request.  Fields in `transferJob` that can be updated are:
@@ -2749,6 +3177,8 @@ public Builder setUpdateTransferJobFieldMask(
         return this;
       }
       /**
+       *
+       *
        * 
        * The field mask of the fields in `transferJob` that are to be updated in
        * this request.  Fields in `transferJob` that can be updated are:
@@ -2768,7 +3198,9 @@ public Builder mergeUpdateTransferJobFieldMask(com.google.protobuf.FieldMask val
         if (updateTransferJobFieldMaskBuilder_ == null) {
           if (updateTransferJobFieldMask_ != null) {
             updateTransferJobFieldMask_ =
-              com.google.protobuf.FieldMask.newBuilder(updateTransferJobFieldMask_).mergeFrom(value).buildPartial();
+                com.google.protobuf.FieldMask.newBuilder(updateTransferJobFieldMask_)
+                    .mergeFrom(value)
+                    .buildPartial();
           } else {
             updateTransferJobFieldMask_ = value;
           }
@@ -2780,6 +3212,8 @@ public Builder mergeUpdateTransferJobFieldMask(com.google.protobuf.FieldMask val
         return this;
       }
       /**
+       *
+       *
        * 
        * The field mask of the fields in `transferJob` that are to be updated in
        * this request.  Fields in `transferJob` that can be updated are:
@@ -2807,6 +3241,8 @@ public Builder clearUpdateTransferJobFieldMask() {
         return this;
       }
       /**
+       *
+       *
        * 
        * The field mask of the fields in `transferJob` that are to be updated in
        * this request.  Fields in `transferJob` that can be updated are:
@@ -2823,11 +3259,13 @@ public Builder clearUpdateTransferJobFieldMask() {
        * .google.protobuf.FieldMask update_transfer_job_field_mask = 4;
        */
       public com.google.protobuf.FieldMask.Builder getUpdateTransferJobFieldMaskBuilder() {
-        
+
         onChanged();
         return getUpdateTransferJobFieldMaskFieldBuilder().getBuilder();
       }
       /**
+       *
+       *
        * 
        * The field mask of the fields in `transferJob` that are to be updated in
        * this request.  Fields in `transferJob` that can be updated are:
@@ -2847,11 +3285,14 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateTransferJobFieldMaskOrBui
         if (updateTransferJobFieldMaskBuilder_ != null) {
           return updateTransferJobFieldMaskBuilder_.getMessageOrBuilder();
         } else {
-          return updateTransferJobFieldMask_ == null ?
-              com.google.protobuf.FieldMask.getDefaultInstance() : updateTransferJobFieldMask_;
+          return updateTransferJobFieldMask_ == null
+              ? com.google.protobuf.FieldMask.getDefaultInstance()
+              : updateTransferJobFieldMask_;
         }
       }
       /**
+       *
+       *
        * 
        * The field mask of the fields in `transferJob` that are to be updated in
        * this request.  Fields in `transferJob` that can be updated are:
@@ -2868,18 +3309,22 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateTransferJobFieldMaskOrBui
        * .google.protobuf.FieldMask update_transfer_job_field_mask = 4;
        */
       private com.google.protobuf.SingleFieldBuilderV3<
-          com.google.protobuf.FieldMask, com.google.protobuf.FieldMask.Builder, com.google.protobuf.FieldMaskOrBuilder> 
+              com.google.protobuf.FieldMask,
+              com.google.protobuf.FieldMask.Builder,
+              com.google.protobuf.FieldMaskOrBuilder>
           getUpdateTransferJobFieldMaskFieldBuilder() {
         if (updateTransferJobFieldMaskBuilder_ == null) {
-          updateTransferJobFieldMaskBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-              com.google.protobuf.FieldMask, com.google.protobuf.FieldMask.Builder, com.google.protobuf.FieldMaskOrBuilder>(
-                  getUpdateTransferJobFieldMask(),
-                  getParentForChildren(),
-                  isClean());
+          updateTransferJobFieldMaskBuilder_ =
+              new com.google.protobuf.SingleFieldBuilderV3<
+                  com.google.protobuf.FieldMask,
+                  com.google.protobuf.FieldMask.Builder,
+                  com.google.protobuf.FieldMaskOrBuilder>(
+                  getUpdateTransferJobFieldMask(), getParentForChildren(), isClean());
           updateTransferJobFieldMask_ = null;
         }
         return updateTransferJobFieldMaskBuilder_;
       }
+
       @java.lang.Override
       public final Builder setUnknownFields(
           final com.google.protobuf.UnknownFieldSet unknownFields) {
@@ -2892,30 +3337,33 @@ public final Builder mergeUnknownFields(
         return super.mergeUnknownFields(unknownFields);
       }
 
-
       // @@protoc_insertion_point(builder_scope:google.storagetransfer.v1.UpdateTransferJobRequest)
     }
 
     // @@protoc_insertion_point(class_scope:google.storagetransfer.v1.UpdateTransferJobRequest)
-    private static final com.google.storagetransfer.v1.proto.TransferProto.UpdateTransferJobRequest DEFAULT_INSTANCE;
+    private static final com.google.storagetransfer.v1.proto.TransferProto.UpdateTransferJobRequest
+        DEFAULT_INSTANCE;
+
     static {
-      DEFAULT_INSTANCE = new com.google.storagetransfer.v1.proto.TransferProto.UpdateTransferJobRequest();
+      DEFAULT_INSTANCE =
+          new com.google.storagetransfer.v1.proto.TransferProto.UpdateTransferJobRequest();
     }
 
-    public static com.google.storagetransfer.v1.proto.TransferProto.UpdateTransferJobRequest getDefaultInstance() {
+    public static com.google.storagetransfer.v1.proto.TransferProto.UpdateTransferJobRequest
+        getDefaultInstance() {
       return DEFAULT_INSTANCE;
     }
 
-    private static final com.google.protobuf.Parser
-        PARSER = new com.google.protobuf.AbstractParser() {
-      @java.lang.Override
-      public UpdateTransferJobRequest parsePartialFrom(
-          com.google.protobuf.CodedInputStream input,
-          com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-          throws com.google.protobuf.InvalidProtocolBufferException {
-        return new UpdateTransferJobRequest(input, extensionRegistry);
-      }
-    };
+    private static final com.google.protobuf.Parser PARSER =
+        new com.google.protobuf.AbstractParser() {
+          @java.lang.Override
+          public UpdateTransferJobRequest parsePartialFrom(
+              com.google.protobuf.CodedInputStream input,
+              com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+              throws com.google.protobuf.InvalidProtocolBufferException {
+            return new UpdateTransferJobRequest(input, extensionRegistry);
+          }
+        };
 
     public static com.google.protobuf.Parser parser() {
       return PARSER;
@@ -2927,74 +3375,88 @@ public com.google.protobuf.Parser getParserForType() {
     }
 
     @java.lang.Override
-    public com.google.storagetransfer.v1.proto.TransferProto.UpdateTransferJobRequest getDefaultInstanceForType() {
+    public com.google.storagetransfer.v1.proto.TransferProto.UpdateTransferJobRequest
+        getDefaultInstanceForType() {
       return DEFAULT_INSTANCE;
     }
-
   }
 
-  public interface GetTransferJobRequestOrBuilder extends
+  public interface GetTransferJobRequestOrBuilder
+      extends
       // @@protoc_insertion_point(interface_extends:google.storagetransfer.v1.GetTransferJobRequest)
       com.google.protobuf.MessageOrBuilder {
 
     /**
+     *
+     *
      * 
      * Required. The job to get.
      * 
* * string job_name = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The jobName. */ java.lang.String getJobName(); /** + * + * *
      * Required. The job to get.
      * 
* * string job_name = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for jobName. */ - com.google.protobuf.ByteString - getJobNameBytes(); + com.google.protobuf.ByteString getJobNameBytes(); /** + * + * *
      * Required. The ID of the Google Cloud project that owns the
      * job.
      * 
* * string project_id = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The projectId. */ java.lang.String getProjectId(); /** + * + * *
      * Required. The ID of the Google Cloud project that owns the
      * job.
      * 
* * string project_id = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for projectId. */ - com.google.protobuf.ByteString - getProjectIdBytes(); + com.google.protobuf.ByteString getProjectIdBytes(); } /** + * + * *
    * Request passed to GetTransferJob.
    * 
* * Protobuf type {@code google.storagetransfer.v1.GetTransferJobRequest} */ - public static final class GetTransferJobRequest extends - com.google.protobuf.GeneratedMessageV3 implements + public static final class GetTransferJobRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.storagetransfer.v1.GetTransferJobRequest) GetTransferJobRequestOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use GetTransferJobRequest.newBuilder() to construct. private GetTransferJobRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private GetTransferJobRequest() { jobName_ = ""; projectId_ = ""; @@ -3002,16 +3464,15 @@ private GetTransferJobRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new GetTransferJobRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private GetTransferJobRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -3030,25 +3491,27 @@ private GetTransferJobRequest( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - jobName_ = s; - break; - } - case 18: { - java.lang.String s = input.readStringRequireUtf8(); + jobName_ = s; + break; + } + case 18: + { + java.lang.String s = input.readStringRequireUtf8(); - projectId_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + projectId_ = s; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -3056,34 +3519,40 @@ private GetTransferJobRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.storagetransfer.v1.proto.TransferProto.internal_static_google_storagetransfer_v1_GetTransferJobRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.storagetransfer.v1.proto.TransferProto + .internal_static_google_storagetransfer_v1_GetTransferJobRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.storagetransfer.v1.proto.TransferProto.internal_static_google_storagetransfer_v1_GetTransferJobRequest_fieldAccessorTable + return com.google.storagetransfer.v1.proto.TransferProto + .internal_static_google_storagetransfer_v1_GetTransferJobRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.storagetransfer.v1.proto.TransferProto.GetTransferJobRequest.class, com.google.storagetransfer.v1.proto.TransferProto.GetTransferJobRequest.Builder.class); + com.google.storagetransfer.v1.proto.TransferProto.GetTransferJobRequest.class, + com.google.storagetransfer.v1.proto.TransferProto.GetTransferJobRequest.Builder + .class); } public static final int JOB_NAME_FIELD_NUMBER = 1; private volatile java.lang.Object jobName_; /** + * + * *
      * Required. The job to get.
      * 
* * string job_name = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The jobName. */ @java.lang.Override @@ -3092,29 +3561,29 @@ public java.lang.String getJobName() { 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(); jobName_ = s; return s; } } /** + * + * *
      * Required. The job to get.
      * 
* * string job_name = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for jobName. */ @java.lang.Override - public com.google.protobuf.ByteString - getJobNameBytes() { + public com.google.protobuf.ByteString getJobNameBytes() { java.lang.Object ref = jobName_; 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); jobName_ = b; return b; } else { @@ -3125,12 +3594,15 @@ public java.lang.String getJobName() { public static final int PROJECT_ID_FIELD_NUMBER = 2; private volatile java.lang.Object projectId_; /** + * + * *
      * Required. The ID of the Google Cloud project that owns the
      * job.
      * 
* * string project_id = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The projectId. */ @java.lang.Override @@ -3139,30 +3611,30 @@ public java.lang.String getProjectId() { 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(); projectId_ = s; return s; } } /** + * + * *
      * Required. The ID of the Google Cloud project that owns the
      * job.
      * 
* * string project_id = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for projectId. */ @java.lang.Override - public com.google.protobuf.ByteString - getProjectIdBytes() { + public com.google.protobuf.ByteString getProjectIdBytes() { java.lang.Object ref = projectId_; 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); projectId_ = b; return b; } else { @@ -3171,6 +3643,7 @@ public java.lang.String getProjectId() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -3182,8 +3655,7 @@ 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 (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(jobName_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, jobName_); } @@ -3213,17 +3685,17 @@ 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.storagetransfer.v1.proto.TransferProto.GetTransferJobRequest)) { + if (!(obj + instanceof com.google.storagetransfer.v1.proto.TransferProto.GetTransferJobRequest)) { return super.equals(obj); } - com.google.storagetransfer.v1.proto.TransferProto.GetTransferJobRequest other = (com.google.storagetransfer.v1.proto.TransferProto.GetTransferJobRequest) obj; + com.google.storagetransfer.v1.proto.TransferProto.GetTransferJobRequest other = + (com.google.storagetransfer.v1.proto.TransferProto.GetTransferJobRequest) obj; - if (!getJobName() - .equals(other.getJobName())) return false; - if (!getProjectId() - .equals(other.getProjectId())) return false; + if (!getJobName().equals(other.getJobName())) return false; + if (!getProjectId().equals(other.getProjectId())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -3245,87 +3717,95 @@ public int hashCode() { } public static com.google.storagetransfer.v1.proto.TransferProto.GetTransferJobRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.storagetransfer.v1.proto.TransferProto.GetTransferJobRequest 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.storagetransfer.v1.proto.TransferProto.GetTransferJobRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.storagetransfer.v1.proto.TransferProto.GetTransferJobRequest 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.storagetransfer.v1.proto.TransferProto.GetTransferJobRequest parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.storagetransfer.v1.proto.TransferProto.GetTransferJobRequest parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.storagetransfer.v1.proto.TransferProto.GetTransferJobRequest 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.storagetransfer.v1.proto.TransferProto.GetTransferJobRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.storagetransfer.v1.proto.TransferProto.GetTransferJobRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.storagetransfer.v1.proto.TransferProto.GetTransferJobRequest 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.storagetransfer.v1.proto.TransferProto.GetTransferJobRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.storagetransfer.v1.proto.TransferProto.GetTransferJobRequest + parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } - public static com.google.storagetransfer.v1.proto.TransferProto.GetTransferJobRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + + public static com.google.storagetransfer.v1.proto.TransferProto.GetTransferJobRequest + parseDelimitedFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.storagetransfer.v1.proto.TransferProto.GetTransferJobRequest 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.storagetransfer.v1.proto.TransferProto.GetTransferJobRequest 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.storagetransfer.v1.proto.TransferProto.GetTransferJobRequest prototype) { + + public static Builder newBuilder( + com.google.storagetransfer.v1.proto.TransferProto.GetTransferJobRequest 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 @@ -3335,44 +3815,50 @@ protected Builder newBuilderForType( return builder; } /** + * + * *
      * Request passed to GetTransferJob.
      * 
* * Protobuf type {@code google.storagetransfer.v1.GetTransferJobRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder + extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.storagetransfer.v1.GetTransferJobRequest) com.google.storagetransfer.v1.proto.TransferProto.GetTransferJobRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.storagetransfer.v1.proto.TransferProto.internal_static_google_storagetransfer_v1_GetTransferJobRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.storagetransfer.v1.proto.TransferProto + .internal_static_google_storagetransfer_v1_GetTransferJobRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.storagetransfer.v1.proto.TransferProto.internal_static_google_storagetransfer_v1_GetTransferJobRequest_fieldAccessorTable + return com.google.storagetransfer.v1.proto.TransferProto + .internal_static_google_storagetransfer_v1_GetTransferJobRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.storagetransfer.v1.proto.TransferProto.GetTransferJobRequest.class, com.google.storagetransfer.v1.proto.TransferProto.GetTransferJobRequest.Builder.class); + com.google.storagetransfer.v1.proto.TransferProto.GetTransferJobRequest.class, + com.google.storagetransfer.v1.proto.TransferProto.GetTransferJobRequest.Builder + .class); } - // Construct using com.google.storagetransfer.v1.proto.TransferProto.GetTransferJobRequest.newBuilder() + // Construct using + // com.google.storagetransfer.v1.proto.TransferProto.GetTransferJobRequest.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -3384,19 +3870,22 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.storagetransfer.v1.proto.TransferProto.internal_static_google_storagetransfer_v1_GetTransferJobRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.storagetransfer.v1.proto.TransferProto + .internal_static_google_storagetransfer_v1_GetTransferJobRequest_descriptor; } @java.lang.Override - public com.google.storagetransfer.v1.proto.TransferProto.GetTransferJobRequest getDefaultInstanceForType() { - return com.google.storagetransfer.v1.proto.TransferProto.GetTransferJobRequest.getDefaultInstance(); + public com.google.storagetransfer.v1.proto.TransferProto.GetTransferJobRequest + getDefaultInstanceForType() { + return com.google.storagetransfer.v1.proto.TransferProto.GetTransferJobRequest + .getDefaultInstance(); } @java.lang.Override public com.google.storagetransfer.v1.proto.TransferProto.GetTransferJobRequest build() { - com.google.storagetransfer.v1.proto.TransferProto.GetTransferJobRequest result = buildPartial(); + com.google.storagetransfer.v1.proto.TransferProto.GetTransferJobRequest result = + buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } @@ -3404,8 +3893,10 @@ public com.google.storagetransfer.v1.proto.TransferProto.GetTransferJobRequest b } @java.lang.Override - public com.google.storagetransfer.v1.proto.TransferProto.GetTransferJobRequest buildPartial() { - com.google.storagetransfer.v1.proto.TransferProto.GetTransferJobRequest result = new com.google.storagetransfer.v1.proto.TransferProto.GetTransferJobRequest(this); + public com.google.storagetransfer.v1.proto.TransferProto.GetTransferJobRequest + buildPartial() { + com.google.storagetransfer.v1.proto.TransferProto.GetTransferJobRequest result = + new com.google.storagetransfer.v1.proto.TransferProto.GetTransferJobRequest(this); result.jobName_ = jobName_; result.projectId_ = projectId_; onBuilt(); @@ -3416,46 +3907,54 @@ public com.google.storagetransfer.v1.proto.TransferProto.GetTransferJobRequest b public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + int index, + java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { - if (other instanceof com.google.storagetransfer.v1.proto.TransferProto.GetTransferJobRequest) { - return mergeFrom((com.google.storagetransfer.v1.proto.TransferProto.GetTransferJobRequest)other); + if (other + instanceof com.google.storagetransfer.v1.proto.TransferProto.GetTransferJobRequest) { + return mergeFrom( + (com.google.storagetransfer.v1.proto.TransferProto.GetTransferJobRequest) other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.google.storagetransfer.v1.proto.TransferProto.GetTransferJobRequest other) { - if (other == com.google.storagetransfer.v1.proto.TransferProto.GetTransferJobRequest.getDefaultInstance()) return this; + public Builder mergeFrom( + com.google.storagetransfer.v1.proto.TransferProto.GetTransferJobRequest other) { + if (other + == com.google.storagetransfer.v1.proto.TransferProto.GetTransferJobRequest + .getDefaultInstance()) return this; if (!other.getJobName().isEmpty()) { jobName_ = other.jobName_; onChanged(); @@ -3479,11 +3978,14 @@ public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - com.google.storagetransfer.v1.proto.TransferProto.GetTransferJobRequest parsedMessage = null; + com.google.storagetransfer.v1.proto.TransferProto.GetTransferJobRequest parsedMessage = + null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.storagetransfer.v1.proto.TransferProto.GetTransferJobRequest) e.getUnfinishedMessage(); + parsedMessage = + (com.google.storagetransfer.v1.proto.TransferProto.GetTransferJobRequest) + e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -3495,18 +3997,20 @@ public Builder mergeFrom( private java.lang.Object jobName_ = ""; /** + * + * *
        * Required. The job to get.
        * 
* * string job_name = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The jobName. */ public java.lang.String getJobName() { java.lang.Object ref = jobName_; 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(); jobName_ = s; return s; @@ -3515,20 +4019,21 @@ public java.lang.String getJobName() { } } /** + * + * *
        * Required. The job to get.
        * 
* * string job_name = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for jobName. */ - public com.google.protobuf.ByteString - getJobNameBytes() { + public com.google.protobuf.ByteString getJobNameBytes() { java.lang.Object ref = jobName_; 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); jobName_ = b; return b; } else { @@ -3536,54 +4041,61 @@ public java.lang.String getJobName() { } } /** + * + * *
        * Required. The job to get.
        * 
* * string job_name = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The jobName to set. * @return This builder for chaining. */ - public Builder setJobName( - java.lang.String value) { + public Builder setJobName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + jobName_ = value; onChanged(); return this; } /** + * + * *
        * Required. The job to get.
        * 
* * string job_name = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return This builder for chaining. */ public Builder clearJobName() { - + jobName_ = getDefaultInstance().getJobName(); onChanged(); return this; } /** + * + * *
        * Required. The job to get.
        * 
* * string job_name = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The bytes for jobName to set. * @return This builder for chaining. */ - public Builder setJobNameBytes( - com.google.protobuf.ByteString value) { + public Builder setJobNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + jobName_ = value; onChanged(); return this; @@ -3591,19 +4103,21 @@ public Builder setJobNameBytes( private java.lang.Object projectId_ = ""; /** + * + * *
        * Required. The ID of the Google Cloud project that owns the
        * job.
        * 
* * string project_id = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The projectId. */ public java.lang.String getProjectId() { java.lang.Object ref = projectId_; 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(); projectId_ = s; return s; @@ -3612,21 +4126,22 @@ public java.lang.String getProjectId() { } } /** + * + * *
        * Required. The ID of the Google Cloud project that owns the
        * job.
        * 
* * string project_id = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for projectId. */ - public com.google.protobuf.ByteString - getProjectIdBytes() { + public com.google.protobuf.ByteString getProjectIdBytes() { java.lang.Object ref = projectId_; 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); projectId_ = b; return b; } else { @@ -3634,61 +4149,69 @@ public java.lang.String getProjectId() { } } /** + * + * *
        * Required. The ID of the Google Cloud project that owns the
        * job.
        * 
* * string project_id = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The projectId to set. * @return This builder for chaining. */ - public Builder setProjectId( - java.lang.String value) { + public Builder setProjectId(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + projectId_ = value; onChanged(); return this; } /** + * + * *
        * Required. The ID of the Google Cloud project that owns the
        * job.
        * 
* * string project_id = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return This builder for chaining. */ public Builder clearProjectId() { - + projectId_ = getDefaultInstance().getProjectId(); onChanged(); return this; } /** + * + * *
        * Required. The ID of the Google Cloud project that owns the
        * job.
        * 
* * string project_id = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The bytes for projectId to set. * @return This builder for chaining. */ - public Builder setProjectIdBytes( - com.google.protobuf.ByteString value) { + public Builder setProjectIdBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + projectId_ = value; onChanged(); return this; } + @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -3701,30 +4224,33 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.storagetransfer.v1.GetTransferJobRequest) } // @@protoc_insertion_point(class_scope:google.storagetransfer.v1.GetTransferJobRequest) - private static final com.google.storagetransfer.v1.proto.TransferProto.GetTransferJobRequest DEFAULT_INSTANCE; + private static final com.google.storagetransfer.v1.proto.TransferProto.GetTransferJobRequest + DEFAULT_INSTANCE; + static { - DEFAULT_INSTANCE = new com.google.storagetransfer.v1.proto.TransferProto.GetTransferJobRequest(); + DEFAULT_INSTANCE = + new com.google.storagetransfer.v1.proto.TransferProto.GetTransferJobRequest(); } - public static com.google.storagetransfer.v1.proto.TransferProto.GetTransferJobRequest getDefaultInstance() { + public static com.google.storagetransfer.v1.proto.TransferProto.GetTransferJobRequest + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public GetTransferJobRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new GetTransferJobRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public GetTransferJobRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new GetTransferJobRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -3736,74 +4262,88 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.storagetransfer.v1.proto.TransferProto.GetTransferJobRequest getDefaultInstanceForType() { + public com.google.storagetransfer.v1.proto.TransferProto.GetTransferJobRequest + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - public interface DeleteTransferJobRequestOrBuilder extends + public interface DeleteTransferJobRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.storagetransfer.v1.DeleteTransferJobRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
      * Required. The job to delete.
      * 
* * string job_name = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The jobName. */ java.lang.String getJobName(); /** + * + * *
      * Required. The job to delete.
      * 
* * string job_name = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for jobName. */ - com.google.protobuf.ByteString - getJobNameBytes(); + com.google.protobuf.ByteString getJobNameBytes(); /** + * + * *
      * Required. The ID of the Google Cloud project that owns the
      * job.
      * 
* * string project_id = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The projectId. */ java.lang.String getProjectId(); /** + * + * *
      * Required. The ID of the Google Cloud project that owns the
      * job.
      * 
* * string project_id = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for projectId. */ - com.google.protobuf.ByteString - getProjectIdBytes(); + com.google.protobuf.ByteString getProjectIdBytes(); } /** + * + * *
    * Request passed to DeleteTransferJob.
    * 
* * Protobuf type {@code google.storagetransfer.v1.DeleteTransferJobRequest} */ - public static final class DeleteTransferJobRequest extends - com.google.protobuf.GeneratedMessageV3 implements + public static final class DeleteTransferJobRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.storagetransfer.v1.DeleteTransferJobRequest) DeleteTransferJobRequestOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use DeleteTransferJobRequest.newBuilder() to construct. private DeleteTransferJobRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private DeleteTransferJobRequest() { jobName_ = ""; projectId_ = ""; @@ -3811,16 +4351,15 @@ private DeleteTransferJobRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new DeleteTransferJobRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private DeleteTransferJobRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -3839,25 +4378,27 @@ private DeleteTransferJobRequest( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - jobName_ = s; - break; - } - case 18: { - java.lang.String s = input.readStringRequireUtf8(); + jobName_ = s; + break; + } + case 18: + { + java.lang.String s = input.readStringRequireUtf8(); - projectId_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + projectId_ = s; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -3865,34 +4406,40 @@ private DeleteTransferJobRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.storagetransfer.v1.proto.TransferProto.internal_static_google_storagetransfer_v1_DeleteTransferJobRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.storagetransfer.v1.proto.TransferProto + .internal_static_google_storagetransfer_v1_DeleteTransferJobRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.storagetransfer.v1.proto.TransferProto.internal_static_google_storagetransfer_v1_DeleteTransferJobRequest_fieldAccessorTable + return com.google.storagetransfer.v1.proto.TransferProto + .internal_static_google_storagetransfer_v1_DeleteTransferJobRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.storagetransfer.v1.proto.TransferProto.DeleteTransferJobRequest.class, com.google.storagetransfer.v1.proto.TransferProto.DeleteTransferJobRequest.Builder.class); + com.google.storagetransfer.v1.proto.TransferProto.DeleteTransferJobRequest.class, + com.google.storagetransfer.v1.proto.TransferProto.DeleteTransferJobRequest.Builder + .class); } public static final int JOB_NAME_FIELD_NUMBER = 1; private volatile java.lang.Object jobName_; /** + * + * *
      * Required. The job to delete.
      * 
* * string job_name = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The jobName. */ @java.lang.Override @@ -3901,29 +4448,29 @@ public java.lang.String getJobName() { 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(); jobName_ = s; return s; } } /** + * + * *
      * Required. The job to delete.
      * 
* * string job_name = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for jobName. */ @java.lang.Override - public com.google.protobuf.ByteString - getJobNameBytes() { + public com.google.protobuf.ByteString getJobNameBytes() { java.lang.Object ref = jobName_; 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); jobName_ = b; return b; } else { @@ -3934,12 +4481,15 @@ public java.lang.String getJobName() { public static final int PROJECT_ID_FIELD_NUMBER = 2; private volatile java.lang.Object projectId_; /** + * + * *
      * Required. The ID of the Google Cloud project that owns the
      * job.
      * 
* * string project_id = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The projectId. */ @java.lang.Override @@ -3948,30 +4498,30 @@ public java.lang.String getProjectId() { 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(); projectId_ = s; return s; } } /** + * + * *
      * Required. The ID of the Google Cloud project that owns the
      * job.
      * 
* * string project_id = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for projectId. */ @java.lang.Override - public com.google.protobuf.ByteString - getProjectIdBytes() { + public com.google.protobuf.ByteString getProjectIdBytes() { java.lang.Object ref = projectId_; 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); projectId_ = b; return b; } else { @@ -3980,6 +4530,7 @@ public java.lang.String getProjectId() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -3991,8 +4542,7 @@ 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 (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(jobName_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, jobName_); } @@ -4022,17 +4572,17 @@ 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.storagetransfer.v1.proto.TransferProto.DeleteTransferJobRequest)) { + if (!(obj + instanceof com.google.storagetransfer.v1.proto.TransferProto.DeleteTransferJobRequest)) { return super.equals(obj); } - com.google.storagetransfer.v1.proto.TransferProto.DeleteTransferJobRequest other = (com.google.storagetransfer.v1.proto.TransferProto.DeleteTransferJobRequest) obj; + com.google.storagetransfer.v1.proto.TransferProto.DeleteTransferJobRequest other = + (com.google.storagetransfer.v1.proto.TransferProto.DeleteTransferJobRequest) obj; - if (!getJobName() - .equals(other.getJobName())) return false; - if (!getProjectId() - .equals(other.getProjectId())) return false; + if (!getJobName().equals(other.getJobName())) return false; + if (!getProjectId().equals(other.getProjectId())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -4053,88 +4603,101 @@ public int hashCode() { return hash; } - public static com.google.storagetransfer.v1.proto.TransferProto.DeleteTransferJobRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.storagetransfer.v1.proto.TransferProto.DeleteTransferJobRequest + parseFrom(java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.storagetransfer.v1.proto.TransferProto.DeleteTransferJobRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.storagetransfer.v1.proto.TransferProto.DeleteTransferJobRequest + parseFrom( + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.storagetransfer.v1.proto.TransferProto.DeleteTransferJobRequest parseFrom( - com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.storagetransfer.v1.proto.TransferProto.DeleteTransferJobRequest + parseFrom(com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.storagetransfer.v1.proto.TransferProto.DeleteTransferJobRequest parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.storagetransfer.v1.proto.TransferProto.DeleteTransferJobRequest + 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.storagetransfer.v1.proto.TransferProto.DeleteTransferJobRequest parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.storagetransfer.v1.proto.TransferProto.DeleteTransferJobRequest + parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.storagetransfer.v1.proto.TransferProto.DeleteTransferJobRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.storagetransfer.v1.proto.TransferProto.DeleteTransferJobRequest + parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.storagetransfer.v1.proto.TransferProto.DeleteTransferJobRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.storagetransfer.v1.proto.TransferProto.DeleteTransferJobRequest + parseFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } - public static com.google.storagetransfer.v1.proto.TransferProto.DeleteTransferJobRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + + public static com.google.storagetransfer.v1.proto.TransferProto.DeleteTransferJobRequest + parseFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.storagetransfer.v1.proto.TransferProto.DeleteTransferJobRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.storagetransfer.v1.proto.TransferProto.DeleteTransferJobRequest + parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } - public static com.google.storagetransfer.v1.proto.TransferProto.DeleteTransferJobRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + + public static com.google.storagetransfer.v1.proto.TransferProto.DeleteTransferJobRequest + parseDelimitedFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.storagetransfer.v1.proto.TransferProto.DeleteTransferJobRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.storagetransfer.v1.proto.TransferProto.DeleteTransferJobRequest + parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } - public static com.google.storagetransfer.v1.proto.TransferProto.DeleteTransferJobRequest parseFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + + public static com.google.storagetransfer.v1.proto.TransferProto.DeleteTransferJobRequest + parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + 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.storagetransfer.v1.proto.TransferProto.DeleteTransferJobRequest prototype) { + + public static Builder newBuilder( + com.google.storagetransfer.v1.proto.TransferProto.DeleteTransferJobRequest 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 @@ -4144,44 +4707,50 @@ protected Builder newBuilderForType( return builder; } /** + * + * *
      * Request passed to DeleteTransferJob.
      * 
* * Protobuf type {@code google.storagetransfer.v1.DeleteTransferJobRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder + extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.storagetransfer.v1.DeleteTransferJobRequest) com.google.storagetransfer.v1.proto.TransferProto.DeleteTransferJobRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.storagetransfer.v1.proto.TransferProto.internal_static_google_storagetransfer_v1_DeleteTransferJobRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.storagetransfer.v1.proto.TransferProto + .internal_static_google_storagetransfer_v1_DeleteTransferJobRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.storagetransfer.v1.proto.TransferProto.internal_static_google_storagetransfer_v1_DeleteTransferJobRequest_fieldAccessorTable + return com.google.storagetransfer.v1.proto.TransferProto + .internal_static_google_storagetransfer_v1_DeleteTransferJobRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.storagetransfer.v1.proto.TransferProto.DeleteTransferJobRequest.class, com.google.storagetransfer.v1.proto.TransferProto.DeleteTransferJobRequest.Builder.class); + com.google.storagetransfer.v1.proto.TransferProto.DeleteTransferJobRequest.class, + com.google.storagetransfer.v1.proto.TransferProto.DeleteTransferJobRequest.Builder + .class); } - // Construct using com.google.storagetransfer.v1.proto.TransferProto.DeleteTransferJobRequest.newBuilder() + // Construct using + // com.google.storagetransfer.v1.proto.TransferProto.DeleteTransferJobRequest.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -4193,19 +4762,22 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.storagetransfer.v1.proto.TransferProto.internal_static_google_storagetransfer_v1_DeleteTransferJobRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.storagetransfer.v1.proto.TransferProto + .internal_static_google_storagetransfer_v1_DeleteTransferJobRequest_descriptor; } @java.lang.Override - public com.google.storagetransfer.v1.proto.TransferProto.DeleteTransferJobRequest getDefaultInstanceForType() { - return com.google.storagetransfer.v1.proto.TransferProto.DeleteTransferJobRequest.getDefaultInstance(); + public com.google.storagetransfer.v1.proto.TransferProto.DeleteTransferJobRequest + getDefaultInstanceForType() { + return com.google.storagetransfer.v1.proto.TransferProto.DeleteTransferJobRequest + .getDefaultInstance(); } @java.lang.Override public com.google.storagetransfer.v1.proto.TransferProto.DeleteTransferJobRequest build() { - com.google.storagetransfer.v1.proto.TransferProto.DeleteTransferJobRequest result = buildPartial(); + com.google.storagetransfer.v1.proto.TransferProto.DeleteTransferJobRequest result = + buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } @@ -4213,8 +4785,10 @@ public com.google.storagetransfer.v1.proto.TransferProto.DeleteTransferJobReques } @java.lang.Override - public com.google.storagetransfer.v1.proto.TransferProto.DeleteTransferJobRequest buildPartial() { - com.google.storagetransfer.v1.proto.TransferProto.DeleteTransferJobRequest result = new com.google.storagetransfer.v1.proto.TransferProto.DeleteTransferJobRequest(this); + public com.google.storagetransfer.v1.proto.TransferProto.DeleteTransferJobRequest + buildPartial() { + com.google.storagetransfer.v1.proto.TransferProto.DeleteTransferJobRequest result = + new com.google.storagetransfer.v1.proto.TransferProto.DeleteTransferJobRequest(this); result.jobName_ = jobName_; result.projectId_ = projectId_; onBuilt(); @@ -4225,46 +4799,54 @@ public com.google.storagetransfer.v1.proto.TransferProto.DeleteTransferJobReques public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + int index, + java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { - if (other instanceof com.google.storagetransfer.v1.proto.TransferProto.DeleteTransferJobRequest) { - return mergeFrom((com.google.storagetransfer.v1.proto.TransferProto.DeleteTransferJobRequest)other); + if (other + instanceof com.google.storagetransfer.v1.proto.TransferProto.DeleteTransferJobRequest) { + return mergeFrom( + (com.google.storagetransfer.v1.proto.TransferProto.DeleteTransferJobRequest) other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.google.storagetransfer.v1.proto.TransferProto.DeleteTransferJobRequest other) { - if (other == com.google.storagetransfer.v1.proto.TransferProto.DeleteTransferJobRequest.getDefaultInstance()) return this; + public Builder mergeFrom( + com.google.storagetransfer.v1.proto.TransferProto.DeleteTransferJobRequest other) { + if (other + == com.google.storagetransfer.v1.proto.TransferProto.DeleteTransferJobRequest + .getDefaultInstance()) return this; if (!other.getJobName().isEmpty()) { jobName_ = other.jobName_; onChanged(); @@ -4288,11 +4870,14 @@ public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - com.google.storagetransfer.v1.proto.TransferProto.DeleteTransferJobRequest parsedMessage = null; + com.google.storagetransfer.v1.proto.TransferProto.DeleteTransferJobRequest parsedMessage = + null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.storagetransfer.v1.proto.TransferProto.DeleteTransferJobRequest) e.getUnfinishedMessage(); + parsedMessage = + (com.google.storagetransfer.v1.proto.TransferProto.DeleteTransferJobRequest) + e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -4304,18 +4889,20 @@ public Builder mergeFrom( private java.lang.Object jobName_ = ""; /** + * + * *
        * Required. The job to delete.
        * 
* * string job_name = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The jobName. */ public java.lang.String getJobName() { java.lang.Object ref = jobName_; 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(); jobName_ = s; return s; @@ -4324,20 +4911,21 @@ public java.lang.String getJobName() { } } /** + * + * *
        * Required. The job to delete.
        * 
* * string job_name = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for jobName. */ - public com.google.protobuf.ByteString - getJobNameBytes() { + public com.google.protobuf.ByteString getJobNameBytes() { java.lang.Object ref = jobName_; 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); jobName_ = b; return b; } else { @@ -4345,54 +4933,61 @@ public java.lang.String getJobName() { } } /** + * + * *
        * Required. The job to delete.
        * 
* * string job_name = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The jobName to set. * @return This builder for chaining. */ - public Builder setJobName( - java.lang.String value) { + public Builder setJobName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + jobName_ = value; onChanged(); return this; } /** + * + * *
        * Required. The job to delete.
        * 
* * string job_name = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return This builder for chaining. */ public Builder clearJobName() { - + jobName_ = getDefaultInstance().getJobName(); onChanged(); return this; } /** + * + * *
        * Required. The job to delete.
        * 
* * string job_name = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The bytes for jobName to set. * @return This builder for chaining. */ - public Builder setJobNameBytes( - com.google.protobuf.ByteString value) { + public Builder setJobNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + jobName_ = value; onChanged(); return this; @@ -4400,19 +4995,21 @@ public Builder setJobNameBytes( private java.lang.Object projectId_ = ""; /** + * + * *
        * Required. The ID of the Google Cloud project that owns the
        * job.
        * 
* * string project_id = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The projectId. */ public java.lang.String getProjectId() { java.lang.Object ref = projectId_; 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(); projectId_ = s; return s; @@ -4421,21 +5018,22 @@ public java.lang.String getProjectId() { } } /** + * + * *
        * Required. The ID of the Google Cloud project that owns the
        * job.
        * 
* * string project_id = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for projectId. */ - public com.google.protobuf.ByteString - getProjectIdBytes() { + public com.google.protobuf.ByteString getProjectIdBytes() { java.lang.Object ref = projectId_; 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); projectId_ = b; return b; } else { @@ -4443,61 +5041,69 @@ public java.lang.String getProjectId() { } } /** + * + * *
        * Required. The ID of the Google Cloud project that owns the
        * job.
        * 
* * string project_id = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The projectId to set. * @return This builder for chaining. */ - public Builder setProjectId( - java.lang.String value) { + public Builder setProjectId(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + projectId_ = value; onChanged(); return this; } /** + * + * *
        * Required. The ID of the Google Cloud project that owns the
        * job.
        * 
* * string project_id = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return This builder for chaining. */ public Builder clearProjectId() { - + projectId_ = getDefaultInstance().getProjectId(); onChanged(); return this; } /** + * + * *
        * Required. The ID of the Google Cloud project that owns the
        * job.
        * 
* * string project_id = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The bytes for projectId to set. * @return This builder for chaining. */ - public Builder setProjectIdBytes( - com.google.protobuf.ByteString value) { + public Builder setProjectIdBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + projectId_ = value; onChanged(); return this; } + @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -4510,30 +5116,33 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.storagetransfer.v1.DeleteTransferJobRequest) } // @@protoc_insertion_point(class_scope:google.storagetransfer.v1.DeleteTransferJobRequest) - private static final com.google.storagetransfer.v1.proto.TransferProto.DeleteTransferJobRequest DEFAULT_INSTANCE; + private static final com.google.storagetransfer.v1.proto.TransferProto.DeleteTransferJobRequest + DEFAULT_INSTANCE; + static { - DEFAULT_INSTANCE = new com.google.storagetransfer.v1.proto.TransferProto.DeleteTransferJobRequest(); + DEFAULT_INSTANCE = + new com.google.storagetransfer.v1.proto.TransferProto.DeleteTransferJobRequest(); } - public static com.google.storagetransfer.v1.proto.TransferProto.DeleteTransferJobRequest getDefaultInstance() { + public static com.google.storagetransfer.v1.proto.TransferProto.DeleteTransferJobRequest + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public DeleteTransferJobRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new DeleteTransferJobRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public DeleteTransferJobRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new DeleteTransferJobRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -4545,17 +5154,20 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.storagetransfer.v1.proto.TransferProto.DeleteTransferJobRequest getDefaultInstanceForType() { + public com.google.storagetransfer.v1.proto.TransferProto.DeleteTransferJobRequest + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - public interface ListTransferJobsRequestOrBuilder extends + public interface ListTransferJobsRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.storagetransfer.v1.ListTransferJobsRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
      * Required. A list of query parameters specified as JSON text in the form of:
      * `{"projectId":"my_project_id",
@@ -4571,10 +5183,13 @@ public interface ListTransferJobsRequestOrBuilder extends
      * 
* * string filter = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The filter. */ java.lang.String getFilter(); /** + * + * *
      * Required. A list of query parameters specified as JSON text in the form of:
      * `{"projectId":"my_project_id",
@@ -4590,42 +5205,52 @@ public interface ListTransferJobsRequestOrBuilder extends
      * 
* * string filter = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for filter. */ - com.google.protobuf.ByteString - getFilterBytes(); + com.google.protobuf.ByteString getFilterBytes(); /** + * + * *
      * The list page size. The max allowed value is 256.
      * 
* * int32 page_size = 4; + * * @return The pageSize. */ int getPageSize(); /** + * + * *
      * The list page token.
      * 
* * string page_token = 5; + * * @return The pageToken. */ java.lang.String getPageToken(); /** + * + * *
      * The list page token.
      * 
* * string page_token = 5; + * * @return The bytes for pageToken. */ - com.google.protobuf.ByteString - getPageTokenBytes(); + com.google.protobuf.ByteString getPageTokenBytes(); } /** + * + * *
    * `projectId`, `jobNames`, and `jobStatuses` are query parameters that can
    * be specified when listing transfer jobs.
@@ -4633,15 +5258,16 @@ public interface ListTransferJobsRequestOrBuilder extends
    *
    * Protobuf type {@code google.storagetransfer.v1.ListTransferJobsRequest}
    */
-  public static final class ListTransferJobsRequest extends
-      com.google.protobuf.GeneratedMessageV3 implements
+  public static final class ListTransferJobsRequest extends com.google.protobuf.GeneratedMessageV3
+      implements
       // @@protoc_insertion_point(message_implements:google.storagetransfer.v1.ListTransferJobsRequest)
       ListTransferJobsRequestOrBuilder {
-  private static final long serialVersionUID = 0L;
+    private static final long serialVersionUID = 0L;
     // Use ListTransferJobsRequest.newBuilder() to construct.
     private ListTransferJobsRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) {
       super(builder);
     }
+
     private ListTransferJobsRequest() {
       filter_ = "";
       pageToken_ = "";
@@ -4649,16 +5275,15 @@ private ListTransferJobsRequest() {
 
     @java.lang.Override
     @SuppressWarnings({"unused"})
-    protected java.lang.Object newInstance(
-        UnusedPrivateParameter unused) {
+    protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
       return new ListTransferJobsRequest();
     }
 
     @java.lang.Override
-    public final com.google.protobuf.UnknownFieldSet
-    getUnknownFields() {
+    public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
       return this.unknownFields;
     }
+
     private ListTransferJobsRequest(
         com.google.protobuf.CodedInputStream input,
         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -4677,30 +5302,32 @@ private ListTransferJobsRequest(
             case 0:
               done = true;
               break;
-            case 10: {
-              java.lang.String s = input.readStringRequireUtf8();
-
-              filter_ = s;
-              break;
-            }
-            case 32: {
+            case 10:
+              {
+                java.lang.String s = input.readStringRequireUtf8();
 
-              pageSize_ = input.readInt32();
-              break;
-            }
-            case 42: {
-              java.lang.String s = input.readStringRequireUtf8();
+                filter_ = s;
+                break;
+              }
+            case 32:
+              {
+                pageSize_ = input.readInt32();
+                break;
+              }
+            case 42:
+              {
+                java.lang.String s = input.readStringRequireUtf8();
 
-              pageToken_ = s;
-              break;
-            }
-            default: {
-              if (!parseUnknownField(
-                  input, unknownFields, extensionRegistry, tag)) {
-                done = true;
+                pageToken_ = s;
+                break;
+              }
+            default:
+              {
+                if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
+                  done = true;
+                }
+                break;
               }
-              break;
-            }
           }
         }
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -4708,29 +5335,34 @@ private ListTransferJobsRequest(
       } catch (com.google.protobuf.UninitializedMessageException e) {
         throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
       } catch (java.io.IOException e) {
-        throw new com.google.protobuf.InvalidProtocolBufferException(
-            e).setUnfinishedMessage(this);
+        throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
       } finally {
         this.unknownFields = unknownFields.build();
         makeExtensionsImmutable();
       }
     }
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.storagetransfer.v1.proto.TransferProto.internal_static_google_storagetransfer_v1_ListTransferJobsRequest_descriptor;
+
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.storagetransfer.v1.proto.TransferProto
+          .internal_static_google_storagetransfer_v1_ListTransferJobsRequest_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.storagetransfer.v1.proto.TransferProto.internal_static_google_storagetransfer_v1_ListTransferJobsRequest_fieldAccessorTable
+      return com.google.storagetransfer.v1.proto.TransferProto
+          .internal_static_google_storagetransfer_v1_ListTransferJobsRequest_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.storagetransfer.v1.proto.TransferProto.ListTransferJobsRequest.class, com.google.storagetransfer.v1.proto.TransferProto.ListTransferJobsRequest.Builder.class);
+              com.google.storagetransfer.v1.proto.TransferProto.ListTransferJobsRequest.class,
+              com.google.storagetransfer.v1.proto.TransferProto.ListTransferJobsRequest.Builder
+                  .class);
     }
 
     public static final int FILTER_FIELD_NUMBER = 1;
     private volatile java.lang.Object filter_;
     /**
+     *
+     *
      * 
      * Required. A list of query parameters specified as JSON text in the form of:
      * `{"projectId":"my_project_id",
@@ -4746,6 +5378,7 @@ private ListTransferJobsRequest(
      * 
* * string filter = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The filter. */ @java.lang.Override @@ -4754,14 +5387,15 @@ public java.lang.String getFilter() { 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(); filter_ = s; return s; } } /** + * + * *
      * Required. A list of query parameters specified as JSON text in the form of:
      * `{"projectId":"my_project_id",
@@ -4777,16 +5411,15 @@ public java.lang.String getFilter() {
      * 
* * string filter = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for filter. */ @java.lang.Override - public com.google.protobuf.ByteString - getFilterBytes() { + public com.google.protobuf.ByteString getFilterBytes() { java.lang.Object ref = filter_; 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); filter_ = b; return b; } else { @@ -4797,11 +5430,14 @@ public java.lang.String getFilter() { public static final int PAGE_SIZE_FIELD_NUMBER = 4; private int pageSize_; /** + * + * *
      * The list page size. The max allowed value is 256.
      * 
* * int32 page_size = 4; + * * @return The pageSize. */ @java.lang.Override @@ -4812,11 +5448,14 @@ public int getPageSize() { public static final int PAGE_TOKEN_FIELD_NUMBER = 5; private volatile java.lang.Object pageToken_; /** + * + * *
      * The list page token.
      * 
* * string page_token = 5; + * * @return The pageToken. */ @java.lang.Override @@ -4825,29 +5464,29 @@ public java.lang.String getPageToken() { 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(); pageToken_ = s; return s; } } /** + * + * *
      * The list page token.
      * 
* * string page_token = 5; + * * @return The bytes for pageToken. */ @java.lang.Override - public com.google.protobuf.ByteString - getPageTokenBytes() { + public com.google.protobuf.ByteString getPageTokenBytes() { java.lang.Object ref = pageToken_; 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); pageToken_ = b; return b; } else { @@ -4856,6 +5495,7 @@ public java.lang.String getPageToken() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -4867,8 +5507,7 @@ 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 (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(filter_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, filter_); } @@ -4891,8 +5530,7 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, filter_); } if (pageSize_ != 0) { - size += com.google.protobuf.CodedOutputStream - .computeInt32Size(4, pageSize_); + size += com.google.protobuf.CodedOutputStream.computeInt32Size(4, pageSize_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(pageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(5, pageToken_); @@ -4905,19 +5543,18 @@ 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.storagetransfer.v1.proto.TransferProto.ListTransferJobsRequest)) { + if (!(obj + instanceof com.google.storagetransfer.v1.proto.TransferProto.ListTransferJobsRequest)) { return super.equals(obj); } - com.google.storagetransfer.v1.proto.TransferProto.ListTransferJobsRequest other = (com.google.storagetransfer.v1.proto.TransferProto.ListTransferJobsRequest) obj; + com.google.storagetransfer.v1.proto.TransferProto.ListTransferJobsRequest other = + (com.google.storagetransfer.v1.proto.TransferProto.ListTransferJobsRequest) obj; - if (!getFilter() - .equals(other.getFilter())) return false; - if (getPageSize() - != other.getPageSize()) return false; - if (!getPageToken() - .equals(other.getPageToken())) return false; + if (!getFilter().equals(other.getFilter())) return false; + if (getPageSize() != other.getPageSize()) return false; + if (!getPageToken().equals(other.getPageToken())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -4940,88 +5577,101 @@ public int hashCode() { return hash; } - public static com.google.storagetransfer.v1.proto.TransferProto.ListTransferJobsRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.storagetransfer.v1.proto.TransferProto.ListTransferJobsRequest + parseFrom(java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.storagetransfer.v1.proto.TransferProto.ListTransferJobsRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.storagetransfer.v1.proto.TransferProto.ListTransferJobsRequest + parseFrom( + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.storagetransfer.v1.proto.TransferProto.ListTransferJobsRequest parseFrom( - com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.storagetransfer.v1.proto.TransferProto.ListTransferJobsRequest + parseFrom(com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.storagetransfer.v1.proto.TransferProto.ListTransferJobsRequest parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.storagetransfer.v1.proto.TransferProto.ListTransferJobsRequest + 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.storagetransfer.v1.proto.TransferProto.ListTransferJobsRequest parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.storagetransfer.v1.proto.TransferProto.ListTransferJobsRequest + parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.storagetransfer.v1.proto.TransferProto.ListTransferJobsRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.storagetransfer.v1.proto.TransferProto.ListTransferJobsRequest + parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.storagetransfer.v1.proto.TransferProto.ListTransferJobsRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.storagetransfer.v1.proto.TransferProto.ListTransferJobsRequest + parseFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } - public static com.google.storagetransfer.v1.proto.TransferProto.ListTransferJobsRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + + public static com.google.storagetransfer.v1.proto.TransferProto.ListTransferJobsRequest + parseFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.storagetransfer.v1.proto.TransferProto.ListTransferJobsRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.storagetransfer.v1.proto.TransferProto.ListTransferJobsRequest + parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } - public static com.google.storagetransfer.v1.proto.TransferProto.ListTransferJobsRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + + public static com.google.storagetransfer.v1.proto.TransferProto.ListTransferJobsRequest + parseDelimitedFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.storagetransfer.v1.proto.TransferProto.ListTransferJobsRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.storagetransfer.v1.proto.TransferProto.ListTransferJobsRequest + parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } - public static com.google.storagetransfer.v1.proto.TransferProto.ListTransferJobsRequest parseFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + + public static com.google.storagetransfer.v1.proto.TransferProto.ListTransferJobsRequest + parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + 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.storagetransfer.v1.proto.TransferProto.ListTransferJobsRequest prototype) { + + public static Builder newBuilder( + com.google.storagetransfer.v1.proto.TransferProto.ListTransferJobsRequest 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 @@ -5031,6 +5681,8 @@ protected Builder newBuilderForType( return builder; } /** + * + * *
      * `projectId`, `jobNames`, and `jobStatuses` are query parameters that can
      * be specified when listing transfer jobs.
@@ -5038,38 +5690,42 @@ protected Builder newBuilderForType(
      *
      * Protobuf type {@code google.storagetransfer.v1.ListTransferJobsRequest}
      */
-    public static final class Builder extends
-        com.google.protobuf.GeneratedMessageV3.Builder implements
+    public static final class Builder
+        extends com.google.protobuf.GeneratedMessageV3.Builder
+        implements
         // @@protoc_insertion_point(builder_implements:google.storagetransfer.v1.ListTransferJobsRequest)
         com.google.storagetransfer.v1.proto.TransferProto.ListTransferJobsRequestOrBuilder {
-      public static final com.google.protobuf.Descriptors.Descriptor
-          getDescriptor() {
-        return com.google.storagetransfer.v1.proto.TransferProto.internal_static_google_storagetransfer_v1_ListTransferJobsRequest_descriptor;
+      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+        return com.google.storagetransfer.v1.proto.TransferProto
+            .internal_static_google_storagetransfer_v1_ListTransferJobsRequest_descriptor;
       }
 
       @java.lang.Override
       protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
           internalGetFieldAccessorTable() {
-        return com.google.storagetransfer.v1.proto.TransferProto.internal_static_google_storagetransfer_v1_ListTransferJobsRequest_fieldAccessorTable
+        return com.google.storagetransfer.v1.proto.TransferProto
+            .internal_static_google_storagetransfer_v1_ListTransferJobsRequest_fieldAccessorTable
             .ensureFieldAccessorsInitialized(
-                com.google.storagetransfer.v1.proto.TransferProto.ListTransferJobsRequest.class, com.google.storagetransfer.v1.proto.TransferProto.ListTransferJobsRequest.Builder.class);
+                com.google.storagetransfer.v1.proto.TransferProto.ListTransferJobsRequest.class,
+                com.google.storagetransfer.v1.proto.TransferProto.ListTransferJobsRequest.Builder
+                    .class);
       }
 
-      // Construct using com.google.storagetransfer.v1.proto.TransferProto.ListTransferJobsRequest.newBuilder()
+      // Construct using
+      // com.google.storagetransfer.v1.proto.TransferProto.ListTransferJobsRequest.newBuilder()
       private Builder() {
         maybeForceBuilderInitialization();
       }
 
-      private Builder(
-          com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+      private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
         super(parent);
         maybeForceBuilderInitialization();
       }
+
       private void maybeForceBuilderInitialization() {
-        if (com.google.protobuf.GeneratedMessageV3
-                .alwaysUseFieldBuilders) {
-        }
+        if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {}
       }
+
       @java.lang.Override
       public Builder clear() {
         super.clear();
@@ -5083,19 +5739,22 @@ public Builder clear() {
       }
 
       @java.lang.Override
-      public com.google.protobuf.Descriptors.Descriptor
-          getDescriptorForType() {
-        return com.google.storagetransfer.v1.proto.TransferProto.internal_static_google_storagetransfer_v1_ListTransferJobsRequest_descriptor;
+      public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+        return com.google.storagetransfer.v1.proto.TransferProto
+            .internal_static_google_storagetransfer_v1_ListTransferJobsRequest_descriptor;
       }
 
       @java.lang.Override
-      public com.google.storagetransfer.v1.proto.TransferProto.ListTransferJobsRequest getDefaultInstanceForType() {
-        return com.google.storagetransfer.v1.proto.TransferProto.ListTransferJobsRequest.getDefaultInstance();
+      public com.google.storagetransfer.v1.proto.TransferProto.ListTransferJobsRequest
+          getDefaultInstanceForType() {
+        return com.google.storagetransfer.v1.proto.TransferProto.ListTransferJobsRequest
+            .getDefaultInstance();
       }
 
       @java.lang.Override
       public com.google.storagetransfer.v1.proto.TransferProto.ListTransferJobsRequest build() {
-        com.google.storagetransfer.v1.proto.TransferProto.ListTransferJobsRequest result = buildPartial();
+        com.google.storagetransfer.v1.proto.TransferProto.ListTransferJobsRequest result =
+            buildPartial();
         if (!result.isInitialized()) {
           throw newUninitializedMessageException(result);
         }
@@ -5103,8 +5762,10 @@ public com.google.storagetransfer.v1.proto.TransferProto.ListTransferJobsRequest
       }
 
       @java.lang.Override
-      public com.google.storagetransfer.v1.proto.TransferProto.ListTransferJobsRequest buildPartial() {
-        com.google.storagetransfer.v1.proto.TransferProto.ListTransferJobsRequest result = new com.google.storagetransfer.v1.proto.TransferProto.ListTransferJobsRequest(this);
+      public com.google.storagetransfer.v1.proto.TransferProto.ListTransferJobsRequest
+          buildPartial() {
+        com.google.storagetransfer.v1.proto.TransferProto.ListTransferJobsRequest result =
+            new com.google.storagetransfer.v1.proto.TransferProto.ListTransferJobsRequest(this);
         result.filter_ = filter_;
         result.pageSize_ = pageSize_;
         result.pageToken_ = pageToken_;
@@ -5116,46 +5777,54 @@ public com.google.storagetransfer.v1.proto.TransferProto.ListTransferJobsRequest
       public Builder clone() {
         return super.clone();
       }
+
       @java.lang.Override
       public Builder setField(
-          com.google.protobuf.Descriptors.FieldDescriptor field,
-          java.lang.Object value) {
+          com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
         return super.setField(field, value);
       }
+
       @java.lang.Override
-      public Builder clearField(
-          com.google.protobuf.Descriptors.FieldDescriptor field) {
+      public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
         return super.clearField(field);
       }
+
       @java.lang.Override
-      public Builder clearOneof(
-          com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+      public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
         return super.clearOneof(oneof);
       }
+
       @java.lang.Override
       public Builder setRepeatedField(
           com.google.protobuf.Descriptors.FieldDescriptor field,
-          int index, java.lang.Object value) {
+          int index,
+          java.lang.Object value) {
         return super.setRepeatedField(field, index, value);
       }
+
       @java.lang.Override
       public Builder addRepeatedField(
-          com.google.protobuf.Descriptors.FieldDescriptor field,
-          java.lang.Object value) {
+          com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
         return super.addRepeatedField(field, value);
       }
+
       @java.lang.Override
       public Builder mergeFrom(com.google.protobuf.Message other) {
-        if (other instanceof com.google.storagetransfer.v1.proto.TransferProto.ListTransferJobsRequest) {
-          return mergeFrom((com.google.storagetransfer.v1.proto.TransferProto.ListTransferJobsRequest)other);
+        if (other
+            instanceof com.google.storagetransfer.v1.proto.TransferProto.ListTransferJobsRequest) {
+          return mergeFrom(
+              (com.google.storagetransfer.v1.proto.TransferProto.ListTransferJobsRequest) other);
         } else {
           super.mergeFrom(other);
           return this;
         }
       }
 
-      public Builder mergeFrom(com.google.storagetransfer.v1.proto.TransferProto.ListTransferJobsRequest other) {
-        if (other == com.google.storagetransfer.v1.proto.TransferProto.ListTransferJobsRequest.getDefaultInstance()) return this;
+      public Builder mergeFrom(
+          com.google.storagetransfer.v1.proto.TransferProto.ListTransferJobsRequest other) {
+        if (other
+            == com.google.storagetransfer.v1.proto.TransferProto.ListTransferJobsRequest
+                .getDefaultInstance()) return this;
         if (!other.getFilter().isEmpty()) {
           filter_ = other.filter_;
           onChanged();
@@ -5182,11 +5851,14 @@ public Builder mergeFrom(
           com.google.protobuf.CodedInputStream input,
           com.google.protobuf.ExtensionRegistryLite extensionRegistry)
           throws java.io.IOException {
-        com.google.storagetransfer.v1.proto.TransferProto.ListTransferJobsRequest parsedMessage = null;
+        com.google.storagetransfer.v1.proto.TransferProto.ListTransferJobsRequest parsedMessage =
+            null;
         try {
           parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
         } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-          parsedMessage = (com.google.storagetransfer.v1.proto.TransferProto.ListTransferJobsRequest) e.getUnfinishedMessage();
+          parsedMessage =
+              (com.google.storagetransfer.v1.proto.TransferProto.ListTransferJobsRequest)
+                  e.getUnfinishedMessage();
           throw e.unwrapIOException();
         } finally {
           if (parsedMessage != null) {
@@ -5198,6 +5870,8 @@ public Builder mergeFrom(
 
       private java.lang.Object filter_ = "";
       /**
+       *
+       *
        * 
        * Required. A list of query parameters specified as JSON text in the form of:
        * `{"projectId":"my_project_id",
@@ -5213,13 +5887,13 @@ public Builder mergeFrom(
        * 
* * string filter = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The filter. */ public java.lang.String getFilter() { java.lang.Object ref = filter_; 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(); filter_ = s; return s; @@ -5228,6 +5902,8 @@ public java.lang.String getFilter() { } } /** + * + * *
        * Required. A list of query parameters specified as JSON text in the form of:
        * `{"projectId":"my_project_id",
@@ -5243,15 +5919,14 @@ public java.lang.String getFilter() {
        * 
* * string filter = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for filter. */ - public com.google.protobuf.ByteString - getFilterBytes() { + public com.google.protobuf.ByteString getFilterBytes() { java.lang.Object ref = filter_; 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); filter_ = b; return b; } else { @@ -5259,6 +5934,8 @@ public java.lang.String getFilter() { } } /** + * + * *
        * Required. A list of query parameters specified as JSON text in the form of:
        * `{"projectId":"my_project_id",
@@ -5274,20 +5951,22 @@ public java.lang.String getFilter() {
        * 
* * string filter = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The filter to set. * @return This builder for chaining. */ - public Builder setFilter( - java.lang.String value) { + public Builder setFilter(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + filter_ = value; onChanged(); return this; } /** + * + * *
        * Required. A list of query parameters specified as JSON text in the form of:
        * `{"projectId":"my_project_id",
@@ -5303,15 +5982,18 @@ public Builder setFilter(
        * 
* * string filter = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return This builder for chaining. */ public Builder clearFilter() { - + filter_ = getDefaultInstance().getFilter(); onChanged(); return this; } /** + * + * *
        * Required. A list of query parameters specified as JSON text in the form of:
        * `{"projectId":"my_project_id",
@@ -5327,28 +6009,31 @@ public Builder clearFilter() {
        * 
* * string filter = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The bytes for filter to set. * @return This builder for chaining. */ - public Builder setFilterBytes( - com.google.protobuf.ByteString value) { + public Builder setFilterBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + filter_ = value; onChanged(); return this; } - private int pageSize_ ; + private int pageSize_; /** + * + * *
        * The list page size. The max allowed value is 256.
        * 
* * int32 page_size = 4; + * * @return The pageSize. */ @java.lang.Override @@ -5356,30 +6041,36 @@ public int getPageSize() { return pageSize_; } /** + * + * *
        * The list page size. The max allowed value is 256.
        * 
* * int32 page_size = 4; + * * @param value The pageSize to set. * @return This builder for chaining. */ public Builder setPageSize(int value) { - + pageSize_ = value; onChanged(); return this; } /** + * + * *
        * The list page size. The max allowed value is 256.
        * 
* * int32 page_size = 4; + * * @return This builder for chaining. */ public Builder clearPageSize() { - + pageSize_ = 0; onChanged(); return this; @@ -5387,18 +6078,20 @@ public Builder clearPageSize() { private java.lang.Object pageToken_ = ""; /** + * + * *
        * The list page token.
        * 
* * string page_token = 5; + * * @return The pageToken. */ public java.lang.String getPageToken() { java.lang.Object ref = pageToken_; 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(); pageToken_ = s; return s; @@ -5407,20 +6100,21 @@ public java.lang.String getPageToken() { } } /** + * + * *
        * The list page token.
        * 
* * string page_token = 5; + * * @return The bytes for pageToken. */ - public com.google.protobuf.ByteString - getPageTokenBytes() { + public com.google.protobuf.ByteString getPageTokenBytes() { java.lang.Object ref = pageToken_; 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); pageToken_ = b; return b; } else { @@ -5428,58 +6122,66 @@ public java.lang.String getPageToken() { } } /** + * + * *
        * The list page token.
        * 
* * string page_token = 5; + * * @param value The pageToken to set. * @return This builder for chaining. */ - public Builder setPageToken( - java.lang.String value) { + public Builder setPageToken(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + pageToken_ = value; onChanged(); return this; } /** + * + * *
        * The list page token.
        * 
* * string page_token = 5; + * * @return This builder for chaining. */ public Builder clearPageToken() { - + pageToken_ = getDefaultInstance().getPageToken(); onChanged(); return this; } /** + * + * *
        * The list page token.
        * 
* * string page_token = 5; + * * @param value The bytes for pageToken to set. * @return This builder for chaining. */ - public Builder setPageTokenBytes( - com.google.protobuf.ByteString value) { + public Builder setPageTokenBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + pageToken_ = value; onChanged(); return this; } + @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -5492,30 +6194,33 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.storagetransfer.v1.ListTransferJobsRequest) } // @@protoc_insertion_point(class_scope:google.storagetransfer.v1.ListTransferJobsRequest) - private static final com.google.storagetransfer.v1.proto.TransferProto.ListTransferJobsRequest DEFAULT_INSTANCE; + private static final com.google.storagetransfer.v1.proto.TransferProto.ListTransferJobsRequest + DEFAULT_INSTANCE; + static { - DEFAULT_INSTANCE = new com.google.storagetransfer.v1.proto.TransferProto.ListTransferJobsRequest(); + DEFAULT_INSTANCE = + new com.google.storagetransfer.v1.proto.TransferProto.ListTransferJobsRequest(); } - public static com.google.storagetransfer.v1.proto.TransferProto.ListTransferJobsRequest getDefaultInstance() { + public static com.google.storagetransfer.v1.proto.TransferProto.ListTransferJobsRequest + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListTransferJobsRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ListTransferJobsRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListTransferJobsRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ListTransferJobsRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -5527,26 +6232,31 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.storagetransfer.v1.proto.TransferProto.ListTransferJobsRequest getDefaultInstanceForType() { + public com.google.storagetransfer.v1.proto.TransferProto.ListTransferJobsRequest + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - public interface ListTransferJobsResponseOrBuilder extends + public interface ListTransferJobsResponseOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.storagetransfer.v1.ListTransferJobsResponse) com.google.protobuf.MessageOrBuilder { /** + * + * *
      * A list of transfer jobs.
      * 
* * repeated .google.storagetransfer.v1.TransferJob transfer_jobs = 1; */ - java.util.List + java.util.List getTransferJobsList(); /** + * + * *
      * A list of transfer jobs.
      * 
@@ -5555,6 +6265,8 @@ public interface ListTransferJobsResponseOrBuilder extends */ com.google.storagetransfer.v1.proto.TransferTypes.TransferJob getTransferJobs(int index); /** + * + * *
      * A list of transfer jobs.
      * 
@@ -5563,15 +6275,19 @@ public interface ListTransferJobsResponseOrBuilder extends */ int getTransferJobsCount(); /** + * + * *
      * A list of transfer jobs.
      * 
* * repeated .google.storagetransfer.v1.TransferJob transfer_jobs = 1; */ - java.util.List + java.util.List getTransferJobsOrBuilderList(); /** + * + * *
      * A list of transfer jobs.
      * 
@@ -5582,41 +6298,49 @@ com.google.storagetransfer.v1.proto.TransferTypes.TransferJobOrBuilder getTransf int index); /** + * + * *
      * The list next page token.
      * 
* * string next_page_token = 2; + * * @return The nextPageToken. */ java.lang.String getNextPageToken(); /** + * + * *
      * The list next page token.
      * 
* * string next_page_token = 2; + * * @return The bytes for nextPageToken. */ - com.google.protobuf.ByteString - getNextPageTokenBytes(); + com.google.protobuf.ByteString getNextPageTokenBytes(); } /** + * + * *
    * Response from ListTransferJobs.
    * 
* * Protobuf type {@code google.storagetransfer.v1.ListTransferJobsResponse} */ - public static final class ListTransferJobsResponse extends - com.google.protobuf.GeneratedMessageV3 implements + public static final class ListTransferJobsResponse extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.storagetransfer.v1.ListTransferJobsResponse) ListTransferJobsResponseOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use ListTransferJobsResponse.newBuilder() to construct. private ListTransferJobsResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private ListTransferJobsResponse() { transferJobs_ = java.util.Collections.emptyList(); nextPageToken_ = ""; @@ -5624,16 +6348,15 @@ private ListTransferJobsResponse() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ListTransferJobsResponse(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private ListTransferJobsResponse( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -5653,28 +6376,34 @@ private ListTransferJobsResponse( case 0: done = true; break; - case 10: { - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - transferJobs_ = new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000001; + case 10: + { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + transferJobs_ = + new java.util.ArrayList< + com.google.storagetransfer.v1.proto.TransferTypes.TransferJob>(); + mutable_bitField0_ |= 0x00000001; + } + transferJobs_.add( + input.readMessage( + com.google.storagetransfer.v1.proto.TransferTypes.TransferJob.parser(), + extensionRegistry)); + break; } - transferJobs_.add( - input.readMessage(com.google.storagetransfer.v1.proto.TransferTypes.TransferJob.parser(), extensionRegistry)); - break; - } - case 18: { - java.lang.String s = input.readStringRequireUtf8(); + case 18: + { + java.lang.String s = input.readStringRequireUtf8(); - nextPageToken_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + nextPageToken_ = s; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -5682,8 +6411,7 @@ private ListTransferJobsResponse( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000001) != 0)) { transferJobs_ = java.util.Collections.unmodifiableList(transferJobs_); @@ -5692,22 +6420,29 @@ private ListTransferJobsResponse( makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.storagetransfer.v1.proto.TransferProto.internal_static_google_storagetransfer_v1_ListTransferJobsResponse_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.storagetransfer.v1.proto.TransferProto + .internal_static_google_storagetransfer_v1_ListTransferJobsResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.storagetransfer.v1.proto.TransferProto.internal_static_google_storagetransfer_v1_ListTransferJobsResponse_fieldAccessorTable + return com.google.storagetransfer.v1.proto.TransferProto + .internal_static_google_storagetransfer_v1_ListTransferJobsResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.storagetransfer.v1.proto.TransferProto.ListTransferJobsResponse.class, com.google.storagetransfer.v1.proto.TransferProto.ListTransferJobsResponse.Builder.class); + com.google.storagetransfer.v1.proto.TransferProto.ListTransferJobsResponse.class, + com.google.storagetransfer.v1.proto.TransferProto.ListTransferJobsResponse.Builder + .class); } public static final int TRANSFER_JOBS_FIELD_NUMBER = 1; - private java.util.List transferJobs_; + private java.util.List + transferJobs_; /** + * + * *
      * A list of transfer jobs.
      * 
@@ -5715,10 +6450,13 @@ private ListTransferJobsResponse( * repeated .google.storagetransfer.v1.TransferJob transfer_jobs = 1; */ @java.lang.Override - public java.util.List getTransferJobsList() { + public java.util.List + getTransferJobsList() { return transferJobs_; } /** + * + * *
      * A list of transfer jobs.
      * 
@@ -5726,11 +6464,14 @@ public java.util.Listrepeated .google.storagetransfer.v1.TransferJob transfer_jobs = 1; */ @java.lang.Override - public java.util.List + public java.util.List< + ? extends com.google.storagetransfer.v1.proto.TransferTypes.TransferJobOrBuilder> getTransferJobsOrBuilderList() { return transferJobs_; } /** + * + * *
      * A list of transfer jobs.
      * 
@@ -5742,6 +6483,8 @@ public int getTransferJobsCount() { return transferJobs_.size(); } /** + * + * *
      * A list of transfer jobs.
      * 
@@ -5749,10 +6492,13 @@ public int getTransferJobsCount() { * repeated .google.storagetransfer.v1.TransferJob transfer_jobs = 1; */ @java.lang.Override - public com.google.storagetransfer.v1.proto.TransferTypes.TransferJob getTransferJobs(int index) { + public com.google.storagetransfer.v1.proto.TransferTypes.TransferJob getTransferJobs( + int index) { return transferJobs_.get(index); } /** + * + * *
      * A list of transfer jobs.
      * 
@@ -5760,19 +6506,22 @@ public com.google.storagetransfer.v1.proto.TransferTypes.TransferJob getTransfer * repeated .google.storagetransfer.v1.TransferJob transfer_jobs = 1; */ @java.lang.Override - public com.google.storagetransfer.v1.proto.TransferTypes.TransferJobOrBuilder getTransferJobsOrBuilder( - int index) { + public com.google.storagetransfer.v1.proto.TransferTypes.TransferJobOrBuilder + getTransferJobsOrBuilder(int index) { return transferJobs_.get(index); } public static final int NEXT_PAGE_TOKEN_FIELD_NUMBER = 2; private volatile java.lang.Object nextPageToken_; /** + * + * *
      * The list next page token.
      * 
* * string next_page_token = 2; + * * @return The nextPageToken. */ @java.lang.Override @@ -5781,29 +6530,29 @@ public java.lang.String getNextPageToken() { 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(); nextPageToken_ = s; return s; } } /** + * + * *
      * The list next page token.
      * 
* * string next_page_token = 2; + * * @return The bytes for nextPageToken. */ @java.lang.Override - public com.google.protobuf.ByteString - getNextPageTokenBytes() { + public com.google.protobuf.ByteString getNextPageTokenBytes() { java.lang.Object ref = nextPageToken_; 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); nextPageToken_ = b; return b; } else { @@ -5812,6 +6561,7 @@ public java.lang.String getNextPageToken() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -5823,8 +6573,7 @@ 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 { for (int i = 0; i < transferJobs_.size(); i++) { output.writeMessage(1, transferJobs_.get(i)); } @@ -5841,8 +6590,7 @@ public int getSerializedSize() { size = 0; for (int i = 0; i < transferJobs_.size(); i++) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, transferJobs_.get(i)); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, transferJobs_.get(i)); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(nextPageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, nextPageToken_); @@ -5855,17 +6603,17 @@ 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.storagetransfer.v1.proto.TransferProto.ListTransferJobsResponse)) { + if (!(obj + instanceof com.google.storagetransfer.v1.proto.TransferProto.ListTransferJobsResponse)) { return super.equals(obj); } - com.google.storagetransfer.v1.proto.TransferProto.ListTransferJobsResponse other = (com.google.storagetransfer.v1.proto.TransferProto.ListTransferJobsResponse) obj; + com.google.storagetransfer.v1.proto.TransferProto.ListTransferJobsResponse other = + (com.google.storagetransfer.v1.proto.TransferProto.ListTransferJobsResponse) obj; - if (!getTransferJobsList() - .equals(other.getTransferJobsList())) return false; - if (!getNextPageToken() - .equals(other.getNextPageToken())) return false; + if (!getTransferJobsList().equals(other.getTransferJobsList())) return false; + if (!getNextPageToken().equals(other.getNextPageToken())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -5888,88 +6636,101 @@ public int hashCode() { return hash; } - public static com.google.storagetransfer.v1.proto.TransferProto.ListTransferJobsResponse parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.storagetransfer.v1.proto.TransferProto.ListTransferJobsResponse + parseFrom(java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.storagetransfer.v1.proto.TransferProto.ListTransferJobsResponse parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.storagetransfer.v1.proto.TransferProto.ListTransferJobsResponse + parseFrom( + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.storagetransfer.v1.proto.TransferProto.ListTransferJobsResponse parseFrom( - com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.storagetransfer.v1.proto.TransferProto.ListTransferJobsResponse + parseFrom(com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.storagetransfer.v1.proto.TransferProto.ListTransferJobsResponse parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.storagetransfer.v1.proto.TransferProto.ListTransferJobsResponse + 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.storagetransfer.v1.proto.TransferProto.ListTransferJobsResponse parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.storagetransfer.v1.proto.TransferProto.ListTransferJobsResponse + parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.storagetransfer.v1.proto.TransferProto.ListTransferJobsResponse parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.storagetransfer.v1.proto.TransferProto.ListTransferJobsResponse + parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.storagetransfer.v1.proto.TransferProto.ListTransferJobsResponse parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.storagetransfer.v1.proto.TransferProto.ListTransferJobsResponse + parseFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } - public static com.google.storagetransfer.v1.proto.TransferProto.ListTransferJobsResponse parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + + public static com.google.storagetransfer.v1.proto.TransferProto.ListTransferJobsResponse + parseFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.storagetransfer.v1.proto.TransferProto.ListTransferJobsResponse parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.storagetransfer.v1.proto.TransferProto.ListTransferJobsResponse + parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } - public static com.google.storagetransfer.v1.proto.TransferProto.ListTransferJobsResponse parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + + public static com.google.storagetransfer.v1.proto.TransferProto.ListTransferJobsResponse + parseDelimitedFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.storagetransfer.v1.proto.TransferProto.ListTransferJobsResponse parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.storagetransfer.v1.proto.TransferProto.ListTransferJobsResponse + parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } - public static com.google.storagetransfer.v1.proto.TransferProto.ListTransferJobsResponse parseFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + + public static com.google.storagetransfer.v1.proto.TransferProto.ListTransferJobsResponse + parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + 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.storagetransfer.v1.proto.TransferProto.ListTransferJobsResponse prototype) { + + public static Builder newBuilder( + com.google.storagetransfer.v1.proto.TransferProto.ListTransferJobsResponse 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 @@ -5979,45 +6740,52 @@ protected Builder newBuilderForType( return builder; } /** + * + * *
      * Response from ListTransferJobs.
      * 
* * Protobuf type {@code google.storagetransfer.v1.ListTransferJobsResponse} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder + extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.storagetransfer.v1.ListTransferJobsResponse) com.google.storagetransfer.v1.proto.TransferProto.ListTransferJobsResponseOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.storagetransfer.v1.proto.TransferProto.internal_static_google_storagetransfer_v1_ListTransferJobsResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.storagetransfer.v1.proto.TransferProto + .internal_static_google_storagetransfer_v1_ListTransferJobsResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.storagetransfer.v1.proto.TransferProto.internal_static_google_storagetransfer_v1_ListTransferJobsResponse_fieldAccessorTable + return com.google.storagetransfer.v1.proto.TransferProto + .internal_static_google_storagetransfer_v1_ListTransferJobsResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.storagetransfer.v1.proto.TransferProto.ListTransferJobsResponse.class, com.google.storagetransfer.v1.proto.TransferProto.ListTransferJobsResponse.Builder.class); + com.google.storagetransfer.v1.proto.TransferProto.ListTransferJobsResponse.class, + com.google.storagetransfer.v1.proto.TransferProto.ListTransferJobsResponse.Builder + .class); } - // Construct using com.google.storagetransfer.v1.proto.TransferProto.ListTransferJobsResponse.newBuilder() + // Construct using + // com.google.storagetransfer.v1.proto.TransferProto.ListTransferJobsResponse.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { getTransferJobsFieldBuilder(); } } + @java.lang.Override public Builder clear() { super.clear(); @@ -6033,19 +6801,22 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.storagetransfer.v1.proto.TransferProto.internal_static_google_storagetransfer_v1_ListTransferJobsResponse_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.storagetransfer.v1.proto.TransferProto + .internal_static_google_storagetransfer_v1_ListTransferJobsResponse_descriptor; } @java.lang.Override - public com.google.storagetransfer.v1.proto.TransferProto.ListTransferJobsResponse getDefaultInstanceForType() { - return com.google.storagetransfer.v1.proto.TransferProto.ListTransferJobsResponse.getDefaultInstance(); + public com.google.storagetransfer.v1.proto.TransferProto.ListTransferJobsResponse + getDefaultInstanceForType() { + return com.google.storagetransfer.v1.proto.TransferProto.ListTransferJobsResponse + .getDefaultInstance(); } @java.lang.Override public com.google.storagetransfer.v1.proto.TransferProto.ListTransferJobsResponse build() { - com.google.storagetransfer.v1.proto.TransferProto.ListTransferJobsResponse result = buildPartial(); + com.google.storagetransfer.v1.proto.TransferProto.ListTransferJobsResponse result = + buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } @@ -6053,8 +6824,10 @@ public com.google.storagetransfer.v1.proto.TransferProto.ListTransferJobsRespons } @java.lang.Override - public com.google.storagetransfer.v1.proto.TransferProto.ListTransferJobsResponse buildPartial() { - com.google.storagetransfer.v1.proto.TransferProto.ListTransferJobsResponse result = new com.google.storagetransfer.v1.proto.TransferProto.ListTransferJobsResponse(this); + public com.google.storagetransfer.v1.proto.TransferProto.ListTransferJobsResponse + buildPartial() { + com.google.storagetransfer.v1.proto.TransferProto.ListTransferJobsResponse result = + new com.google.storagetransfer.v1.proto.TransferProto.ListTransferJobsResponse(this); int from_bitField0_ = bitField0_; if (transferJobsBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { @@ -6074,46 +6847,54 @@ public com.google.storagetransfer.v1.proto.TransferProto.ListTransferJobsRespons public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + int index, + java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { - if (other instanceof com.google.storagetransfer.v1.proto.TransferProto.ListTransferJobsResponse) { - return mergeFrom((com.google.storagetransfer.v1.proto.TransferProto.ListTransferJobsResponse)other); + if (other + instanceof com.google.storagetransfer.v1.proto.TransferProto.ListTransferJobsResponse) { + return mergeFrom( + (com.google.storagetransfer.v1.proto.TransferProto.ListTransferJobsResponse) other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.google.storagetransfer.v1.proto.TransferProto.ListTransferJobsResponse other) { - if (other == com.google.storagetransfer.v1.proto.TransferProto.ListTransferJobsResponse.getDefaultInstance()) return this; + public Builder mergeFrom( + com.google.storagetransfer.v1.proto.TransferProto.ListTransferJobsResponse other) { + if (other + == com.google.storagetransfer.v1.proto.TransferProto.ListTransferJobsResponse + .getDefaultInstance()) return this; if (transferJobsBuilder_ == null) { if (!other.transferJobs_.isEmpty()) { if (transferJobs_.isEmpty()) { @@ -6132,9 +6913,10 @@ public Builder mergeFrom(com.google.storagetransfer.v1.proto.TransferProto.ListT transferJobsBuilder_ = null; transferJobs_ = other.transferJobs_; bitField0_ = (bitField0_ & ~0x00000001); - transferJobsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? - getTransferJobsFieldBuilder() : null; + transferJobsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders + ? getTransferJobsFieldBuilder() + : null; } else { transferJobsBuilder_.addAllMessages(other.transferJobs_); } @@ -6159,11 +6941,14 @@ public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - com.google.storagetransfer.v1.proto.TransferProto.ListTransferJobsResponse parsedMessage = null; + com.google.storagetransfer.v1.proto.TransferProto.ListTransferJobsResponse parsedMessage = + null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.storagetransfer.v1.proto.TransferProto.ListTransferJobsResponse) e.getUnfinishedMessage(); + parsedMessage = + (com.google.storagetransfer.v1.proto.TransferProto.ListTransferJobsResponse) + e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -6172,28 +6957,38 @@ public Builder mergeFrom( } return this; } + private int bitField0_; - private java.util.List transferJobs_ = - java.util.Collections.emptyList(); + private java.util.List + transferJobs_ = java.util.Collections.emptyList(); + private void ensureTransferJobsIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { - transferJobs_ = new java.util.ArrayList(transferJobs_); + transferJobs_ = + new java.util.ArrayList< + com.google.storagetransfer.v1.proto.TransferTypes.TransferJob>(transferJobs_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.storagetransfer.v1.proto.TransferTypes.TransferJob, com.google.storagetransfer.v1.proto.TransferTypes.TransferJob.Builder, com.google.storagetransfer.v1.proto.TransferTypes.TransferJobOrBuilder> transferJobsBuilder_; + com.google.storagetransfer.v1.proto.TransferTypes.TransferJob, + com.google.storagetransfer.v1.proto.TransferTypes.TransferJob.Builder, + com.google.storagetransfer.v1.proto.TransferTypes.TransferJobOrBuilder> + transferJobsBuilder_; /** + * + * *
        * A list of transfer jobs.
        * 
* * repeated .google.storagetransfer.v1.TransferJob transfer_jobs = 1; */ - public java.util.List getTransferJobsList() { + public java.util.List + getTransferJobsList() { if (transferJobsBuilder_ == null) { return java.util.Collections.unmodifiableList(transferJobs_); } else { @@ -6201,6 +6996,8 @@ public java.util.List * A list of transfer jobs. *
@@ -6215,13 +7012,16 @@ public int getTransferJobsCount() { } } /** + * + * *
        * A list of transfer jobs.
        * 
* * repeated .google.storagetransfer.v1.TransferJob transfer_jobs = 1; */ - public com.google.storagetransfer.v1.proto.TransferTypes.TransferJob getTransferJobs(int index) { + public com.google.storagetransfer.v1.proto.TransferTypes.TransferJob getTransferJobs( + int index) { if (transferJobsBuilder_ == null) { return transferJobs_.get(index); } else { @@ -6229,6 +7029,8 @@ public com.google.storagetransfer.v1.proto.TransferTypes.TransferJob getTransfer } } /** + * + * *
        * A list of transfer jobs.
        * 
@@ -6250,6 +7052,8 @@ public Builder setTransferJobs( return this; } /** + * + * *
        * A list of transfer jobs.
        * 
@@ -6257,7 +7061,8 @@ public Builder setTransferJobs( * repeated .google.storagetransfer.v1.TransferJob transfer_jobs = 1; */ public Builder setTransferJobs( - int index, com.google.storagetransfer.v1.proto.TransferTypes.TransferJob.Builder builderForValue) { + int index, + com.google.storagetransfer.v1.proto.TransferTypes.TransferJob.Builder builderForValue) { if (transferJobsBuilder_ == null) { ensureTransferJobsIsMutable(); transferJobs_.set(index, builderForValue.build()); @@ -6268,13 +7073,16 @@ public Builder setTransferJobs( return this; } /** + * + * *
        * A list of transfer jobs.
        * 
* * repeated .google.storagetransfer.v1.TransferJob transfer_jobs = 1; */ - public Builder addTransferJobs(com.google.storagetransfer.v1.proto.TransferTypes.TransferJob value) { + public Builder addTransferJobs( + com.google.storagetransfer.v1.proto.TransferTypes.TransferJob value) { if (transferJobsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -6288,6 +7096,8 @@ public Builder addTransferJobs(com.google.storagetransfer.v1.proto.TransferTypes return this; } /** + * + * *
        * A list of transfer jobs.
        * 
@@ -6309,6 +7119,8 @@ public Builder addTransferJobs( return this; } /** + * + * *
        * A list of transfer jobs.
        * 
@@ -6327,6 +7139,8 @@ public Builder addTransferJobs( return this; } /** + * + * *
        * A list of transfer jobs.
        * 
@@ -6334,7 +7148,8 @@ public Builder addTransferJobs( * repeated .google.storagetransfer.v1.TransferJob transfer_jobs = 1; */ public Builder addTransferJobs( - int index, com.google.storagetransfer.v1.proto.TransferTypes.TransferJob.Builder builderForValue) { + int index, + com.google.storagetransfer.v1.proto.TransferTypes.TransferJob.Builder builderForValue) { if (transferJobsBuilder_ == null) { ensureTransferJobsIsMutable(); transferJobs_.add(index, builderForValue.build()); @@ -6345,6 +7160,8 @@ public Builder addTransferJobs( return this; } /** + * + * *
        * A list of transfer jobs.
        * 
@@ -6352,11 +7169,12 @@ public Builder addTransferJobs( * repeated .google.storagetransfer.v1.TransferJob transfer_jobs = 1; */ public Builder addAllTransferJobs( - java.lang.Iterable values) { + java.lang.Iterable< + ? extends com.google.storagetransfer.v1.proto.TransferTypes.TransferJob> + values) { if (transferJobsBuilder_ == null) { ensureTransferJobsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, transferJobs_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, transferJobs_); onChanged(); } else { transferJobsBuilder_.addAllMessages(values); @@ -6364,6 +7182,8 @@ public Builder addAllTransferJobs( return this; } /** + * + * *
        * A list of transfer jobs.
        * 
@@ -6381,6 +7201,8 @@ public Builder clearTransferJobs() { return this; } /** + * + * *
        * A list of transfer jobs.
        * 
@@ -6398,39 +7220,47 @@ public Builder removeTransferJobs(int index) { return this; } /** + * + * *
        * A list of transfer jobs.
        * 
* * repeated .google.storagetransfer.v1.TransferJob transfer_jobs = 1; */ - public com.google.storagetransfer.v1.proto.TransferTypes.TransferJob.Builder getTransferJobsBuilder( - int index) { + public com.google.storagetransfer.v1.proto.TransferTypes.TransferJob.Builder + getTransferJobsBuilder(int index) { return getTransferJobsFieldBuilder().getBuilder(index); } /** + * + * *
        * A list of transfer jobs.
        * 
* * repeated .google.storagetransfer.v1.TransferJob transfer_jobs = 1; */ - public com.google.storagetransfer.v1.proto.TransferTypes.TransferJobOrBuilder getTransferJobsOrBuilder( - int index) { + public com.google.storagetransfer.v1.proto.TransferTypes.TransferJobOrBuilder + getTransferJobsOrBuilder(int index) { if (transferJobsBuilder_ == null) { - return transferJobs_.get(index); } else { + return transferJobs_.get(index); + } else { return transferJobsBuilder_.getMessageOrBuilder(index); } } /** + * + * *
        * A list of transfer jobs.
        * 
* * repeated .google.storagetransfer.v1.TransferJob transfer_jobs = 1; */ - public java.util.List - getTransferJobsOrBuilderList() { + public java.util.List< + ? extends com.google.storagetransfer.v1.proto.TransferTypes.TransferJobOrBuilder> + getTransferJobsOrBuilderList() { if (transferJobsBuilder_ != null) { return transferJobsBuilder_.getMessageOrBuilderList(); } else { @@ -6438,45 +7268,61 @@ public com.google.storagetransfer.v1.proto.TransferTypes.TransferJobOrBuilder ge } } /** + * + * *
        * A list of transfer jobs.
        * 
* * repeated .google.storagetransfer.v1.TransferJob transfer_jobs = 1; */ - public com.google.storagetransfer.v1.proto.TransferTypes.TransferJob.Builder addTransferJobsBuilder() { - return getTransferJobsFieldBuilder().addBuilder( - com.google.storagetransfer.v1.proto.TransferTypes.TransferJob.getDefaultInstance()); + public com.google.storagetransfer.v1.proto.TransferTypes.TransferJob.Builder + addTransferJobsBuilder() { + return getTransferJobsFieldBuilder() + .addBuilder( + com.google.storagetransfer.v1.proto.TransferTypes.TransferJob.getDefaultInstance()); } /** + * + * *
        * A list of transfer jobs.
        * 
* * repeated .google.storagetransfer.v1.TransferJob transfer_jobs = 1; */ - public com.google.storagetransfer.v1.proto.TransferTypes.TransferJob.Builder addTransferJobsBuilder( - int index) { - return getTransferJobsFieldBuilder().addBuilder( - index, com.google.storagetransfer.v1.proto.TransferTypes.TransferJob.getDefaultInstance()); + public com.google.storagetransfer.v1.proto.TransferTypes.TransferJob.Builder + addTransferJobsBuilder(int index) { + return getTransferJobsFieldBuilder() + .addBuilder( + index, + com.google.storagetransfer.v1.proto.TransferTypes.TransferJob.getDefaultInstance()); } /** + * + * *
        * A list of transfer jobs.
        * 
* * repeated .google.storagetransfer.v1.TransferJob transfer_jobs = 1; */ - public java.util.List - getTransferJobsBuilderList() { + public java.util.List + getTransferJobsBuilderList() { return getTransferJobsFieldBuilder().getBuilderList(); } + private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.storagetransfer.v1.proto.TransferTypes.TransferJob, com.google.storagetransfer.v1.proto.TransferTypes.TransferJob.Builder, com.google.storagetransfer.v1.proto.TransferTypes.TransferJobOrBuilder> + com.google.storagetransfer.v1.proto.TransferTypes.TransferJob, + com.google.storagetransfer.v1.proto.TransferTypes.TransferJob.Builder, + com.google.storagetransfer.v1.proto.TransferTypes.TransferJobOrBuilder> getTransferJobsFieldBuilder() { if (transferJobsBuilder_ == null) { - transferJobsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.storagetransfer.v1.proto.TransferTypes.TransferJob, com.google.storagetransfer.v1.proto.TransferTypes.TransferJob.Builder, com.google.storagetransfer.v1.proto.TransferTypes.TransferJobOrBuilder>( + transferJobsBuilder_ = + new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.storagetransfer.v1.proto.TransferTypes.TransferJob, + com.google.storagetransfer.v1.proto.TransferTypes.TransferJob.Builder, + com.google.storagetransfer.v1.proto.TransferTypes.TransferJobOrBuilder>( transferJobs_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), @@ -6488,18 +7334,20 @@ public com.google.storagetransfer.v1.proto.TransferTypes.TransferJob.Builder add private java.lang.Object nextPageToken_ = ""; /** + * + * *
        * The list next page token.
        * 
* * string next_page_token = 2; + * * @return The nextPageToken. */ public java.lang.String getNextPageToken() { java.lang.Object ref = nextPageToken_; 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(); nextPageToken_ = s; return s; @@ -6508,20 +7356,21 @@ public java.lang.String getNextPageToken() { } } /** + * + * *
        * The list next page token.
        * 
* * string next_page_token = 2; + * * @return The bytes for nextPageToken. */ - public com.google.protobuf.ByteString - getNextPageTokenBytes() { + public com.google.protobuf.ByteString getNextPageTokenBytes() { java.lang.Object ref = nextPageToken_; 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); nextPageToken_ = b; return b; } else { @@ -6529,58 +7378,66 @@ public java.lang.String getNextPageToken() { } } /** + * + * *
        * The list next page token.
        * 
* * string next_page_token = 2; + * * @param value The nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageToken( - java.lang.String value) { + public Builder setNextPageToken(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + nextPageToken_ = value; onChanged(); return this; } /** + * + * *
        * The list next page token.
        * 
* * string next_page_token = 2; + * * @return This builder for chaining. */ public Builder clearNextPageToken() { - + nextPageToken_ = getDefaultInstance().getNextPageToken(); onChanged(); return this; } /** + * + * *
        * The list next page token.
        * 
* * string next_page_token = 2; + * * @param value The bytes for nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageTokenBytes( - com.google.protobuf.ByteString value) { + public Builder setNextPageTokenBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + nextPageToken_ = value; onChanged(); return this; } + @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -6593,30 +7450,33 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.storagetransfer.v1.ListTransferJobsResponse) } // @@protoc_insertion_point(class_scope:google.storagetransfer.v1.ListTransferJobsResponse) - private static final com.google.storagetransfer.v1.proto.TransferProto.ListTransferJobsResponse DEFAULT_INSTANCE; + private static final com.google.storagetransfer.v1.proto.TransferProto.ListTransferJobsResponse + DEFAULT_INSTANCE; + static { - DEFAULT_INSTANCE = new com.google.storagetransfer.v1.proto.TransferProto.ListTransferJobsResponse(); + DEFAULT_INSTANCE = + new com.google.storagetransfer.v1.proto.TransferProto.ListTransferJobsResponse(); } - public static com.google.storagetransfer.v1.proto.TransferProto.ListTransferJobsResponse getDefaultInstance() { + public static com.google.storagetransfer.v1.proto.TransferProto.ListTransferJobsResponse + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListTransferJobsResponse parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ListTransferJobsResponse(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListTransferJobsResponse parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ListTransferJobsResponse(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -6628,68 +7488,78 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.storagetransfer.v1.proto.TransferProto.ListTransferJobsResponse getDefaultInstanceForType() { + public com.google.storagetransfer.v1.proto.TransferProto.ListTransferJobsResponse + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - public interface PauseTransferOperationRequestOrBuilder extends + public interface PauseTransferOperationRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.storagetransfer.v1.PauseTransferOperationRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
      * Required. The name of the transfer operation.
      * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The name. */ java.lang.String getName(); /** + * + * *
      * Required. The name of the transfer operation.
      * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for name. */ - com.google.protobuf.ByteString - getNameBytes(); + com.google.protobuf.ByteString getNameBytes(); } /** + * + * *
    * Request passed to PauseTransferOperation.
    * 
* * Protobuf type {@code google.storagetransfer.v1.PauseTransferOperationRequest} */ - public static final class PauseTransferOperationRequest extends - com.google.protobuf.GeneratedMessageV3 implements + public static final class PauseTransferOperationRequest + extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.storagetransfer.v1.PauseTransferOperationRequest) PauseTransferOperationRequestOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use PauseTransferOperationRequest.newBuilder() to construct. - private PauseTransferOperationRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { + private PauseTransferOperationRequest( + com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private PauseTransferOperationRequest() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new PauseTransferOperationRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private PauseTransferOperationRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -6708,19 +7578,20 @@ private PauseTransferOperationRequest( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - name_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + name_ = s; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -6728,34 +7599,40 @@ private PauseTransferOperationRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.storagetransfer.v1.proto.TransferProto.internal_static_google_storagetransfer_v1_PauseTransferOperationRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.storagetransfer.v1.proto.TransferProto + .internal_static_google_storagetransfer_v1_PauseTransferOperationRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.storagetransfer.v1.proto.TransferProto.internal_static_google_storagetransfer_v1_PauseTransferOperationRequest_fieldAccessorTable + return com.google.storagetransfer.v1.proto.TransferProto + .internal_static_google_storagetransfer_v1_PauseTransferOperationRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.storagetransfer.v1.proto.TransferProto.PauseTransferOperationRequest.class, com.google.storagetransfer.v1.proto.TransferProto.PauseTransferOperationRequest.Builder.class); + com.google.storagetransfer.v1.proto.TransferProto.PauseTransferOperationRequest.class, + com.google.storagetransfer.v1.proto.TransferProto.PauseTransferOperationRequest + .Builder.class); } public static final int NAME_FIELD_NUMBER = 1; private volatile java.lang.Object name_; /** + * + * *
      * Required. The name of the transfer operation.
      * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The name. */ @java.lang.Override @@ -6764,29 +7641,29 @@ public java.lang.String getName() { 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(); name_ = s; return s; } } /** + * + * *
      * Required. The name of the transfer operation.
      * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; 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); name_ = b; return b; } else { @@ -6795,6 +7672,7 @@ public java.lang.String getName() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -6806,8 +7684,7 @@ 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 (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -6831,15 +7708,17 @@ 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.storagetransfer.v1.proto.TransferProto.PauseTransferOperationRequest)) { + if (!(obj + instanceof + com.google.storagetransfer.v1.proto.TransferProto.PauseTransferOperationRequest)) { return super.equals(obj); } - com.google.storagetransfer.v1.proto.TransferProto.PauseTransferOperationRequest other = (com.google.storagetransfer.v1.proto.TransferProto.PauseTransferOperationRequest) obj; + com.google.storagetransfer.v1.proto.TransferProto.PauseTransferOperationRequest other = + (com.google.storagetransfer.v1.proto.TransferProto.PauseTransferOperationRequest) obj; - if (!getName() - .equals(other.getName())) return false; + if (!getName().equals(other.getName())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -6858,88 +7737,101 @@ public int hashCode() { return hash; } - public static com.google.storagetransfer.v1.proto.TransferProto.PauseTransferOperationRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.storagetransfer.v1.proto.TransferProto.PauseTransferOperationRequest + parseFrom(java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.storagetransfer.v1.proto.TransferProto.PauseTransferOperationRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.storagetransfer.v1.proto.TransferProto.PauseTransferOperationRequest + parseFrom( + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.storagetransfer.v1.proto.TransferProto.PauseTransferOperationRequest parseFrom( - com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.storagetransfer.v1.proto.TransferProto.PauseTransferOperationRequest + parseFrom(com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.storagetransfer.v1.proto.TransferProto.PauseTransferOperationRequest parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.storagetransfer.v1.proto.TransferProto.PauseTransferOperationRequest + 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.storagetransfer.v1.proto.TransferProto.PauseTransferOperationRequest parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.storagetransfer.v1.proto.TransferProto.PauseTransferOperationRequest + parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.storagetransfer.v1.proto.TransferProto.PauseTransferOperationRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.storagetransfer.v1.proto.TransferProto.PauseTransferOperationRequest + parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.storagetransfer.v1.proto.TransferProto.PauseTransferOperationRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.storagetransfer.v1.proto.TransferProto.PauseTransferOperationRequest + parseFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } - public static com.google.storagetransfer.v1.proto.TransferProto.PauseTransferOperationRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + + public static com.google.storagetransfer.v1.proto.TransferProto.PauseTransferOperationRequest + parseFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.storagetransfer.v1.proto.TransferProto.PauseTransferOperationRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.storagetransfer.v1.proto.TransferProto.PauseTransferOperationRequest + parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } - public static com.google.storagetransfer.v1.proto.TransferProto.PauseTransferOperationRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + + public static com.google.storagetransfer.v1.proto.TransferProto.PauseTransferOperationRequest + parseDelimitedFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.storagetransfer.v1.proto.TransferProto.PauseTransferOperationRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.storagetransfer.v1.proto.TransferProto.PauseTransferOperationRequest + parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } - public static com.google.storagetransfer.v1.proto.TransferProto.PauseTransferOperationRequest parseFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + + public static com.google.storagetransfer.v1.proto.TransferProto.PauseTransferOperationRequest + parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + 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.storagetransfer.v1.proto.TransferProto.PauseTransferOperationRequest prototype) { + + public static Builder newBuilder( + com.google.storagetransfer.v1.proto.TransferProto.PauseTransferOperationRequest 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 @@ -6949,44 +7841,51 @@ protected Builder newBuilderForType( return builder; } /** + * + * *
      * Request passed to PauseTransferOperation.
      * 
* * Protobuf type {@code google.storagetransfer.v1.PauseTransferOperationRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder + extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.storagetransfer.v1.PauseTransferOperationRequest) com.google.storagetransfer.v1.proto.TransferProto.PauseTransferOperationRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.storagetransfer.v1.proto.TransferProto.internal_static_google_storagetransfer_v1_PauseTransferOperationRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.storagetransfer.v1.proto.TransferProto + .internal_static_google_storagetransfer_v1_PauseTransferOperationRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.storagetransfer.v1.proto.TransferProto.internal_static_google_storagetransfer_v1_PauseTransferOperationRequest_fieldAccessorTable + return com.google.storagetransfer.v1.proto.TransferProto + .internal_static_google_storagetransfer_v1_PauseTransferOperationRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.storagetransfer.v1.proto.TransferProto.PauseTransferOperationRequest.class, com.google.storagetransfer.v1.proto.TransferProto.PauseTransferOperationRequest.Builder.class); + com.google.storagetransfer.v1.proto.TransferProto.PauseTransferOperationRequest + .class, + com.google.storagetransfer.v1.proto.TransferProto.PauseTransferOperationRequest + .Builder.class); } - // Construct using com.google.storagetransfer.v1.proto.TransferProto.PauseTransferOperationRequest.newBuilder() + // Construct using + // com.google.storagetransfer.v1.proto.TransferProto.PauseTransferOperationRequest.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -6996,19 +7895,23 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.storagetransfer.v1.proto.TransferProto.internal_static_google_storagetransfer_v1_PauseTransferOperationRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.storagetransfer.v1.proto.TransferProto + .internal_static_google_storagetransfer_v1_PauseTransferOperationRequest_descriptor; } @java.lang.Override - public com.google.storagetransfer.v1.proto.TransferProto.PauseTransferOperationRequest getDefaultInstanceForType() { - return com.google.storagetransfer.v1.proto.TransferProto.PauseTransferOperationRequest.getDefaultInstance(); + public com.google.storagetransfer.v1.proto.TransferProto.PauseTransferOperationRequest + getDefaultInstanceForType() { + return com.google.storagetransfer.v1.proto.TransferProto.PauseTransferOperationRequest + .getDefaultInstance(); } @java.lang.Override - public com.google.storagetransfer.v1.proto.TransferProto.PauseTransferOperationRequest build() { - com.google.storagetransfer.v1.proto.TransferProto.PauseTransferOperationRequest result = buildPartial(); + public com.google.storagetransfer.v1.proto.TransferProto.PauseTransferOperationRequest + build() { + com.google.storagetransfer.v1.proto.TransferProto.PauseTransferOperationRequest result = + buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } @@ -7016,8 +7919,11 @@ public com.google.storagetransfer.v1.proto.TransferProto.PauseTransferOperationR } @java.lang.Override - public com.google.storagetransfer.v1.proto.TransferProto.PauseTransferOperationRequest buildPartial() { - com.google.storagetransfer.v1.proto.TransferProto.PauseTransferOperationRequest result = new com.google.storagetransfer.v1.proto.TransferProto.PauseTransferOperationRequest(this); + public com.google.storagetransfer.v1.proto.TransferProto.PauseTransferOperationRequest + buildPartial() { + com.google.storagetransfer.v1.proto.TransferProto.PauseTransferOperationRequest result = + new com.google.storagetransfer.v1.proto.TransferProto.PauseTransferOperationRequest( + this); result.name_ = name_; onBuilt(); return result; @@ -7027,46 +7933,56 @@ public com.google.storagetransfer.v1.proto.TransferProto.PauseTransferOperationR public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + int index, + java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { - if (other instanceof com.google.storagetransfer.v1.proto.TransferProto.PauseTransferOperationRequest) { - return mergeFrom((com.google.storagetransfer.v1.proto.TransferProto.PauseTransferOperationRequest)other); + if (other + instanceof + com.google.storagetransfer.v1.proto.TransferProto.PauseTransferOperationRequest) { + return mergeFrom( + (com.google.storagetransfer.v1.proto.TransferProto.PauseTransferOperationRequest) + other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.google.storagetransfer.v1.proto.TransferProto.PauseTransferOperationRequest other) { - if (other == com.google.storagetransfer.v1.proto.TransferProto.PauseTransferOperationRequest.getDefaultInstance()) return this; + public Builder mergeFrom( + com.google.storagetransfer.v1.proto.TransferProto.PauseTransferOperationRequest other) { + if (other + == com.google.storagetransfer.v1.proto.TransferProto.PauseTransferOperationRequest + .getDefaultInstance()) return this; if (!other.getName().isEmpty()) { name_ = other.name_; onChanged(); @@ -7086,11 +8002,14 @@ public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - com.google.storagetransfer.v1.proto.TransferProto.PauseTransferOperationRequest parsedMessage = null; + com.google.storagetransfer.v1.proto.TransferProto.PauseTransferOperationRequest + parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.storagetransfer.v1.proto.TransferProto.PauseTransferOperationRequest) e.getUnfinishedMessage(); + parsedMessage = + (com.google.storagetransfer.v1.proto.TransferProto.PauseTransferOperationRequest) + e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -7102,18 +8021,20 @@ public Builder mergeFrom( private java.lang.Object name_ = ""; /** + * + * *
        * Required. The name of the transfer operation.
        * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; 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(); name_ = s; return s; @@ -7122,20 +8043,21 @@ public java.lang.String getName() { } } /** + * + * *
        * Required. The name of the transfer operation.
        * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for name. */ - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; 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); name_ = b; return b; } else { @@ -7143,58 +8065,66 @@ public java.lang.String getName() { } } /** + * + * *
        * Required. The name of the transfer operation.
        * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName( - java.lang.String value) { + public Builder setName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** + * + * *
        * Required. The name of the transfer operation.
        * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** + * + * *
        * Required. The name of the transfer operation.
        * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes( - com.google.protobuf.ByteString value) { + public Builder setNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; } + @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -7207,30 +8137,34 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.storagetransfer.v1.PauseTransferOperationRequest) } // @@protoc_insertion_point(class_scope:google.storagetransfer.v1.PauseTransferOperationRequest) - private static final com.google.storagetransfer.v1.proto.TransferProto.PauseTransferOperationRequest DEFAULT_INSTANCE; + private static final com.google.storagetransfer.v1.proto.TransferProto + .PauseTransferOperationRequest + DEFAULT_INSTANCE; + static { - DEFAULT_INSTANCE = new com.google.storagetransfer.v1.proto.TransferProto.PauseTransferOperationRequest(); + DEFAULT_INSTANCE = + new com.google.storagetransfer.v1.proto.TransferProto.PauseTransferOperationRequest(); } - public static com.google.storagetransfer.v1.proto.TransferProto.PauseTransferOperationRequest getDefaultInstance() { + public static com.google.storagetransfer.v1.proto.TransferProto.PauseTransferOperationRequest + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public PauseTransferOperationRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new PauseTransferOperationRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public PauseTransferOperationRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new PauseTransferOperationRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -7242,68 +8176,78 @@ public com.google.protobuf.Parser getParserForTyp } @java.lang.Override - public com.google.storagetransfer.v1.proto.TransferProto.PauseTransferOperationRequest getDefaultInstanceForType() { + public com.google.storagetransfer.v1.proto.TransferProto.PauseTransferOperationRequest + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - public interface ResumeTransferOperationRequestOrBuilder extends + public interface ResumeTransferOperationRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.storagetransfer.v1.ResumeTransferOperationRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
      * Required. The name of the transfer operation.
      * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The name. */ java.lang.String getName(); /** + * + * *
      * Required. The name of the transfer operation.
      * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for name. */ - com.google.protobuf.ByteString - getNameBytes(); + com.google.protobuf.ByteString getNameBytes(); } /** + * + * *
    * Request passed to ResumeTransferOperation.
    * 
* * Protobuf type {@code google.storagetransfer.v1.ResumeTransferOperationRequest} */ - public static final class ResumeTransferOperationRequest extends - com.google.protobuf.GeneratedMessageV3 implements + public static final class ResumeTransferOperationRequest + extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.storagetransfer.v1.ResumeTransferOperationRequest) ResumeTransferOperationRequestOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use ResumeTransferOperationRequest.newBuilder() to construct. - private ResumeTransferOperationRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { + private ResumeTransferOperationRequest( + com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private ResumeTransferOperationRequest() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ResumeTransferOperationRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private ResumeTransferOperationRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -7322,19 +8266,20 @@ private ResumeTransferOperationRequest( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - name_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + name_ = s; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -7342,34 +8287,41 @@ private ResumeTransferOperationRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.storagetransfer.v1.proto.TransferProto.internal_static_google_storagetransfer_v1_ResumeTransferOperationRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.storagetransfer.v1.proto.TransferProto + .internal_static_google_storagetransfer_v1_ResumeTransferOperationRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.storagetransfer.v1.proto.TransferProto.internal_static_google_storagetransfer_v1_ResumeTransferOperationRequest_fieldAccessorTable + return com.google.storagetransfer.v1.proto.TransferProto + .internal_static_google_storagetransfer_v1_ResumeTransferOperationRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.storagetransfer.v1.proto.TransferProto.ResumeTransferOperationRequest.class, com.google.storagetransfer.v1.proto.TransferProto.ResumeTransferOperationRequest.Builder.class); + com.google.storagetransfer.v1.proto.TransferProto.ResumeTransferOperationRequest + .class, + com.google.storagetransfer.v1.proto.TransferProto.ResumeTransferOperationRequest + .Builder.class); } public static final int NAME_FIELD_NUMBER = 1; private volatile java.lang.Object name_; /** + * + * *
      * Required. The name of the transfer operation.
      * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The name. */ @java.lang.Override @@ -7378,29 +8330,29 @@ public java.lang.String getName() { 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(); name_ = s; return s; } } /** + * + * *
      * Required. The name of the transfer operation.
      * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; 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); name_ = b; return b; } else { @@ -7409,6 +8361,7 @@ public java.lang.String getName() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -7420,8 +8373,7 @@ 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 (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -7445,15 +8397,17 @@ 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.storagetransfer.v1.proto.TransferProto.ResumeTransferOperationRequest)) { + if (!(obj + instanceof + com.google.storagetransfer.v1.proto.TransferProto.ResumeTransferOperationRequest)) { return super.equals(obj); } - com.google.storagetransfer.v1.proto.TransferProto.ResumeTransferOperationRequest other = (com.google.storagetransfer.v1.proto.TransferProto.ResumeTransferOperationRequest) obj; + com.google.storagetransfer.v1.proto.TransferProto.ResumeTransferOperationRequest other = + (com.google.storagetransfer.v1.proto.TransferProto.ResumeTransferOperationRequest) obj; - if (!getName() - .equals(other.getName())) return false; + if (!getName().equals(other.getName())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -7472,88 +8426,102 @@ public int hashCode() { return hash; } - public static com.google.storagetransfer.v1.proto.TransferProto.ResumeTransferOperationRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.storagetransfer.v1.proto.TransferProto.ResumeTransferOperationRequest + parseFrom(java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.storagetransfer.v1.proto.TransferProto.ResumeTransferOperationRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.storagetransfer.v1.proto.TransferProto.ResumeTransferOperationRequest + parseFrom( + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.storagetransfer.v1.proto.TransferProto.ResumeTransferOperationRequest parseFrom( - com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.storagetransfer.v1.proto.TransferProto.ResumeTransferOperationRequest + parseFrom(com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.storagetransfer.v1.proto.TransferProto.ResumeTransferOperationRequest parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.storagetransfer.v1.proto.TransferProto.ResumeTransferOperationRequest + 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.storagetransfer.v1.proto.TransferProto.ResumeTransferOperationRequest parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.storagetransfer.v1.proto.TransferProto.ResumeTransferOperationRequest + parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.storagetransfer.v1.proto.TransferProto.ResumeTransferOperationRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.storagetransfer.v1.proto.TransferProto.ResumeTransferOperationRequest + parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.storagetransfer.v1.proto.TransferProto.ResumeTransferOperationRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.storagetransfer.v1.proto.TransferProto.ResumeTransferOperationRequest + parseFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } - public static com.google.storagetransfer.v1.proto.TransferProto.ResumeTransferOperationRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + + public static com.google.storagetransfer.v1.proto.TransferProto.ResumeTransferOperationRequest + parseFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.storagetransfer.v1.proto.TransferProto.ResumeTransferOperationRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.storagetransfer.v1.proto.TransferProto.ResumeTransferOperationRequest + parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } - public static com.google.storagetransfer.v1.proto.TransferProto.ResumeTransferOperationRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + + public static com.google.storagetransfer.v1.proto.TransferProto.ResumeTransferOperationRequest + parseDelimitedFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.storagetransfer.v1.proto.TransferProto.ResumeTransferOperationRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.storagetransfer.v1.proto.TransferProto.ResumeTransferOperationRequest + parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } - public static com.google.storagetransfer.v1.proto.TransferProto.ResumeTransferOperationRequest parseFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + + public static com.google.storagetransfer.v1.proto.TransferProto.ResumeTransferOperationRequest + parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + 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.storagetransfer.v1.proto.TransferProto.ResumeTransferOperationRequest prototype) { + + public static Builder newBuilder( + com.google.storagetransfer.v1.proto.TransferProto.ResumeTransferOperationRequest + 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 @@ -7563,44 +8531,51 @@ protected Builder newBuilderForType( return builder; } /** + * + * *
      * Request passed to ResumeTransferOperation.
      * 
* * Protobuf type {@code google.storagetransfer.v1.ResumeTransferOperationRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder + extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.storagetransfer.v1.ResumeTransferOperationRequest) com.google.storagetransfer.v1.proto.TransferProto.ResumeTransferOperationRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.storagetransfer.v1.proto.TransferProto.internal_static_google_storagetransfer_v1_ResumeTransferOperationRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.storagetransfer.v1.proto.TransferProto + .internal_static_google_storagetransfer_v1_ResumeTransferOperationRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.storagetransfer.v1.proto.TransferProto.internal_static_google_storagetransfer_v1_ResumeTransferOperationRequest_fieldAccessorTable + return com.google.storagetransfer.v1.proto.TransferProto + .internal_static_google_storagetransfer_v1_ResumeTransferOperationRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.storagetransfer.v1.proto.TransferProto.ResumeTransferOperationRequest.class, com.google.storagetransfer.v1.proto.TransferProto.ResumeTransferOperationRequest.Builder.class); + com.google.storagetransfer.v1.proto.TransferProto.ResumeTransferOperationRequest + .class, + com.google.storagetransfer.v1.proto.TransferProto.ResumeTransferOperationRequest + .Builder.class); } - // Construct using com.google.storagetransfer.v1.proto.TransferProto.ResumeTransferOperationRequest.newBuilder() + // Construct using + // com.google.storagetransfer.v1.proto.TransferProto.ResumeTransferOperationRequest.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -7610,19 +8585,23 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.storagetransfer.v1.proto.TransferProto.internal_static_google_storagetransfer_v1_ResumeTransferOperationRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.storagetransfer.v1.proto.TransferProto + .internal_static_google_storagetransfer_v1_ResumeTransferOperationRequest_descriptor; } @java.lang.Override - public com.google.storagetransfer.v1.proto.TransferProto.ResumeTransferOperationRequest getDefaultInstanceForType() { - return com.google.storagetransfer.v1.proto.TransferProto.ResumeTransferOperationRequest.getDefaultInstance(); + public com.google.storagetransfer.v1.proto.TransferProto.ResumeTransferOperationRequest + getDefaultInstanceForType() { + return com.google.storagetransfer.v1.proto.TransferProto.ResumeTransferOperationRequest + .getDefaultInstance(); } @java.lang.Override - public com.google.storagetransfer.v1.proto.TransferProto.ResumeTransferOperationRequest build() { - com.google.storagetransfer.v1.proto.TransferProto.ResumeTransferOperationRequest result = buildPartial(); + public com.google.storagetransfer.v1.proto.TransferProto.ResumeTransferOperationRequest + build() { + com.google.storagetransfer.v1.proto.TransferProto.ResumeTransferOperationRequest result = + buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } @@ -7630,8 +8609,11 @@ public com.google.storagetransfer.v1.proto.TransferProto.ResumeTransferOperation } @java.lang.Override - public com.google.storagetransfer.v1.proto.TransferProto.ResumeTransferOperationRequest buildPartial() { - com.google.storagetransfer.v1.proto.TransferProto.ResumeTransferOperationRequest result = new com.google.storagetransfer.v1.proto.TransferProto.ResumeTransferOperationRequest(this); + public com.google.storagetransfer.v1.proto.TransferProto.ResumeTransferOperationRequest + buildPartial() { + com.google.storagetransfer.v1.proto.TransferProto.ResumeTransferOperationRequest result = + new com.google.storagetransfer.v1.proto.TransferProto.ResumeTransferOperationRequest( + this); result.name_ = name_; onBuilt(); return result; @@ -7641,46 +8623,56 @@ public com.google.storagetransfer.v1.proto.TransferProto.ResumeTransferOperation public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + int index, + java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { - if (other instanceof com.google.storagetransfer.v1.proto.TransferProto.ResumeTransferOperationRequest) { - return mergeFrom((com.google.storagetransfer.v1.proto.TransferProto.ResumeTransferOperationRequest)other); + if (other + instanceof + com.google.storagetransfer.v1.proto.TransferProto.ResumeTransferOperationRequest) { + return mergeFrom( + (com.google.storagetransfer.v1.proto.TransferProto.ResumeTransferOperationRequest) + other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.google.storagetransfer.v1.proto.TransferProto.ResumeTransferOperationRequest other) { - if (other == com.google.storagetransfer.v1.proto.TransferProto.ResumeTransferOperationRequest.getDefaultInstance()) return this; + public Builder mergeFrom( + com.google.storagetransfer.v1.proto.TransferProto.ResumeTransferOperationRequest other) { + if (other + == com.google.storagetransfer.v1.proto.TransferProto.ResumeTransferOperationRequest + .getDefaultInstance()) return this; if (!other.getName().isEmpty()) { name_ = other.name_; onChanged(); @@ -7700,11 +8692,14 @@ public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - com.google.storagetransfer.v1.proto.TransferProto.ResumeTransferOperationRequest parsedMessage = null; + com.google.storagetransfer.v1.proto.TransferProto.ResumeTransferOperationRequest + parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.storagetransfer.v1.proto.TransferProto.ResumeTransferOperationRequest) e.getUnfinishedMessage(); + parsedMessage = + (com.google.storagetransfer.v1.proto.TransferProto.ResumeTransferOperationRequest) + e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -7716,18 +8711,20 @@ public Builder mergeFrom( private java.lang.Object name_ = ""; /** + * + * *
        * Required. The name of the transfer operation.
        * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; 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(); name_ = s; return s; @@ -7736,20 +8733,21 @@ public java.lang.String getName() { } } /** + * + * *
        * Required. The name of the transfer operation.
        * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for name. */ - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; 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); name_ = b; return b; } else { @@ -7757,58 +8755,66 @@ public java.lang.String getName() { } } /** + * + * *
        * Required. The name of the transfer operation.
        * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName( - java.lang.String value) { + public Builder setName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** + * + * *
        * Required. The name of the transfer operation.
        * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** + * + * *
        * Required. The name of the transfer operation.
        * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes( - com.google.protobuf.ByteString value) { + public Builder setNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; } + @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -7821,30 +8827,34 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.storagetransfer.v1.ResumeTransferOperationRequest) } // @@protoc_insertion_point(class_scope:google.storagetransfer.v1.ResumeTransferOperationRequest) - private static final com.google.storagetransfer.v1.proto.TransferProto.ResumeTransferOperationRequest DEFAULT_INSTANCE; + private static final com.google.storagetransfer.v1.proto.TransferProto + .ResumeTransferOperationRequest + DEFAULT_INSTANCE; + static { - DEFAULT_INSTANCE = new com.google.storagetransfer.v1.proto.TransferProto.ResumeTransferOperationRequest(); + DEFAULT_INSTANCE = + new com.google.storagetransfer.v1.proto.TransferProto.ResumeTransferOperationRequest(); } - public static com.google.storagetransfer.v1.proto.TransferProto.ResumeTransferOperationRequest getDefaultInstance() { + public static com.google.storagetransfer.v1.proto.TransferProto.ResumeTransferOperationRequest + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ResumeTransferOperationRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ResumeTransferOperationRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ResumeTransferOperationRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ResumeTransferOperationRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -7856,74 +8866,88 @@ public com.google.protobuf.Parser getParserForTy } @java.lang.Override - public com.google.storagetransfer.v1.proto.TransferProto.ResumeTransferOperationRequest getDefaultInstanceForType() { + public com.google.storagetransfer.v1.proto.TransferProto.ResumeTransferOperationRequest + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - public interface RunTransferJobRequestOrBuilder extends + public interface RunTransferJobRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.storagetransfer.v1.RunTransferJobRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
      * Required. The name of the transfer job.
      * 
* * string job_name = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The jobName. */ java.lang.String getJobName(); /** + * + * *
      * Required. The name of the transfer job.
      * 
* * string job_name = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for jobName. */ - com.google.protobuf.ByteString - getJobNameBytes(); + com.google.protobuf.ByteString getJobNameBytes(); /** + * + * *
      * Required. The ID of the Google Cloud project that owns the transfer
      * job.
      * 
* * string project_id = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The projectId. */ java.lang.String getProjectId(); /** + * + * *
      * Required. The ID of the Google Cloud project that owns the transfer
      * job.
      * 
* * string project_id = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for projectId. */ - com.google.protobuf.ByteString - getProjectIdBytes(); + com.google.protobuf.ByteString getProjectIdBytes(); } /** + * + * *
    * Request passed to RunTransferJob.
    * 
* * Protobuf type {@code google.storagetransfer.v1.RunTransferJobRequest} */ - public static final class RunTransferJobRequest extends - com.google.protobuf.GeneratedMessageV3 implements + public static final class RunTransferJobRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.storagetransfer.v1.RunTransferJobRequest) RunTransferJobRequestOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use RunTransferJobRequest.newBuilder() to construct. private RunTransferJobRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private RunTransferJobRequest() { jobName_ = ""; projectId_ = ""; @@ -7931,16 +8955,15 @@ private RunTransferJobRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new RunTransferJobRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private RunTransferJobRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -7959,25 +8982,27 @@ private RunTransferJobRequest( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - jobName_ = s; - break; - } - case 18: { - java.lang.String s = input.readStringRequireUtf8(); + jobName_ = s; + break; + } + case 18: + { + java.lang.String s = input.readStringRequireUtf8(); - projectId_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + projectId_ = s; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -7985,34 +9010,40 @@ private RunTransferJobRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.storagetransfer.v1.proto.TransferProto.internal_static_google_storagetransfer_v1_RunTransferJobRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.storagetransfer.v1.proto.TransferProto + .internal_static_google_storagetransfer_v1_RunTransferJobRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.storagetransfer.v1.proto.TransferProto.internal_static_google_storagetransfer_v1_RunTransferJobRequest_fieldAccessorTable + return com.google.storagetransfer.v1.proto.TransferProto + .internal_static_google_storagetransfer_v1_RunTransferJobRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.storagetransfer.v1.proto.TransferProto.RunTransferJobRequest.class, com.google.storagetransfer.v1.proto.TransferProto.RunTransferJobRequest.Builder.class); + com.google.storagetransfer.v1.proto.TransferProto.RunTransferJobRequest.class, + com.google.storagetransfer.v1.proto.TransferProto.RunTransferJobRequest.Builder + .class); } public static final int JOB_NAME_FIELD_NUMBER = 1; private volatile java.lang.Object jobName_; /** + * + * *
      * Required. The name of the transfer job.
      * 
* * string job_name = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The jobName. */ @java.lang.Override @@ -8021,29 +9052,29 @@ public java.lang.String getJobName() { 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(); jobName_ = s; return s; } } /** + * + * *
      * Required. The name of the transfer job.
      * 
* * string job_name = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for jobName. */ @java.lang.Override - public com.google.protobuf.ByteString - getJobNameBytes() { + public com.google.protobuf.ByteString getJobNameBytes() { java.lang.Object ref = jobName_; 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); jobName_ = b; return b; } else { @@ -8054,12 +9085,15 @@ public java.lang.String getJobName() { public static final int PROJECT_ID_FIELD_NUMBER = 2; private volatile java.lang.Object projectId_; /** + * + * *
      * Required. The ID of the Google Cloud project that owns the transfer
      * job.
      * 
* * string project_id = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The projectId. */ @java.lang.Override @@ -8068,30 +9102,30 @@ public java.lang.String getProjectId() { 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(); projectId_ = s; return s; } } /** + * + * *
      * Required. The ID of the Google Cloud project that owns the transfer
      * job.
      * 
* * string project_id = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for projectId. */ @java.lang.Override - public com.google.protobuf.ByteString - getProjectIdBytes() { + public com.google.protobuf.ByteString getProjectIdBytes() { java.lang.Object ref = projectId_; 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); projectId_ = b; return b; } else { @@ -8100,6 +9134,7 @@ public java.lang.String getProjectId() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -8111,8 +9146,7 @@ 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 (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(jobName_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, jobName_); } @@ -8142,17 +9176,17 @@ 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.storagetransfer.v1.proto.TransferProto.RunTransferJobRequest)) { + if (!(obj + instanceof com.google.storagetransfer.v1.proto.TransferProto.RunTransferJobRequest)) { return super.equals(obj); } - com.google.storagetransfer.v1.proto.TransferProto.RunTransferJobRequest other = (com.google.storagetransfer.v1.proto.TransferProto.RunTransferJobRequest) obj; + com.google.storagetransfer.v1.proto.TransferProto.RunTransferJobRequest other = + (com.google.storagetransfer.v1.proto.TransferProto.RunTransferJobRequest) obj; - if (!getJobName() - .equals(other.getJobName())) return false; - if (!getProjectId() - .equals(other.getProjectId())) return false; + if (!getJobName().equals(other.getJobName())) return false; + if (!getProjectId().equals(other.getProjectId())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -8174,87 +9208,95 @@ public int hashCode() { } public static com.google.storagetransfer.v1.proto.TransferProto.RunTransferJobRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.storagetransfer.v1.proto.TransferProto.RunTransferJobRequest 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.storagetransfer.v1.proto.TransferProto.RunTransferJobRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.storagetransfer.v1.proto.TransferProto.RunTransferJobRequest 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.storagetransfer.v1.proto.TransferProto.RunTransferJobRequest parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.storagetransfer.v1.proto.TransferProto.RunTransferJobRequest parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.storagetransfer.v1.proto.TransferProto.RunTransferJobRequest 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.storagetransfer.v1.proto.TransferProto.RunTransferJobRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.storagetransfer.v1.proto.TransferProto.RunTransferJobRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.storagetransfer.v1.proto.TransferProto.RunTransferJobRequest 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.storagetransfer.v1.proto.TransferProto.RunTransferJobRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.storagetransfer.v1.proto.TransferProto.RunTransferJobRequest + parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } - public static com.google.storagetransfer.v1.proto.TransferProto.RunTransferJobRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + + public static com.google.storagetransfer.v1.proto.TransferProto.RunTransferJobRequest + parseDelimitedFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.storagetransfer.v1.proto.TransferProto.RunTransferJobRequest 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.storagetransfer.v1.proto.TransferProto.RunTransferJobRequest 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.storagetransfer.v1.proto.TransferProto.RunTransferJobRequest prototype) { + + public static Builder newBuilder( + com.google.storagetransfer.v1.proto.TransferProto.RunTransferJobRequest 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 @@ -8264,44 +9306,50 @@ protected Builder newBuilderForType( return builder; } /** + * + * *
      * Request passed to RunTransferJob.
      * 
* * Protobuf type {@code google.storagetransfer.v1.RunTransferJobRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder + extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.storagetransfer.v1.RunTransferJobRequest) com.google.storagetransfer.v1.proto.TransferProto.RunTransferJobRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.storagetransfer.v1.proto.TransferProto.internal_static_google_storagetransfer_v1_RunTransferJobRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.storagetransfer.v1.proto.TransferProto + .internal_static_google_storagetransfer_v1_RunTransferJobRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.storagetransfer.v1.proto.TransferProto.internal_static_google_storagetransfer_v1_RunTransferJobRequest_fieldAccessorTable + return com.google.storagetransfer.v1.proto.TransferProto + .internal_static_google_storagetransfer_v1_RunTransferJobRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.storagetransfer.v1.proto.TransferProto.RunTransferJobRequest.class, com.google.storagetransfer.v1.proto.TransferProto.RunTransferJobRequest.Builder.class); + com.google.storagetransfer.v1.proto.TransferProto.RunTransferJobRequest.class, + com.google.storagetransfer.v1.proto.TransferProto.RunTransferJobRequest.Builder + .class); } - // Construct using com.google.storagetransfer.v1.proto.TransferProto.RunTransferJobRequest.newBuilder() + // Construct using + // com.google.storagetransfer.v1.proto.TransferProto.RunTransferJobRequest.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -8313,19 +9361,22 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.storagetransfer.v1.proto.TransferProto.internal_static_google_storagetransfer_v1_RunTransferJobRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.storagetransfer.v1.proto.TransferProto + .internal_static_google_storagetransfer_v1_RunTransferJobRequest_descriptor; } @java.lang.Override - public com.google.storagetransfer.v1.proto.TransferProto.RunTransferJobRequest getDefaultInstanceForType() { - return com.google.storagetransfer.v1.proto.TransferProto.RunTransferJobRequest.getDefaultInstance(); + public com.google.storagetransfer.v1.proto.TransferProto.RunTransferJobRequest + getDefaultInstanceForType() { + return com.google.storagetransfer.v1.proto.TransferProto.RunTransferJobRequest + .getDefaultInstance(); } @java.lang.Override public com.google.storagetransfer.v1.proto.TransferProto.RunTransferJobRequest build() { - com.google.storagetransfer.v1.proto.TransferProto.RunTransferJobRequest result = buildPartial(); + com.google.storagetransfer.v1.proto.TransferProto.RunTransferJobRequest result = + buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } @@ -8333,8 +9384,10 @@ public com.google.storagetransfer.v1.proto.TransferProto.RunTransferJobRequest b } @java.lang.Override - public com.google.storagetransfer.v1.proto.TransferProto.RunTransferJobRequest buildPartial() { - com.google.storagetransfer.v1.proto.TransferProto.RunTransferJobRequest result = new com.google.storagetransfer.v1.proto.TransferProto.RunTransferJobRequest(this); + public com.google.storagetransfer.v1.proto.TransferProto.RunTransferJobRequest + buildPartial() { + com.google.storagetransfer.v1.proto.TransferProto.RunTransferJobRequest result = + new com.google.storagetransfer.v1.proto.TransferProto.RunTransferJobRequest(this); result.jobName_ = jobName_; result.projectId_ = projectId_; onBuilt(); @@ -8345,46 +9398,54 @@ public com.google.storagetransfer.v1.proto.TransferProto.RunTransferJobRequest b public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + int index, + java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { - if (other instanceof com.google.storagetransfer.v1.proto.TransferProto.RunTransferJobRequest) { - return mergeFrom((com.google.storagetransfer.v1.proto.TransferProto.RunTransferJobRequest)other); + if (other + instanceof com.google.storagetransfer.v1.proto.TransferProto.RunTransferJobRequest) { + return mergeFrom( + (com.google.storagetransfer.v1.proto.TransferProto.RunTransferJobRequest) other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.google.storagetransfer.v1.proto.TransferProto.RunTransferJobRequest other) { - if (other == com.google.storagetransfer.v1.proto.TransferProto.RunTransferJobRequest.getDefaultInstance()) return this; + public Builder mergeFrom( + com.google.storagetransfer.v1.proto.TransferProto.RunTransferJobRequest other) { + if (other + == com.google.storagetransfer.v1.proto.TransferProto.RunTransferJobRequest + .getDefaultInstance()) return this; if (!other.getJobName().isEmpty()) { jobName_ = other.jobName_; onChanged(); @@ -8408,11 +9469,14 @@ public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - com.google.storagetransfer.v1.proto.TransferProto.RunTransferJobRequest parsedMessage = null; + com.google.storagetransfer.v1.proto.TransferProto.RunTransferJobRequest parsedMessage = + null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.storagetransfer.v1.proto.TransferProto.RunTransferJobRequest) e.getUnfinishedMessage(); + parsedMessage = + (com.google.storagetransfer.v1.proto.TransferProto.RunTransferJobRequest) + e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -8424,18 +9488,20 @@ public Builder mergeFrom( private java.lang.Object jobName_ = ""; /** + * + * *
        * Required. The name of the transfer job.
        * 
* * string job_name = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The jobName. */ public java.lang.String getJobName() { java.lang.Object ref = jobName_; 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(); jobName_ = s; return s; @@ -8444,20 +9510,21 @@ public java.lang.String getJobName() { } } /** + * + * *
        * Required. The name of the transfer job.
        * 
* * string job_name = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for jobName. */ - public com.google.protobuf.ByteString - getJobNameBytes() { + public com.google.protobuf.ByteString getJobNameBytes() { java.lang.Object ref = jobName_; 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); jobName_ = b; return b; } else { @@ -8465,54 +9532,61 @@ public java.lang.String getJobName() { } } /** + * + * *
        * Required. The name of the transfer job.
        * 
* * string job_name = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The jobName to set. * @return This builder for chaining. */ - public Builder setJobName( - java.lang.String value) { + public Builder setJobName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + jobName_ = value; onChanged(); return this; } /** + * + * *
        * Required. The name of the transfer job.
        * 
* * string job_name = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return This builder for chaining. */ public Builder clearJobName() { - + jobName_ = getDefaultInstance().getJobName(); onChanged(); return this; } /** + * + * *
        * Required. The name of the transfer job.
        * 
* * string job_name = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The bytes for jobName to set. * @return This builder for chaining. */ - public Builder setJobNameBytes( - com.google.protobuf.ByteString value) { + public Builder setJobNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + jobName_ = value; onChanged(); return this; @@ -8520,19 +9594,21 @@ public Builder setJobNameBytes( private java.lang.Object projectId_ = ""; /** + * + * *
        * Required. The ID of the Google Cloud project that owns the transfer
        * job.
        * 
* * string project_id = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The projectId. */ public java.lang.String getProjectId() { java.lang.Object ref = projectId_; 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(); projectId_ = s; return s; @@ -8541,21 +9617,22 @@ public java.lang.String getProjectId() { } } /** + * + * *
        * Required. The ID of the Google Cloud project that owns the transfer
        * job.
        * 
* * string project_id = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for projectId. */ - public com.google.protobuf.ByteString - getProjectIdBytes() { + public com.google.protobuf.ByteString getProjectIdBytes() { java.lang.Object ref = projectId_; 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); projectId_ = b; return b; } else { @@ -8563,61 +9640,69 @@ public java.lang.String getProjectId() { } } /** + * + * *
        * Required. The ID of the Google Cloud project that owns the transfer
        * job.
        * 
* * string project_id = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The projectId to set. * @return This builder for chaining. */ - public Builder setProjectId( - java.lang.String value) { + public Builder setProjectId(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + projectId_ = value; onChanged(); return this; } /** + * + * *
        * Required. The ID of the Google Cloud project that owns the transfer
        * job.
        * 
* * string project_id = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return This builder for chaining. */ public Builder clearProjectId() { - + projectId_ = getDefaultInstance().getProjectId(); onChanged(); return this; } /** + * + * *
        * Required. The ID of the Google Cloud project that owns the transfer
        * job.
        * 
* * string project_id = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The bytes for projectId to set. * @return This builder for chaining. */ - public Builder setProjectIdBytes( - com.google.protobuf.ByteString value) { + public Builder setProjectIdBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + projectId_ = value; onChanged(); return this; } + @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -8630,30 +9715,33 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.storagetransfer.v1.RunTransferJobRequest) } // @@protoc_insertion_point(class_scope:google.storagetransfer.v1.RunTransferJobRequest) - private static final com.google.storagetransfer.v1.proto.TransferProto.RunTransferJobRequest DEFAULT_INSTANCE; + private static final com.google.storagetransfer.v1.proto.TransferProto.RunTransferJobRequest + DEFAULT_INSTANCE; + static { - DEFAULT_INSTANCE = new com.google.storagetransfer.v1.proto.TransferProto.RunTransferJobRequest(); + DEFAULT_INSTANCE = + new com.google.storagetransfer.v1.proto.TransferProto.RunTransferJobRequest(); } - public static com.google.storagetransfer.v1.proto.TransferProto.RunTransferJobRequest getDefaultInstance() { + public static com.google.storagetransfer.v1.proto.TransferProto.RunTransferJobRequest + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public RunTransferJobRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new RunTransferJobRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public RunTransferJobRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new RunTransferJobRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -8665,66 +9753,88 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.storagetransfer.v1.proto.TransferProto.RunTransferJobRequest getDefaultInstanceForType() { + public com.google.storagetransfer.v1.proto.TransferProto.RunTransferJobRequest + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - public interface CreateAgentPoolRequestOrBuilder extends + public interface CreateAgentPoolRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.storagetransfer.v1.CreateAgentPoolRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
      * Required. The ID of the Google Cloud project that owns the
      * agent pool.
      * 
* * string project_id = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The projectId. */ java.lang.String getProjectId(); /** + * + * *
      * Required. The ID of the Google Cloud project that owns the
      * agent pool.
      * 
* * string project_id = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for projectId. */ - com.google.protobuf.ByteString - getProjectIdBytes(); + com.google.protobuf.ByteString getProjectIdBytes(); /** + * + * *
      * Required. The agent pool to create.
      * 
* - * .google.storagetransfer.v1.AgentPool agent_pool = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.storagetransfer.v1.AgentPool agent_pool = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the agentPool field is set. */ boolean hasAgentPool(); /** + * + * *
      * Required. The agent pool to create.
      * 
* - * .google.storagetransfer.v1.AgentPool agent_pool = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.storagetransfer.v1.AgentPool agent_pool = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The agentPool. */ com.google.storagetransfer.v1.proto.TransferTypes.AgentPool getAgentPool(); /** + * + * *
      * Required. The agent pool to create.
      * 
* - * .google.storagetransfer.v1.AgentPool agent_pool = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.storagetransfer.v1.AgentPool agent_pool = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ com.google.storagetransfer.v1.proto.TransferTypes.AgentPoolOrBuilder getAgentPoolOrBuilder(); /** + * + * *
      * Required. The ID of the agent pool to create.
      * The `agent_pool_id` must meet the following requirements:
@@ -8739,10 +9849,13 @@ public interface CreateAgentPoolRequestOrBuilder extends
      * 
* * string agent_pool_id = 3 [(.google.api.field_behavior) = REQUIRED]; + * * @return The agentPoolId. */ java.lang.String getAgentPoolId(); /** + * + * *
      * Required. The ID of the agent pool to create.
      * The `agent_pool_id` must meet the following requirements:
@@ -8757,27 +9870,30 @@ public interface CreateAgentPoolRequestOrBuilder extends
      * 
* * string agent_pool_id = 3 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for agentPoolId. */ - com.google.protobuf.ByteString - getAgentPoolIdBytes(); + com.google.protobuf.ByteString getAgentPoolIdBytes(); } /** + * + * *
    * Specifies the request passed to CreateAgentPool.
    * 
* * Protobuf type {@code google.storagetransfer.v1.CreateAgentPoolRequest} */ - public static final class CreateAgentPoolRequest extends - com.google.protobuf.GeneratedMessageV3 implements + public static final class CreateAgentPoolRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.storagetransfer.v1.CreateAgentPoolRequest) CreateAgentPoolRequestOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use CreateAgentPoolRequest.newBuilder() to construct. private CreateAgentPoolRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private CreateAgentPoolRequest() { projectId_ = ""; agentPoolId_ = ""; @@ -8785,16 +9901,15 @@ private CreateAgentPoolRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new CreateAgentPoolRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private CreateAgentPoolRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -8813,38 +9928,45 @@ private CreateAgentPoolRequest( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - projectId_ = s; - break; - } - case 18: { - com.google.storagetransfer.v1.proto.TransferTypes.AgentPool.Builder subBuilder = null; - if (agentPool_ != null) { - subBuilder = agentPool_.toBuilder(); + projectId_ = s; + break; } - agentPool_ = input.readMessage(com.google.storagetransfer.v1.proto.TransferTypes.AgentPool.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(agentPool_); - agentPool_ = subBuilder.buildPartial(); + case 18: + { + com.google.storagetransfer.v1.proto.TransferTypes.AgentPool.Builder subBuilder = + null; + if (agentPool_ != null) { + subBuilder = agentPool_.toBuilder(); + } + agentPool_ = + input.readMessage( + com.google.storagetransfer.v1.proto.TransferTypes.AgentPool.parser(), + extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(agentPool_); + agentPool_ = subBuilder.buildPartial(); + } + + break; } + case 26: + { + java.lang.String s = input.readStringRequireUtf8(); - break; - } - case 26: { - java.lang.String s = input.readStringRequireUtf8(); - - agentPoolId_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + agentPoolId_ = s; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -8852,35 +9974,41 @@ private CreateAgentPoolRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.storagetransfer.v1.proto.TransferProto.internal_static_google_storagetransfer_v1_CreateAgentPoolRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.storagetransfer.v1.proto.TransferProto + .internal_static_google_storagetransfer_v1_CreateAgentPoolRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.storagetransfer.v1.proto.TransferProto.internal_static_google_storagetransfer_v1_CreateAgentPoolRequest_fieldAccessorTable + return com.google.storagetransfer.v1.proto.TransferProto + .internal_static_google_storagetransfer_v1_CreateAgentPoolRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.storagetransfer.v1.proto.TransferProto.CreateAgentPoolRequest.class, com.google.storagetransfer.v1.proto.TransferProto.CreateAgentPoolRequest.Builder.class); + com.google.storagetransfer.v1.proto.TransferProto.CreateAgentPoolRequest.class, + com.google.storagetransfer.v1.proto.TransferProto.CreateAgentPoolRequest.Builder + .class); } public static final int PROJECT_ID_FIELD_NUMBER = 1; private volatile java.lang.Object projectId_; /** + * + * *
      * Required. The ID of the Google Cloud project that owns the
      * agent pool.
      * 
* * string project_id = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The projectId. */ @java.lang.Override @@ -8889,30 +10017,30 @@ public java.lang.String getProjectId() { 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(); projectId_ = s; return s; } } /** + * + * *
      * Required. The ID of the Google Cloud project that owns the
      * agent pool.
      * 
* * string project_id = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for projectId. */ @java.lang.Override - public com.google.protobuf.ByteString - getProjectIdBytes() { + public com.google.protobuf.ByteString getProjectIdBytes() { java.lang.Object ref = projectId_; 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); projectId_ = b; return b; } else { @@ -8923,11 +10051,16 @@ public java.lang.String getProjectId() { public static final int AGENT_POOL_FIELD_NUMBER = 2; private com.google.storagetransfer.v1.proto.TransferTypes.AgentPool agentPool_; /** + * + * *
      * Required. The agent pool to create.
      * 
* - * .google.storagetransfer.v1.AgentPool agent_pool = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.storagetransfer.v1.AgentPool agent_pool = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the agentPool field is set. */ @java.lang.Override @@ -8935,32 +10068,46 @@ public boolean hasAgentPool() { return agentPool_ != null; } /** + * + * *
      * Required. The agent pool to create.
      * 
* - * .google.storagetransfer.v1.AgentPool agent_pool = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.storagetransfer.v1.AgentPool agent_pool = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The agentPool. */ @java.lang.Override public com.google.storagetransfer.v1.proto.TransferTypes.AgentPool getAgentPool() { - return agentPool_ == null ? com.google.storagetransfer.v1.proto.TransferTypes.AgentPool.getDefaultInstance() : agentPool_; + return agentPool_ == null + ? com.google.storagetransfer.v1.proto.TransferTypes.AgentPool.getDefaultInstance() + : agentPool_; } /** + * + * *
      * Required. The agent pool to create.
      * 
* - * .google.storagetransfer.v1.AgentPool agent_pool = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.storagetransfer.v1.AgentPool agent_pool = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ @java.lang.Override - public com.google.storagetransfer.v1.proto.TransferTypes.AgentPoolOrBuilder getAgentPoolOrBuilder() { + public com.google.storagetransfer.v1.proto.TransferTypes.AgentPoolOrBuilder + getAgentPoolOrBuilder() { return getAgentPool(); } public static final int AGENT_POOL_ID_FIELD_NUMBER = 3; private volatile java.lang.Object agentPoolId_; /** + * + * *
      * Required. The ID of the agent pool to create.
      * The `agent_pool_id` must meet the following requirements:
@@ -8975,6 +10122,7 @@ public com.google.storagetransfer.v1.proto.TransferTypes.AgentPoolOrBuilder getA
      * 
* * string agent_pool_id = 3 [(.google.api.field_behavior) = REQUIRED]; + * * @return The agentPoolId. */ @java.lang.Override @@ -8983,14 +10131,15 @@ public java.lang.String getAgentPoolId() { 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(); agentPoolId_ = s; return s; } } /** + * + * *
      * Required. The ID of the agent pool to create.
      * The `agent_pool_id` must meet the following requirements:
@@ -9005,16 +10154,15 @@ public java.lang.String getAgentPoolId() {
      * 
* * string agent_pool_id = 3 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for agentPoolId. */ @java.lang.Override - public com.google.protobuf.ByteString - getAgentPoolIdBytes() { + public com.google.protobuf.ByteString getAgentPoolIdBytes() { java.lang.Object ref = agentPoolId_; 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); agentPoolId_ = b; return b; } else { @@ -9023,6 +10171,7 @@ public java.lang.String getAgentPoolId() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -9034,8 +10183,7 @@ 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 (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(projectId_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, projectId_); } @@ -9058,8 +10206,7 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, projectId_); } if (agentPool_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(2, getAgentPool()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getAgentPool()); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(agentPoolId_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, agentPoolId_); @@ -9072,22 +10219,21 @@ 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.storagetransfer.v1.proto.TransferProto.CreateAgentPoolRequest)) { + if (!(obj + instanceof com.google.storagetransfer.v1.proto.TransferProto.CreateAgentPoolRequest)) { return super.equals(obj); } - com.google.storagetransfer.v1.proto.TransferProto.CreateAgentPoolRequest other = (com.google.storagetransfer.v1.proto.TransferProto.CreateAgentPoolRequest) obj; + com.google.storagetransfer.v1.proto.TransferProto.CreateAgentPoolRequest other = + (com.google.storagetransfer.v1.proto.TransferProto.CreateAgentPoolRequest) obj; - if (!getProjectId() - .equals(other.getProjectId())) return false; + if (!getProjectId().equals(other.getProjectId())) return false; if (hasAgentPool() != other.hasAgentPool()) return false; if (hasAgentPool()) { - if (!getAgentPool() - .equals(other.getAgentPool())) return false; + if (!getAgentPool().equals(other.getAgentPool())) return false; } - if (!getAgentPoolId() - .equals(other.getAgentPoolId())) return false; + if (!getAgentPoolId().equals(other.getAgentPoolId())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -9112,88 +10258,101 @@ public int hashCode() { return hash; } - public static com.google.storagetransfer.v1.proto.TransferProto.CreateAgentPoolRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.storagetransfer.v1.proto.TransferProto.CreateAgentPoolRequest + parseFrom(java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.storagetransfer.v1.proto.TransferProto.CreateAgentPoolRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.storagetransfer.v1.proto.TransferProto.CreateAgentPoolRequest + parseFrom( + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.storagetransfer.v1.proto.TransferProto.CreateAgentPoolRequest parseFrom( - com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.storagetransfer.v1.proto.TransferProto.CreateAgentPoolRequest + parseFrom(com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.storagetransfer.v1.proto.TransferProto.CreateAgentPoolRequest parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.storagetransfer.v1.proto.TransferProto.CreateAgentPoolRequest + 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.storagetransfer.v1.proto.TransferProto.CreateAgentPoolRequest parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.storagetransfer.v1.proto.TransferProto.CreateAgentPoolRequest + parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.storagetransfer.v1.proto.TransferProto.CreateAgentPoolRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.storagetransfer.v1.proto.TransferProto.CreateAgentPoolRequest + parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.storagetransfer.v1.proto.TransferProto.CreateAgentPoolRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.storagetransfer.v1.proto.TransferProto.CreateAgentPoolRequest + parseFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } - public static com.google.storagetransfer.v1.proto.TransferProto.CreateAgentPoolRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + + public static com.google.storagetransfer.v1.proto.TransferProto.CreateAgentPoolRequest + parseFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.storagetransfer.v1.proto.TransferProto.CreateAgentPoolRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.storagetransfer.v1.proto.TransferProto.CreateAgentPoolRequest + parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } - public static com.google.storagetransfer.v1.proto.TransferProto.CreateAgentPoolRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + + public static com.google.storagetransfer.v1.proto.TransferProto.CreateAgentPoolRequest + parseDelimitedFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.storagetransfer.v1.proto.TransferProto.CreateAgentPoolRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.storagetransfer.v1.proto.TransferProto.CreateAgentPoolRequest + parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } - public static com.google.storagetransfer.v1.proto.TransferProto.CreateAgentPoolRequest parseFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + + public static com.google.storagetransfer.v1.proto.TransferProto.CreateAgentPoolRequest + parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + 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.storagetransfer.v1.proto.TransferProto.CreateAgentPoolRequest prototype) { + + public static Builder newBuilder( + com.google.storagetransfer.v1.proto.TransferProto.CreateAgentPoolRequest 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 @@ -9203,44 +10362,50 @@ protected Builder newBuilderForType( return builder; } /** + * + * *
      * Specifies the request passed to CreateAgentPool.
      * 
* * Protobuf type {@code google.storagetransfer.v1.CreateAgentPoolRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder + extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.storagetransfer.v1.CreateAgentPoolRequest) com.google.storagetransfer.v1.proto.TransferProto.CreateAgentPoolRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.storagetransfer.v1.proto.TransferProto.internal_static_google_storagetransfer_v1_CreateAgentPoolRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.storagetransfer.v1.proto.TransferProto + .internal_static_google_storagetransfer_v1_CreateAgentPoolRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.storagetransfer.v1.proto.TransferProto.internal_static_google_storagetransfer_v1_CreateAgentPoolRequest_fieldAccessorTable + return com.google.storagetransfer.v1.proto.TransferProto + .internal_static_google_storagetransfer_v1_CreateAgentPoolRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.storagetransfer.v1.proto.TransferProto.CreateAgentPoolRequest.class, com.google.storagetransfer.v1.proto.TransferProto.CreateAgentPoolRequest.Builder.class); + com.google.storagetransfer.v1.proto.TransferProto.CreateAgentPoolRequest.class, + com.google.storagetransfer.v1.proto.TransferProto.CreateAgentPoolRequest.Builder + .class); } - // Construct using com.google.storagetransfer.v1.proto.TransferProto.CreateAgentPoolRequest.newBuilder() + // Construct using + // com.google.storagetransfer.v1.proto.TransferProto.CreateAgentPoolRequest.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -9258,19 +10423,22 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.storagetransfer.v1.proto.TransferProto.internal_static_google_storagetransfer_v1_CreateAgentPoolRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.storagetransfer.v1.proto.TransferProto + .internal_static_google_storagetransfer_v1_CreateAgentPoolRequest_descriptor; } @java.lang.Override - public com.google.storagetransfer.v1.proto.TransferProto.CreateAgentPoolRequest getDefaultInstanceForType() { - return com.google.storagetransfer.v1.proto.TransferProto.CreateAgentPoolRequest.getDefaultInstance(); + public com.google.storagetransfer.v1.proto.TransferProto.CreateAgentPoolRequest + getDefaultInstanceForType() { + return com.google.storagetransfer.v1.proto.TransferProto.CreateAgentPoolRequest + .getDefaultInstance(); } @java.lang.Override public com.google.storagetransfer.v1.proto.TransferProto.CreateAgentPoolRequest build() { - com.google.storagetransfer.v1.proto.TransferProto.CreateAgentPoolRequest result = buildPartial(); + com.google.storagetransfer.v1.proto.TransferProto.CreateAgentPoolRequest result = + buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } @@ -9278,8 +10446,10 @@ public com.google.storagetransfer.v1.proto.TransferProto.CreateAgentPoolRequest } @java.lang.Override - public com.google.storagetransfer.v1.proto.TransferProto.CreateAgentPoolRequest buildPartial() { - com.google.storagetransfer.v1.proto.TransferProto.CreateAgentPoolRequest result = new com.google.storagetransfer.v1.proto.TransferProto.CreateAgentPoolRequest(this); + public com.google.storagetransfer.v1.proto.TransferProto.CreateAgentPoolRequest + buildPartial() { + com.google.storagetransfer.v1.proto.TransferProto.CreateAgentPoolRequest result = + new com.google.storagetransfer.v1.proto.TransferProto.CreateAgentPoolRequest(this); result.projectId_ = projectId_; if (agentPoolBuilder_ == null) { result.agentPool_ = agentPool_; @@ -9295,46 +10465,54 @@ public com.google.storagetransfer.v1.proto.TransferProto.CreateAgentPoolRequest public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + int index, + java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { - if (other instanceof com.google.storagetransfer.v1.proto.TransferProto.CreateAgentPoolRequest) { - return mergeFrom((com.google.storagetransfer.v1.proto.TransferProto.CreateAgentPoolRequest)other); + if (other + instanceof com.google.storagetransfer.v1.proto.TransferProto.CreateAgentPoolRequest) { + return mergeFrom( + (com.google.storagetransfer.v1.proto.TransferProto.CreateAgentPoolRequest) other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.google.storagetransfer.v1.proto.TransferProto.CreateAgentPoolRequest other) { - if (other == com.google.storagetransfer.v1.proto.TransferProto.CreateAgentPoolRequest.getDefaultInstance()) return this; + public Builder mergeFrom( + com.google.storagetransfer.v1.proto.TransferProto.CreateAgentPoolRequest other) { + if (other + == com.google.storagetransfer.v1.proto.TransferProto.CreateAgentPoolRequest + .getDefaultInstance()) return this; if (!other.getProjectId().isEmpty()) { projectId_ = other.projectId_; onChanged(); @@ -9361,11 +10539,14 @@ public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - com.google.storagetransfer.v1.proto.TransferProto.CreateAgentPoolRequest parsedMessage = null; + com.google.storagetransfer.v1.proto.TransferProto.CreateAgentPoolRequest parsedMessage = + null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.storagetransfer.v1.proto.TransferProto.CreateAgentPoolRequest) e.getUnfinishedMessage(); + parsedMessage = + (com.google.storagetransfer.v1.proto.TransferProto.CreateAgentPoolRequest) + e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -9377,19 +10558,21 @@ public Builder mergeFrom( private java.lang.Object projectId_ = ""; /** + * + * *
        * Required. The ID of the Google Cloud project that owns the
        * agent pool.
        * 
* * string project_id = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The projectId. */ public java.lang.String getProjectId() { java.lang.Object ref = projectId_; 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(); projectId_ = s; return s; @@ -9398,21 +10581,22 @@ public java.lang.String getProjectId() { } } /** + * + * *
        * Required. The ID of the Google Cloud project that owns the
        * agent pool.
        * 
* * string project_id = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for projectId. */ - public com.google.protobuf.ByteString - getProjectIdBytes() { + public com.google.protobuf.ByteString getProjectIdBytes() { java.lang.Object ref = projectId_; 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); projectId_ = b; return b; } else { @@ -9420,57 +10604,64 @@ public java.lang.String getProjectId() { } } /** + * + * *
        * Required. The ID of the Google Cloud project that owns the
        * agent pool.
        * 
* * string project_id = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The projectId to set. * @return This builder for chaining. */ - public Builder setProjectId( - java.lang.String value) { + public Builder setProjectId(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + projectId_ = value; onChanged(); return this; } /** + * + * *
        * Required. The ID of the Google Cloud project that owns the
        * agent pool.
        * 
* * string project_id = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return This builder for chaining. */ public Builder clearProjectId() { - + projectId_ = getDefaultInstance().getProjectId(); onChanged(); return this; } /** + * + * *
        * Required. The ID of the Google Cloud project that owns the
        * agent pool.
        * 
* * string project_id = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The bytes for projectId to set. * @return This builder for chaining. */ - public Builder setProjectIdBytes( - com.google.protobuf.ByteString value) { + public Builder setProjectIdBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + projectId_ = value; onChanged(); return this; @@ -9478,41 +10669,61 @@ public Builder setProjectIdBytes( private com.google.storagetransfer.v1.proto.TransferTypes.AgentPool agentPool_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.storagetransfer.v1.proto.TransferTypes.AgentPool, com.google.storagetransfer.v1.proto.TransferTypes.AgentPool.Builder, com.google.storagetransfer.v1.proto.TransferTypes.AgentPoolOrBuilder> agentPoolBuilder_; + com.google.storagetransfer.v1.proto.TransferTypes.AgentPool, + com.google.storagetransfer.v1.proto.TransferTypes.AgentPool.Builder, + com.google.storagetransfer.v1.proto.TransferTypes.AgentPoolOrBuilder> + agentPoolBuilder_; /** + * + * *
        * Required. The agent pool to create.
        * 
* - * .google.storagetransfer.v1.AgentPool agent_pool = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.storagetransfer.v1.AgentPool agent_pool = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the agentPool field is set. */ public boolean hasAgentPool() { return agentPoolBuilder_ != null || agentPool_ != null; } /** + * + * *
        * Required. The agent pool to create.
        * 
* - * .google.storagetransfer.v1.AgentPool agent_pool = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.storagetransfer.v1.AgentPool agent_pool = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The agentPool. */ public com.google.storagetransfer.v1.proto.TransferTypes.AgentPool getAgentPool() { if (agentPoolBuilder_ == null) { - return agentPool_ == null ? com.google.storagetransfer.v1.proto.TransferTypes.AgentPool.getDefaultInstance() : agentPool_; + return agentPool_ == null + ? com.google.storagetransfer.v1.proto.TransferTypes.AgentPool.getDefaultInstance() + : agentPool_; } else { return agentPoolBuilder_.getMessage(); } } /** + * + * *
        * Required. The agent pool to create.
        * 
* - * .google.storagetransfer.v1.AgentPool agent_pool = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.storagetransfer.v1.AgentPool agent_pool = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ - public Builder setAgentPool(com.google.storagetransfer.v1.proto.TransferTypes.AgentPool value) { + public Builder setAgentPool( + com.google.storagetransfer.v1.proto.TransferTypes.AgentPool value) { if (agentPoolBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -9526,11 +10737,15 @@ public Builder setAgentPool(com.google.storagetransfer.v1.proto.TransferTypes.Ag return this; } /** + * + * *
        * Required. The agent pool to create.
        * 
* - * .google.storagetransfer.v1.AgentPool agent_pool = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.storagetransfer.v1.AgentPool agent_pool = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder setAgentPool( com.google.storagetransfer.v1.proto.TransferTypes.AgentPool.Builder builderForValue) { @@ -9544,17 +10759,24 @@ public Builder setAgentPool( return this; } /** + * + * *
        * Required. The agent pool to create.
        * 
* - * .google.storagetransfer.v1.AgentPool agent_pool = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.storagetransfer.v1.AgentPool agent_pool = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ - public Builder mergeAgentPool(com.google.storagetransfer.v1.proto.TransferTypes.AgentPool value) { + public Builder mergeAgentPool( + com.google.storagetransfer.v1.proto.TransferTypes.AgentPool value) { if (agentPoolBuilder_ == null) { if (agentPool_ != null) { agentPool_ = - com.google.storagetransfer.v1.proto.TransferTypes.AgentPool.newBuilder(agentPool_).mergeFrom(value).buildPartial(); + com.google.storagetransfer.v1.proto.TransferTypes.AgentPool.newBuilder(agentPool_) + .mergeFrom(value) + .buildPartial(); } else { agentPool_ = value; } @@ -9566,11 +10788,15 @@ public Builder mergeAgentPool(com.google.storagetransfer.v1.proto.TransferTypes. return this; } /** + * + * *
        * Required. The agent pool to create.
        * 
* - * .google.storagetransfer.v1.AgentPool agent_pool = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.storagetransfer.v1.AgentPool agent_pool = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder clearAgentPool() { if (agentPoolBuilder_ == null) { @@ -9584,48 +10810,66 @@ public Builder clearAgentPool() { return this; } /** + * + * *
        * Required. The agent pool to create.
        * 
* - * .google.storagetransfer.v1.AgentPool agent_pool = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.storagetransfer.v1.AgentPool agent_pool = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ - public com.google.storagetransfer.v1.proto.TransferTypes.AgentPool.Builder getAgentPoolBuilder() { - + public com.google.storagetransfer.v1.proto.TransferTypes.AgentPool.Builder + getAgentPoolBuilder() { + onChanged(); return getAgentPoolFieldBuilder().getBuilder(); } /** + * + * *
        * Required. The agent pool to create.
        * 
* - * .google.storagetransfer.v1.AgentPool agent_pool = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.storagetransfer.v1.AgentPool agent_pool = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ - public com.google.storagetransfer.v1.proto.TransferTypes.AgentPoolOrBuilder getAgentPoolOrBuilder() { + public com.google.storagetransfer.v1.proto.TransferTypes.AgentPoolOrBuilder + getAgentPoolOrBuilder() { if (agentPoolBuilder_ != null) { return agentPoolBuilder_.getMessageOrBuilder(); } else { - return agentPool_ == null ? - com.google.storagetransfer.v1.proto.TransferTypes.AgentPool.getDefaultInstance() : agentPool_; + return agentPool_ == null + ? com.google.storagetransfer.v1.proto.TransferTypes.AgentPool.getDefaultInstance() + : agentPool_; } } /** + * + * *
        * Required. The agent pool to create.
        * 
* - * .google.storagetransfer.v1.AgentPool agent_pool = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.storagetransfer.v1.AgentPool agent_pool = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.storagetransfer.v1.proto.TransferTypes.AgentPool, com.google.storagetransfer.v1.proto.TransferTypes.AgentPool.Builder, com.google.storagetransfer.v1.proto.TransferTypes.AgentPoolOrBuilder> + com.google.storagetransfer.v1.proto.TransferTypes.AgentPool, + com.google.storagetransfer.v1.proto.TransferTypes.AgentPool.Builder, + com.google.storagetransfer.v1.proto.TransferTypes.AgentPoolOrBuilder> getAgentPoolFieldBuilder() { if (agentPoolBuilder_ == null) { - agentPoolBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.storagetransfer.v1.proto.TransferTypes.AgentPool, com.google.storagetransfer.v1.proto.TransferTypes.AgentPool.Builder, com.google.storagetransfer.v1.proto.TransferTypes.AgentPoolOrBuilder>( - getAgentPool(), - getParentForChildren(), - isClean()); + agentPoolBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.storagetransfer.v1.proto.TransferTypes.AgentPool, + com.google.storagetransfer.v1.proto.TransferTypes.AgentPool.Builder, + com.google.storagetransfer.v1.proto.TransferTypes.AgentPoolOrBuilder>( + getAgentPool(), getParentForChildren(), isClean()); agentPool_ = null; } return agentPoolBuilder_; @@ -9633,6 +10877,8 @@ public com.google.storagetransfer.v1.proto.TransferTypes.AgentPoolOrBuilder getA private java.lang.Object agentPoolId_ = ""; /** + * + * *
        * Required. The ID of the agent pool to create.
        * The `agent_pool_id` must meet the following requirements:
@@ -9647,13 +10893,13 @@ public com.google.storagetransfer.v1.proto.TransferTypes.AgentPoolOrBuilder getA
        * 
* * string agent_pool_id = 3 [(.google.api.field_behavior) = REQUIRED]; + * * @return The agentPoolId. */ public java.lang.String getAgentPoolId() { java.lang.Object ref = agentPoolId_; 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(); agentPoolId_ = s; return s; @@ -9662,6 +10908,8 @@ public java.lang.String getAgentPoolId() { } } /** + * + * *
        * Required. The ID of the agent pool to create.
        * The `agent_pool_id` must meet the following requirements:
@@ -9676,15 +10924,14 @@ public java.lang.String getAgentPoolId() {
        * 
* * string agent_pool_id = 3 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for agentPoolId. */ - public com.google.protobuf.ByteString - getAgentPoolIdBytes() { + public com.google.protobuf.ByteString getAgentPoolIdBytes() { java.lang.Object ref = agentPoolId_; 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); agentPoolId_ = b; return b; } else { @@ -9692,6 +10939,8 @@ public java.lang.String getAgentPoolId() { } } /** + * + * *
        * Required. The ID of the agent pool to create.
        * The `agent_pool_id` must meet the following requirements:
@@ -9706,20 +10955,22 @@ public java.lang.String getAgentPoolId() {
        * 
* * string agent_pool_id = 3 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The agentPoolId to set. * @return This builder for chaining. */ - public Builder setAgentPoolId( - java.lang.String value) { + public Builder setAgentPoolId(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + agentPoolId_ = value; onChanged(); return this; } /** + * + * *
        * Required. The ID of the agent pool to create.
        * The `agent_pool_id` must meet the following requirements:
@@ -9734,15 +10985,18 @@ public Builder setAgentPoolId(
        * 
* * string agent_pool_id = 3 [(.google.api.field_behavior) = REQUIRED]; + * * @return This builder for chaining. */ public Builder clearAgentPoolId() { - + agentPoolId_ = getDefaultInstance().getAgentPoolId(); onChanged(); return this; } /** + * + * *
        * Required. The ID of the agent pool to create.
        * The `agent_pool_id` must meet the following requirements:
@@ -9757,20 +11011,21 @@ public Builder clearAgentPoolId() {
        * 
* * string agent_pool_id = 3 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The bytes for agentPoolId to set. * @return This builder for chaining. */ - public Builder setAgentPoolIdBytes( - com.google.protobuf.ByteString value) { + public Builder setAgentPoolIdBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + agentPoolId_ = value; onChanged(); return this; } + @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -9783,30 +11038,33 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.storagetransfer.v1.CreateAgentPoolRequest) } // @@protoc_insertion_point(class_scope:google.storagetransfer.v1.CreateAgentPoolRequest) - private static final com.google.storagetransfer.v1.proto.TransferProto.CreateAgentPoolRequest DEFAULT_INSTANCE; + private static final com.google.storagetransfer.v1.proto.TransferProto.CreateAgentPoolRequest + DEFAULT_INSTANCE; + static { - DEFAULT_INSTANCE = new com.google.storagetransfer.v1.proto.TransferProto.CreateAgentPoolRequest(); + DEFAULT_INSTANCE = + new com.google.storagetransfer.v1.proto.TransferProto.CreateAgentPoolRequest(); } - public static com.google.storagetransfer.v1.proto.TransferProto.CreateAgentPoolRequest getDefaultInstance() { + public static com.google.storagetransfer.v1.proto.TransferProto.CreateAgentPoolRequest + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public CreateAgentPoolRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new CreateAgentPoolRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public CreateAgentPoolRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new CreateAgentPoolRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -9818,17 +11076,20 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.storagetransfer.v1.proto.TransferProto.CreateAgentPoolRequest getDefaultInstanceForType() { + public com.google.storagetransfer.v1.proto.TransferProto.CreateAgentPoolRequest + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - public interface UpdateAgentPoolRequestOrBuilder extends + public interface UpdateAgentPoolRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.storagetransfer.v1.UpdateAgentPoolRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
      * Required. The agent pool to update. `agent_pool` is expected to specify following
      * fields:
@@ -9839,11 +11100,16 @@ public interface UpdateAgentPoolRequestOrBuilder extends
      * with the error [INVALID_ARGUMENT][google.rpc.Code.INVALID_ARGUMENT].
      * 
* - * .google.storagetransfer.v1.AgentPool agent_pool = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.storagetransfer.v1.AgentPool agent_pool = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the agentPool field is set. */ boolean hasAgentPool(); /** + * + * *
      * Required. The agent pool to update. `agent_pool` is expected to specify following
      * fields:
@@ -9854,11 +11120,16 @@ public interface UpdateAgentPoolRequestOrBuilder extends
      * with the error [INVALID_ARGUMENT][google.rpc.Code.INVALID_ARGUMENT].
      * 
* - * .google.storagetransfer.v1.AgentPool agent_pool = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.storagetransfer.v1.AgentPool agent_pool = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The agentPool. */ com.google.storagetransfer.v1.proto.TransferTypes.AgentPool getAgentPool(); /** + * + * *
      * Required. The agent pool to update. `agent_pool` is expected to specify following
      * fields:
@@ -9869,11 +11140,15 @@ public interface UpdateAgentPoolRequestOrBuilder extends
      * with the error [INVALID_ARGUMENT][google.rpc.Code.INVALID_ARGUMENT].
      * 
* - * .google.storagetransfer.v1.AgentPool agent_pool = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.storagetransfer.v1.AgentPool agent_pool = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ com.google.storagetransfer.v1.proto.TransferTypes.AgentPoolOrBuilder getAgentPoolOrBuilder(); /** + * + * *
      * The [field mask]
      * (https://developers.google.com/protocol-buffers/docs/reference/google.protobuf)
@@ -9884,10 +11159,13 @@ public interface UpdateAgentPoolRequestOrBuilder extends
      * 
* * .google.protobuf.FieldMask update_mask = 2; + * * @return Whether the updateMask field is set. */ boolean hasUpdateMask(); /** + * + * *
      * The [field mask]
      * (https://developers.google.com/protocol-buffers/docs/reference/google.protobuf)
@@ -9898,10 +11176,13 @@ public interface UpdateAgentPoolRequestOrBuilder extends
      * 
* * .google.protobuf.FieldMask update_mask = 2; + * * @return The updateMask. */ com.google.protobuf.FieldMask getUpdateMask(); /** + * + * *
      * The [field mask]
      * (https://developers.google.com/protocol-buffers/docs/reference/google.protobuf)
@@ -9916,36 +11197,37 @@ public interface UpdateAgentPoolRequestOrBuilder extends
     com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder();
   }
   /**
+   *
+   *
    * 
    * Specifies the request passed to UpdateAgentPool.
    * 
* * Protobuf type {@code google.storagetransfer.v1.UpdateAgentPoolRequest} */ - public static final class UpdateAgentPoolRequest extends - com.google.protobuf.GeneratedMessageV3 implements + public static final class UpdateAgentPoolRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.storagetransfer.v1.UpdateAgentPoolRequest) UpdateAgentPoolRequestOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use UpdateAgentPoolRequest.newBuilder() to construct. private UpdateAgentPoolRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private UpdateAgentPoolRequest() { - } + + private UpdateAgentPoolRequest() {} @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new UpdateAgentPoolRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private UpdateAgentPoolRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -9964,39 +11246,46 @@ private UpdateAgentPoolRequest( case 0: done = true; break; - case 10: { - com.google.storagetransfer.v1.proto.TransferTypes.AgentPool.Builder subBuilder = null; - if (agentPool_ != null) { - subBuilder = agentPool_.toBuilder(); - } - agentPool_ = input.readMessage(com.google.storagetransfer.v1.proto.TransferTypes.AgentPool.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(agentPool_); - agentPool_ = subBuilder.buildPartial(); - } - - break; - } - case 18: { - com.google.protobuf.FieldMask.Builder subBuilder = null; - if (updateMask_ != null) { - subBuilder = updateMask_.toBuilder(); + case 10: + { + com.google.storagetransfer.v1.proto.TransferTypes.AgentPool.Builder subBuilder = + null; + if (agentPool_ != null) { + subBuilder = agentPool_.toBuilder(); + } + agentPool_ = + input.readMessage( + com.google.storagetransfer.v1.proto.TransferTypes.AgentPool.parser(), + extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(agentPool_); + agentPool_ = subBuilder.buildPartial(); + } + + break; } - updateMask_ = input.readMessage(com.google.protobuf.FieldMask.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(updateMask_); - updateMask_ = subBuilder.buildPartial(); + case 18: + { + com.google.protobuf.FieldMask.Builder subBuilder = null; + if (updateMask_ != null) { + subBuilder = updateMask_.toBuilder(); + } + updateMask_ = + input.readMessage(com.google.protobuf.FieldMask.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(updateMask_); + updateMask_ = subBuilder.buildPartial(); + } + + break; } - - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -10004,29 +11293,34 @@ private UpdateAgentPoolRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.storagetransfer.v1.proto.TransferProto.internal_static_google_storagetransfer_v1_UpdateAgentPoolRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.storagetransfer.v1.proto.TransferProto + .internal_static_google_storagetransfer_v1_UpdateAgentPoolRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.storagetransfer.v1.proto.TransferProto.internal_static_google_storagetransfer_v1_UpdateAgentPoolRequest_fieldAccessorTable + return com.google.storagetransfer.v1.proto.TransferProto + .internal_static_google_storagetransfer_v1_UpdateAgentPoolRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.storagetransfer.v1.proto.TransferProto.UpdateAgentPoolRequest.class, com.google.storagetransfer.v1.proto.TransferProto.UpdateAgentPoolRequest.Builder.class); + com.google.storagetransfer.v1.proto.TransferProto.UpdateAgentPoolRequest.class, + com.google.storagetransfer.v1.proto.TransferProto.UpdateAgentPoolRequest.Builder + .class); } public static final int AGENT_POOL_FIELD_NUMBER = 1; private com.google.storagetransfer.v1.proto.TransferTypes.AgentPool agentPool_; /** + * + * *
      * Required. The agent pool to update. `agent_pool` is expected to specify following
      * fields:
@@ -10037,7 +11331,10 @@ private UpdateAgentPoolRequest(
      * with the error [INVALID_ARGUMENT][google.rpc.Code.INVALID_ARGUMENT].
      * 
* - * .google.storagetransfer.v1.AgentPool agent_pool = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.storagetransfer.v1.AgentPool agent_pool = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the agentPool field is set. */ @java.lang.Override @@ -10045,6 +11342,8 @@ public boolean hasAgentPool() { return agentPool_ != null; } /** + * + * *
      * Required. The agent pool to update. `agent_pool` is expected to specify following
      * fields:
@@ -10055,14 +11354,21 @@ public boolean hasAgentPool() {
      * with the error [INVALID_ARGUMENT][google.rpc.Code.INVALID_ARGUMENT].
      * 
* - * .google.storagetransfer.v1.AgentPool agent_pool = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.storagetransfer.v1.AgentPool agent_pool = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The agentPool. */ @java.lang.Override public com.google.storagetransfer.v1.proto.TransferTypes.AgentPool getAgentPool() { - return agentPool_ == null ? com.google.storagetransfer.v1.proto.TransferTypes.AgentPool.getDefaultInstance() : agentPool_; + return agentPool_ == null + ? com.google.storagetransfer.v1.proto.TransferTypes.AgentPool.getDefaultInstance() + : agentPool_; } /** + * + * *
      * Required. The agent pool to update. `agent_pool` is expected to specify following
      * fields:
@@ -10073,16 +11379,21 @@ public com.google.storagetransfer.v1.proto.TransferTypes.AgentPool getAgentPool(
      * with the error [INVALID_ARGUMENT][google.rpc.Code.INVALID_ARGUMENT].
      * 
* - * .google.storagetransfer.v1.AgentPool agent_pool = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.storagetransfer.v1.AgentPool agent_pool = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ @java.lang.Override - public com.google.storagetransfer.v1.proto.TransferTypes.AgentPoolOrBuilder getAgentPoolOrBuilder() { + public com.google.storagetransfer.v1.proto.TransferTypes.AgentPoolOrBuilder + getAgentPoolOrBuilder() { return getAgentPool(); } public static final int UPDATE_MASK_FIELD_NUMBER = 2; private com.google.protobuf.FieldMask updateMask_; /** + * + * *
      * The [field mask]
      * (https://developers.google.com/protocol-buffers/docs/reference/google.protobuf)
@@ -10093,6 +11404,7 @@ public com.google.storagetransfer.v1.proto.TransferTypes.AgentPoolOrBuilder getA
      * 
* * .google.protobuf.FieldMask update_mask = 2; + * * @return Whether the updateMask field is set. */ @java.lang.Override @@ -10100,6 +11412,8 @@ public boolean hasUpdateMask() { return updateMask_ != null; } /** + * + * *
      * The [field mask]
      * (https://developers.google.com/protocol-buffers/docs/reference/google.protobuf)
@@ -10110,6 +11424,7 @@ public boolean hasUpdateMask() {
      * 
* * .google.protobuf.FieldMask update_mask = 2; + * * @return The updateMask. */ @java.lang.Override @@ -10117,6 +11432,8 @@ public com.google.protobuf.FieldMask getUpdateMask() { return updateMask_ == null ? com.google.protobuf.FieldMask.getDefaultInstance() : updateMask_; } /** + * + * *
      * The [field mask]
      * (https://developers.google.com/protocol-buffers/docs/reference/google.protobuf)
@@ -10134,6 +11451,7 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() {
     }
 
     private byte memoizedIsInitialized = -1;
+
     @java.lang.Override
     public final boolean isInitialized() {
       byte isInitialized = memoizedIsInitialized;
@@ -10145,8 +11463,7 @@ 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 (agentPool_ != null) {
         output.writeMessage(1, getAgentPool());
       }
@@ -10163,12 +11480,10 @@ public int getSerializedSize() {
 
       size = 0;
       if (agentPool_ != null) {
-        size += com.google.protobuf.CodedOutputStream
-          .computeMessageSize(1, getAgentPool());
+        size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getAgentPool());
       }
       if (updateMask_ != null) {
-        size += com.google.protobuf.CodedOutputStream
-          .computeMessageSize(2, getUpdateMask());
+        size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getUpdateMask());
       }
       size += unknownFields.getSerializedSize();
       memoizedSize = size;
@@ -10178,22 +11493,22 @@ 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.storagetransfer.v1.proto.TransferProto.UpdateAgentPoolRequest)) {
+      if (!(obj
+          instanceof com.google.storagetransfer.v1.proto.TransferProto.UpdateAgentPoolRequest)) {
         return super.equals(obj);
       }
-      com.google.storagetransfer.v1.proto.TransferProto.UpdateAgentPoolRequest other = (com.google.storagetransfer.v1.proto.TransferProto.UpdateAgentPoolRequest) obj;
+      com.google.storagetransfer.v1.proto.TransferProto.UpdateAgentPoolRequest other =
+          (com.google.storagetransfer.v1.proto.TransferProto.UpdateAgentPoolRequest) obj;
 
       if (hasAgentPool() != other.hasAgentPool()) return false;
       if (hasAgentPool()) {
-        if (!getAgentPool()
-            .equals(other.getAgentPool())) return false;
+        if (!getAgentPool().equals(other.getAgentPool())) return false;
       }
       if (hasUpdateMask() != other.hasUpdateMask()) return false;
       if (hasUpdateMask()) {
-        if (!getUpdateMask()
-            .equals(other.getUpdateMask())) return false;
+        if (!getUpdateMask().equals(other.getUpdateMask())) return false;
       }
       if (!unknownFields.equals(other.unknownFields)) return false;
       return true;
@@ -10219,88 +11534,101 @@ public int hashCode() {
       return hash;
     }
 
-    public static com.google.storagetransfer.v1.proto.TransferProto.UpdateAgentPoolRequest parseFrom(
-        java.nio.ByteBuffer data)
-        throws com.google.protobuf.InvalidProtocolBufferException {
+    public static com.google.storagetransfer.v1.proto.TransferProto.UpdateAgentPoolRequest
+        parseFrom(java.nio.ByteBuffer data)
+            throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data);
     }
-    public static com.google.storagetransfer.v1.proto.TransferProto.UpdateAgentPoolRequest parseFrom(
-        java.nio.ByteBuffer data,
-        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-        throws com.google.protobuf.InvalidProtocolBufferException {
+
+    public static com.google.storagetransfer.v1.proto.TransferProto.UpdateAgentPoolRequest
+        parseFrom(
+            java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+            throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data, extensionRegistry);
     }
-    public static com.google.storagetransfer.v1.proto.TransferProto.UpdateAgentPoolRequest parseFrom(
-        com.google.protobuf.ByteString data)
-        throws com.google.protobuf.InvalidProtocolBufferException {
+
+    public static com.google.storagetransfer.v1.proto.TransferProto.UpdateAgentPoolRequest
+        parseFrom(com.google.protobuf.ByteString data)
+            throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data);
     }
-    public static com.google.storagetransfer.v1.proto.TransferProto.UpdateAgentPoolRequest parseFrom(
-        com.google.protobuf.ByteString data,
-        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-        throws com.google.protobuf.InvalidProtocolBufferException {
+
+    public static com.google.storagetransfer.v1.proto.TransferProto.UpdateAgentPoolRequest
+        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.storagetransfer.v1.proto.TransferProto.UpdateAgentPoolRequest parseFrom(byte[] data)
-        throws com.google.protobuf.InvalidProtocolBufferException {
+
+    public static com.google.storagetransfer.v1.proto.TransferProto.UpdateAgentPoolRequest
+        parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data);
     }
-    public static com.google.storagetransfer.v1.proto.TransferProto.UpdateAgentPoolRequest parseFrom(
-        byte[] data,
-        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-        throws com.google.protobuf.InvalidProtocolBufferException {
+
+    public static com.google.storagetransfer.v1.proto.TransferProto.UpdateAgentPoolRequest
+        parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+            throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data, extensionRegistry);
     }
-    public static com.google.storagetransfer.v1.proto.TransferProto.UpdateAgentPoolRequest parseFrom(java.io.InputStream input)
-        throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3
-          .parseWithIOException(PARSER, input);
+
+    public static com.google.storagetransfer.v1.proto.TransferProto.UpdateAgentPoolRequest
+        parseFrom(java.io.InputStream input) throws java.io.IOException {
+      return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
     }
-    public static com.google.storagetransfer.v1.proto.TransferProto.UpdateAgentPoolRequest parseFrom(
-        java.io.InputStream input,
-        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-        throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3
-          .parseWithIOException(PARSER, input, extensionRegistry);
+
+    public static com.google.storagetransfer.v1.proto.TransferProto.UpdateAgentPoolRequest
+        parseFrom(
+            java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+            throws java.io.IOException {
+      return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
+          PARSER, input, extensionRegistry);
     }
-    public static com.google.storagetransfer.v1.proto.TransferProto.UpdateAgentPoolRequest parseDelimitedFrom(java.io.InputStream input)
-        throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3
-          .parseDelimitedWithIOException(PARSER, input);
+
+    public static com.google.storagetransfer.v1.proto.TransferProto.UpdateAgentPoolRequest
+        parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException {
+      return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
     }
-    public static com.google.storagetransfer.v1.proto.TransferProto.UpdateAgentPoolRequest parseDelimitedFrom(
-        java.io.InputStream input,
-        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-        throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3
-          .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
+
+    public static com.google.storagetransfer.v1.proto.TransferProto.UpdateAgentPoolRequest
+        parseDelimitedFrom(
+            java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+            throws java.io.IOException {
+      return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(
+          PARSER, input, extensionRegistry);
     }
-    public static com.google.storagetransfer.v1.proto.TransferProto.UpdateAgentPoolRequest parseFrom(
-        com.google.protobuf.CodedInputStream input)
-        throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3
-          .parseWithIOException(PARSER, input);
+
+    public static com.google.storagetransfer.v1.proto.TransferProto.UpdateAgentPoolRequest
+        parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException {
+      return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
     }
-    public static com.google.storagetransfer.v1.proto.TransferProto.UpdateAgentPoolRequest parseFrom(
-        com.google.protobuf.CodedInputStream input,
-        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-        throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3
-          .parseWithIOException(PARSER, input, extensionRegistry);
+
+    public static com.google.storagetransfer.v1.proto.TransferProto.UpdateAgentPoolRequest
+        parseFrom(
+            com.google.protobuf.CodedInputStream input,
+            com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+            throws java.io.IOException {
+      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.storagetransfer.v1.proto.TransferProto.UpdateAgentPoolRequest prototype) {
+
+    public static Builder newBuilder(
+        com.google.storagetransfer.v1.proto.TransferProto.UpdateAgentPoolRequest 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
@@ -10310,44 +11638,50 @@ protected Builder newBuilderForType(
       return builder;
     }
     /**
+     *
+     *
      * 
      * Specifies the request passed to UpdateAgentPool.
      * 
* * Protobuf type {@code google.storagetransfer.v1.UpdateAgentPoolRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder + extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.storagetransfer.v1.UpdateAgentPoolRequest) com.google.storagetransfer.v1.proto.TransferProto.UpdateAgentPoolRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.storagetransfer.v1.proto.TransferProto.internal_static_google_storagetransfer_v1_UpdateAgentPoolRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.storagetransfer.v1.proto.TransferProto + .internal_static_google_storagetransfer_v1_UpdateAgentPoolRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.storagetransfer.v1.proto.TransferProto.internal_static_google_storagetransfer_v1_UpdateAgentPoolRequest_fieldAccessorTable + return com.google.storagetransfer.v1.proto.TransferProto + .internal_static_google_storagetransfer_v1_UpdateAgentPoolRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.storagetransfer.v1.proto.TransferProto.UpdateAgentPoolRequest.class, com.google.storagetransfer.v1.proto.TransferProto.UpdateAgentPoolRequest.Builder.class); + com.google.storagetransfer.v1.proto.TransferProto.UpdateAgentPoolRequest.class, + com.google.storagetransfer.v1.proto.TransferProto.UpdateAgentPoolRequest.Builder + .class); } - // Construct using com.google.storagetransfer.v1.proto.TransferProto.UpdateAgentPoolRequest.newBuilder() + // Construct using + // com.google.storagetransfer.v1.proto.TransferProto.UpdateAgentPoolRequest.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -10367,19 +11701,22 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.storagetransfer.v1.proto.TransferProto.internal_static_google_storagetransfer_v1_UpdateAgentPoolRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.storagetransfer.v1.proto.TransferProto + .internal_static_google_storagetransfer_v1_UpdateAgentPoolRequest_descriptor; } @java.lang.Override - public com.google.storagetransfer.v1.proto.TransferProto.UpdateAgentPoolRequest getDefaultInstanceForType() { - return com.google.storagetransfer.v1.proto.TransferProto.UpdateAgentPoolRequest.getDefaultInstance(); + public com.google.storagetransfer.v1.proto.TransferProto.UpdateAgentPoolRequest + getDefaultInstanceForType() { + return com.google.storagetransfer.v1.proto.TransferProto.UpdateAgentPoolRequest + .getDefaultInstance(); } @java.lang.Override public com.google.storagetransfer.v1.proto.TransferProto.UpdateAgentPoolRequest build() { - com.google.storagetransfer.v1.proto.TransferProto.UpdateAgentPoolRequest result = buildPartial(); + com.google.storagetransfer.v1.proto.TransferProto.UpdateAgentPoolRequest result = + buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } @@ -10387,8 +11724,10 @@ public com.google.storagetransfer.v1.proto.TransferProto.UpdateAgentPoolRequest } @java.lang.Override - public com.google.storagetransfer.v1.proto.TransferProto.UpdateAgentPoolRequest buildPartial() { - com.google.storagetransfer.v1.proto.TransferProto.UpdateAgentPoolRequest result = new com.google.storagetransfer.v1.proto.TransferProto.UpdateAgentPoolRequest(this); + public com.google.storagetransfer.v1.proto.TransferProto.UpdateAgentPoolRequest + buildPartial() { + com.google.storagetransfer.v1.proto.TransferProto.UpdateAgentPoolRequest result = + new com.google.storagetransfer.v1.proto.TransferProto.UpdateAgentPoolRequest(this); if (agentPoolBuilder_ == null) { result.agentPool_ = agentPool_; } else { @@ -10407,46 +11746,54 @@ public com.google.storagetransfer.v1.proto.TransferProto.UpdateAgentPoolRequest public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + int index, + java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { - if (other instanceof com.google.storagetransfer.v1.proto.TransferProto.UpdateAgentPoolRequest) { - return mergeFrom((com.google.storagetransfer.v1.proto.TransferProto.UpdateAgentPoolRequest)other); + if (other + instanceof com.google.storagetransfer.v1.proto.TransferProto.UpdateAgentPoolRequest) { + return mergeFrom( + (com.google.storagetransfer.v1.proto.TransferProto.UpdateAgentPoolRequest) other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.google.storagetransfer.v1.proto.TransferProto.UpdateAgentPoolRequest other) { - if (other == com.google.storagetransfer.v1.proto.TransferProto.UpdateAgentPoolRequest.getDefaultInstance()) return this; + public Builder mergeFrom( + com.google.storagetransfer.v1.proto.TransferProto.UpdateAgentPoolRequest other) { + if (other + == com.google.storagetransfer.v1.proto.TransferProto.UpdateAgentPoolRequest + .getDefaultInstance()) return this; if (other.hasAgentPool()) { mergeAgentPool(other.getAgentPool()); } @@ -10468,11 +11815,14 @@ public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - com.google.storagetransfer.v1.proto.TransferProto.UpdateAgentPoolRequest parsedMessage = null; + com.google.storagetransfer.v1.proto.TransferProto.UpdateAgentPoolRequest parsedMessage = + null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.storagetransfer.v1.proto.TransferProto.UpdateAgentPoolRequest) e.getUnfinishedMessage(); + parsedMessage = + (com.google.storagetransfer.v1.proto.TransferProto.UpdateAgentPoolRequest) + e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -10484,8 +11834,13 @@ public Builder mergeFrom( private com.google.storagetransfer.v1.proto.TransferTypes.AgentPool agentPool_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.storagetransfer.v1.proto.TransferTypes.AgentPool, com.google.storagetransfer.v1.proto.TransferTypes.AgentPool.Builder, com.google.storagetransfer.v1.proto.TransferTypes.AgentPoolOrBuilder> agentPoolBuilder_; + com.google.storagetransfer.v1.proto.TransferTypes.AgentPool, + com.google.storagetransfer.v1.proto.TransferTypes.AgentPool.Builder, + com.google.storagetransfer.v1.proto.TransferTypes.AgentPoolOrBuilder> + agentPoolBuilder_; /** + * + * *
        * Required. The agent pool to update. `agent_pool` is expected to specify following
        * fields:
@@ -10496,13 +11851,18 @@ public Builder mergeFrom(
        * with the error [INVALID_ARGUMENT][google.rpc.Code.INVALID_ARGUMENT].
        * 
* - * .google.storagetransfer.v1.AgentPool agent_pool = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.storagetransfer.v1.AgentPool agent_pool = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the agentPool field is set. */ public boolean hasAgentPool() { return agentPoolBuilder_ != null || agentPool_ != null; } /** + * + * *
        * Required. The agent pool to update. `agent_pool` is expected to specify following
        * fields:
@@ -10513,17 +11873,24 @@ public boolean hasAgentPool() {
        * with the error [INVALID_ARGUMENT][google.rpc.Code.INVALID_ARGUMENT].
        * 
* - * .google.storagetransfer.v1.AgentPool agent_pool = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.storagetransfer.v1.AgentPool agent_pool = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The agentPool. */ public com.google.storagetransfer.v1.proto.TransferTypes.AgentPool getAgentPool() { if (agentPoolBuilder_ == null) { - return agentPool_ == null ? com.google.storagetransfer.v1.proto.TransferTypes.AgentPool.getDefaultInstance() : agentPool_; + return agentPool_ == null + ? com.google.storagetransfer.v1.proto.TransferTypes.AgentPool.getDefaultInstance() + : agentPool_; } else { return agentPoolBuilder_.getMessage(); } } /** + * + * *
        * Required. The agent pool to update. `agent_pool` is expected to specify following
        * fields:
@@ -10534,9 +11901,12 @@ public com.google.storagetransfer.v1.proto.TransferTypes.AgentPool getAgentPool(
        * with the error [INVALID_ARGUMENT][google.rpc.Code.INVALID_ARGUMENT].
        * 
* - * .google.storagetransfer.v1.AgentPool agent_pool = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.storagetransfer.v1.AgentPool agent_pool = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ - public Builder setAgentPool(com.google.storagetransfer.v1.proto.TransferTypes.AgentPool value) { + public Builder setAgentPool( + com.google.storagetransfer.v1.proto.TransferTypes.AgentPool value) { if (agentPoolBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -10550,6 +11920,8 @@ public Builder setAgentPool(com.google.storagetransfer.v1.proto.TransferTypes.Ag return this; } /** + * + * *
        * Required. The agent pool to update. `agent_pool` is expected to specify following
        * fields:
@@ -10560,7 +11932,9 @@ public Builder setAgentPool(com.google.storagetransfer.v1.proto.TransferTypes.Ag
        * with the error [INVALID_ARGUMENT][google.rpc.Code.INVALID_ARGUMENT].
        * 
* - * .google.storagetransfer.v1.AgentPool agent_pool = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.storagetransfer.v1.AgentPool agent_pool = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder setAgentPool( com.google.storagetransfer.v1.proto.TransferTypes.AgentPool.Builder builderForValue) { @@ -10574,6 +11948,8 @@ public Builder setAgentPool( return this; } /** + * + * *
        * Required. The agent pool to update. `agent_pool` is expected to specify following
        * fields:
@@ -10584,13 +11960,18 @@ public Builder setAgentPool(
        * with the error [INVALID_ARGUMENT][google.rpc.Code.INVALID_ARGUMENT].
        * 
* - * .google.storagetransfer.v1.AgentPool agent_pool = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.storagetransfer.v1.AgentPool agent_pool = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ - public Builder mergeAgentPool(com.google.storagetransfer.v1.proto.TransferTypes.AgentPool value) { + public Builder mergeAgentPool( + com.google.storagetransfer.v1.proto.TransferTypes.AgentPool value) { if (agentPoolBuilder_ == null) { if (agentPool_ != null) { agentPool_ = - com.google.storagetransfer.v1.proto.TransferTypes.AgentPool.newBuilder(agentPool_).mergeFrom(value).buildPartial(); + com.google.storagetransfer.v1.proto.TransferTypes.AgentPool.newBuilder(agentPool_) + .mergeFrom(value) + .buildPartial(); } else { agentPool_ = value; } @@ -10602,6 +11983,8 @@ public Builder mergeAgentPool(com.google.storagetransfer.v1.proto.TransferTypes. return this; } /** + * + * *
        * Required. The agent pool to update. `agent_pool` is expected to specify following
        * fields:
@@ -10612,7 +11995,9 @@ public Builder mergeAgentPool(com.google.storagetransfer.v1.proto.TransferTypes.
        * with the error [INVALID_ARGUMENT][google.rpc.Code.INVALID_ARGUMENT].
        * 
* - * .google.storagetransfer.v1.AgentPool agent_pool = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.storagetransfer.v1.AgentPool agent_pool = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder clearAgentPool() { if (agentPoolBuilder_ == null) { @@ -10626,6 +12011,8 @@ public Builder clearAgentPool() { return this; } /** + * + * *
        * Required. The agent pool to update. `agent_pool` is expected to specify following
        * fields:
@@ -10636,14 +12023,19 @@ public Builder clearAgentPool() {
        * with the error [INVALID_ARGUMENT][google.rpc.Code.INVALID_ARGUMENT].
        * 
* - * .google.storagetransfer.v1.AgentPool agent_pool = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.storagetransfer.v1.AgentPool agent_pool = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ - public com.google.storagetransfer.v1.proto.TransferTypes.AgentPool.Builder getAgentPoolBuilder() { - + public com.google.storagetransfer.v1.proto.TransferTypes.AgentPool.Builder + getAgentPoolBuilder() { + onChanged(); return getAgentPoolFieldBuilder().getBuilder(); } /** + * + * *
        * Required. The agent pool to update. `agent_pool` is expected to specify following
        * fields:
@@ -10654,17 +12046,23 @@ public com.google.storagetransfer.v1.proto.TransferTypes.AgentPool.Builder getAg
        * with the error [INVALID_ARGUMENT][google.rpc.Code.INVALID_ARGUMENT].
        * 
* - * .google.storagetransfer.v1.AgentPool agent_pool = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.storagetransfer.v1.AgentPool agent_pool = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ - public com.google.storagetransfer.v1.proto.TransferTypes.AgentPoolOrBuilder getAgentPoolOrBuilder() { + public com.google.storagetransfer.v1.proto.TransferTypes.AgentPoolOrBuilder + getAgentPoolOrBuilder() { if (agentPoolBuilder_ != null) { return agentPoolBuilder_.getMessageOrBuilder(); } else { - return agentPool_ == null ? - com.google.storagetransfer.v1.proto.TransferTypes.AgentPool.getDefaultInstance() : agentPool_; + return agentPool_ == null + ? com.google.storagetransfer.v1.proto.TransferTypes.AgentPool.getDefaultInstance() + : agentPool_; } } /** + * + * *
        * Required. The agent pool to update. `agent_pool` is expected to specify following
        * fields:
@@ -10675,17 +12073,22 @@ public com.google.storagetransfer.v1.proto.TransferTypes.AgentPoolOrBuilder getA
        * with the error [INVALID_ARGUMENT][google.rpc.Code.INVALID_ARGUMENT].
        * 
* - * .google.storagetransfer.v1.AgentPool agent_pool = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.storagetransfer.v1.AgentPool agent_pool = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.storagetransfer.v1.proto.TransferTypes.AgentPool, com.google.storagetransfer.v1.proto.TransferTypes.AgentPool.Builder, com.google.storagetransfer.v1.proto.TransferTypes.AgentPoolOrBuilder> + com.google.storagetransfer.v1.proto.TransferTypes.AgentPool, + com.google.storagetransfer.v1.proto.TransferTypes.AgentPool.Builder, + com.google.storagetransfer.v1.proto.TransferTypes.AgentPoolOrBuilder> getAgentPoolFieldBuilder() { if (agentPoolBuilder_ == null) { - agentPoolBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.storagetransfer.v1.proto.TransferTypes.AgentPool, com.google.storagetransfer.v1.proto.TransferTypes.AgentPool.Builder, com.google.storagetransfer.v1.proto.TransferTypes.AgentPoolOrBuilder>( - getAgentPool(), - getParentForChildren(), - isClean()); + agentPoolBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.storagetransfer.v1.proto.TransferTypes.AgentPool, + com.google.storagetransfer.v1.proto.TransferTypes.AgentPool.Builder, + com.google.storagetransfer.v1.proto.TransferTypes.AgentPoolOrBuilder>( + getAgentPool(), getParentForChildren(), isClean()); agentPool_ = null; } return agentPoolBuilder_; @@ -10693,8 +12096,13 @@ public com.google.storagetransfer.v1.proto.TransferTypes.AgentPoolOrBuilder getA private com.google.protobuf.FieldMask updateMask_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.FieldMask, com.google.protobuf.FieldMask.Builder, com.google.protobuf.FieldMaskOrBuilder> updateMaskBuilder_; + com.google.protobuf.FieldMask, + com.google.protobuf.FieldMask.Builder, + com.google.protobuf.FieldMaskOrBuilder> + updateMaskBuilder_; /** + * + * *
        * The [field mask]
        * (https://developers.google.com/protocol-buffers/docs/reference/google.protobuf)
@@ -10705,12 +12113,15 @@ public com.google.storagetransfer.v1.proto.TransferTypes.AgentPoolOrBuilder getA
        * 
* * .google.protobuf.FieldMask update_mask = 2; + * * @return Whether the updateMask field is set. */ public boolean hasUpdateMask() { return updateMaskBuilder_ != null || updateMask_ != null; } /** + * + * *
        * The [field mask]
        * (https://developers.google.com/protocol-buffers/docs/reference/google.protobuf)
@@ -10721,16 +12132,21 @@ public boolean hasUpdateMask() {
        * 
* * .google.protobuf.FieldMask update_mask = 2; + * * @return The updateMask. */ public com.google.protobuf.FieldMask getUpdateMask() { if (updateMaskBuilder_ == null) { - return updateMask_ == null ? com.google.protobuf.FieldMask.getDefaultInstance() : updateMask_; + return updateMask_ == null + ? com.google.protobuf.FieldMask.getDefaultInstance() + : updateMask_; } else { return updateMaskBuilder_.getMessage(); } } /** + * + * *
        * The [field mask]
        * (https://developers.google.com/protocol-buffers/docs/reference/google.protobuf)
@@ -10756,6 +12172,8 @@ public Builder setUpdateMask(com.google.protobuf.FieldMask value) {
         return this;
       }
       /**
+       *
+       *
        * 
        * The [field mask]
        * (https://developers.google.com/protocol-buffers/docs/reference/google.protobuf)
@@ -10767,8 +12185,7 @@ public Builder setUpdateMask(com.google.protobuf.FieldMask value) {
        *
        * .google.protobuf.FieldMask update_mask = 2;
        */
-      public Builder setUpdateMask(
-          com.google.protobuf.FieldMask.Builder builderForValue) {
+      public Builder setUpdateMask(com.google.protobuf.FieldMask.Builder builderForValue) {
         if (updateMaskBuilder_ == null) {
           updateMask_ = builderForValue.build();
           onChanged();
@@ -10779,6 +12196,8 @@ public Builder setUpdateMask(
         return this;
       }
       /**
+       *
+       *
        * 
        * The [field mask]
        * (https://developers.google.com/protocol-buffers/docs/reference/google.protobuf)
@@ -10794,7 +12213,9 @@ public Builder mergeUpdateMask(com.google.protobuf.FieldMask value) {
         if (updateMaskBuilder_ == null) {
           if (updateMask_ != null) {
             updateMask_ =
-              com.google.protobuf.FieldMask.newBuilder(updateMask_).mergeFrom(value).buildPartial();
+                com.google.protobuf.FieldMask.newBuilder(updateMask_)
+                    .mergeFrom(value)
+                    .buildPartial();
           } else {
             updateMask_ = value;
           }
@@ -10806,6 +12227,8 @@ public Builder mergeUpdateMask(com.google.protobuf.FieldMask value) {
         return this;
       }
       /**
+       *
+       *
        * 
        * The [field mask]
        * (https://developers.google.com/protocol-buffers/docs/reference/google.protobuf)
@@ -10829,6 +12252,8 @@ public Builder clearUpdateMask() {
         return this;
       }
       /**
+       *
+       *
        * 
        * The [field mask]
        * (https://developers.google.com/protocol-buffers/docs/reference/google.protobuf)
@@ -10841,11 +12266,13 @@ public Builder clearUpdateMask() {
        * .google.protobuf.FieldMask update_mask = 2;
        */
       public com.google.protobuf.FieldMask.Builder getUpdateMaskBuilder() {
-        
+
         onChanged();
         return getUpdateMaskFieldBuilder().getBuilder();
       }
       /**
+       *
+       *
        * 
        * The [field mask]
        * (https://developers.google.com/protocol-buffers/docs/reference/google.protobuf)
@@ -10861,11 +12288,14 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() {
         if (updateMaskBuilder_ != null) {
           return updateMaskBuilder_.getMessageOrBuilder();
         } else {
-          return updateMask_ == null ?
-              com.google.protobuf.FieldMask.getDefaultInstance() : updateMask_;
+          return updateMask_ == null
+              ? com.google.protobuf.FieldMask.getDefaultInstance()
+              : updateMask_;
         }
       }
       /**
+       *
+       *
        * 
        * The [field mask]
        * (https://developers.google.com/protocol-buffers/docs/reference/google.protobuf)
@@ -10878,18 +12308,22 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() {
        * .google.protobuf.FieldMask update_mask = 2;
        */
       private com.google.protobuf.SingleFieldBuilderV3<
-          com.google.protobuf.FieldMask, com.google.protobuf.FieldMask.Builder, com.google.protobuf.FieldMaskOrBuilder> 
+              com.google.protobuf.FieldMask,
+              com.google.protobuf.FieldMask.Builder,
+              com.google.protobuf.FieldMaskOrBuilder>
           getUpdateMaskFieldBuilder() {
         if (updateMaskBuilder_ == null) {
-          updateMaskBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-              com.google.protobuf.FieldMask, com.google.protobuf.FieldMask.Builder, com.google.protobuf.FieldMaskOrBuilder>(
-                  getUpdateMask(),
-                  getParentForChildren(),
-                  isClean());
+          updateMaskBuilder_ =
+              new com.google.protobuf.SingleFieldBuilderV3<
+                  com.google.protobuf.FieldMask,
+                  com.google.protobuf.FieldMask.Builder,
+                  com.google.protobuf.FieldMaskOrBuilder>(
+                  getUpdateMask(), getParentForChildren(), isClean());
           updateMask_ = null;
         }
         return updateMaskBuilder_;
       }
+
       @java.lang.Override
       public final Builder setUnknownFields(
           final com.google.protobuf.UnknownFieldSet unknownFields) {
@@ -10902,30 +12336,33 @@ public final Builder mergeUnknownFields(
         return super.mergeUnknownFields(unknownFields);
       }
 
-
       // @@protoc_insertion_point(builder_scope:google.storagetransfer.v1.UpdateAgentPoolRequest)
     }
 
     // @@protoc_insertion_point(class_scope:google.storagetransfer.v1.UpdateAgentPoolRequest)
-    private static final com.google.storagetransfer.v1.proto.TransferProto.UpdateAgentPoolRequest DEFAULT_INSTANCE;
+    private static final com.google.storagetransfer.v1.proto.TransferProto.UpdateAgentPoolRequest
+        DEFAULT_INSTANCE;
+
     static {
-      DEFAULT_INSTANCE = new com.google.storagetransfer.v1.proto.TransferProto.UpdateAgentPoolRequest();
+      DEFAULT_INSTANCE =
+          new com.google.storagetransfer.v1.proto.TransferProto.UpdateAgentPoolRequest();
     }
 
-    public static com.google.storagetransfer.v1.proto.TransferProto.UpdateAgentPoolRequest getDefaultInstance() {
+    public static com.google.storagetransfer.v1.proto.TransferProto.UpdateAgentPoolRequest
+        getDefaultInstance() {
       return DEFAULT_INSTANCE;
     }
 
-    private static final com.google.protobuf.Parser
-        PARSER = new com.google.protobuf.AbstractParser() {
-      @java.lang.Override
-      public UpdateAgentPoolRequest parsePartialFrom(
-          com.google.protobuf.CodedInputStream input,
-          com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-          throws com.google.protobuf.InvalidProtocolBufferException {
-        return new UpdateAgentPoolRequest(input, extensionRegistry);
-      }
-    };
+    private static final com.google.protobuf.Parser PARSER =
+        new com.google.protobuf.AbstractParser() {
+          @java.lang.Override
+          public UpdateAgentPoolRequest parsePartialFrom(
+              com.google.protobuf.CodedInputStream input,
+              com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+              throws com.google.protobuf.InvalidProtocolBufferException {
+            return new UpdateAgentPoolRequest(input, extensionRegistry);
+          }
+        };
 
     public static com.google.protobuf.Parser parser() {
       return PARSER;
@@ -10937,68 +12374,76 @@ public com.google.protobuf.Parser getParserForType() {
     }
 
     @java.lang.Override
-    public com.google.storagetransfer.v1.proto.TransferProto.UpdateAgentPoolRequest getDefaultInstanceForType() {
+    public com.google.storagetransfer.v1.proto.TransferProto.UpdateAgentPoolRequest
+        getDefaultInstanceForType() {
       return DEFAULT_INSTANCE;
     }
-
   }
 
-  public interface GetAgentPoolRequestOrBuilder extends
+  public interface GetAgentPoolRequestOrBuilder
+      extends
       // @@protoc_insertion_point(interface_extends:google.storagetransfer.v1.GetAgentPoolRequest)
       com.google.protobuf.MessageOrBuilder {
 
     /**
+     *
+     *
      * 
      * Required. The name of the agent pool to get.
      * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The name. */ java.lang.String getName(); /** + * + * *
      * Required. The name of the agent pool to get.
      * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for name. */ - com.google.protobuf.ByteString - getNameBytes(); + com.google.protobuf.ByteString getNameBytes(); } /** + * + * *
    * Specifies the request passed to GetAgentPool.
    * 
* * Protobuf type {@code google.storagetransfer.v1.GetAgentPoolRequest} */ - public static final class GetAgentPoolRequest extends - com.google.protobuf.GeneratedMessageV3 implements + public static final class GetAgentPoolRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.storagetransfer.v1.GetAgentPoolRequest) GetAgentPoolRequestOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use GetAgentPoolRequest.newBuilder() to construct. private GetAgentPoolRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private GetAgentPoolRequest() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new GetAgentPoolRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private GetAgentPoolRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -11017,19 +12462,20 @@ private GetAgentPoolRequest( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - name_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + name_ = s; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -11037,34 +12483,39 @@ private GetAgentPoolRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.storagetransfer.v1.proto.TransferProto.internal_static_google_storagetransfer_v1_GetAgentPoolRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.storagetransfer.v1.proto.TransferProto + .internal_static_google_storagetransfer_v1_GetAgentPoolRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.storagetransfer.v1.proto.TransferProto.internal_static_google_storagetransfer_v1_GetAgentPoolRequest_fieldAccessorTable + return com.google.storagetransfer.v1.proto.TransferProto + .internal_static_google_storagetransfer_v1_GetAgentPoolRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.storagetransfer.v1.proto.TransferProto.GetAgentPoolRequest.class, com.google.storagetransfer.v1.proto.TransferProto.GetAgentPoolRequest.Builder.class); + com.google.storagetransfer.v1.proto.TransferProto.GetAgentPoolRequest.class, + com.google.storagetransfer.v1.proto.TransferProto.GetAgentPoolRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; private volatile java.lang.Object name_; /** + * + * *
      * Required. The name of the agent pool to get.
      * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The name. */ @java.lang.Override @@ -11073,29 +12524,29 @@ public java.lang.String getName() { 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(); name_ = s; return s; } } /** + * + * *
      * Required. The name of the agent pool to get.
      * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; 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); name_ = b; return b; } else { @@ -11104,6 +12555,7 @@ public java.lang.String getName() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -11115,8 +12567,7 @@ 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 (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -11140,15 +12591,15 @@ 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.storagetransfer.v1.proto.TransferProto.GetAgentPoolRequest)) { return super.equals(obj); } - com.google.storagetransfer.v1.proto.TransferProto.GetAgentPoolRequest other = (com.google.storagetransfer.v1.proto.TransferProto.GetAgentPoolRequest) obj; + com.google.storagetransfer.v1.proto.TransferProto.GetAgentPoolRequest other = + (com.google.storagetransfer.v1.proto.TransferProto.GetAgentPoolRequest) obj; - if (!getName() - .equals(other.getName())) return false; + if (!getName().equals(other.getName())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -11168,87 +12619,95 @@ public int hashCode() { } public static com.google.storagetransfer.v1.proto.TransferProto.GetAgentPoolRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.storagetransfer.v1.proto.TransferProto.GetAgentPoolRequest 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.storagetransfer.v1.proto.TransferProto.GetAgentPoolRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.storagetransfer.v1.proto.TransferProto.GetAgentPoolRequest 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.storagetransfer.v1.proto.TransferProto.GetAgentPoolRequest parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.storagetransfer.v1.proto.TransferProto.GetAgentPoolRequest parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.storagetransfer.v1.proto.TransferProto.GetAgentPoolRequest 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.storagetransfer.v1.proto.TransferProto.GetAgentPoolRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.storagetransfer.v1.proto.TransferProto.GetAgentPoolRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.storagetransfer.v1.proto.TransferProto.GetAgentPoolRequest 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.storagetransfer.v1.proto.TransferProto.GetAgentPoolRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.storagetransfer.v1.proto.TransferProto.GetAgentPoolRequest + parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } - public static com.google.storagetransfer.v1.proto.TransferProto.GetAgentPoolRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + + public static com.google.storagetransfer.v1.proto.TransferProto.GetAgentPoolRequest + parseDelimitedFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.storagetransfer.v1.proto.TransferProto.GetAgentPoolRequest 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.storagetransfer.v1.proto.TransferProto.GetAgentPoolRequest 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.storagetransfer.v1.proto.TransferProto.GetAgentPoolRequest prototype) { + + public static Builder newBuilder( + com.google.storagetransfer.v1.proto.TransferProto.GetAgentPoolRequest 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 @@ -11258,44 +12717,50 @@ protected Builder newBuilderForType( return builder; } /** + * + * *
      * Specifies the request passed to GetAgentPool.
      * 
* * Protobuf type {@code google.storagetransfer.v1.GetAgentPoolRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder + extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.storagetransfer.v1.GetAgentPoolRequest) com.google.storagetransfer.v1.proto.TransferProto.GetAgentPoolRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.storagetransfer.v1.proto.TransferProto.internal_static_google_storagetransfer_v1_GetAgentPoolRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.storagetransfer.v1.proto.TransferProto + .internal_static_google_storagetransfer_v1_GetAgentPoolRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.storagetransfer.v1.proto.TransferProto.internal_static_google_storagetransfer_v1_GetAgentPoolRequest_fieldAccessorTable + return com.google.storagetransfer.v1.proto.TransferProto + .internal_static_google_storagetransfer_v1_GetAgentPoolRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.storagetransfer.v1.proto.TransferProto.GetAgentPoolRequest.class, com.google.storagetransfer.v1.proto.TransferProto.GetAgentPoolRequest.Builder.class); + com.google.storagetransfer.v1.proto.TransferProto.GetAgentPoolRequest.class, + com.google.storagetransfer.v1.proto.TransferProto.GetAgentPoolRequest.Builder + .class); } - // Construct using com.google.storagetransfer.v1.proto.TransferProto.GetAgentPoolRequest.newBuilder() + // Construct using + // com.google.storagetransfer.v1.proto.TransferProto.GetAgentPoolRequest.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -11305,19 +12770,22 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.storagetransfer.v1.proto.TransferProto.internal_static_google_storagetransfer_v1_GetAgentPoolRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.storagetransfer.v1.proto.TransferProto + .internal_static_google_storagetransfer_v1_GetAgentPoolRequest_descriptor; } @java.lang.Override - public com.google.storagetransfer.v1.proto.TransferProto.GetAgentPoolRequest getDefaultInstanceForType() { - return com.google.storagetransfer.v1.proto.TransferProto.GetAgentPoolRequest.getDefaultInstance(); + public com.google.storagetransfer.v1.proto.TransferProto.GetAgentPoolRequest + getDefaultInstanceForType() { + return com.google.storagetransfer.v1.proto.TransferProto.GetAgentPoolRequest + .getDefaultInstance(); } @java.lang.Override public com.google.storagetransfer.v1.proto.TransferProto.GetAgentPoolRequest build() { - com.google.storagetransfer.v1.proto.TransferProto.GetAgentPoolRequest result = buildPartial(); + com.google.storagetransfer.v1.proto.TransferProto.GetAgentPoolRequest result = + buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } @@ -11326,7 +12794,8 @@ public com.google.storagetransfer.v1.proto.TransferProto.GetAgentPoolRequest bui @java.lang.Override public com.google.storagetransfer.v1.proto.TransferProto.GetAgentPoolRequest buildPartial() { - com.google.storagetransfer.v1.proto.TransferProto.GetAgentPoolRequest result = new com.google.storagetransfer.v1.proto.TransferProto.GetAgentPoolRequest(this); + com.google.storagetransfer.v1.proto.TransferProto.GetAgentPoolRequest result = + new com.google.storagetransfer.v1.proto.TransferProto.GetAgentPoolRequest(this); result.name_ = name_; onBuilt(); return result; @@ -11336,46 +12805,54 @@ public com.google.storagetransfer.v1.proto.TransferProto.GetAgentPoolRequest bui public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + int index, + java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { - if (other instanceof com.google.storagetransfer.v1.proto.TransferProto.GetAgentPoolRequest) { - return mergeFrom((com.google.storagetransfer.v1.proto.TransferProto.GetAgentPoolRequest)other); + if (other + instanceof com.google.storagetransfer.v1.proto.TransferProto.GetAgentPoolRequest) { + return mergeFrom( + (com.google.storagetransfer.v1.proto.TransferProto.GetAgentPoolRequest) other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.google.storagetransfer.v1.proto.TransferProto.GetAgentPoolRequest other) { - if (other == com.google.storagetransfer.v1.proto.TransferProto.GetAgentPoolRequest.getDefaultInstance()) return this; + public Builder mergeFrom( + com.google.storagetransfer.v1.proto.TransferProto.GetAgentPoolRequest other) { + if (other + == com.google.storagetransfer.v1.proto.TransferProto.GetAgentPoolRequest + .getDefaultInstance()) return this; if (!other.getName().isEmpty()) { name_ = other.name_; onChanged(); @@ -11399,7 +12876,9 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.storagetransfer.v1.proto.TransferProto.GetAgentPoolRequest) e.getUnfinishedMessage(); + parsedMessage = + (com.google.storagetransfer.v1.proto.TransferProto.GetAgentPoolRequest) + e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -11411,18 +12890,20 @@ public Builder mergeFrom( private java.lang.Object name_ = ""; /** + * + * *
        * Required. The name of the agent pool to get.
        * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; 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(); name_ = s; return s; @@ -11431,20 +12912,21 @@ public java.lang.String getName() { } } /** + * + * *
        * Required. The name of the agent pool to get.
        * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for name. */ - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; 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); name_ = b; return b; } else { @@ -11452,58 +12934,66 @@ public java.lang.String getName() { } } /** + * + * *
        * Required. The name of the agent pool to get.
        * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName( - java.lang.String value) { + public Builder setName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** + * + * *
        * Required. The name of the agent pool to get.
        * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** + * + * *
        * Required. The name of the agent pool to get.
        * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes( - com.google.protobuf.ByteString value) { + public Builder setNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; } + @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -11516,30 +13006,33 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.storagetransfer.v1.GetAgentPoolRequest) } // @@protoc_insertion_point(class_scope:google.storagetransfer.v1.GetAgentPoolRequest) - private static final com.google.storagetransfer.v1.proto.TransferProto.GetAgentPoolRequest DEFAULT_INSTANCE; + private static final com.google.storagetransfer.v1.proto.TransferProto.GetAgentPoolRequest + DEFAULT_INSTANCE; + static { - DEFAULT_INSTANCE = new com.google.storagetransfer.v1.proto.TransferProto.GetAgentPoolRequest(); + DEFAULT_INSTANCE = + new com.google.storagetransfer.v1.proto.TransferProto.GetAgentPoolRequest(); } - public static com.google.storagetransfer.v1.proto.TransferProto.GetAgentPoolRequest getDefaultInstance() { + public static com.google.storagetransfer.v1.proto.TransferProto.GetAgentPoolRequest + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public GetAgentPoolRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new GetAgentPoolRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public GetAgentPoolRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new GetAgentPoolRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -11551,68 +13044,76 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.storagetransfer.v1.proto.TransferProto.GetAgentPoolRequest getDefaultInstanceForType() { + public com.google.storagetransfer.v1.proto.TransferProto.GetAgentPoolRequest + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - public interface DeleteAgentPoolRequestOrBuilder extends + public interface DeleteAgentPoolRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.storagetransfer.v1.DeleteAgentPoolRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
      * Required. The name of the agent pool to delete.
      * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The name. */ java.lang.String getName(); /** + * + * *
      * Required. The name of the agent pool to delete.
      * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for name. */ - com.google.protobuf.ByteString - getNameBytes(); + com.google.protobuf.ByteString getNameBytes(); } /** + * + * *
    * Specifies the request passed to DeleteAgentPool.
    * 
* * Protobuf type {@code google.storagetransfer.v1.DeleteAgentPoolRequest} */ - public static final class DeleteAgentPoolRequest extends - com.google.protobuf.GeneratedMessageV3 implements + public static final class DeleteAgentPoolRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.storagetransfer.v1.DeleteAgentPoolRequest) DeleteAgentPoolRequestOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use DeleteAgentPoolRequest.newBuilder() to construct. private DeleteAgentPoolRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private DeleteAgentPoolRequest() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new DeleteAgentPoolRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private DeleteAgentPoolRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -11631,19 +13132,20 @@ private DeleteAgentPoolRequest( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - name_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + name_ = s; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -11651,34 +13153,40 @@ private DeleteAgentPoolRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.storagetransfer.v1.proto.TransferProto.internal_static_google_storagetransfer_v1_DeleteAgentPoolRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.storagetransfer.v1.proto.TransferProto + .internal_static_google_storagetransfer_v1_DeleteAgentPoolRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.storagetransfer.v1.proto.TransferProto.internal_static_google_storagetransfer_v1_DeleteAgentPoolRequest_fieldAccessorTable + return com.google.storagetransfer.v1.proto.TransferProto + .internal_static_google_storagetransfer_v1_DeleteAgentPoolRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.storagetransfer.v1.proto.TransferProto.DeleteAgentPoolRequest.class, com.google.storagetransfer.v1.proto.TransferProto.DeleteAgentPoolRequest.Builder.class); + com.google.storagetransfer.v1.proto.TransferProto.DeleteAgentPoolRequest.class, + com.google.storagetransfer.v1.proto.TransferProto.DeleteAgentPoolRequest.Builder + .class); } public static final int NAME_FIELD_NUMBER = 1; private volatile java.lang.Object name_; /** + * + * *
      * Required. The name of the agent pool to delete.
      * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The name. */ @java.lang.Override @@ -11687,29 +13195,29 @@ public java.lang.String getName() { 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(); name_ = s; return s; } } /** + * + * *
      * Required. The name of the agent pool to delete.
      * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; 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); name_ = b; return b; } else { @@ -11718,6 +13226,7 @@ public java.lang.String getName() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -11729,8 +13238,7 @@ 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 (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -11754,15 +13262,16 @@ 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.storagetransfer.v1.proto.TransferProto.DeleteAgentPoolRequest)) { + if (!(obj + instanceof com.google.storagetransfer.v1.proto.TransferProto.DeleteAgentPoolRequest)) { return super.equals(obj); } - com.google.storagetransfer.v1.proto.TransferProto.DeleteAgentPoolRequest other = (com.google.storagetransfer.v1.proto.TransferProto.DeleteAgentPoolRequest) obj; + com.google.storagetransfer.v1.proto.TransferProto.DeleteAgentPoolRequest other = + (com.google.storagetransfer.v1.proto.TransferProto.DeleteAgentPoolRequest) obj; - if (!getName() - .equals(other.getName())) return false; + if (!getName().equals(other.getName())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -11781,88 +13290,101 @@ public int hashCode() { return hash; } - public static com.google.storagetransfer.v1.proto.TransferProto.DeleteAgentPoolRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.storagetransfer.v1.proto.TransferProto.DeleteAgentPoolRequest + parseFrom(java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.storagetransfer.v1.proto.TransferProto.DeleteAgentPoolRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.storagetransfer.v1.proto.TransferProto.DeleteAgentPoolRequest + parseFrom( + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.storagetransfer.v1.proto.TransferProto.DeleteAgentPoolRequest parseFrom( - com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.storagetransfer.v1.proto.TransferProto.DeleteAgentPoolRequest + parseFrom(com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.storagetransfer.v1.proto.TransferProto.DeleteAgentPoolRequest parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.storagetransfer.v1.proto.TransferProto.DeleteAgentPoolRequest + 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.storagetransfer.v1.proto.TransferProto.DeleteAgentPoolRequest parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.storagetransfer.v1.proto.TransferProto.DeleteAgentPoolRequest + parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.storagetransfer.v1.proto.TransferProto.DeleteAgentPoolRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.storagetransfer.v1.proto.TransferProto.DeleteAgentPoolRequest + parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.storagetransfer.v1.proto.TransferProto.DeleteAgentPoolRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.storagetransfer.v1.proto.TransferProto.DeleteAgentPoolRequest + parseFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } - public static com.google.storagetransfer.v1.proto.TransferProto.DeleteAgentPoolRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + + public static com.google.storagetransfer.v1.proto.TransferProto.DeleteAgentPoolRequest + parseFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.storagetransfer.v1.proto.TransferProto.DeleteAgentPoolRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.storagetransfer.v1.proto.TransferProto.DeleteAgentPoolRequest + parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } - public static com.google.storagetransfer.v1.proto.TransferProto.DeleteAgentPoolRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + + public static com.google.storagetransfer.v1.proto.TransferProto.DeleteAgentPoolRequest + parseDelimitedFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.storagetransfer.v1.proto.TransferProto.DeleteAgentPoolRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.storagetransfer.v1.proto.TransferProto.DeleteAgentPoolRequest + parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } - public static com.google.storagetransfer.v1.proto.TransferProto.DeleteAgentPoolRequest parseFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + + public static com.google.storagetransfer.v1.proto.TransferProto.DeleteAgentPoolRequest + parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + 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.storagetransfer.v1.proto.TransferProto.DeleteAgentPoolRequest prototype) { + + public static Builder newBuilder( + com.google.storagetransfer.v1.proto.TransferProto.DeleteAgentPoolRequest 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 @@ -11872,44 +13394,50 @@ protected Builder newBuilderForType( return builder; } /** + * + * *
      * Specifies the request passed to DeleteAgentPool.
      * 
* * Protobuf type {@code google.storagetransfer.v1.DeleteAgentPoolRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder + extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.storagetransfer.v1.DeleteAgentPoolRequest) com.google.storagetransfer.v1.proto.TransferProto.DeleteAgentPoolRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.storagetransfer.v1.proto.TransferProto.internal_static_google_storagetransfer_v1_DeleteAgentPoolRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.storagetransfer.v1.proto.TransferProto + .internal_static_google_storagetransfer_v1_DeleteAgentPoolRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.storagetransfer.v1.proto.TransferProto.internal_static_google_storagetransfer_v1_DeleteAgentPoolRequest_fieldAccessorTable + return com.google.storagetransfer.v1.proto.TransferProto + .internal_static_google_storagetransfer_v1_DeleteAgentPoolRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.storagetransfer.v1.proto.TransferProto.DeleteAgentPoolRequest.class, com.google.storagetransfer.v1.proto.TransferProto.DeleteAgentPoolRequest.Builder.class); + com.google.storagetransfer.v1.proto.TransferProto.DeleteAgentPoolRequest.class, + com.google.storagetransfer.v1.proto.TransferProto.DeleteAgentPoolRequest.Builder + .class); } - // Construct using com.google.storagetransfer.v1.proto.TransferProto.DeleteAgentPoolRequest.newBuilder() + // Construct using + // com.google.storagetransfer.v1.proto.TransferProto.DeleteAgentPoolRequest.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -11919,19 +13447,22 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.storagetransfer.v1.proto.TransferProto.internal_static_google_storagetransfer_v1_DeleteAgentPoolRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.storagetransfer.v1.proto.TransferProto + .internal_static_google_storagetransfer_v1_DeleteAgentPoolRequest_descriptor; } @java.lang.Override - public com.google.storagetransfer.v1.proto.TransferProto.DeleteAgentPoolRequest getDefaultInstanceForType() { - return com.google.storagetransfer.v1.proto.TransferProto.DeleteAgentPoolRequest.getDefaultInstance(); + public com.google.storagetransfer.v1.proto.TransferProto.DeleteAgentPoolRequest + getDefaultInstanceForType() { + return com.google.storagetransfer.v1.proto.TransferProto.DeleteAgentPoolRequest + .getDefaultInstance(); } @java.lang.Override public com.google.storagetransfer.v1.proto.TransferProto.DeleteAgentPoolRequest build() { - com.google.storagetransfer.v1.proto.TransferProto.DeleteAgentPoolRequest result = buildPartial(); + com.google.storagetransfer.v1.proto.TransferProto.DeleteAgentPoolRequest result = + buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } @@ -11939,8 +13470,10 @@ public com.google.storagetransfer.v1.proto.TransferProto.DeleteAgentPoolRequest } @java.lang.Override - public com.google.storagetransfer.v1.proto.TransferProto.DeleteAgentPoolRequest buildPartial() { - com.google.storagetransfer.v1.proto.TransferProto.DeleteAgentPoolRequest result = new com.google.storagetransfer.v1.proto.TransferProto.DeleteAgentPoolRequest(this); + public com.google.storagetransfer.v1.proto.TransferProto.DeleteAgentPoolRequest + buildPartial() { + com.google.storagetransfer.v1.proto.TransferProto.DeleteAgentPoolRequest result = + new com.google.storagetransfer.v1.proto.TransferProto.DeleteAgentPoolRequest(this); result.name_ = name_; onBuilt(); return result; @@ -11950,46 +13483,54 @@ public com.google.storagetransfer.v1.proto.TransferProto.DeleteAgentPoolRequest public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + int index, + java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { - if (other instanceof com.google.storagetransfer.v1.proto.TransferProto.DeleteAgentPoolRequest) { - return mergeFrom((com.google.storagetransfer.v1.proto.TransferProto.DeleteAgentPoolRequest)other); + if (other + instanceof com.google.storagetransfer.v1.proto.TransferProto.DeleteAgentPoolRequest) { + return mergeFrom( + (com.google.storagetransfer.v1.proto.TransferProto.DeleteAgentPoolRequest) other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.google.storagetransfer.v1.proto.TransferProto.DeleteAgentPoolRequest other) { - if (other == com.google.storagetransfer.v1.proto.TransferProto.DeleteAgentPoolRequest.getDefaultInstance()) return this; + public Builder mergeFrom( + com.google.storagetransfer.v1.proto.TransferProto.DeleteAgentPoolRequest other) { + if (other + == com.google.storagetransfer.v1.proto.TransferProto.DeleteAgentPoolRequest + .getDefaultInstance()) return this; if (!other.getName().isEmpty()) { name_ = other.name_; onChanged(); @@ -12009,11 +13550,14 @@ public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - com.google.storagetransfer.v1.proto.TransferProto.DeleteAgentPoolRequest parsedMessage = null; + com.google.storagetransfer.v1.proto.TransferProto.DeleteAgentPoolRequest parsedMessage = + null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.storagetransfer.v1.proto.TransferProto.DeleteAgentPoolRequest) e.getUnfinishedMessage(); + parsedMessage = + (com.google.storagetransfer.v1.proto.TransferProto.DeleteAgentPoolRequest) + e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -12025,18 +13569,20 @@ public Builder mergeFrom( private java.lang.Object name_ = ""; /** + * + * *
        * Required. The name of the agent pool to delete.
        * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; 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(); name_ = s; return s; @@ -12045,20 +13591,21 @@ public java.lang.String getName() { } } /** + * + * *
        * Required. The name of the agent pool to delete.
        * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for name. */ - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; 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); name_ = b; return b; } else { @@ -12066,58 +13613,66 @@ public java.lang.String getName() { } } /** + * + * *
        * Required. The name of the agent pool to delete.
        * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName( - java.lang.String value) { + public Builder setName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** + * + * *
        * Required. The name of the agent pool to delete.
        * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** + * + * *
        * Required. The name of the agent pool to delete.
        * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes( - com.google.protobuf.ByteString value) { + public Builder setNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; } + @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -12130,30 +13685,33 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.storagetransfer.v1.DeleteAgentPoolRequest) } // @@protoc_insertion_point(class_scope:google.storagetransfer.v1.DeleteAgentPoolRequest) - private static final com.google.storagetransfer.v1.proto.TransferProto.DeleteAgentPoolRequest DEFAULT_INSTANCE; + private static final com.google.storagetransfer.v1.proto.TransferProto.DeleteAgentPoolRequest + DEFAULT_INSTANCE; + static { - DEFAULT_INSTANCE = new com.google.storagetransfer.v1.proto.TransferProto.DeleteAgentPoolRequest(); + DEFAULT_INSTANCE = + new com.google.storagetransfer.v1.proto.TransferProto.DeleteAgentPoolRequest(); } - public static com.google.storagetransfer.v1.proto.TransferProto.DeleteAgentPoolRequest getDefaultInstance() { + public static com.google.storagetransfer.v1.proto.TransferProto.DeleteAgentPoolRequest + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public DeleteAgentPoolRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new DeleteAgentPoolRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public DeleteAgentPoolRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new DeleteAgentPoolRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -12165,37 +13723,45 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.storagetransfer.v1.proto.TransferProto.DeleteAgentPoolRequest getDefaultInstanceForType() { + public com.google.storagetransfer.v1.proto.TransferProto.DeleteAgentPoolRequest + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - public interface ListAgentPoolsRequestOrBuilder extends + public interface ListAgentPoolsRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.storagetransfer.v1.ListAgentPoolsRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
      * Required. The ID of the Google Cloud project that owns the job.
      * 
* * string project_id = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The projectId. */ java.lang.String getProjectId(); /** + * + * *
      * Required. The ID of the Google Cloud project that owns the job.
      * 
* * string project_id = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for projectId. */ - com.google.protobuf.ByteString - getProjectIdBytes(); + com.google.protobuf.ByteString getProjectIdBytes(); /** + * + * *
      * An optional list of query parameters specified as JSON text in the
      * form of:
@@ -12206,10 +13772,13 @@ public interface ListAgentPoolsRequestOrBuilder extends
      * 
* * string filter = 2; + * * @return The filter. */ java.lang.String getFilter(); /** + * + * *
      * An optional list of query parameters specified as JSON text in the
      * form of:
@@ -12220,57 +13789,68 @@ public interface ListAgentPoolsRequestOrBuilder extends
      * 
* * string filter = 2; + * * @return The bytes for filter. */ - com.google.protobuf.ByteString - getFilterBytes(); + com.google.protobuf.ByteString getFilterBytes(); /** + * + * *
      * The list page size. The max allowed value is `256`.
      * 
* * int32 page_size = 3; + * * @return The pageSize. */ int getPageSize(); /** + * + * *
      * The list page token.
      * 
* * string page_token = 4; + * * @return The pageToken. */ java.lang.String getPageToken(); /** + * + * *
      * The list page token.
      * 
* * string page_token = 4; + * * @return The bytes for pageToken. */ - com.google.protobuf.ByteString - getPageTokenBytes(); + com.google.protobuf.ByteString getPageTokenBytes(); } /** + * + * *
    * The request passed to ListAgentPools.
    * 
* * Protobuf type {@code google.storagetransfer.v1.ListAgentPoolsRequest} */ - public static final class ListAgentPoolsRequest extends - com.google.protobuf.GeneratedMessageV3 implements + public static final class ListAgentPoolsRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.storagetransfer.v1.ListAgentPoolsRequest) ListAgentPoolsRequestOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use ListAgentPoolsRequest.newBuilder() to construct. private ListAgentPoolsRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private ListAgentPoolsRequest() { projectId_ = ""; filter_ = ""; @@ -12279,16 +13859,15 @@ private ListAgentPoolsRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ListAgentPoolsRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private ListAgentPoolsRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -12307,36 +13886,39 @@ private ListAgentPoolsRequest( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); - - projectId_ = s; - break; - } - case 18: { - java.lang.String s = input.readStringRequireUtf8(); + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - filter_ = s; - break; - } - case 24: { + projectId_ = s; + break; + } + case 18: + { + java.lang.String s = input.readStringRequireUtf8(); - pageSize_ = input.readInt32(); - break; - } - case 34: { - java.lang.String s = input.readStringRequireUtf8(); + filter_ = s; + break; + } + case 24: + { + pageSize_ = input.readInt32(); + break; + } + case 34: + { + java.lang.String s = input.readStringRequireUtf8(); - pageToken_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + pageToken_ = s; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -12344,34 +13926,40 @@ private ListAgentPoolsRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.storagetransfer.v1.proto.TransferProto.internal_static_google_storagetransfer_v1_ListAgentPoolsRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.storagetransfer.v1.proto.TransferProto + .internal_static_google_storagetransfer_v1_ListAgentPoolsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.storagetransfer.v1.proto.TransferProto.internal_static_google_storagetransfer_v1_ListAgentPoolsRequest_fieldAccessorTable + return com.google.storagetransfer.v1.proto.TransferProto + .internal_static_google_storagetransfer_v1_ListAgentPoolsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.storagetransfer.v1.proto.TransferProto.ListAgentPoolsRequest.class, com.google.storagetransfer.v1.proto.TransferProto.ListAgentPoolsRequest.Builder.class); + com.google.storagetransfer.v1.proto.TransferProto.ListAgentPoolsRequest.class, + com.google.storagetransfer.v1.proto.TransferProto.ListAgentPoolsRequest.Builder + .class); } public static final int PROJECT_ID_FIELD_NUMBER = 1; private volatile java.lang.Object projectId_; /** + * + * *
      * Required. The ID of the Google Cloud project that owns the job.
      * 
* * string project_id = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The projectId. */ @java.lang.Override @@ -12380,29 +13968,29 @@ public java.lang.String getProjectId() { 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(); projectId_ = s; return s; } } /** + * + * *
      * Required. The ID of the Google Cloud project that owns the job.
      * 
* * string project_id = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for projectId. */ @java.lang.Override - public com.google.protobuf.ByteString - getProjectIdBytes() { + public com.google.protobuf.ByteString getProjectIdBytes() { java.lang.Object ref = projectId_; 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); projectId_ = b; return b; } else { @@ -12413,6 +14001,8 @@ public java.lang.String getProjectId() { public static final int FILTER_FIELD_NUMBER = 2; private volatile java.lang.Object filter_; /** + * + * *
      * An optional list of query parameters specified as JSON text in the
      * form of:
@@ -12423,6 +14013,7 @@ public java.lang.String getProjectId() {
      * 
* * string filter = 2; + * * @return The filter. */ @java.lang.Override @@ -12431,14 +14022,15 @@ public java.lang.String getFilter() { 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(); filter_ = s; return s; } } /** + * + * *
      * An optional list of query parameters specified as JSON text in the
      * form of:
@@ -12449,16 +14041,15 @@ public java.lang.String getFilter() {
      * 
* * string filter = 2; + * * @return The bytes for filter. */ @java.lang.Override - public com.google.protobuf.ByteString - getFilterBytes() { + public com.google.protobuf.ByteString getFilterBytes() { java.lang.Object ref = filter_; 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); filter_ = b; return b; } else { @@ -12469,11 +14060,14 @@ public java.lang.String getFilter() { public static final int PAGE_SIZE_FIELD_NUMBER = 3; private int pageSize_; /** + * + * *
      * The list page size. The max allowed value is `256`.
      * 
* * int32 page_size = 3; + * * @return The pageSize. */ @java.lang.Override @@ -12484,11 +14078,14 @@ public int getPageSize() { public static final int PAGE_TOKEN_FIELD_NUMBER = 4; private volatile java.lang.Object pageToken_; /** + * + * *
      * The list page token.
      * 
* * string page_token = 4; + * * @return The pageToken. */ @java.lang.Override @@ -12497,29 +14094,29 @@ public java.lang.String getPageToken() { 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(); pageToken_ = s; return s; } } /** + * + * *
      * The list page token.
      * 
* * string page_token = 4; + * * @return The bytes for pageToken. */ @java.lang.Override - public com.google.protobuf.ByteString - getPageTokenBytes() { + public com.google.protobuf.ByteString getPageTokenBytes() { java.lang.Object ref = pageToken_; 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); pageToken_ = b; return b; } else { @@ -12528,6 +14125,7 @@ public java.lang.String getPageToken() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -12539,8 +14137,7 @@ 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 (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(projectId_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, projectId_); } @@ -12569,8 +14166,7 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, filter_); } if (pageSize_ != 0) { - size += com.google.protobuf.CodedOutputStream - .computeInt32Size(3, pageSize_); + size += com.google.protobuf.CodedOutputStream.computeInt32Size(3, pageSize_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(pageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, pageToken_); @@ -12583,21 +14179,19 @@ 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.storagetransfer.v1.proto.TransferProto.ListAgentPoolsRequest)) { + if (!(obj + instanceof com.google.storagetransfer.v1.proto.TransferProto.ListAgentPoolsRequest)) { return super.equals(obj); } - com.google.storagetransfer.v1.proto.TransferProto.ListAgentPoolsRequest other = (com.google.storagetransfer.v1.proto.TransferProto.ListAgentPoolsRequest) obj; + com.google.storagetransfer.v1.proto.TransferProto.ListAgentPoolsRequest other = + (com.google.storagetransfer.v1.proto.TransferProto.ListAgentPoolsRequest) obj; - if (!getProjectId() - .equals(other.getProjectId())) return false; - if (!getFilter() - .equals(other.getFilter())) return false; - if (getPageSize() - != other.getPageSize()) return false; - if (!getPageToken() - .equals(other.getPageToken())) return false; + if (!getProjectId().equals(other.getProjectId())) return false; + if (!getFilter().equals(other.getFilter())) return false; + if (getPageSize() != other.getPageSize()) return false; + if (!getPageToken().equals(other.getPageToken())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -12623,87 +14217,95 @@ public int hashCode() { } public static com.google.storagetransfer.v1.proto.TransferProto.ListAgentPoolsRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.storagetransfer.v1.proto.TransferProto.ListAgentPoolsRequest 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.storagetransfer.v1.proto.TransferProto.ListAgentPoolsRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.storagetransfer.v1.proto.TransferProto.ListAgentPoolsRequest 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.storagetransfer.v1.proto.TransferProto.ListAgentPoolsRequest parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.storagetransfer.v1.proto.TransferProto.ListAgentPoolsRequest parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.storagetransfer.v1.proto.TransferProto.ListAgentPoolsRequest 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.storagetransfer.v1.proto.TransferProto.ListAgentPoolsRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.storagetransfer.v1.proto.TransferProto.ListAgentPoolsRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.storagetransfer.v1.proto.TransferProto.ListAgentPoolsRequest 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.storagetransfer.v1.proto.TransferProto.ListAgentPoolsRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.storagetransfer.v1.proto.TransferProto.ListAgentPoolsRequest + parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } - public static com.google.storagetransfer.v1.proto.TransferProto.ListAgentPoolsRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + + public static com.google.storagetransfer.v1.proto.TransferProto.ListAgentPoolsRequest + parseDelimitedFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.storagetransfer.v1.proto.TransferProto.ListAgentPoolsRequest 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.storagetransfer.v1.proto.TransferProto.ListAgentPoolsRequest 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.storagetransfer.v1.proto.TransferProto.ListAgentPoolsRequest prototype) { + + public static Builder newBuilder( + com.google.storagetransfer.v1.proto.TransferProto.ListAgentPoolsRequest 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 @@ -12713,44 +14315,50 @@ protected Builder newBuilderForType( return builder; } /** + * + * *
      * The request passed to ListAgentPools.
      * 
* * Protobuf type {@code google.storagetransfer.v1.ListAgentPoolsRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder + extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.storagetransfer.v1.ListAgentPoolsRequest) com.google.storagetransfer.v1.proto.TransferProto.ListAgentPoolsRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.storagetransfer.v1.proto.TransferProto.internal_static_google_storagetransfer_v1_ListAgentPoolsRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.storagetransfer.v1.proto.TransferProto + .internal_static_google_storagetransfer_v1_ListAgentPoolsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.storagetransfer.v1.proto.TransferProto.internal_static_google_storagetransfer_v1_ListAgentPoolsRequest_fieldAccessorTable + return com.google.storagetransfer.v1.proto.TransferProto + .internal_static_google_storagetransfer_v1_ListAgentPoolsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.storagetransfer.v1.proto.TransferProto.ListAgentPoolsRequest.class, com.google.storagetransfer.v1.proto.TransferProto.ListAgentPoolsRequest.Builder.class); + com.google.storagetransfer.v1.proto.TransferProto.ListAgentPoolsRequest.class, + com.google.storagetransfer.v1.proto.TransferProto.ListAgentPoolsRequest.Builder + .class); } - // Construct using com.google.storagetransfer.v1.proto.TransferProto.ListAgentPoolsRequest.newBuilder() + // Construct using + // com.google.storagetransfer.v1.proto.TransferProto.ListAgentPoolsRequest.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -12766,19 +14374,22 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.storagetransfer.v1.proto.TransferProto.internal_static_google_storagetransfer_v1_ListAgentPoolsRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.storagetransfer.v1.proto.TransferProto + .internal_static_google_storagetransfer_v1_ListAgentPoolsRequest_descriptor; } @java.lang.Override - public com.google.storagetransfer.v1.proto.TransferProto.ListAgentPoolsRequest getDefaultInstanceForType() { - return com.google.storagetransfer.v1.proto.TransferProto.ListAgentPoolsRequest.getDefaultInstance(); + public com.google.storagetransfer.v1.proto.TransferProto.ListAgentPoolsRequest + getDefaultInstanceForType() { + return com.google.storagetransfer.v1.proto.TransferProto.ListAgentPoolsRequest + .getDefaultInstance(); } @java.lang.Override public com.google.storagetransfer.v1.proto.TransferProto.ListAgentPoolsRequest build() { - com.google.storagetransfer.v1.proto.TransferProto.ListAgentPoolsRequest result = buildPartial(); + com.google.storagetransfer.v1.proto.TransferProto.ListAgentPoolsRequest result = + buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } @@ -12786,8 +14397,10 @@ public com.google.storagetransfer.v1.proto.TransferProto.ListAgentPoolsRequest b } @java.lang.Override - public com.google.storagetransfer.v1.proto.TransferProto.ListAgentPoolsRequest buildPartial() { - com.google.storagetransfer.v1.proto.TransferProto.ListAgentPoolsRequest result = new com.google.storagetransfer.v1.proto.TransferProto.ListAgentPoolsRequest(this); + public com.google.storagetransfer.v1.proto.TransferProto.ListAgentPoolsRequest + buildPartial() { + com.google.storagetransfer.v1.proto.TransferProto.ListAgentPoolsRequest result = + new com.google.storagetransfer.v1.proto.TransferProto.ListAgentPoolsRequest(this); result.projectId_ = projectId_; result.filter_ = filter_; result.pageSize_ = pageSize_; @@ -12800,46 +14413,54 @@ public com.google.storagetransfer.v1.proto.TransferProto.ListAgentPoolsRequest b public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + int index, + java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { - if (other instanceof com.google.storagetransfer.v1.proto.TransferProto.ListAgentPoolsRequest) { - return mergeFrom((com.google.storagetransfer.v1.proto.TransferProto.ListAgentPoolsRequest)other); + if (other + instanceof com.google.storagetransfer.v1.proto.TransferProto.ListAgentPoolsRequest) { + return mergeFrom( + (com.google.storagetransfer.v1.proto.TransferProto.ListAgentPoolsRequest) other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.google.storagetransfer.v1.proto.TransferProto.ListAgentPoolsRequest other) { - if (other == com.google.storagetransfer.v1.proto.TransferProto.ListAgentPoolsRequest.getDefaultInstance()) return this; + public Builder mergeFrom( + com.google.storagetransfer.v1.proto.TransferProto.ListAgentPoolsRequest other) { + if (other + == com.google.storagetransfer.v1.proto.TransferProto.ListAgentPoolsRequest + .getDefaultInstance()) return this; if (!other.getProjectId().isEmpty()) { projectId_ = other.projectId_; onChanged(); @@ -12870,11 +14491,14 @@ public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - com.google.storagetransfer.v1.proto.TransferProto.ListAgentPoolsRequest parsedMessage = null; + com.google.storagetransfer.v1.proto.TransferProto.ListAgentPoolsRequest parsedMessage = + null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.storagetransfer.v1.proto.TransferProto.ListAgentPoolsRequest) e.getUnfinishedMessage(); + parsedMessage = + (com.google.storagetransfer.v1.proto.TransferProto.ListAgentPoolsRequest) + e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -12886,18 +14510,20 @@ public Builder mergeFrom( private java.lang.Object projectId_ = ""; /** + * + * *
        * Required. The ID of the Google Cloud project that owns the job.
        * 
* * string project_id = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The projectId. */ public java.lang.String getProjectId() { java.lang.Object ref = projectId_; 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(); projectId_ = s; return s; @@ -12906,20 +14532,21 @@ public java.lang.String getProjectId() { } } /** + * + * *
        * Required. The ID of the Google Cloud project that owns the job.
        * 
* * string project_id = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for projectId. */ - public com.google.protobuf.ByteString - getProjectIdBytes() { + public com.google.protobuf.ByteString getProjectIdBytes() { java.lang.Object ref = projectId_; 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); projectId_ = b; return b; } else { @@ -12927,54 +14554,61 @@ public java.lang.String getProjectId() { } } /** + * + * *
        * Required. The ID of the Google Cloud project that owns the job.
        * 
* * string project_id = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The projectId to set. * @return This builder for chaining. */ - public Builder setProjectId( - java.lang.String value) { + public Builder setProjectId(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + projectId_ = value; onChanged(); return this; } /** + * + * *
        * Required. The ID of the Google Cloud project that owns the job.
        * 
* * string project_id = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return This builder for chaining. */ public Builder clearProjectId() { - + projectId_ = getDefaultInstance().getProjectId(); onChanged(); return this; } /** + * + * *
        * Required. The ID of the Google Cloud project that owns the job.
        * 
* * string project_id = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The bytes for projectId to set. * @return This builder for chaining. */ - public Builder setProjectIdBytes( - com.google.protobuf.ByteString value) { + public Builder setProjectIdBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + projectId_ = value; onChanged(); return this; @@ -12982,6 +14616,8 @@ public Builder setProjectIdBytes( private java.lang.Object filter_ = ""; /** + * + * *
        * An optional list of query parameters specified as JSON text in the
        * form of:
@@ -12992,13 +14628,13 @@ public Builder setProjectIdBytes(
        * 
* * string filter = 2; + * * @return The filter. */ public java.lang.String getFilter() { java.lang.Object ref = filter_; 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(); filter_ = s; return s; @@ -13007,6 +14643,8 @@ public java.lang.String getFilter() { } } /** + * + * *
        * An optional list of query parameters specified as JSON text in the
        * form of:
@@ -13017,15 +14655,14 @@ public java.lang.String getFilter() {
        * 
* * string filter = 2; + * * @return The bytes for filter. */ - public com.google.protobuf.ByteString - getFilterBytes() { + public com.google.protobuf.ByteString getFilterBytes() { java.lang.Object ref = filter_; 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); filter_ = b; return b; } else { @@ -13033,6 +14670,8 @@ public java.lang.String getFilter() { } } /** + * + * *
        * An optional list of query parameters specified as JSON text in the
        * form of:
@@ -13043,20 +14682,22 @@ public java.lang.String getFilter() {
        * 
* * string filter = 2; + * * @param value The filter to set. * @return This builder for chaining. */ - public Builder setFilter( - java.lang.String value) { + public Builder setFilter(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + filter_ = value; onChanged(); return this; } /** + * + * *
        * An optional list of query parameters specified as JSON text in the
        * form of:
@@ -13067,15 +14708,18 @@ public Builder setFilter(
        * 
* * string filter = 2; + * * @return This builder for chaining. */ public Builder clearFilter() { - + filter_ = getDefaultInstance().getFilter(); onChanged(); return this; } /** + * + * *
        * An optional list of query parameters specified as JSON text in the
        * form of:
@@ -13086,28 +14730,31 @@ public Builder clearFilter() {
        * 
* * string filter = 2; + * * @param value The bytes for filter to set. * @return This builder for chaining. */ - public Builder setFilterBytes( - com.google.protobuf.ByteString value) { + public Builder setFilterBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + filter_ = value; onChanged(); return this; } - private int pageSize_ ; + private int pageSize_; /** + * + * *
        * The list page size. The max allowed value is `256`.
        * 
* * int32 page_size = 3; + * * @return The pageSize. */ @java.lang.Override @@ -13115,30 +14762,36 @@ public int getPageSize() { return pageSize_; } /** + * + * *
        * The list page size. The max allowed value is `256`.
        * 
* * int32 page_size = 3; + * * @param value The pageSize to set. * @return This builder for chaining. */ public Builder setPageSize(int value) { - + pageSize_ = value; onChanged(); return this; } /** + * + * *
        * The list page size. The max allowed value is `256`.
        * 
* * int32 page_size = 3; + * * @return This builder for chaining. */ public Builder clearPageSize() { - + pageSize_ = 0; onChanged(); return this; @@ -13146,18 +14799,20 @@ public Builder clearPageSize() { private java.lang.Object pageToken_ = ""; /** + * + * *
        * The list page token.
        * 
* * string page_token = 4; + * * @return The pageToken. */ public java.lang.String getPageToken() { java.lang.Object ref = pageToken_; 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(); pageToken_ = s; return s; @@ -13166,20 +14821,21 @@ public java.lang.String getPageToken() { } } /** + * + * *
        * The list page token.
        * 
* * string page_token = 4; + * * @return The bytes for pageToken. */ - public com.google.protobuf.ByteString - getPageTokenBytes() { + public com.google.protobuf.ByteString getPageTokenBytes() { java.lang.Object ref = pageToken_; 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); pageToken_ = b; return b; } else { @@ -13187,58 +14843,66 @@ public java.lang.String getPageToken() { } } /** + * + * *
        * The list page token.
        * 
* * string page_token = 4; + * * @param value The pageToken to set. * @return This builder for chaining. */ - public Builder setPageToken( - java.lang.String value) { + public Builder setPageToken(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + pageToken_ = value; onChanged(); return this; } /** + * + * *
        * The list page token.
        * 
* * string page_token = 4; + * * @return This builder for chaining. */ public Builder clearPageToken() { - + pageToken_ = getDefaultInstance().getPageToken(); onChanged(); return this; } /** + * + * *
        * The list page token.
        * 
* * string page_token = 4; + * * @param value The bytes for pageToken to set. * @return This builder for chaining. */ - public Builder setPageTokenBytes( - com.google.protobuf.ByteString value) { + public Builder setPageTokenBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + pageToken_ = value; onChanged(); return this; } + @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -13251,30 +14915,33 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.storagetransfer.v1.ListAgentPoolsRequest) } // @@protoc_insertion_point(class_scope:google.storagetransfer.v1.ListAgentPoolsRequest) - private static final com.google.storagetransfer.v1.proto.TransferProto.ListAgentPoolsRequest DEFAULT_INSTANCE; + private static final com.google.storagetransfer.v1.proto.TransferProto.ListAgentPoolsRequest + DEFAULT_INSTANCE; + static { - DEFAULT_INSTANCE = new com.google.storagetransfer.v1.proto.TransferProto.ListAgentPoolsRequest(); + DEFAULT_INSTANCE = + new com.google.storagetransfer.v1.proto.TransferProto.ListAgentPoolsRequest(); } - public static com.google.storagetransfer.v1.proto.TransferProto.ListAgentPoolsRequest getDefaultInstance() { + public static com.google.storagetransfer.v1.proto.TransferProto.ListAgentPoolsRequest + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListAgentPoolsRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ListAgentPoolsRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListAgentPoolsRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ListAgentPoolsRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -13286,26 +14953,30 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.storagetransfer.v1.proto.TransferProto.ListAgentPoolsRequest getDefaultInstanceForType() { + public com.google.storagetransfer.v1.proto.TransferProto.ListAgentPoolsRequest + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - public interface ListAgentPoolsResponseOrBuilder extends + public interface ListAgentPoolsResponseOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.storagetransfer.v1.ListAgentPoolsResponse) com.google.protobuf.MessageOrBuilder { /** + * + * *
      * A list of agent pools.
      * 
* * repeated .google.storagetransfer.v1.AgentPool agent_pools = 1; */ - java.util.List - getAgentPoolsList(); + java.util.List getAgentPoolsList(); /** + * + * *
      * A list of agent pools.
      * 
@@ -13314,6 +14985,8 @@ public interface ListAgentPoolsResponseOrBuilder extends */ com.google.storagetransfer.v1.proto.TransferTypes.AgentPool getAgentPools(int index); /** + * + * *
      * A list of agent pools.
      * 
@@ -13322,15 +14995,19 @@ public interface ListAgentPoolsResponseOrBuilder extends */ int getAgentPoolsCount(); /** + * + * *
      * A list of agent pools.
      * 
* * repeated .google.storagetransfer.v1.AgentPool agent_pools = 1; */ - java.util.List + java.util.List getAgentPoolsOrBuilderList(); /** + * + * *
      * A list of agent pools.
      * 
@@ -13341,41 +15018,49 @@ com.google.storagetransfer.v1.proto.TransferTypes.AgentPoolOrBuilder getAgentPoo int index); /** + * + * *
      * The list next page token.
      * 
* * string next_page_token = 2; + * * @return The nextPageToken. */ java.lang.String getNextPageToken(); /** + * + * *
      * The list next page token.
      * 
* * string next_page_token = 2; + * * @return The bytes for nextPageToken. */ - com.google.protobuf.ByteString - getNextPageTokenBytes(); + com.google.protobuf.ByteString getNextPageTokenBytes(); } /** + * + * *
    * Response from ListAgentPools.
    * 
* * Protobuf type {@code google.storagetransfer.v1.ListAgentPoolsResponse} */ - public static final class ListAgentPoolsResponse extends - com.google.protobuf.GeneratedMessageV3 implements + public static final class ListAgentPoolsResponse extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.storagetransfer.v1.ListAgentPoolsResponse) ListAgentPoolsResponseOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use ListAgentPoolsResponse.newBuilder() to construct. private ListAgentPoolsResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private ListAgentPoolsResponse() { agentPools_ = java.util.Collections.emptyList(); nextPageToken_ = ""; @@ -13383,16 +15068,15 @@ private ListAgentPoolsResponse() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ListAgentPoolsResponse(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private ListAgentPoolsResponse( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -13412,28 +15096,34 @@ private ListAgentPoolsResponse( case 0: done = true; break; - case 10: { - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - agentPools_ = new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000001; + case 10: + { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + agentPools_ = + new java.util.ArrayList< + com.google.storagetransfer.v1.proto.TransferTypes.AgentPool>(); + mutable_bitField0_ |= 0x00000001; + } + agentPools_.add( + input.readMessage( + com.google.storagetransfer.v1.proto.TransferTypes.AgentPool.parser(), + extensionRegistry)); + break; } - agentPools_.add( - input.readMessage(com.google.storagetransfer.v1.proto.TransferTypes.AgentPool.parser(), extensionRegistry)); - break; - } - case 18: { - java.lang.String s = input.readStringRequireUtf8(); + case 18: + { + java.lang.String s = input.readStringRequireUtf8(); - nextPageToken_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + nextPageToken_ = s; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -13441,8 +15131,7 @@ private ListAgentPoolsResponse( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000001) != 0)) { agentPools_ = java.util.Collections.unmodifiableList(agentPools_); @@ -13451,22 +15140,28 @@ private ListAgentPoolsResponse( makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.storagetransfer.v1.proto.TransferProto.internal_static_google_storagetransfer_v1_ListAgentPoolsResponse_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.storagetransfer.v1.proto.TransferProto + .internal_static_google_storagetransfer_v1_ListAgentPoolsResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.storagetransfer.v1.proto.TransferProto.internal_static_google_storagetransfer_v1_ListAgentPoolsResponse_fieldAccessorTable + return com.google.storagetransfer.v1.proto.TransferProto + .internal_static_google_storagetransfer_v1_ListAgentPoolsResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.storagetransfer.v1.proto.TransferProto.ListAgentPoolsResponse.class, com.google.storagetransfer.v1.proto.TransferProto.ListAgentPoolsResponse.Builder.class); + com.google.storagetransfer.v1.proto.TransferProto.ListAgentPoolsResponse.class, + com.google.storagetransfer.v1.proto.TransferProto.ListAgentPoolsResponse.Builder + .class); } public static final int AGENT_POOLS_FIELD_NUMBER = 1; private java.util.List agentPools_; /** + * + * *
      * A list of agent pools.
      * 
@@ -13474,10 +15169,13 @@ private ListAgentPoolsResponse( * repeated .google.storagetransfer.v1.AgentPool agent_pools = 1; */ @java.lang.Override - public java.util.List getAgentPoolsList() { + public java.util.List + getAgentPoolsList() { return agentPools_; } /** + * + * *
      * A list of agent pools.
      * 
@@ -13485,11 +15183,14 @@ public java.util.Listrepeated .google.storagetransfer.v1.AgentPool agent_pools = 1; */ @java.lang.Override - public java.util.List + public java.util.List< + ? extends com.google.storagetransfer.v1.proto.TransferTypes.AgentPoolOrBuilder> getAgentPoolsOrBuilderList() { return agentPools_; } /** + * + * *
      * A list of agent pools.
      * 
@@ -13501,6 +15202,8 @@ public int getAgentPoolsCount() { return agentPools_.size(); } /** + * + * *
      * A list of agent pools.
      * 
@@ -13512,6 +15215,8 @@ public com.google.storagetransfer.v1.proto.TransferTypes.AgentPool getAgentPools return agentPools_.get(index); } /** + * + * *
      * A list of agent pools.
      * 
@@ -13519,19 +15224,22 @@ public com.google.storagetransfer.v1.proto.TransferTypes.AgentPool getAgentPools * repeated .google.storagetransfer.v1.AgentPool agent_pools = 1; */ @java.lang.Override - public com.google.storagetransfer.v1.proto.TransferTypes.AgentPoolOrBuilder getAgentPoolsOrBuilder( - int index) { + public com.google.storagetransfer.v1.proto.TransferTypes.AgentPoolOrBuilder + getAgentPoolsOrBuilder(int index) { return agentPools_.get(index); } public static final int NEXT_PAGE_TOKEN_FIELD_NUMBER = 2; private volatile java.lang.Object nextPageToken_; /** + * + * *
      * The list next page token.
      * 
* * string next_page_token = 2; + * * @return The nextPageToken. */ @java.lang.Override @@ -13540,29 +15248,29 @@ public java.lang.String getNextPageToken() { 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(); nextPageToken_ = s; return s; } } /** + * + * *
      * The list next page token.
      * 
* * string next_page_token = 2; + * * @return The bytes for nextPageToken. */ @java.lang.Override - public com.google.protobuf.ByteString - getNextPageTokenBytes() { + public com.google.protobuf.ByteString getNextPageTokenBytes() { java.lang.Object ref = nextPageToken_; 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); nextPageToken_ = b; return b; } else { @@ -13571,6 +15279,7 @@ public java.lang.String getNextPageToken() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -13582,8 +15291,7 @@ 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 { for (int i = 0; i < agentPools_.size(); i++) { output.writeMessage(1, agentPools_.get(i)); } @@ -13600,8 +15308,7 @@ public int getSerializedSize() { size = 0; for (int i = 0; i < agentPools_.size(); i++) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, agentPools_.get(i)); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, agentPools_.get(i)); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(nextPageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, nextPageToken_); @@ -13614,17 +15321,17 @@ 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.storagetransfer.v1.proto.TransferProto.ListAgentPoolsResponse)) { + if (!(obj + instanceof com.google.storagetransfer.v1.proto.TransferProto.ListAgentPoolsResponse)) { return super.equals(obj); } - com.google.storagetransfer.v1.proto.TransferProto.ListAgentPoolsResponse other = (com.google.storagetransfer.v1.proto.TransferProto.ListAgentPoolsResponse) obj; + com.google.storagetransfer.v1.proto.TransferProto.ListAgentPoolsResponse other = + (com.google.storagetransfer.v1.proto.TransferProto.ListAgentPoolsResponse) obj; - if (!getAgentPoolsList() - .equals(other.getAgentPoolsList())) return false; - if (!getNextPageToken() - .equals(other.getNextPageToken())) return false; + if (!getAgentPoolsList().equals(other.getAgentPoolsList())) return false; + if (!getNextPageToken().equals(other.getNextPageToken())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -13647,88 +15354,101 @@ public int hashCode() { return hash; } - public static com.google.storagetransfer.v1.proto.TransferProto.ListAgentPoolsResponse parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.storagetransfer.v1.proto.TransferProto.ListAgentPoolsResponse + parseFrom(java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.storagetransfer.v1.proto.TransferProto.ListAgentPoolsResponse parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.storagetransfer.v1.proto.TransferProto.ListAgentPoolsResponse + parseFrom( + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.storagetransfer.v1.proto.TransferProto.ListAgentPoolsResponse parseFrom( - com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.storagetransfer.v1.proto.TransferProto.ListAgentPoolsResponse + parseFrom(com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.storagetransfer.v1.proto.TransferProto.ListAgentPoolsResponse parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.storagetransfer.v1.proto.TransferProto.ListAgentPoolsResponse + 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.storagetransfer.v1.proto.TransferProto.ListAgentPoolsResponse parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.storagetransfer.v1.proto.TransferProto.ListAgentPoolsResponse + parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.storagetransfer.v1.proto.TransferProto.ListAgentPoolsResponse parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.storagetransfer.v1.proto.TransferProto.ListAgentPoolsResponse + parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.storagetransfer.v1.proto.TransferProto.ListAgentPoolsResponse parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.storagetransfer.v1.proto.TransferProto.ListAgentPoolsResponse + parseFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } - public static com.google.storagetransfer.v1.proto.TransferProto.ListAgentPoolsResponse parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + + public static com.google.storagetransfer.v1.proto.TransferProto.ListAgentPoolsResponse + parseFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.storagetransfer.v1.proto.TransferProto.ListAgentPoolsResponse parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.storagetransfer.v1.proto.TransferProto.ListAgentPoolsResponse + parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } - public static com.google.storagetransfer.v1.proto.TransferProto.ListAgentPoolsResponse parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + + public static com.google.storagetransfer.v1.proto.TransferProto.ListAgentPoolsResponse + parseDelimitedFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.storagetransfer.v1.proto.TransferProto.ListAgentPoolsResponse parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.storagetransfer.v1.proto.TransferProto.ListAgentPoolsResponse + parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } - public static com.google.storagetransfer.v1.proto.TransferProto.ListAgentPoolsResponse parseFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + + public static com.google.storagetransfer.v1.proto.TransferProto.ListAgentPoolsResponse + parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + 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.storagetransfer.v1.proto.TransferProto.ListAgentPoolsResponse prototype) { + + public static Builder newBuilder( + com.google.storagetransfer.v1.proto.TransferProto.ListAgentPoolsResponse 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 @@ -13738,45 +15458,52 @@ protected Builder newBuilderForType( return builder; } /** + * + * *
      * Response from ListAgentPools.
      * 
* * Protobuf type {@code google.storagetransfer.v1.ListAgentPoolsResponse} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder + extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.storagetransfer.v1.ListAgentPoolsResponse) com.google.storagetransfer.v1.proto.TransferProto.ListAgentPoolsResponseOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.storagetransfer.v1.proto.TransferProto.internal_static_google_storagetransfer_v1_ListAgentPoolsResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.storagetransfer.v1.proto.TransferProto + .internal_static_google_storagetransfer_v1_ListAgentPoolsResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.storagetransfer.v1.proto.TransferProto.internal_static_google_storagetransfer_v1_ListAgentPoolsResponse_fieldAccessorTable + return com.google.storagetransfer.v1.proto.TransferProto + .internal_static_google_storagetransfer_v1_ListAgentPoolsResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.storagetransfer.v1.proto.TransferProto.ListAgentPoolsResponse.class, com.google.storagetransfer.v1.proto.TransferProto.ListAgentPoolsResponse.Builder.class); + com.google.storagetransfer.v1.proto.TransferProto.ListAgentPoolsResponse.class, + com.google.storagetransfer.v1.proto.TransferProto.ListAgentPoolsResponse.Builder + .class); } - // Construct using com.google.storagetransfer.v1.proto.TransferProto.ListAgentPoolsResponse.newBuilder() + // Construct using + // com.google.storagetransfer.v1.proto.TransferProto.ListAgentPoolsResponse.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { getAgentPoolsFieldBuilder(); } } + @java.lang.Override public Builder clear() { super.clear(); @@ -13792,19 +15519,22 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.storagetransfer.v1.proto.TransferProto.internal_static_google_storagetransfer_v1_ListAgentPoolsResponse_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.storagetransfer.v1.proto.TransferProto + .internal_static_google_storagetransfer_v1_ListAgentPoolsResponse_descriptor; } @java.lang.Override - public com.google.storagetransfer.v1.proto.TransferProto.ListAgentPoolsResponse getDefaultInstanceForType() { - return com.google.storagetransfer.v1.proto.TransferProto.ListAgentPoolsResponse.getDefaultInstance(); + public com.google.storagetransfer.v1.proto.TransferProto.ListAgentPoolsResponse + getDefaultInstanceForType() { + return com.google.storagetransfer.v1.proto.TransferProto.ListAgentPoolsResponse + .getDefaultInstance(); } @java.lang.Override public com.google.storagetransfer.v1.proto.TransferProto.ListAgentPoolsResponse build() { - com.google.storagetransfer.v1.proto.TransferProto.ListAgentPoolsResponse result = buildPartial(); + com.google.storagetransfer.v1.proto.TransferProto.ListAgentPoolsResponse result = + buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } @@ -13812,8 +15542,10 @@ public com.google.storagetransfer.v1.proto.TransferProto.ListAgentPoolsResponse } @java.lang.Override - public com.google.storagetransfer.v1.proto.TransferProto.ListAgentPoolsResponse buildPartial() { - com.google.storagetransfer.v1.proto.TransferProto.ListAgentPoolsResponse result = new com.google.storagetransfer.v1.proto.TransferProto.ListAgentPoolsResponse(this); + public com.google.storagetransfer.v1.proto.TransferProto.ListAgentPoolsResponse + buildPartial() { + com.google.storagetransfer.v1.proto.TransferProto.ListAgentPoolsResponse result = + new com.google.storagetransfer.v1.proto.TransferProto.ListAgentPoolsResponse(this); int from_bitField0_ = bitField0_; if (agentPoolsBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { @@ -13833,46 +15565,54 @@ public com.google.storagetransfer.v1.proto.TransferProto.ListAgentPoolsResponse public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + int index, + java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { - if (other instanceof com.google.storagetransfer.v1.proto.TransferProto.ListAgentPoolsResponse) { - return mergeFrom((com.google.storagetransfer.v1.proto.TransferProto.ListAgentPoolsResponse)other); + if (other + instanceof com.google.storagetransfer.v1.proto.TransferProto.ListAgentPoolsResponse) { + return mergeFrom( + (com.google.storagetransfer.v1.proto.TransferProto.ListAgentPoolsResponse) other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.google.storagetransfer.v1.proto.TransferProto.ListAgentPoolsResponse other) { - if (other == com.google.storagetransfer.v1.proto.TransferProto.ListAgentPoolsResponse.getDefaultInstance()) return this; + public Builder mergeFrom( + com.google.storagetransfer.v1.proto.TransferProto.ListAgentPoolsResponse other) { + if (other + == com.google.storagetransfer.v1.proto.TransferProto.ListAgentPoolsResponse + .getDefaultInstance()) return this; if (agentPoolsBuilder_ == null) { if (!other.agentPools_.isEmpty()) { if (agentPools_.isEmpty()) { @@ -13891,9 +15631,10 @@ public Builder mergeFrom(com.google.storagetransfer.v1.proto.TransferProto.ListA agentPoolsBuilder_ = null; agentPools_ = other.agentPools_; bitField0_ = (bitField0_ & ~0x00000001); - agentPoolsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? - getAgentPoolsFieldBuilder() : null; + agentPoolsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders + ? getAgentPoolsFieldBuilder() + : null; } else { agentPoolsBuilder_.addAllMessages(other.agentPools_); } @@ -13918,11 +15659,14 @@ public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - com.google.storagetransfer.v1.proto.TransferProto.ListAgentPoolsResponse parsedMessage = null; + com.google.storagetransfer.v1.proto.TransferProto.ListAgentPoolsResponse parsedMessage = + null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.storagetransfer.v1.proto.TransferProto.ListAgentPoolsResponse) e.getUnfinishedMessage(); + parsedMessage = + (com.google.storagetransfer.v1.proto.TransferProto.ListAgentPoolsResponse) + e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -13931,28 +15675,38 @@ public Builder mergeFrom( } return this; } + private int bitField0_; - private java.util.List agentPools_ = - java.util.Collections.emptyList(); + private java.util.List + agentPools_ = java.util.Collections.emptyList(); + private void ensureAgentPoolsIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { - agentPools_ = new java.util.ArrayList(agentPools_); + agentPools_ = + new java.util.ArrayList( + agentPools_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.storagetransfer.v1.proto.TransferTypes.AgentPool, com.google.storagetransfer.v1.proto.TransferTypes.AgentPool.Builder, com.google.storagetransfer.v1.proto.TransferTypes.AgentPoolOrBuilder> agentPoolsBuilder_; + com.google.storagetransfer.v1.proto.TransferTypes.AgentPool, + com.google.storagetransfer.v1.proto.TransferTypes.AgentPool.Builder, + com.google.storagetransfer.v1.proto.TransferTypes.AgentPoolOrBuilder> + agentPoolsBuilder_; /** + * + * *
        * A list of agent pools.
        * 
* * repeated .google.storagetransfer.v1.AgentPool agent_pools = 1; */ - public java.util.List getAgentPoolsList() { + public java.util.List + getAgentPoolsList() { if (agentPoolsBuilder_ == null) { return java.util.Collections.unmodifiableList(agentPools_); } else { @@ -13960,6 +15714,8 @@ public java.util.List * A list of agent pools. *
@@ -13974,6 +15730,8 @@ public int getAgentPoolsCount() { } } /** + * + * *
        * A list of agent pools.
        * 
@@ -13988,6 +15746,8 @@ public com.google.storagetransfer.v1.proto.TransferTypes.AgentPool getAgentPools } } /** + * + * *
        * A list of agent pools.
        * 
@@ -14009,6 +15769,8 @@ public Builder setAgentPools( return this; } /** + * + * *
        * A list of agent pools.
        * 
@@ -14016,7 +15778,8 @@ public Builder setAgentPools( * repeated .google.storagetransfer.v1.AgentPool agent_pools = 1; */ public Builder setAgentPools( - int index, com.google.storagetransfer.v1.proto.TransferTypes.AgentPool.Builder builderForValue) { + int index, + com.google.storagetransfer.v1.proto.TransferTypes.AgentPool.Builder builderForValue) { if (agentPoolsBuilder_ == null) { ensureAgentPoolsIsMutable(); agentPools_.set(index, builderForValue.build()); @@ -14027,13 +15790,16 @@ public Builder setAgentPools( return this; } /** + * + * *
        * A list of agent pools.
        * 
* * repeated .google.storagetransfer.v1.AgentPool agent_pools = 1; */ - public Builder addAgentPools(com.google.storagetransfer.v1.proto.TransferTypes.AgentPool value) { + public Builder addAgentPools( + com.google.storagetransfer.v1.proto.TransferTypes.AgentPool value) { if (agentPoolsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -14047,6 +15813,8 @@ public Builder addAgentPools(com.google.storagetransfer.v1.proto.TransferTypes.A return this; } /** + * + * *
        * A list of agent pools.
        * 
@@ -14068,6 +15836,8 @@ public Builder addAgentPools( return this; } /** + * + * *
        * A list of agent pools.
        * 
@@ -14086,6 +15856,8 @@ public Builder addAgentPools( return this; } /** + * + * *
        * A list of agent pools.
        * 
@@ -14093,7 +15865,8 @@ public Builder addAgentPools( * repeated .google.storagetransfer.v1.AgentPool agent_pools = 1; */ public Builder addAgentPools( - int index, com.google.storagetransfer.v1.proto.TransferTypes.AgentPool.Builder builderForValue) { + int index, + com.google.storagetransfer.v1.proto.TransferTypes.AgentPool.Builder builderForValue) { if (agentPoolsBuilder_ == null) { ensureAgentPoolsIsMutable(); agentPools_.add(index, builderForValue.build()); @@ -14104,6 +15877,8 @@ public Builder addAgentPools( return this; } /** + * + * *
        * A list of agent pools.
        * 
@@ -14111,11 +15886,11 @@ public Builder addAgentPools( * repeated .google.storagetransfer.v1.AgentPool agent_pools = 1; */ public Builder addAllAgentPools( - java.lang.Iterable values) { + java.lang.Iterable + values) { if (agentPoolsBuilder_ == null) { ensureAgentPoolsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, agentPools_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, agentPools_); onChanged(); } else { agentPoolsBuilder_.addAllMessages(values); @@ -14123,6 +15898,8 @@ public Builder addAllAgentPools( return this; } /** + * + * *
        * A list of agent pools.
        * 
@@ -14140,6 +15917,8 @@ public Builder clearAgentPools() { return this; } /** + * + * *
        * A list of agent pools.
        * 
@@ -14157,39 +15936,47 @@ public Builder removeAgentPools(int index) { return this; } /** + * + * *
        * A list of agent pools.
        * 
* * repeated .google.storagetransfer.v1.AgentPool agent_pools = 1; */ - public com.google.storagetransfer.v1.proto.TransferTypes.AgentPool.Builder getAgentPoolsBuilder( - int index) { + public com.google.storagetransfer.v1.proto.TransferTypes.AgentPool.Builder + getAgentPoolsBuilder(int index) { return getAgentPoolsFieldBuilder().getBuilder(index); } /** + * + * *
        * A list of agent pools.
        * 
* * repeated .google.storagetransfer.v1.AgentPool agent_pools = 1; */ - public com.google.storagetransfer.v1.proto.TransferTypes.AgentPoolOrBuilder getAgentPoolsOrBuilder( - int index) { + public com.google.storagetransfer.v1.proto.TransferTypes.AgentPoolOrBuilder + getAgentPoolsOrBuilder(int index) { if (agentPoolsBuilder_ == null) { - return agentPools_.get(index); } else { + return agentPools_.get(index); + } else { return agentPoolsBuilder_.getMessageOrBuilder(index); } } /** + * + * *
        * A list of agent pools.
        * 
* * repeated .google.storagetransfer.v1.AgentPool agent_pools = 1; */ - public java.util.List - getAgentPoolsOrBuilderList() { + public java.util.List< + ? extends com.google.storagetransfer.v1.proto.TransferTypes.AgentPoolOrBuilder> + getAgentPoolsOrBuilderList() { if (agentPoolsBuilder_ != null) { return agentPoolsBuilder_.getMessageOrBuilderList(); } else { @@ -14197,49 +15984,62 @@ public com.google.storagetransfer.v1.proto.TransferTypes.AgentPoolOrBuilder getA } } /** + * + * *
        * A list of agent pools.
        * 
* * repeated .google.storagetransfer.v1.AgentPool agent_pools = 1; */ - public com.google.storagetransfer.v1.proto.TransferTypes.AgentPool.Builder addAgentPoolsBuilder() { - return getAgentPoolsFieldBuilder().addBuilder( - com.google.storagetransfer.v1.proto.TransferTypes.AgentPool.getDefaultInstance()); + public com.google.storagetransfer.v1.proto.TransferTypes.AgentPool.Builder + addAgentPoolsBuilder() { + return getAgentPoolsFieldBuilder() + .addBuilder( + com.google.storagetransfer.v1.proto.TransferTypes.AgentPool.getDefaultInstance()); } /** + * + * *
        * A list of agent pools.
        * 
* * repeated .google.storagetransfer.v1.AgentPool agent_pools = 1; */ - public com.google.storagetransfer.v1.proto.TransferTypes.AgentPool.Builder addAgentPoolsBuilder( - int index) { - return getAgentPoolsFieldBuilder().addBuilder( - index, com.google.storagetransfer.v1.proto.TransferTypes.AgentPool.getDefaultInstance()); + public com.google.storagetransfer.v1.proto.TransferTypes.AgentPool.Builder + addAgentPoolsBuilder(int index) { + return getAgentPoolsFieldBuilder() + .addBuilder( + index, + com.google.storagetransfer.v1.proto.TransferTypes.AgentPool.getDefaultInstance()); } /** + * + * *
        * A list of agent pools.
        * 
* * repeated .google.storagetransfer.v1.AgentPool agent_pools = 1; */ - public java.util.List - getAgentPoolsBuilderList() { + public java.util.List + getAgentPoolsBuilderList() { return getAgentPoolsFieldBuilder().getBuilderList(); } + private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.storagetransfer.v1.proto.TransferTypes.AgentPool, com.google.storagetransfer.v1.proto.TransferTypes.AgentPool.Builder, com.google.storagetransfer.v1.proto.TransferTypes.AgentPoolOrBuilder> + com.google.storagetransfer.v1.proto.TransferTypes.AgentPool, + com.google.storagetransfer.v1.proto.TransferTypes.AgentPool.Builder, + com.google.storagetransfer.v1.proto.TransferTypes.AgentPoolOrBuilder> getAgentPoolsFieldBuilder() { if (agentPoolsBuilder_ == null) { - agentPoolsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.storagetransfer.v1.proto.TransferTypes.AgentPool, com.google.storagetransfer.v1.proto.TransferTypes.AgentPool.Builder, com.google.storagetransfer.v1.proto.TransferTypes.AgentPoolOrBuilder>( - agentPools_, - ((bitField0_ & 0x00000001) != 0), - getParentForChildren(), - isClean()); + agentPoolsBuilder_ = + new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.storagetransfer.v1.proto.TransferTypes.AgentPool, + com.google.storagetransfer.v1.proto.TransferTypes.AgentPool.Builder, + com.google.storagetransfer.v1.proto.TransferTypes.AgentPoolOrBuilder>( + agentPools_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); agentPools_ = null; } return agentPoolsBuilder_; @@ -14247,18 +16047,20 @@ public com.google.storagetransfer.v1.proto.TransferTypes.AgentPool.Builder addAg private java.lang.Object nextPageToken_ = ""; /** + * + * *
        * The list next page token.
        * 
* * string next_page_token = 2; + * * @return The nextPageToken. */ public java.lang.String getNextPageToken() { java.lang.Object ref = nextPageToken_; 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(); nextPageToken_ = s; return s; @@ -14267,20 +16069,21 @@ public java.lang.String getNextPageToken() { } } /** + * + * *
        * The list next page token.
        * 
* * string next_page_token = 2; + * * @return The bytes for nextPageToken. */ - public com.google.protobuf.ByteString - getNextPageTokenBytes() { + public com.google.protobuf.ByteString getNextPageTokenBytes() { java.lang.Object ref = nextPageToken_; 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); nextPageToken_ = b; return b; } else { @@ -14288,58 +16091,66 @@ public java.lang.String getNextPageToken() { } } /** + * + * *
        * The list next page token.
        * 
* * string next_page_token = 2; + * * @param value The nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageToken( - java.lang.String value) { + public Builder setNextPageToken(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + nextPageToken_ = value; onChanged(); return this; } /** + * + * *
        * The list next page token.
        * 
* * string next_page_token = 2; + * * @return This builder for chaining. */ public Builder clearNextPageToken() { - + nextPageToken_ = getDefaultInstance().getNextPageToken(); onChanged(); return this; } /** + * + * *
        * The list next page token.
        * 
* * string next_page_token = 2; + * * @param value The bytes for nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageTokenBytes( - com.google.protobuf.ByteString value) { + public Builder setNextPageTokenBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + nextPageToken_ = value; onChanged(); return this; } + @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -14352,30 +16163,33 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.storagetransfer.v1.ListAgentPoolsResponse) } // @@protoc_insertion_point(class_scope:google.storagetransfer.v1.ListAgentPoolsResponse) - private static final com.google.storagetransfer.v1.proto.TransferProto.ListAgentPoolsResponse DEFAULT_INSTANCE; + private static final com.google.storagetransfer.v1.proto.TransferProto.ListAgentPoolsResponse + DEFAULT_INSTANCE; + static { - DEFAULT_INSTANCE = new com.google.storagetransfer.v1.proto.TransferProto.ListAgentPoolsResponse(); + DEFAULT_INSTANCE = + new com.google.storagetransfer.v1.proto.TransferProto.ListAgentPoolsResponse(); } - public static com.google.storagetransfer.v1.proto.TransferProto.ListAgentPoolsResponse getDefaultInstance() { + public static com.google.storagetransfer.v1.proto.TransferProto.ListAgentPoolsResponse + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListAgentPoolsResponse parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ListAgentPoolsResponse(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListAgentPoolsResponse parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ListAgentPoolsResponse(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -14387,322 +16201,339 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.storagetransfer.v1.proto.TransferProto.ListAgentPoolsResponse getDefaultInstanceForType() { + public com.google.storagetransfer.v1.proto.TransferProto.ListAgentPoolsResponse + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } private static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_storagetransfer_v1_GetGoogleServiceAccountRequest_descriptor; - private static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_storagetransfer_v1_GetGoogleServiceAccountRequest_descriptor; + private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_google_storagetransfer_v1_GetGoogleServiceAccountRequest_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_storagetransfer_v1_CreateTransferJobRequest_descriptor; - private static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_storagetransfer_v1_CreateTransferJobRequest_descriptor; + private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_google_storagetransfer_v1_CreateTransferJobRequest_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_storagetransfer_v1_UpdateTransferJobRequest_descriptor; - private static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_storagetransfer_v1_UpdateTransferJobRequest_descriptor; + private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_google_storagetransfer_v1_UpdateTransferJobRequest_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_storagetransfer_v1_GetTransferJobRequest_descriptor; - private static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_storagetransfer_v1_GetTransferJobRequest_descriptor; + private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_google_storagetransfer_v1_GetTransferJobRequest_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_storagetransfer_v1_DeleteTransferJobRequest_descriptor; - private static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_storagetransfer_v1_DeleteTransferJobRequest_descriptor; + private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_google_storagetransfer_v1_DeleteTransferJobRequest_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_storagetransfer_v1_ListTransferJobsRequest_descriptor; - private static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_storagetransfer_v1_ListTransferJobsRequest_descriptor; + private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_google_storagetransfer_v1_ListTransferJobsRequest_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_storagetransfer_v1_ListTransferJobsResponse_descriptor; - private static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_storagetransfer_v1_ListTransferJobsResponse_descriptor; + private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_google_storagetransfer_v1_ListTransferJobsResponse_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_storagetransfer_v1_PauseTransferOperationRequest_descriptor; - private static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_storagetransfer_v1_PauseTransferOperationRequest_descriptor; + private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_google_storagetransfer_v1_PauseTransferOperationRequest_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_storagetransfer_v1_ResumeTransferOperationRequest_descriptor; - private static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_storagetransfer_v1_ResumeTransferOperationRequest_descriptor; + private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_google_storagetransfer_v1_ResumeTransferOperationRequest_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_storagetransfer_v1_RunTransferJobRequest_descriptor; - private static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_storagetransfer_v1_RunTransferJobRequest_descriptor; + private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_google_storagetransfer_v1_RunTransferJobRequest_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_storagetransfer_v1_CreateAgentPoolRequest_descriptor; - private static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_storagetransfer_v1_CreateAgentPoolRequest_descriptor; + private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_google_storagetransfer_v1_CreateAgentPoolRequest_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_storagetransfer_v1_UpdateAgentPoolRequest_descriptor; - private static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_storagetransfer_v1_UpdateAgentPoolRequest_descriptor; + private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_google_storagetransfer_v1_UpdateAgentPoolRequest_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_storagetransfer_v1_GetAgentPoolRequest_descriptor; - private static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_storagetransfer_v1_GetAgentPoolRequest_descriptor; + private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_google_storagetransfer_v1_GetAgentPoolRequest_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_storagetransfer_v1_DeleteAgentPoolRequest_descriptor; - private static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_storagetransfer_v1_DeleteAgentPoolRequest_descriptor; + private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_google_storagetransfer_v1_DeleteAgentPoolRequest_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_storagetransfer_v1_ListAgentPoolsRequest_descriptor; - private static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_storagetransfer_v1_ListAgentPoolsRequest_descriptor; + private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_google_storagetransfer_v1_ListAgentPoolsRequest_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_storagetransfer_v1_ListAgentPoolsResponse_descriptor; - private static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_storagetransfer_v1_ListAgentPoolsResponse_descriptor; + private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_google_storagetransfer_v1_ListAgentPoolsResponse_fieldAccessorTable; - public static com.google.protobuf.Descriptors.FileDescriptor - getDescriptor() { + public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { return descriptor; } - private static com.google.protobuf.Descriptors.FileDescriptor - descriptor; + + private static com.google.protobuf.Descriptors.FileDescriptor descriptor; + static { java.lang.String[] descriptorData = { - "\n(google/storagetransfer/v1/transfer.pro" + - "to\022\031google.storagetransfer.v1\032\034google/ap" + - "i/annotations.proto\032\027google/api/client.p" + - "roto\032\037google/api/field_behavior.proto\032#g" + - "oogle/longrunning/operations.proto\032\033goog" + - "le/protobuf/empty.proto\032 google/protobuf" + - "/field_mask.proto\032.google/storagetransfe" + - "r/v1/transfer_types.proto\"9\n\036GetGoogleSe" + - "rviceAccountRequest\022\027\n\nproject_id\030\001 \001(\tB" + - "\003\340A\002\"]\n\030CreateTransferJobRequest\022A\n\014tran" + - "sfer_job\030\001 \001(\0132&.google.storagetransfer." + - "v1.TransferJobB\003\340A\002\"\321\001\n\030UpdateTransferJo" + - "bRequest\022\025\n\010job_name\030\001 \001(\tB\003\340A\002\022\027\n\nproje" + - "ct_id\030\002 \001(\tB\003\340A\002\022A\n\014transfer_job\030\003 \001(\0132&" + - ".google.storagetransfer.v1.TransferJobB\003" + - "\340A\002\022B\n\036update_transfer_job_field_mask\030\004 " + - "\001(\0132\032.google.protobuf.FieldMask\"G\n\025GetTr" + - "ansferJobRequest\022\025\n\010job_name\030\001 \001(\tB\003\340A\002\022" + - "\027\n\nproject_id\030\002 \001(\tB\003\340A\002\"J\n\030DeleteTransf" + - "erJobRequest\022\025\n\010job_name\030\001 \001(\tB\003\340A\002\022\027\n\np" + - "roject_id\030\002 \001(\tB\003\340A\002\"U\n\027ListTransferJobs" + - "Request\022\023\n\006filter\030\001 \001(\tB\003\340A\002\022\021\n\tpage_siz" + - "e\030\004 \001(\005\022\022\n\npage_token\030\005 \001(\t\"r\n\030ListTrans" + - "ferJobsResponse\022=\n\rtransfer_jobs\030\001 \003(\0132&" + - ".google.storagetransfer.v1.TransferJob\022\027" + - "\n\017next_page_token\030\002 \001(\t\"2\n\035PauseTransfer" + - "OperationRequest\022\021\n\004name\030\001 \001(\tB\003\340A\002\"3\n\036R" + - "esumeTransferOperationRequest\022\021\n\004name\030\001 " + - "\001(\tB\003\340A\002\"G\n\025RunTransferJobRequest\022\025\n\010job" + - "_name\030\001 \001(\tB\003\340A\002\022\027\n\nproject_id\030\002 \001(\tB\003\340A" + - "\002\"\214\001\n\026CreateAgentPoolRequest\022\027\n\nproject_" + - "id\030\001 \001(\tB\003\340A\002\022=\n\nagent_pool\030\002 \001(\0132$.goog" + - "le.storagetransfer.v1.AgentPoolB\003\340A\002\022\032\n\r" + - "agent_pool_id\030\003 \001(\tB\003\340A\002\"\210\001\n\026UpdateAgent" + - "PoolRequest\022=\n\nagent_pool\030\001 \001(\0132$.google" + - ".storagetransfer.v1.AgentPoolB\003\340A\002\022/\n\013up" + - "date_mask\030\002 \001(\0132\032.google.protobuf.FieldM" + - "ask\"(\n\023GetAgentPoolRequest\022\021\n\004name\030\001 \001(\t" + - "B\003\340A\002\"+\n\026DeleteAgentPoolRequest\022\021\n\004name\030" + - "\001 \001(\tB\003\340A\002\"g\n\025ListAgentPoolsRequest\022\027\n\np" + - "roject_id\030\001 \001(\tB\003\340A\002\022\016\n\006filter\030\002 \001(\t\022\021\n\t" + - "page_size\030\003 \001(\005\022\022\n\npage_token\030\004 \001(\t\"l\n\026L" + - "istAgentPoolsResponse\0229\n\013agent_pools\030\001 \003" + - "(\0132$.google.storagetransfer.v1.AgentPool" + - "\022\027\n\017next_page_token\030\002 \001(\t2\221\023\n\026StorageTra" + - "nsferService\022\265\001\n\027GetGoogleServiceAccount" + - "\0229.google.storagetransfer.v1.GetGoogleSe" + - "rviceAccountRequest\032/.google.storagetran" + - "sfer.v1.GoogleServiceAccount\".\202\323\344\223\002(\022&/v" + - "1/googleServiceAccounts/{project_id}\022\230\001\n" + - "\021CreateTransferJob\0223.google.storagetrans" + - "fer.v1.CreateTransferJobRequest\032&.google" + - ".storagetransfer.v1.TransferJob\"&\202\323\344\223\002 \"" + - "\020/v1/transferJobs:\014transfer_job\022\233\001\n\021Upda" + - "teTransferJob\0223.google.storagetransfer.v" + - "1.UpdateTransferJobRequest\032&.google.stor" + - "agetransfer.v1.TransferJob\")\202\323\344\223\002#2\036/v1/" + - "{job_name=transferJobs/**}:\001*\022\222\001\n\016GetTra" + - "nsferJob\0220.google.storagetransfer.v1.Get" + - "TransferJobRequest\032&.google.storagetrans" + - "fer.v1.TransferJob\"&\202\323\344\223\002 \022\036/v1/{job_nam" + - "e=transferJobs/**}\022\225\001\n\020ListTransferJobs\022" + - "2.google.storagetransfer.v1.ListTransfer" + - "JobsRequest\0323.google.storagetransfer.v1." + - "ListTransferJobsResponse\"\030\202\323\344\223\002\022\022\020/v1/tr" + - "ansferJobs\022\235\001\n\026PauseTransferOperation\0228." + - "google.storagetransfer.v1.PauseTransferO" + - "perationRequest\032\026.google.protobuf.Empty\"" + - "1\202\323\344\223\002+\"&/v1/{name=transferOperations/**" + - "}:pause:\001*\022\240\001\n\027ResumeTransferOperation\0229" + - ".google.storagetransfer.v1.ResumeTransfe" + - "rOperationRequest\032\026.google.protobuf.Empt" + - "y\"2\202\323\344\223\002,\"\'/v1/{name=transferOperations/" + - "**}:resume:\001*\022\275\001\n\016RunTransferJob\0220.googl" + - "e.storagetransfer.v1.RunTransferJobReque" + - "st\032\035.google.longrunning.Operation\"Z\202\323\344\223\002" + - "\'\"\"/v1/{job_name=transferJobs/**}:run:\001*" + - "\312A*\n\025google.protobuf.Empty\022\021TransferOper" + - "ation\022\210\001\n\021DeleteTransferJob\0223.google.sto" + - "ragetransfer.v1.DeleteTransferJobRequest" + - "\032\026.google.protobuf.Empty\"&\202\323\344\223\002 *\036/v1/{j" + - "ob_name=transferJobs/**}\022\314\001\n\017CreateAgent" + - "Pool\0221.google.storagetransfer.v1.CreateA" + - "gentPoolRequest\032$.google.storagetransfer" + - ".v1.AgentPool\"`\202\323\344\223\0024\"&/v1/projects/{pro" + - "ject_id=*}/agentPools:\nagent_pool\332A#proj" + - "ect_id,agent_pool,agent_pool_id\022\306\001\n\017Upda" + - "teAgentPool\0221.google.storagetransfer.v1." + - "UpdateAgentPoolRequest\032$.google.storaget" + - "ransfer.v1.AgentPool\"Z\202\323\344\223\002;2-/v1/{agent" + - "_pool.name=projects/*/agentPools/*}:\nage" + - "nt_pool\332A\026agent_pool,update_mask\022\227\001\n\014Get" + - "AgentPool\022..google.storagetransfer.v1.Ge" + - "tAgentPoolRequest\032$.google.storagetransf" + - "er.v1.AgentPool\"1\202\323\344\223\002$\022\"/v1/{name=proje" + - "cts/*/agentPools/*}\332A\004name\022\262\001\n\016ListAgent" + - "Pools\0220.google.storagetransfer.v1.ListAg" + - "entPoolsRequest\0321.google.storagetransfer" + - ".v1.ListAgentPoolsResponse\";\202\323\344\223\002(\022&/v1/" + - "projects/{project_id=*}/agentPools\332A\npro" + - "ject_id\022\217\001\n\017DeleteAgentPool\0221.google.sto" + - "ragetransfer.v1.DeleteAgentPoolRequest\032\026" + - ".google.protobuf.Empty\"1\202\323\344\223\002$*\"/v1/{nam" + - "e=projects/*/agentPools/*}\332A\004name\032R\312A\036st" + - "oragetransfer.googleapis.com\322A.https://w" + - "ww.googleapis.com/auth/cloud-platformB\352\001" + - "\n#com.google.storagetransfer.v1.protoB\rT" + - "ransferProtoZHgoogle.golang.org/genproto" + - "/googleapis/storagetransfer/v1;storagetr" + - "ansfer\370\001\001\252\002\037Google.Cloud.StorageTransfer" + - ".V1\312\002\037Google\\Cloud\\StorageTransfer\\V1\352\002\"" + - "Google::Cloud::StorageTransfer::V1b\006prot" + - "o3" + "\n(google/storagetransfer/v1/transfer.pro" + + "to\022\031google.storagetransfer.v1\032\034google/ap" + + "i/annotations.proto\032\027google/api/client.p" + + "roto\032\037google/api/field_behavior.proto\032#g" + + "oogle/longrunning/operations.proto\032\033goog" + + "le/protobuf/empty.proto\032 google/protobuf" + + "/field_mask.proto\032.google/storagetransfe" + + "r/v1/transfer_types.proto\"9\n\036GetGoogleSe" + + "rviceAccountRequest\022\027\n\nproject_id\030\001 \001(\tB" + + "\003\340A\002\"]\n\030CreateTransferJobRequest\022A\n\014tran" + + "sfer_job\030\001 \001(\0132&.google.storagetransfer." + + "v1.TransferJobB\003\340A\002\"\321\001\n\030UpdateTransferJo" + + "bRequest\022\025\n\010job_name\030\001 \001(\tB\003\340A\002\022\027\n\nproje" + + "ct_id\030\002 \001(\tB\003\340A\002\022A\n\014transfer_job\030\003 \001(\0132&" + + ".google.storagetransfer.v1.TransferJobB\003" + + "\340A\002\022B\n\036update_transfer_job_field_mask\030\004 " + + "\001(\0132\032.google.protobuf.FieldMask\"G\n\025GetTr" + + "ansferJobRequest\022\025\n\010job_name\030\001 \001(\tB\003\340A\002\022" + + "\027\n\nproject_id\030\002 \001(\tB\003\340A\002\"J\n\030DeleteTransf" + + "erJobRequest\022\025\n\010job_name\030\001 \001(\tB\003\340A\002\022\027\n\np" + + "roject_id\030\002 \001(\tB\003\340A\002\"U\n\027ListTransferJobs" + + "Request\022\023\n\006filter\030\001 \001(\tB\003\340A\002\022\021\n\tpage_siz" + + "e\030\004 \001(\005\022\022\n\npage_token\030\005 \001(\t\"r\n\030ListTrans" + + "ferJobsResponse\022=\n\rtransfer_jobs\030\001 \003(\0132&" + + ".google.storagetransfer.v1.TransferJob\022\027" + + "\n\017next_page_token\030\002 \001(\t\"2\n\035PauseTransfer" + + "OperationRequest\022\021\n\004name\030\001 \001(\tB\003\340A\002\"3\n\036R" + + "esumeTransferOperationRequest\022\021\n\004name\030\001 " + + "\001(\tB\003\340A\002\"G\n\025RunTransferJobRequest\022\025\n\010job" + + "_name\030\001 \001(\tB\003\340A\002\022\027\n\nproject_id\030\002 \001(\tB\003\340A" + + "\002\"\214\001\n\026CreateAgentPoolRequest\022\027\n\nproject_" + + "id\030\001 \001(\tB\003\340A\002\022=\n\nagent_pool\030\002 \001(\0132$.goog" + + "le.storagetransfer.v1.AgentPoolB\003\340A\002\022\032\n\r" + + "agent_pool_id\030\003 \001(\tB\003\340A\002\"\210\001\n\026UpdateAgent" + + "PoolRequest\022=\n\nagent_pool\030\001 \001(\0132$.google" + + ".storagetransfer.v1.AgentPoolB\003\340A\002\022/\n\013up" + + "date_mask\030\002 \001(\0132\032.google.protobuf.FieldM" + + "ask\"(\n\023GetAgentPoolRequest\022\021\n\004name\030\001 \001(\t" + + "B\003\340A\002\"+\n\026DeleteAgentPoolRequest\022\021\n\004name\030" + + "\001 \001(\tB\003\340A\002\"g\n\025ListAgentPoolsRequest\022\027\n\np" + + "roject_id\030\001 \001(\tB\003\340A\002\022\016\n\006filter\030\002 \001(\t\022\021\n\t" + + "page_size\030\003 \001(\005\022\022\n\npage_token\030\004 \001(\t\"l\n\026L" + + "istAgentPoolsResponse\0229\n\013agent_pools\030\001 \003" + + "(\0132$.google.storagetransfer.v1.AgentPool" + + "\022\027\n\017next_page_token\030\002 \001(\t2\221\023\n\026StorageTra" + + "nsferService\022\265\001\n\027GetGoogleServiceAccount" + + "\0229.google.storagetransfer.v1.GetGoogleSe" + + "rviceAccountRequest\032/.google.storagetran" + + "sfer.v1.GoogleServiceAccount\".\202\323\344\223\002(\022&/v" + + "1/googleServiceAccounts/{project_id}\022\230\001\n" + + "\021CreateTransferJob\0223.google.storagetrans" + + "fer.v1.CreateTransferJobRequest\032&.google" + + ".storagetransfer.v1.TransferJob\"&\202\323\344\223\002 \"" + + "\020/v1/transferJobs:\014transfer_job\022\233\001\n\021Upda" + + "teTransferJob\0223.google.storagetransfer.v" + + "1.UpdateTransferJobRequest\032&.google.stor" + + "agetransfer.v1.TransferJob\")\202\323\344\223\002#2\036/v1/" + + "{job_name=transferJobs/**}:\001*\022\222\001\n\016GetTra" + + "nsferJob\0220.google.storagetransfer.v1.Get" + + "TransferJobRequest\032&.google.storagetrans" + + "fer.v1.TransferJob\"&\202\323\344\223\002 \022\036/v1/{job_nam" + + "e=transferJobs/**}\022\225\001\n\020ListTransferJobs\022" + + "2.google.storagetransfer.v1.ListTransfer" + + "JobsRequest\0323.google.storagetransfer.v1." + + "ListTransferJobsResponse\"\030\202\323\344\223\002\022\022\020/v1/tr" + + "ansferJobs\022\235\001\n\026PauseTransferOperation\0228." + + "google.storagetransfer.v1.PauseTransferO" + + "perationRequest\032\026.google.protobuf.Empty\"" + + "1\202\323\344\223\002+\"&/v1/{name=transferOperations/**" + + "}:pause:\001*\022\240\001\n\027ResumeTransferOperation\0229" + + ".google.storagetransfer.v1.ResumeTransfe" + + "rOperationRequest\032\026.google.protobuf.Empt" + + "y\"2\202\323\344\223\002,\"\'/v1/{name=transferOperations/" + + "**}:resume:\001*\022\275\001\n\016RunTransferJob\0220.googl" + + "e.storagetransfer.v1.RunTransferJobReque" + + "st\032\035.google.longrunning.Operation\"Z\202\323\344\223\002" + + "\'\"\"/v1/{job_name=transferJobs/**}:run:\001*" + + "\312A*\n\025google.protobuf.Empty\022\021TransferOper" + + "ation\022\210\001\n\021DeleteTransferJob\0223.google.sto" + + "ragetransfer.v1.DeleteTransferJobRequest" + + "\032\026.google.protobuf.Empty\"&\202\323\344\223\002 *\036/v1/{j" + + "ob_name=transferJobs/**}\022\314\001\n\017CreateAgent" + + "Pool\0221.google.storagetransfer.v1.CreateA" + + "gentPoolRequest\032$.google.storagetransfer" + + ".v1.AgentPool\"`\202\323\344\223\0024\"&/v1/projects/{pro" + + "ject_id=*}/agentPools:\nagent_pool\332A#proj" + + "ect_id,agent_pool,agent_pool_id\022\306\001\n\017Upda" + + "teAgentPool\0221.google.storagetransfer.v1." + + "UpdateAgentPoolRequest\032$.google.storaget" + + "ransfer.v1.AgentPool\"Z\202\323\344\223\002;2-/v1/{agent" + + "_pool.name=projects/*/agentPools/*}:\nage" + + "nt_pool\332A\026agent_pool,update_mask\022\227\001\n\014Get" + + "AgentPool\022..google.storagetransfer.v1.Ge" + + "tAgentPoolRequest\032$.google.storagetransf" + + "er.v1.AgentPool\"1\202\323\344\223\002$\022\"/v1/{name=proje" + + "cts/*/agentPools/*}\332A\004name\022\262\001\n\016ListAgent" + + "Pools\0220.google.storagetransfer.v1.ListAg" + + "entPoolsRequest\0321.google.storagetransfer" + + ".v1.ListAgentPoolsResponse\";\202\323\344\223\002(\022&/v1/" + + "projects/{project_id=*}/agentPools\332A\npro" + + "ject_id\022\217\001\n\017DeleteAgentPool\0221.google.sto" + + "ragetransfer.v1.DeleteAgentPoolRequest\032\026" + + ".google.protobuf.Empty\"1\202\323\344\223\002$*\"/v1/{nam" + + "e=projects/*/agentPools/*}\332A\004name\032R\312A\036st" + + "oragetransfer.googleapis.com\322A.https://w" + + "ww.googleapis.com/auth/cloud-platformB\352\001" + + "\n#com.google.storagetransfer.v1.protoB\rT" + + "ransferProtoZHgoogle.golang.org/genproto" + + "/googleapis/storagetransfer/v1;storagetr" + + "ansfer\370\001\001\252\002\037Google.Cloud.StorageTransfer" + + ".V1\312\002\037Google\\Cloud\\StorageTransfer\\V1\352\002\"" + + "Google::Cloud::StorageTransfer::V1b\006prot" + + "o3" }; - descriptor = com.google.protobuf.Descriptors.FileDescriptor - .internalBuildGeneratedFileFrom(descriptorData, - new com.google.protobuf.Descriptors.FileDescriptor[] { - com.google.api.AnnotationsProto.getDescriptor(), - com.google.api.ClientProto.getDescriptor(), - com.google.api.FieldBehaviorProto.getDescriptor(), - com.google.longrunning.OperationsProto.getDescriptor(), - com.google.protobuf.EmptyProto.getDescriptor(), - com.google.protobuf.FieldMaskProto.getDescriptor(), - com.google.storagetransfer.v1.proto.TransferTypes.getDescriptor(), - }); + descriptor = + com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( + descriptorData, + new com.google.protobuf.Descriptors.FileDescriptor[] { + com.google.api.AnnotationsProto.getDescriptor(), + com.google.api.ClientProto.getDescriptor(), + com.google.api.FieldBehaviorProto.getDescriptor(), + com.google.longrunning.OperationsProto.getDescriptor(), + com.google.protobuf.EmptyProto.getDescriptor(), + com.google.protobuf.FieldMaskProto.getDescriptor(), + com.google.storagetransfer.v1.proto.TransferTypes.getDescriptor(), + }); internal_static_google_storagetransfer_v1_GetGoogleServiceAccountRequest_descriptor = - getDescriptor().getMessageTypes().get(0); - internal_static_google_storagetransfer_v1_GetGoogleServiceAccountRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_storagetransfer_v1_GetGoogleServiceAccountRequest_descriptor, - new java.lang.String[] { "ProjectId", }); + getDescriptor().getMessageTypes().get(0); + internal_static_google_storagetransfer_v1_GetGoogleServiceAccountRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_storagetransfer_v1_GetGoogleServiceAccountRequest_descriptor, + new java.lang.String[] { + "ProjectId", + }); internal_static_google_storagetransfer_v1_CreateTransferJobRequest_descriptor = - getDescriptor().getMessageTypes().get(1); - internal_static_google_storagetransfer_v1_CreateTransferJobRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_storagetransfer_v1_CreateTransferJobRequest_descriptor, - new java.lang.String[] { "TransferJob", }); + getDescriptor().getMessageTypes().get(1); + internal_static_google_storagetransfer_v1_CreateTransferJobRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_storagetransfer_v1_CreateTransferJobRequest_descriptor, + new java.lang.String[] { + "TransferJob", + }); internal_static_google_storagetransfer_v1_UpdateTransferJobRequest_descriptor = - getDescriptor().getMessageTypes().get(2); - internal_static_google_storagetransfer_v1_UpdateTransferJobRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_storagetransfer_v1_UpdateTransferJobRequest_descriptor, - new java.lang.String[] { "JobName", "ProjectId", "TransferJob", "UpdateTransferJobFieldMask", }); + getDescriptor().getMessageTypes().get(2); + internal_static_google_storagetransfer_v1_UpdateTransferJobRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_storagetransfer_v1_UpdateTransferJobRequest_descriptor, + new java.lang.String[] { + "JobName", "ProjectId", "TransferJob", "UpdateTransferJobFieldMask", + }); internal_static_google_storagetransfer_v1_GetTransferJobRequest_descriptor = - getDescriptor().getMessageTypes().get(3); - internal_static_google_storagetransfer_v1_GetTransferJobRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_storagetransfer_v1_GetTransferJobRequest_descriptor, - new java.lang.String[] { "JobName", "ProjectId", }); + getDescriptor().getMessageTypes().get(3); + internal_static_google_storagetransfer_v1_GetTransferJobRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_storagetransfer_v1_GetTransferJobRequest_descriptor, + new java.lang.String[] { + "JobName", "ProjectId", + }); internal_static_google_storagetransfer_v1_DeleteTransferJobRequest_descriptor = - getDescriptor().getMessageTypes().get(4); - internal_static_google_storagetransfer_v1_DeleteTransferJobRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_storagetransfer_v1_DeleteTransferJobRequest_descriptor, - new java.lang.String[] { "JobName", "ProjectId", }); + getDescriptor().getMessageTypes().get(4); + internal_static_google_storagetransfer_v1_DeleteTransferJobRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_storagetransfer_v1_DeleteTransferJobRequest_descriptor, + new java.lang.String[] { + "JobName", "ProjectId", + }); internal_static_google_storagetransfer_v1_ListTransferJobsRequest_descriptor = - getDescriptor().getMessageTypes().get(5); - internal_static_google_storagetransfer_v1_ListTransferJobsRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_storagetransfer_v1_ListTransferJobsRequest_descriptor, - new java.lang.String[] { "Filter", "PageSize", "PageToken", }); + getDescriptor().getMessageTypes().get(5); + internal_static_google_storagetransfer_v1_ListTransferJobsRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_storagetransfer_v1_ListTransferJobsRequest_descriptor, + new java.lang.String[] { + "Filter", "PageSize", "PageToken", + }); internal_static_google_storagetransfer_v1_ListTransferJobsResponse_descriptor = - getDescriptor().getMessageTypes().get(6); - internal_static_google_storagetransfer_v1_ListTransferJobsResponse_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_storagetransfer_v1_ListTransferJobsResponse_descriptor, - new java.lang.String[] { "TransferJobs", "NextPageToken", }); + getDescriptor().getMessageTypes().get(6); + internal_static_google_storagetransfer_v1_ListTransferJobsResponse_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_storagetransfer_v1_ListTransferJobsResponse_descriptor, + new java.lang.String[] { + "TransferJobs", "NextPageToken", + }); internal_static_google_storagetransfer_v1_PauseTransferOperationRequest_descriptor = - getDescriptor().getMessageTypes().get(7); - internal_static_google_storagetransfer_v1_PauseTransferOperationRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_storagetransfer_v1_PauseTransferOperationRequest_descriptor, - new java.lang.String[] { "Name", }); + getDescriptor().getMessageTypes().get(7); + internal_static_google_storagetransfer_v1_PauseTransferOperationRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_storagetransfer_v1_PauseTransferOperationRequest_descriptor, + new java.lang.String[] { + "Name", + }); internal_static_google_storagetransfer_v1_ResumeTransferOperationRequest_descriptor = - getDescriptor().getMessageTypes().get(8); - internal_static_google_storagetransfer_v1_ResumeTransferOperationRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_storagetransfer_v1_ResumeTransferOperationRequest_descriptor, - new java.lang.String[] { "Name", }); + getDescriptor().getMessageTypes().get(8); + internal_static_google_storagetransfer_v1_ResumeTransferOperationRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_storagetransfer_v1_ResumeTransferOperationRequest_descriptor, + new java.lang.String[] { + "Name", + }); internal_static_google_storagetransfer_v1_RunTransferJobRequest_descriptor = - getDescriptor().getMessageTypes().get(9); - internal_static_google_storagetransfer_v1_RunTransferJobRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_storagetransfer_v1_RunTransferJobRequest_descriptor, - new java.lang.String[] { "JobName", "ProjectId", }); + getDescriptor().getMessageTypes().get(9); + internal_static_google_storagetransfer_v1_RunTransferJobRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_storagetransfer_v1_RunTransferJobRequest_descriptor, + new java.lang.String[] { + "JobName", "ProjectId", + }); internal_static_google_storagetransfer_v1_CreateAgentPoolRequest_descriptor = - getDescriptor().getMessageTypes().get(10); - internal_static_google_storagetransfer_v1_CreateAgentPoolRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_storagetransfer_v1_CreateAgentPoolRequest_descriptor, - new java.lang.String[] { "ProjectId", "AgentPool", "AgentPoolId", }); + getDescriptor().getMessageTypes().get(10); + internal_static_google_storagetransfer_v1_CreateAgentPoolRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_storagetransfer_v1_CreateAgentPoolRequest_descriptor, + new java.lang.String[] { + "ProjectId", "AgentPool", "AgentPoolId", + }); internal_static_google_storagetransfer_v1_UpdateAgentPoolRequest_descriptor = - getDescriptor().getMessageTypes().get(11); - internal_static_google_storagetransfer_v1_UpdateAgentPoolRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_storagetransfer_v1_UpdateAgentPoolRequest_descriptor, - new java.lang.String[] { "AgentPool", "UpdateMask", }); + getDescriptor().getMessageTypes().get(11); + internal_static_google_storagetransfer_v1_UpdateAgentPoolRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_storagetransfer_v1_UpdateAgentPoolRequest_descriptor, + new java.lang.String[] { + "AgentPool", "UpdateMask", + }); internal_static_google_storagetransfer_v1_GetAgentPoolRequest_descriptor = - getDescriptor().getMessageTypes().get(12); - internal_static_google_storagetransfer_v1_GetAgentPoolRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_storagetransfer_v1_GetAgentPoolRequest_descriptor, - new java.lang.String[] { "Name", }); + getDescriptor().getMessageTypes().get(12); + internal_static_google_storagetransfer_v1_GetAgentPoolRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_storagetransfer_v1_GetAgentPoolRequest_descriptor, + new java.lang.String[] { + "Name", + }); internal_static_google_storagetransfer_v1_DeleteAgentPoolRequest_descriptor = - getDescriptor().getMessageTypes().get(13); - internal_static_google_storagetransfer_v1_DeleteAgentPoolRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_storagetransfer_v1_DeleteAgentPoolRequest_descriptor, - new java.lang.String[] { "Name", }); + getDescriptor().getMessageTypes().get(13); + internal_static_google_storagetransfer_v1_DeleteAgentPoolRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_storagetransfer_v1_DeleteAgentPoolRequest_descriptor, + new java.lang.String[] { + "Name", + }); internal_static_google_storagetransfer_v1_ListAgentPoolsRequest_descriptor = - getDescriptor().getMessageTypes().get(14); - internal_static_google_storagetransfer_v1_ListAgentPoolsRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_storagetransfer_v1_ListAgentPoolsRequest_descriptor, - new java.lang.String[] { "ProjectId", "Filter", "PageSize", "PageToken", }); + getDescriptor().getMessageTypes().get(14); + internal_static_google_storagetransfer_v1_ListAgentPoolsRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_storagetransfer_v1_ListAgentPoolsRequest_descriptor, + new java.lang.String[] { + "ProjectId", "Filter", "PageSize", "PageToken", + }); internal_static_google_storagetransfer_v1_ListAgentPoolsResponse_descriptor = - getDescriptor().getMessageTypes().get(15); - internal_static_google_storagetransfer_v1_ListAgentPoolsResponse_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_storagetransfer_v1_ListAgentPoolsResponse_descriptor, - new java.lang.String[] { "AgentPools", "NextPageToken", }); + getDescriptor().getMessageTypes().get(15); + internal_static_google_storagetransfer_v1_ListAgentPoolsResponse_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_storagetransfer_v1_ListAgentPoolsResponse_descriptor, + new java.lang.String[] { + "AgentPools", "NextPageToken", + }); com.google.protobuf.ExtensionRegistry registry = com.google.protobuf.ExtensionRegistry.newInstance(); registry.add(com.google.api.ClientProto.defaultHost); @@ -14711,8 +16542,8 @@ public com.google.storagetransfer.v1.proto.TransferProto.ListAgentPoolsResponse registry.add(com.google.api.ClientProto.methodSignature); registry.add(com.google.api.ClientProto.oauthScopes); registry.add(com.google.longrunning.OperationsProto.operationInfo); - com.google.protobuf.Descriptors.FileDescriptor - .internalUpdateFileDescriptor(descriptor, registry); + com.google.protobuf.Descriptors.FileDescriptor.internalUpdateFileDescriptor( + descriptor, registry); com.google.api.AnnotationsProto.getDescriptor(); com.google.api.ClientProto.getDescriptor(); com.google.api.FieldBehaviorProto.getDescriptor(); diff --git a/owl-bot-staging/v1/proto-google-cloud-storage-transfer-v1/src/main/java/com/google/storagetransfer/v1/proto/TransferTypes.java b/proto-google-cloud-storage-transfer-v1/src/main/java/com/google/storagetransfer/v1/proto/TransferTypes.java similarity index 73% rename from owl-bot-staging/v1/proto-google-cloud-storage-transfer-v1/src/main/java/com/google/storagetransfer/v1/proto/TransferTypes.java rename to proto-google-cloud-storage-transfer-v1/src/main/java/com/google/storagetransfer/v1/proto/TransferTypes.java index 5158536..a85860e 100644 --- a/owl-bot-staging/v1/proto-google-cloud-storage-transfer-v1/src/main/java/com/google/storagetransfer/v1/proto/TransferTypes.java +++ b/proto-google-cloud-storage-transfer-v1/src/main/java/com/google/storagetransfer/v1/proto/TransferTypes.java @@ -1,3 +1,18 @@ +/* + * 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/storagetransfer/v1/transfer_types.proto @@ -5,75 +20,87 @@ public final class TransferTypes { private TransferTypes() {} - public static void registerAllExtensions( - com.google.protobuf.ExtensionRegistryLite registry) { - } - public static void registerAllExtensions( - com.google.protobuf.ExtensionRegistry registry) { - registerAllExtensions( - (com.google.protobuf.ExtensionRegistryLite) registry); + public static void registerAllExtensions(com.google.protobuf.ExtensionRegistryLite registry) {} + + public static void registerAllExtensions(com.google.protobuf.ExtensionRegistry registry) { + registerAllExtensions((com.google.protobuf.ExtensionRegistryLite) registry); } - public interface GoogleServiceAccountOrBuilder extends + + public interface GoogleServiceAccountOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.storagetransfer.v1.GoogleServiceAccount) com.google.protobuf.MessageOrBuilder { /** + * + * *
      * Email address of the service account.
      * 
* * string account_email = 1; + * * @return The accountEmail. */ java.lang.String getAccountEmail(); /** + * + * *
      * Email address of the service account.
      * 
* * string account_email = 1; + * * @return The bytes for accountEmail. */ - com.google.protobuf.ByteString - getAccountEmailBytes(); + com.google.protobuf.ByteString getAccountEmailBytes(); /** + * + * *
      * Unique identifier for the service account.
      * 
* * string subject_id = 2; + * * @return The subjectId. */ java.lang.String getSubjectId(); /** + * + * *
      * Unique identifier for the service account.
      * 
* * string subject_id = 2; + * * @return The bytes for subjectId. */ - com.google.protobuf.ByteString - getSubjectIdBytes(); + com.google.protobuf.ByteString getSubjectIdBytes(); } /** + * + * *
    * Google service account
    * 
* * Protobuf type {@code google.storagetransfer.v1.GoogleServiceAccount} */ - public static final class GoogleServiceAccount extends - com.google.protobuf.GeneratedMessageV3 implements + public static final class GoogleServiceAccount extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.storagetransfer.v1.GoogleServiceAccount) GoogleServiceAccountOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use GoogleServiceAccount.newBuilder() to construct. private GoogleServiceAccount(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private GoogleServiceAccount() { accountEmail_ = ""; subjectId_ = ""; @@ -81,16 +108,15 @@ private GoogleServiceAccount() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new GoogleServiceAccount(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private GoogleServiceAccount( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -109,25 +135,27 @@ private GoogleServiceAccount( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - accountEmail_ = s; - break; - } - case 18: { - java.lang.String s = input.readStringRequireUtf8(); + accountEmail_ = s; + break; + } + case 18: + { + java.lang.String s = input.readStringRequireUtf8(); - subjectId_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + subjectId_ = s; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -135,34 +163,39 @@ private GoogleServiceAccount( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.storagetransfer.v1.proto.TransferTypes.internal_static_google_storagetransfer_v1_GoogleServiceAccount_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.storagetransfer.v1.proto.TransferTypes + .internal_static_google_storagetransfer_v1_GoogleServiceAccount_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.storagetransfer.v1.proto.TransferTypes.internal_static_google_storagetransfer_v1_GoogleServiceAccount_fieldAccessorTable + return com.google.storagetransfer.v1.proto.TransferTypes + .internal_static_google_storagetransfer_v1_GoogleServiceAccount_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.storagetransfer.v1.proto.TransferTypes.GoogleServiceAccount.class, com.google.storagetransfer.v1.proto.TransferTypes.GoogleServiceAccount.Builder.class); + com.google.storagetransfer.v1.proto.TransferTypes.GoogleServiceAccount.class, + com.google.storagetransfer.v1.proto.TransferTypes.GoogleServiceAccount.Builder.class); } public static final int ACCOUNT_EMAIL_FIELD_NUMBER = 1; private volatile java.lang.Object accountEmail_; /** + * + * *
      * Email address of the service account.
      * 
* * string account_email = 1; + * * @return The accountEmail. */ @java.lang.Override @@ -171,29 +204,29 @@ public java.lang.String getAccountEmail() { 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(); accountEmail_ = s; return s; } } /** + * + * *
      * Email address of the service account.
      * 
* * string account_email = 1; + * * @return The bytes for accountEmail. */ @java.lang.Override - public com.google.protobuf.ByteString - getAccountEmailBytes() { + public com.google.protobuf.ByteString getAccountEmailBytes() { java.lang.Object ref = accountEmail_; 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); accountEmail_ = b; return b; } else { @@ -204,11 +237,14 @@ public java.lang.String getAccountEmail() { public static final int SUBJECT_ID_FIELD_NUMBER = 2; private volatile java.lang.Object subjectId_; /** + * + * *
      * Unique identifier for the service account.
      * 
* * string subject_id = 2; + * * @return The subjectId. */ @java.lang.Override @@ -217,29 +253,29 @@ public java.lang.String getSubjectId() { 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(); subjectId_ = s; return s; } } /** + * + * *
      * Unique identifier for the service account.
      * 
* * string subject_id = 2; + * * @return The bytes for subjectId. */ @java.lang.Override - public com.google.protobuf.ByteString - getSubjectIdBytes() { + public com.google.protobuf.ByteString getSubjectIdBytes() { java.lang.Object ref = subjectId_; 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); subjectId_ = b; return b; } else { @@ -248,6 +284,7 @@ public java.lang.String getSubjectId() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -259,8 +296,7 @@ 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 (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(accountEmail_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, accountEmail_); } @@ -290,17 +326,17 @@ 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.storagetransfer.v1.proto.TransferTypes.GoogleServiceAccount)) { + if (!(obj + instanceof com.google.storagetransfer.v1.proto.TransferTypes.GoogleServiceAccount)) { return super.equals(obj); } - com.google.storagetransfer.v1.proto.TransferTypes.GoogleServiceAccount other = (com.google.storagetransfer.v1.proto.TransferTypes.GoogleServiceAccount) obj; + com.google.storagetransfer.v1.proto.TransferTypes.GoogleServiceAccount other = + (com.google.storagetransfer.v1.proto.TransferTypes.GoogleServiceAccount) obj; - if (!getAccountEmail() - .equals(other.getAccountEmail())) return false; - if (!getSubjectId() - .equals(other.getSubjectId())) return false; + if (!getAccountEmail().equals(other.getAccountEmail())) return false; + if (!getSubjectId().equals(other.getSubjectId())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -322,87 +358,95 @@ public int hashCode() { } public static com.google.storagetransfer.v1.proto.TransferTypes.GoogleServiceAccount parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.storagetransfer.v1.proto.TransferTypes.GoogleServiceAccount 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.storagetransfer.v1.proto.TransferTypes.GoogleServiceAccount parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.storagetransfer.v1.proto.TransferTypes.GoogleServiceAccount 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.storagetransfer.v1.proto.TransferTypes.GoogleServiceAccount parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.storagetransfer.v1.proto.TransferTypes.GoogleServiceAccount parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.storagetransfer.v1.proto.TransferTypes.GoogleServiceAccount 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.storagetransfer.v1.proto.TransferTypes.GoogleServiceAccount parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.storagetransfer.v1.proto.TransferTypes.GoogleServiceAccount parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.storagetransfer.v1.proto.TransferTypes.GoogleServiceAccount 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.storagetransfer.v1.proto.TransferTypes.GoogleServiceAccount parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.storagetransfer.v1.proto.TransferTypes.GoogleServiceAccount + parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } - public static com.google.storagetransfer.v1.proto.TransferTypes.GoogleServiceAccount parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + + public static com.google.storagetransfer.v1.proto.TransferTypes.GoogleServiceAccount + parseDelimitedFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.storagetransfer.v1.proto.TransferTypes.GoogleServiceAccount 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.storagetransfer.v1.proto.TransferTypes.GoogleServiceAccount 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.storagetransfer.v1.proto.TransferTypes.GoogleServiceAccount prototype) { + + public static Builder newBuilder( + com.google.storagetransfer.v1.proto.TransferTypes.GoogleServiceAccount 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 @@ -412,44 +456,50 @@ protected Builder newBuilderForType( return builder; } /** + * + * *
      * Google service account
      * 
* * Protobuf type {@code google.storagetransfer.v1.GoogleServiceAccount} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder + extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.storagetransfer.v1.GoogleServiceAccount) com.google.storagetransfer.v1.proto.TransferTypes.GoogleServiceAccountOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.storagetransfer.v1.proto.TransferTypes.internal_static_google_storagetransfer_v1_GoogleServiceAccount_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.storagetransfer.v1.proto.TransferTypes + .internal_static_google_storagetransfer_v1_GoogleServiceAccount_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.storagetransfer.v1.proto.TransferTypes.internal_static_google_storagetransfer_v1_GoogleServiceAccount_fieldAccessorTable + return com.google.storagetransfer.v1.proto.TransferTypes + .internal_static_google_storagetransfer_v1_GoogleServiceAccount_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.storagetransfer.v1.proto.TransferTypes.GoogleServiceAccount.class, com.google.storagetransfer.v1.proto.TransferTypes.GoogleServiceAccount.Builder.class); + com.google.storagetransfer.v1.proto.TransferTypes.GoogleServiceAccount.class, + com.google.storagetransfer.v1.proto.TransferTypes.GoogleServiceAccount.Builder + .class); } - // Construct using com.google.storagetransfer.v1.proto.TransferTypes.GoogleServiceAccount.newBuilder() + // Construct using + // com.google.storagetransfer.v1.proto.TransferTypes.GoogleServiceAccount.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -461,19 +511,22 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.storagetransfer.v1.proto.TransferTypes.internal_static_google_storagetransfer_v1_GoogleServiceAccount_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.storagetransfer.v1.proto.TransferTypes + .internal_static_google_storagetransfer_v1_GoogleServiceAccount_descriptor; } @java.lang.Override - public com.google.storagetransfer.v1.proto.TransferTypes.GoogleServiceAccount getDefaultInstanceForType() { - return com.google.storagetransfer.v1.proto.TransferTypes.GoogleServiceAccount.getDefaultInstance(); + public com.google.storagetransfer.v1.proto.TransferTypes.GoogleServiceAccount + getDefaultInstanceForType() { + return com.google.storagetransfer.v1.proto.TransferTypes.GoogleServiceAccount + .getDefaultInstance(); } @java.lang.Override public com.google.storagetransfer.v1.proto.TransferTypes.GoogleServiceAccount build() { - com.google.storagetransfer.v1.proto.TransferTypes.GoogleServiceAccount result = buildPartial(); + com.google.storagetransfer.v1.proto.TransferTypes.GoogleServiceAccount result = + buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } @@ -482,7 +535,8 @@ public com.google.storagetransfer.v1.proto.TransferTypes.GoogleServiceAccount bu @java.lang.Override public com.google.storagetransfer.v1.proto.TransferTypes.GoogleServiceAccount buildPartial() { - com.google.storagetransfer.v1.proto.TransferTypes.GoogleServiceAccount result = new com.google.storagetransfer.v1.proto.TransferTypes.GoogleServiceAccount(this); + com.google.storagetransfer.v1.proto.TransferTypes.GoogleServiceAccount result = + new com.google.storagetransfer.v1.proto.TransferTypes.GoogleServiceAccount(this); result.accountEmail_ = accountEmail_; result.subjectId_ = subjectId_; onBuilt(); @@ -493,46 +547,54 @@ public com.google.storagetransfer.v1.proto.TransferTypes.GoogleServiceAccount bu public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + int index, + java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { - if (other instanceof com.google.storagetransfer.v1.proto.TransferTypes.GoogleServiceAccount) { - return mergeFrom((com.google.storagetransfer.v1.proto.TransferTypes.GoogleServiceAccount)other); + if (other + instanceof com.google.storagetransfer.v1.proto.TransferTypes.GoogleServiceAccount) { + return mergeFrom( + (com.google.storagetransfer.v1.proto.TransferTypes.GoogleServiceAccount) other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.google.storagetransfer.v1.proto.TransferTypes.GoogleServiceAccount other) { - if (other == com.google.storagetransfer.v1.proto.TransferTypes.GoogleServiceAccount.getDefaultInstance()) return this; + public Builder mergeFrom( + com.google.storagetransfer.v1.proto.TransferTypes.GoogleServiceAccount other) { + if (other + == com.google.storagetransfer.v1.proto.TransferTypes.GoogleServiceAccount + .getDefaultInstance()) return this; if (!other.getAccountEmail().isEmpty()) { accountEmail_ = other.accountEmail_; onChanged(); @@ -560,7 +622,9 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.storagetransfer.v1.proto.TransferTypes.GoogleServiceAccount) e.getUnfinishedMessage(); + parsedMessage = + (com.google.storagetransfer.v1.proto.TransferTypes.GoogleServiceAccount) + e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -572,18 +636,20 @@ public Builder mergeFrom( private java.lang.Object accountEmail_ = ""; /** + * + * *
        * Email address of the service account.
        * 
* * string account_email = 1; + * * @return The accountEmail. */ public java.lang.String getAccountEmail() { java.lang.Object ref = accountEmail_; 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(); accountEmail_ = s; return s; @@ -592,20 +658,21 @@ public java.lang.String getAccountEmail() { } } /** + * + * *
        * Email address of the service account.
        * 
* * string account_email = 1; + * * @return The bytes for accountEmail. */ - public com.google.protobuf.ByteString - getAccountEmailBytes() { + public com.google.protobuf.ByteString getAccountEmailBytes() { java.lang.Object ref = accountEmail_; 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); accountEmail_ = b; return b; } else { @@ -613,54 +680,61 @@ public java.lang.String getAccountEmail() { } } /** + * + * *
        * Email address of the service account.
        * 
* * string account_email = 1; + * * @param value The accountEmail to set. * @return This builder for chaining. */ - public Builder setAccountEmail( - java.lang.String value) { + public Builder setAccountEmail(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + accountEmail_ = value; onChanged(); return this; } /** + * + * *
        * Email address of the service account.
        * 
* * string account_email = 1; + * * @return This builder for chaining. */ public Builder clearAccountEmail() { - + accountEmail_ = getDefaultInstance().getAccountEmail(); onChanged(); return this; } /** + * + * *
        * Email address of the service account.
        * 
* * string account_email = 1; + * * @param value The bytes for accountEmail to set. * @return This builder for chaining. */ - public Builder setAccountEmailBytes( - com.google.protobuf.ByteString value) { + public Builder setAccountEmailBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + accountEmail_ = value; onChanged(); return this; @@ -668,18 +742,20 @@ public Builder setAccountEmailBytes( private java.lang.Object subjectId_ = ""; /** + * + * *
        * Unique identifier for the service account.
        * 
* * string subject_id = 2; + * * @return The subjectId. */ public java.lang.String getSubjectId() { java.lang.Object ref = subjectId_; 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(); subjectId_ = s; return s; @@ -688,20 +764,21 @@ public java.lang.String getSubjectId() { } } /** + * + * *
        * Unique identifier for the service account.
        * 
* * string subject_id = 2; + * * @return The bytes for subjectId. */ - public com.google.protobuf.ByteString - getSubjectIdBytes() { + public com.google.protobuf.ByteString getSubjectIdBytes() { java.lang.Object ref = subjectId_; 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); subjectId_ = b; return b; } else { @@ -709,58 +786,66 @@ public java.lang.String getSubjectId() { } } /** + * + * *
        * Unique identifier for the service account.
        * 
* * string subject_id = 2; + * * @param value The subjectId to set. * @return This builder for chaining. */ - public Builder setSubjectId( - java.lang.String value) { + public Builder setSubjectId(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + subjectId_ = value; onChanged(); return this; } /** + * + * *
        * Unique identifier for the service account.
        * 
* * string subject_id = 2; + * * @return This builder for chaining. */ public Builder clearSubjectId() { - + subjectId_ = getDefaultInstance().getSubjectId(); onChanged(); return this; } /** + * + * *
        * Unique identifier for the service account.
        * 
* * string subject_id = 2; + * * @param value The bytes for subjectId to set. * @return This builder for chaining. */ - public Builder setSubjectIdBytes( - com.google.protobuf.ByteString value) { + public Builder setSubjectIdBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + subjectId_ = value; onChanged(); return this; } + @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -773,30 +858,33 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.storagetransfer.v1.GoogleServiceAccount) } // @@protoc_insertion_point(class_scope:google.storagetransfer.v1.GoogleServiceAccount) - private static final com.google.storagetransfer.v1.proto.TransferTypes.GoogleServiceAccount DEFAULT_INSTANCE; + private static final com.google.storagetransfer.v1.proto.TransferTypes.GoogleServiceAccount + DEFAULT_INSTANCE; + static { - DEFAULT_INSTANCE = new com.google.storagetransfer.v1.proto.TransferTypes.GoogleServiceAccount(); + DEFAULT_INSTANCE = + new com.google.storagetransfer.v1.proto.TransferTypes.GoogleServiceAccount(); } - public static com.google.storagetransfer.v1.proto.TransferTypes.GoogleServiceAccount getDefaultInstance() { + public static com.google.storagetransfer.v1.proto.TransferTypes.GoogleServiceAccount + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public GoogleServiceAccount parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new GoogleServiceAccount(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public GoogleServiceAccount parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new GoogleServiceAccount(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -808,59 +896,72 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.storagetransfer.v1.proto.TransferTypes.GoogleServiceAccount getDefaultInstanceForType() { + public com.google.storagetransfer.v1.proto.TransferTypes.GoogleServiceAccount + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - public interface AwsAccessKeyOrBuilder extends + public interface AwsAccessKeyOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.storagetransfer.v1.AwsAccessKey) com.google.protobuf.MessageOrBuilder { /** + * + * *
      * Required. AWS access key ID.
      * 
* * string access_key_id = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The accessKeyId. */ java.lang.String getAccessKeyId(); /** + * + * *
      * Required. AWS access key ID.
      * 
* * string access_key_id = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for accessKeyId. */ - com.google.protobuf.ByteString - getAccessKeyIdBytes(); + com.google.protobuf.ByteString getAccessKeyIdBytes(); /** + * + * *
      * Required. AWS secret access key. This field is not returned in RPC
      * responses.
      * 
* * string secret_access_key = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The secretAccessKey. */ java.lang.String getSecretAccessKey(); /** + * + * *
      * Required. AWS secret access key. This field is not returned in RPC
      * responses.
      * 
* * string secret_access_key = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for secretAccessKey. */ - com.google.protobuf.ByteString - getSecretAccessKeyBytes(); + com.google.protobuf.ByteString getSecretAccessKeyBytes(); } /** + * + * *
    * AWS access key (see
    * [AWS Security
@@ -871,15 +972,16 @@ public interface AwsAccessKeyOrBuilder extends
    *
    * Protobuf type {@code google.storagetransfer.v1.AwsAccessKey}
    */
-  public static final class AwsAccessKey extends
-      com.google.protobuf.GeneratedMessageV3 implements
+  public static final class AwsAccessKey extends com.google.protobuf.GeneratedMessageV3
+      implements
       // @@protoc_insertion_point(message_implements:google.storagetransfer.v1.AwsAccessKey)
       AwsAccessKeyOrBuilder {
-  private static final long serialVersionUID = 0L;
+    private static final long serialVersionUID = 0L;
     // Use AwsAccessKey.newBuilder() to construct.
     private AwsAccessKey(com.google.protobuf.GeneratedMessageV3.Builder builder) {
       super(builder);
     }
+
     private AwsAccessKey() {
       accessKeyId_ = "";
       secretAccessKey_ = "";
@@ -887,16 +989,15 @@ private AwsAccessKey() {
 
     @java.lang.Override
     @SuppressWarnings({"unused"})
-    protected java.lang.Object newInstance(
-        UnusedPrivateParameter unused) {
+    protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
       return new AwsAccessKey();
     }
 
     @java.lang.Override
-    public final com.google.protobuf.UnknownFieldSet
-    getUnknownFields() {
+    public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
       return this.unknownFields;
     }
+
     private AwsAccessKey(
         com.google.protobuf.CodedInputStream input,
         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -915,25 +1016,27 @@ private AwsAccessKey(
             case 0:
               done = true;
               break;
-            case 10: {
-              java.lang.String s = input.readStringRequireUtf8();
+            case 10:
+              {
+                java.lang.String s = input.readStringRequireUtf8();
 
-              accessKeyId_ = s;
-              break;
-            }
-            case 18: {
-              java.lang.String s = input.readStringRequireUtf8();
+                accessKeyId_ = s;
+                break;
+              }
+            case 18:
+              {
+                java.lang.String s = input.readStringRequireUtf8();
 
-              secretAccessKey_ = s;
-              break;
-            }
-            default: {
-              if (!parseUnknownField(
-                  input, unknownFields, extensionRegistry, tag)) {
-                done = true;
+                secretAccessKey_ = s;
+                break;
+              }
+            default:
+              {
+                if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
+                  done = true;
+                }
+                break;
               }
-              break;
-            }
           }
         }
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -941,34 +1044,39 @@ private AwsAccessKey(
       } catch (com.google.protobuf.UninitializedMessageException e) {
         throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
       } catch (java.io.IOException e) {
-        throw new com.google.protobuf.InvalidProtocolBufferException(
-            e).setUnfinishedMessage(this);
+        throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
       } finally {
         this.unknownFields = unknownFields.build();
         makeExtensionsImmutable();
       }
     }
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.storagetransfer.v1.proto.TransferTypes.internal_static_google_storagetransfer_v1_AwsAccessKey_descriptor;
+
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.storagetransfer.v1.proto.TransferTypes
+          .internal_static_google_storagetransfer_v1_AwsAccessKey_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.storagetransfer.v1.proto.TransferTypes.internal_static_google_storagetransfer_v1_AwsAccessKey_fieldAccessorTable
+      return com.google.storagetransfer.v1.proto.TransferTypes
+          .internal_static_google_storagetransfer_v1_AwsAccessKey_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.storagetransfer.v1.proto.TransferTypes.AwsAccessKey.class, com.google.storagetransfer.v1.proto.TransferTypes.AwsAccessKey.Builder.class);
+              com.google.storagetransfer.v1.proto.TransferTypes.AwsAccessKey.class,
+              com.google.storagetransfer.v1.proto.TransferTypes.AwsAccessKey.Builder.class);
     }
 
     public static final int ACCESS_KEY_ID_FIELD_NUMBER = 1;
     private volatile java.lang.Object accessKeyId_;
     /**
+     *
+     *
      * 
      * Required. AWS access key ID.
      * 
* * string access_key_id = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The accessKeyId. */ @java.lang.Override @@ -977,29 +1085,29 @@ public java.lang.String getAccessKeyId() { 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(); accessKeyId_ = s; return s; } } /** + * + * *
      * Required. AWS access key ID.
      * 
* * string access_key_id = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for accessKeyId. */ @java.lang.Override - public com.google.protobuf.ByteString - getAccessKeyIdBytes() { + public com.google.protobuf.ByteString getAccessKeyIdBytes() { java.lang.Object ref = accessKeyId_; 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); accessKeyId_ = b; return b; } else { @@ -1010,12 +1118,15 @@ public java.lang.String getAccessKeyId() { public static final int SECRET_ACCESS_KEY_FIELD_NUMBER = 2; private volatile java.lang.Object secretAccessKey_; /** + * + * *
      * Required. AWS secret access key. This field is not returned in RPC
      * responses.
      * 
* * string secret_access_key = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The secretAccessKey. */ @java.lang.Override @@ -1024,30 +1135,30 @@ public java.lang.String getSecretAccessKey() { 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(); secretAccessKey_ = s; return s; } } /** + * + * *
      * Required. AWS secret access key. This field is not returned in RPC
      * responses.
      * 
* * string secret_access_key = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for secretAccessKey. */ @java.lang.Override - public com.google.protobuf.ByteString - getSecretAccessKeyBytes() { + public com.google.protobuf.ByteString getSecretAccessKeyBytes() { java.lang.Object ref = secretAccessKey_; 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); secretAccessKey_ = b; return b; } else { @@ -1056,6 +1167,7 @@ public java.lang.String getSecretAccessKey() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -1067,8 +1179,7 @@ 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 (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(accessKeyId_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, accessKeyId_); } @@ -1098,17 +1209,16 @@ 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.storagetransfer.v1.proto.TransferTypes.AwsAccessKey)) { return super.equals(obj); } - com.google.storagetransfer.v1.proto.TransferTypes.AwsAccessKey other = (com.google.storagetransfer.v1.proto.TransferTypes.AwsAccessKey) obj; + com.google.storagetransfer.v1.proto.TransferTypes.AwsAccessKey other = + (com.google.storagetransfer.v1.proto.TransferTypes.AwsAccessKey) obj; - if (!getAccessKeyId() - .equals(other.getAccessKeyId())) return false; - if (!getSecretAccessKey() - .equals(other.getSecretAccessKey())) return false; + if (!getAccessKeyId().equals(other.getAccessKeyId())) return false; + if (!getSecretAccessKey().equals(other.getSecretAccessKey())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -1130,87 +1240,94 @@ public int hashCode() { } public static com.google.storagetransfer.v1.proto.TransferTypes.AwsAccessKey parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.storagetransfer.v1.proto.TransferTypes.AwsAccessKey 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.storagetransfer.v1.proto.TransferTypes.AwsAccessKey parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.storagetransfer.v1.proto.TransferTypes.AwsAccessKey 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.storagetransfer.v1.proto.TransferTypes.AwsAccessKey parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.storagetransfer.v1.proto.TransferTypes.AwsAccessKey parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.storagetransfer.v1.proto.TransferTypes.AwsAccessKey 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.storagetransfer.v1.proto.TransferTypes.AwsAccessKey parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.storagetransfer.v1.proto.TransferTypes.AwsAccessKey parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.storagetransfer.v1.proto.TransferTypes.AwsAccessKey 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.storagetransfer.v1.proto.TransferTypes.AwsAccessKey parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.storagetransfer.v1.proto.TransferTypes.AwsAccessKey parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.storagetransfer.v1.proto.TransferTypes.AwsAccessKey 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.storagetransfer.v1.proto.TransferTypes.AwsAccessKey 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.storagetransfer.v1.proto.TransferTypes.AwsAccessKey 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.storagetransfer.v1.proto.TransferTypes.AwsAccessKey prototype) { + + public static Builder newBuilder( + com.google.storagetransfer.v1.proto.TransferTypes.AwsAccessKey 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 @@ -1220,6 +1337,8 @@ protected Builder newBuilderForType( return builder; } /** + * + * *
      * AWS access key (see
      * [AWS Security
@@ -1230,21 +1349,24 @@ protected Builder newBuilderForType(
      *
      * Protobuf type {@code google.storagetransfer.v1.AwsAccessKey}
      */
-    public static final class Builder extends
-        com.google.protobuf.GeneratedMessageV3.Builder implements
+    public static final class Builder
+        extends com.google.protobuf.GeneratedMessageV3.Builder
+        implements
         // @@protoc_insertion_point(builder_implements:google.storagetransfer.v1.AwsAccessKey)
         com.google.storagetransfer.v1.proto.TransferTypes.AwsAccessKeyOrBuilder {
-      public static final com.google.protobuf.Descriptors.Descriptor
-          getDescriptor() {
-        return com.google.storagetransfer.v1.proto.TransferTypes.internal_static_google_storagetransfer_v1_AwsAccessKey_descriptor;
+      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+        return com.google.storagetransfer.v1.proto.TransferTypes
+            .internal_static_google_storagetransfer_v1_AwsAccessKey_descriptor;
       }
 
       @java.lang.Override
       protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
           internalGetFieldAccessorTable() {
-        return com.google.storagetransfer.v1.proto.TransferTypes.internal_static_google_storagetransfer_v1_AwsAccessKey_fieldAccessorTable
+        return com.google.storagetransfer.v1.proto.TransferTypes
+            .internal_static_google_storagetransfer_v1_AwsAccessKey_fieldAccessorTable
             .ensureFieldAccessorsInitialized(
-                com.google.storagetransfer.v1.proto.TransferTypes.AwsAccessKey.class, com.google.storagetransfer.v1.proto.TransferTypes.AwsAccessKey.Builder.class);
+                com.google.storagetransfer.v1.proto.TransferTypes.AwsAccessKey.class,
+                com.google.storagetransfer.v1.proto.TransferTypes.AwsAccessKey.Builder.class);
       }
 
       // Construct using com.google.storagetransfer.v1.proto.TransferTypes.AwsAccessKey.newBuilder()
@@ -1252,16 +1374,15 @@ private Builder() {
         maybeForceBuilderInitialization();
       }
 
-      private Builder(
-          com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+      private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
         super(parent);
         maybeForceBuilderInitialization();
       }
+
       private void maybeForceBuilderInitialization() {
-        if (com.google.protobuf.GeneratedMessageV3
-                .alwaysUseFieldBuilders) {
-        }
+        if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {}
       }
+
       @java.lang.Override
       public Builder clear() {
         super.clear();
@@ -1273,13 +1394,14 @@ public Builder clear() {
       }
 
       @java.lang.Override
-      public com.google.protobuf.Descriptors.Descriptor
-          getDescriptorForType() {
-        return com.google.storagetransfer.v1.proto.TransferTypes.internal_static_google_storagetransfer_v1_AwsAccessKey_descriptor;
+      public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+        return com.google.storagetransfer.v1.proto.TransferTypes
+            .internal_static_google_storagetransfer_v1_AwsAccessKey_descriptor;
       }
 
       @java.lang.Override
-      public com.google.storagetransfer.v1.proto.TransferTypes.AwsAccessKey getDefaultInstanceForType() {
+      public com.google.storagetransfer.v1.proto.TransferTypes.AwsAccessKey
+          getDefaultInstanceForType() {
         return com.google.storagetransfer.v1.proto.TransferTypes.AwsAccessKey.getDefaultInstance();
       }
 
@@ -1294,7 +1416,8 @@ public com.google.storagetransfer.v1.proto.TransferTypes.AwsAccessKey build() {
 
       @java.lang.Override
       public com.google.storagetransfer.v1.proto.TransferTypes.AwsAccessKey buildPartial() {
-        com.google.storagetransfer.v1.proto.TransferTypes.AwsAccessKey result = new com.google.storagetransfer.v1.proto.TransferTypes.AwsAccessKey(this);
+        com.google.storagetransfer.v1.proto.TransferTypes.AwsAccessKey result =
+            new com.google.storagetransfer.v1.proto.TransferTypes.AwsAccessKey(this);
         result.accessKeyId_ = accessKeyId_;
         result.secretAccessKey_ = secretAccessKey_;
         onBuilt();
@@ -1305,46 +1428,52 @@ public com.google.storagetransfer.v1.proto.TransferTypes.AwsAccessKey buildParti
       public Builder clone() {
         return super.clone();
       }
+
       @java.lang.Override
       public Builder setField(
-          com.google.protobuf.Descriptors.FieldDescriptor field,
-          java.lang.Object value) {
+          com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
         return super.setField(field, value);
       }
+
       @java.lang.Override
-      public Builder clearField(
-          com.google.protobuf.Descriptors.FieldDescriptor field) {
+      public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
         return super.clearField(field);
       }
+
       @java.lang.Override
-      public Builder clearOneof(
-          com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+      public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
         return super.clearOneof(oneof);
       }
+
       @java.lang.Override
       public Builder setRepeatedField(
           com.google.protobuf.Descriptors.FieldDescriptor field,
-          int index, java.lang.Object value) {
+          int index,
+          java.lang.Object value) {
         return super.setRepeatedField(field, index, value);
       }
+
       @java.lang.Override
       public Builder addRepeatedField(
-          com.google.protobuf.Descriptors.FieldDescriptor field,
-          java.lang.Object value) {
+          com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
         return super.addRepeatedField(field, value);
       }
+
       @java.lang.Override
       public Builder mergeFrom(com.google.protobuf.Message other) {
         if (other instanceof com.google.storagetransfer.v1.proto.TransferTypes.AwsAccessKey) {
-          return mergeFrom((com.google.storagetransfer.v1.proto.TransferTypes.AwsAccessKey)other);
+          return mergeFrom((com.google.storagetransfer.v1.proto.TransferTypes.AwsAccessKey) other);
         } else {
           super.mergeFrom(other);
           return this;
         }
       }
 
-      public Builder mergeFrom(com.google.storagetransfer.v1.proto.TransferTypes.AwsAccessKey other) {
-        if (other == com.google.storagetransfer.v1.proto.TransferTypes.AwsAccessKey.getDefaultInstance()) return this;
+      public Builder mergeFrom(
+          com.google.storagetransfer.v1.proto.TransferTypes.AwsAccessKey other) {
+        if (other
+            == com.google.storagetransfer.v1.proto.TransferTypes.AwsAccessKey.getDefaultInstance())
+          return this;
         if (!other.getAccessKeyId().isEmpty()) {
           accessKeyId_ = other.accessKeyId_;
           onChanged();
@@ -1372,7 +1501,9 @@ public Builder mergeFrom(
         try {
           parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
         } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-          parsedMessage = (com.google.storagetransfer.v1.proto.TransferTypes.AwsAccessKey) e.getUnfinishedMessage();
+          parsedMessage =
+              (com.google.storagetransfer.v1.proto.TransferTypes.AwsAccessKey)
+                  e.getUnfinishedMessage();
           throw e.unwrapIOException();
         } finally {
           if (parsedMessage != null) {
@@ -1384,18 +1515,20 @@ public Builder mergeFrom(
 
       private java.lang.Object accessKeyId_ = "";
       /**
+       *
+       *
        * 
        * Required. AWS access key ID.
        * 
* * string access_key_id = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The accessKeyId. */ public java.lang.String getAccessKeyId() { java.lang.Object ref = accessKeyId_; 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(); accessKeyId_ = s; return s; @@ -1404,20 +1537,21 @@ public java.lang.String getAccessKeyId() { } } /** + * + * *
        * Required. AWS access key ID.
        * 
* * string access_key_id = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for accessKeyId. */ - public com.google.protobuf.ByteString - getAccessKeyIdBytes() { + public com.google.protobuf.ByteString getAccessKeyIdBytes() { java.lang.Object ref = accessKeyId_; 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); accessKeyId_ = b; return b; } else { @@ -1425,54 +1559,61 @@ public java.lang.String getAccessKeyId() { } } /** + * + * *
        * Required. AWS access key ID.
        * 
* * string access_key_id = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The accessKeyId to set. * @return This builder for chaining. */ - public Builder setAccessKeyId( - java.lang.String value) { + public Builder setAccessKeyId(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + accessKeyId_ = value; onChanged(); return this; } /** + * + * *
        * Required. AWS access key ID.
        * 
* * string access_key_id = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return This builder for chaining. */ public Builder clearAccessKeyId() { - + accessKeyId_ = getDefaultInstance().getAccessKeyId(); onChanged(); return this; } /** + * + * *
        * Required. AWS access key ID.
        * 
* * string access_key_id = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The bytes for accessKeyId to set. * @return This builder for chaining. */ - public Builder setAccessKeyIdBytes( - com.google.protobuf.ByteString value) { + public Builder setAccessKeyIdBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + accessKeyId_ = value; onChanged(); return this; @@ -1480,19 +1621,21 @@ public Builder setAccessKeyIdBytes( private java.lang.Object secretAccessKey_ = ""; /** + * + * *
        * Required. AWS secret access key. This field is not returned in RPC
        * responses.
        * 
* * string secret_access_key = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The secretAccessKey. */ public java.lang.String getSecretAccessKey() { java.lang.Object ref = secretAccessKey_; 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(); secretAccessKey_ = s; return s; @@ -1501,21 +1644,22 @@ public java.lang.String getSecretAccessKey() { } } /** + * + * *
        * Required. AWS secret access key. This field is not returned in RPC
        * responses.
        * 
* * string secret_access_key = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for secretAccessKey. */ - public com.google.protobuf.ByteString - getSecretAccessKeyBytes() { + public com.google.protobuf.ByteString getSecretAccessKeyBytes() { java.lang.Object ref = secretAccessKey_; 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); secretAccessKey_ = b; return b; } else { @@ -1523,61 +1667,69 @@ public java.lang.String getSecretAccessKey() { } } /** + * + * *
        * Required. AWS secret access key. This field is not returned in RPC
        * responses.
        * 
* * string secret_access_key = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The secretAccessKey to set. * @return This builder for chaining. */ - public Builder setSecretAccessKey( - java.lang.String value) { + public Builder setSecretAccessKey(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + secretAccessKey_ = value; onChanged(); return this; } /** + * + * *
        * Required. AWS secret access key. This field is not returned in RPC
        * responses.
        * 
* * string secret_access_key = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return This builder for chaining. */ public Builder clearSecretAccessKey() { - + secretAccessKey_ = getDefaultInstance().getSecretAccessKey(); onChanged(); return this; } /** + * + * *
        * Required. AWS secret access key. This field is not returned in RPC
        * responses.
        * 
* * string secret_access_key = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The bytes for secretAccessKey to set. * @return This builder for chaining. */ - public Builder setSecretAccessKeyBytes( - com.google.protobuf.ByteString value) { + public Builder setSecretAccessKeyBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + secretAccessKey_ = value; onChanged(); return this; } + @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -1590,30 +1742,32 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.storagetransfer.v1.AwsAccessKey) } // @@protoc_insertion_point(class_scope:google.storagetransfer.v1.AwsAccessKey) - private static final com.google.storagetransfer.v1.proto.TransferTypes.AwsAccessKey DEFAULT_INSTANCE; + private static final com.google.storagetransfer.v1.proto.TransferTypes.AwsAccessKey + DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.storagetransfer.v1.proto.TransferTypes.AwsAccessKey(); } - public static com.google.storagetransfer.v1.proto.TransferTypes.AwsAccessKey getDefaultInstance() { + public static com.google.storagetransfer.v1.proto.TransferTypes.AwsAccessKey + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public AwsAccessKey parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new AwsAccessKey(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public AwsAccessKey parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new AwsAccessKey(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1625,17 +1779,20 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.storagetransfer.v1.proto.TransferTypes.AwsAccessKey getDefaultInstanceForType() { + public com.google.storagetransfer.v1.proto.TransferTypes.AwsAccessKey + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - public interface AzureCredentialsOrBuilder extends + public interface AzureCredentialsOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.storagetransfer.v1.AzureCredentials) com.google.protobuf.MessageOrBuilder { /** + * + * *
      * Required. Azure shared access signature (SAS).
      * For more information about SAS, see
@@ -1645,10 +1802,13 @@ public interface AzureCredentialsOrBuilder extends
      * 
* * string sas_token = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The sasToken. */ java.lang.String getSasToken(); /** + * + * *
      * Required. Azure shared access signature (SAS).
      * For more information about SAS, see
@@ -1658,12 +1818,14 @@ public interface AzureCredentialsOrBuilder extends
      * 
* * string sas_token = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for sasToken. */ - com.google.protobuf.ByteString - getSasTokenBytes(); + com.google.protobuf.ByteString getSasTokenBytes(); } /** + * + * *
    * Azure credentials
    * For information on our data retention policy for user credentials, see
@@ -1672,31 +1834,31 @@ public interface AzureCredentialsOrBuilder extends
    *
    * Protobuf type {@code google.storagetransfer.v1.AzureCredentials}
    */
-  public static final class AzureCredentials extends
-      com.google.protobuf.GeneratedMessageV3 implements
+  public static final class AzureCredentials extends com.google.protobuf.GeneratedMessageV3
+      implements
       // @@protoc_insertion_point(message_implements:google.storagetransfer.v1.AzureCredentials)
       AzureCredentialsOrBuilder {
-  private static final long serialVersionUID = 0L;
+    private static final long serialVersionUID = 0L;
     // Use AzureCredentials.newBuilder() to construct.
     private AzureCredentials(com.google.protobuf.GeneratedMessageV3.Builder builder) {
       super(builder);
     }
+
     private AzureCredentials() {
       sasToken_ = "";
     }
 
     @java.lang.Override
     @SuppressWarnings({"unused"})
-    protected java.lang.Object newInstance(
-        UnusedPrivateParameter unused) {
+    protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
       return new AzureCredentials();
     }
 
     @java.lang.Override
-    public final com.google.protobuf.UnknownFieldSet
-    getUnknownFields() {
+    public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
       return this.unknownFields;
     }
+
     private AzureCredentials(
         com.google.protobuf.CodedInputStream input,
         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -1715,19 +1877,20 @@ private AzureCredentials(
             case 0:
               done = true;
               break;
-            case 18: {
-              java.lang.String s = input.readStringRequireUtf8();
+            case 18:
+              {
+                java.lang.String s = input.readStringRequireUtf8();
 
-              sasToken_ = s;
-              break;
-            }
-            default: {
-              if (!parseUnknownField(
-                  input, unknownFields, extensionRegistry, tag)) {
-                done = true;
+                sasToken_ = s;
+                break;
+              }
+            default:
+              {
+                if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
+                  done = true;
+                }
+                break;
               }
-              break;
-            }
           }
         }
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -1735,29 +1898,33 @@ private AzureCredentials(
       } catch (com.google.protobuf.UninitializedMessageException e) {
         throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
       } catch (java.io.IOException e) {
-        throw new com.google.protobuf.InvalidProtocolBufferException(
-            e).setUnfinishedMessage(this);
+        throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
       } finally {
         this.unknownFields = unknownFields.build();
         makeExtensionsImmutable();
       }
     }
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.storagetransfer.v1.proto.TransferTypes.internal_static_google_storagetransfer_v1_AzureCredentials_descriptor;
+
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.storagetransfer.v1.proto.TransferTypes
+          .internal_static_google_storagetransfer_v1_AzureCredentials_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.storagetransfer.v1.proto.TransferTypes.internal_static_google_storagetransfer_v1_AzureCredentials_fieldAccessorTable
+      return com.google.storagetransfer.v1.proto.TransferTypes
+          .internal_static_google_storagetransfer_v1_AzureCredentials_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.storagetransfer.v1.proto.TransferTypes.AzureCredentials.class, com.google.storagetransfer.v1.proto.TransferTypes.AzureCredentials.Builder.class);
+              com.google.storagetransfer.v1.proto.TransferTypes.AzureCredentials.class,
+              com.google.storagetransfer.v1.proto.TransferTypes.AzureCredentials.Builder.class);
     }
 
     public static final int SAS_TOKEN_FIELD_NUMBER = 2;
     private volatile java.lang.Object sasToken_;
     /**
+     *
+     *
      * 
      * Required. Azure shared access signature (SAS).
      * For more information about SAS, see
@@ -1767,6 +1934,7 @@ private AzureCredentials(
      * 
* * string sas_token = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The sasToken. */ @java.lang.Override @@ -1775,14 +1943,15 @@ public java.lang.String getSasToken() { 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(); sasToken_ = s; return s; } } /** + * + * *
      * Required. Azure shared access signature (SAS).
      * For more information about SAS, see
@@ -1792,16 +1961,15 @@ public java.lang.String getSasToken() {
      * 
* * string sas_token = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for sasToken. */ @java.lang.Override - public com.google.protobuf.ByteString - getSasTokenBytes() { + public com.google.protobuf.ByteString getSasTokenBytes() { java.lang.Object ref = sasToken_; 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); sasToken_ = b; return b; } else { @@ -1810,6 +1978,7 @@ public java.lang.String getSasToken() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -1821,8 +1990,7 @@ 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 (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(sasToken_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 2, sasToken_); } @@ -1846,15 +2014,15 @@ 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.storagetransfer.v1.proto.TransferTypes.AzureCredentials)) { return super.equals(obj); } - com.google.storagetransfer.v1.proto.TransferTypes.AzureCredentials other = (com.google.storagetransfer.v1.proto.TransferTypes.AzureCredentials) obj; + com.google.storagetransfer.v1.proto.TransferTypes.AzureCredentials other = + (com.google.storagetransfer.v1.proto.TransferTypes.AzureCredentials) obj; - if (!getSasToken() - .equals(other.getSasToken())) return false; + if (!getSasToken().equals(other.getSasToken())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -1874,87 +2042,95 @@ public int hashCode() { } public static com.google.storagetransfer.v1.proto.TransferTypes.AzureCredentials parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.storagetransfer.v1.proto.TransferTypes.AzureCredentials 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.storagetransfer.v1.proto.TransferTypes.AzureCredentials parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.storagetransfer.v1.proto.TransferTypes.AzureCredentials 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.storagetransfer.v1.proto.TransferTypes.AzureCredentials parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.storagetransfer.v1.proto.TransferTypes.AzureCredentials parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.storagetransfer.v1.proto.TransferTypes.AzureCredentials 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.storagetransfer.v1.proto.TransferTypes.AzureCredentials parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.storagetransfer.v1.proto.TransferTypes.AzureCredentials parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.storagetransfer.v1.proto.TransferTypes.AzureCredentials 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.storagetransfer.v1.proto.TransferTypes.AzureCredentials parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.storagetransfer.v1.proto.TransferTypes.AzureCredentials + parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } - public static com.google.storagetransfer.v1.proto.TransferTypes.AzureCredentials parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + + public static com.google.storagetransfer.v1.proto.TransferTypes.AzureCredentials + parseDelimitedFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.storagetransfer.v1.proto.TransferTypes.AzureCredentials 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.storagetransfer.v1.proto.TransferTypes.AzureCredentials 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.storagetransfer.v1.proto.TransferTypes.AzureCredentials prototype) { + + public static Builder newBuilder( + com.google.storagetransfer.v1.proto.TransferTypes.AzureCredentials 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 @@ -1964,6 +2140,8 @@ protected Builder newBuilderForType( return builder; } /** + * + * *
      * Azure credentials
      * For information on our data retention policy for user credentials, see
@@ -1972,38 +2150,41 @@ protected Builder newBuilderForType(
      *
      * Protobuf type {@code google.storagetransfer.v1.AzureCredentials}
      */
-    public static final class Builder extends
-        com.google.protobuf.GeneratedMessageV3.Builder implements
+    public static final class Builder
+        extends com.google.protobuf.GeneratedMessageV3.Builder
+        implements
         // @@protoc_insertion_point(builder_implements:google.storagetransfer.v1.AzureCredentials)
         com.google.storagetransfer.v1.proto.TransferTypes.AzureCredentialsOrBuilder {
-      public static final com.google.protobuf.Descriptors.Descriptor
-          getDescriptor() {
-        return com.google.storagetransfer.v1.proto.TransferTypes.internal_static_google_storagetransfer_v1_AzureCredentials_descriptor;
+      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+        return com.google.storagetransfer.v1.proto.TransferTypes
+            .internal_static_google_storagetransfer_v1_AzureCredentials_descriptor;
       }
 
       @java.lang.Override
       protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
           internalGetFieldAccessorTable() {
-        return com.google.storagetransfer.v1.proto.TransferTypes.internal_static_google_storagetransfer_v1_AzureCredentials_fieldAccessorTable
+        return com.google.storagetransfer.v1.proto.TransferTypes
+            .internal_static_google_storagetransfer_v1_AzureCredentials_fieldAccessorTable
             .ensureFieldAccessorsInitialized(
-                com.google.storagetransfer.v1.proto.TransferTypes.AzureCredentials.class, com.google.storagetransfer.v1.proto.TransferTypes.AzureCredentials.Builder.class);
+                com.google.storagetransfer.v1.proto.TransferTypes.AzureCredentials.class,
+                com.google.storagetransfer.v1.proto.TransferTypes.AzureCredentials.Builder.class);
       }
 
-      // Construct using com.google.storagetransfer.v1.proto.TransferTypes.AzureCredentials.newBuilder()
+      // Construct using
+      // com.google.storagetransfer.v1.proto.TransferTypes.AzureCredentials.newBuilder()
       private Builder() {
         maybeForceBuilderInitialization();
       }
 
-      private Builder(
-          com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+      private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
         super(parent);
         maybeForceBuilderInitialization();
       }
+
       private void maybeForceBuilderInitialization() {
-        if (com.google.protobuf.GeneratedMessageV3
-                .alwaysUseFieldBuilders) {
-        }
+        if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {}
       }
+
       @java.lang.Override
       public Builder clear() {
         super.clear();
@@ -2013,14 +2194,16 @@ public Builder clear() {
       }
 
       @java.lang.Override
-      public com.google.protobuf.Descriptors.Descriptor
-          getDescriptorForType() {
-        return com.google.storagetransfer.v1.proto.TransferTypes.internal_static_google_storagetransfer_v1_AzureCredentials_descriptor;
+      public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+        return com.google.storagetransfer.v1.proto.TransferTypes
+            .internal_static_google_storagetransfer_v1_AzureCredentials_descriptor;
       }
 
       @java.lang.Override
-      public com.google.storagetransfer.v1.proto.TransferTypes.AzureCredentials getDefaultInstanceForType() {
-        return com.google.storagetransfer.v1.proto.TransferTypes.AzureCredentials.getDefaultInstance();
+      public com.google.storagetransfer.v1.proto.TransferTypes.AzureCredentials
+          getDefaultInstanceForType() {
+        return com.google.storagetransfer.v1.proto.TransferTypes.AzureCredentials
+            .getDefaultInstance();
       }
 
       @java.lang.Override
@@ -2034,7 +2217,8 @@ public com.google.storagetransfer.v1.proto.TransferTypes.AzureCredentials build(
 
       @java.lang.Override
       public com.google.storagetransfer.v1.proto.TransferTypes.AzureCredentials buildPartial() {
-        com.google.storagetransfer.v1.proto.TransferTypes.AzureCredentials result = new com.google.storagetransfer.v1.proto.TransferTypes.AzureCredentials(this);
+        com.google.storagetransfer.v1.proto.TransferTypes.AzureCredentials result =
+            new com.google.storagetransfer.v1.proto.TransferTypes.AzureCredentials(this);
         result.sasToken_ = sasToken_;
         onBuilt();
         return result;
@@ -2044,46 +2228,53 @@ public com.google.storagetransfer.v1.proto.TransferTypes.AzureCredentials buildP
       public Builder clone() {
         return super.clone();
       }
+
       @java.lang.Override
       public Builder setField(
-          com.google.protobuf.Descriptors.FieldDescriptor field,
-          java.lang.Object value) {
+          com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
         return super.setField(field, value);
       }
+
       @java.lang.Override
-      public Builder clearField(
-          com.google.protobuf.Descriptors.FieldDescriptor field) {
+      public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
         return super.clearField(field);
       }
+
       @java.lang.Override
-      public Builder clearOneof(
-          com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+      public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
         return super.clearOneof(oneof);
       }
+
       @java.lang.Override
       public Builder setRepeatedField(
           com.google.protobuf.Descriptors.FieldDescriptor field,
-          int index, java.lang.Object value) {
+          int index,
+          java.lang.Object value) {
         return super.setRepeatedField(field, index, value);
       }
+
       @java.lang.Override
       public Builder addRepeatedField(
-          com.google.protobuf.Descriptors.FieldDescriptor field,
-          java.lang.Object value) {
+          com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
         return super.addRepeatedField(field, value);
       }
+
       @java.lang.Override
       public Builder mergeFrom(com.google.protobuf.Message other) {
         if (other instanceof com.google.storagetransfer.v1.proto.TransferTypes.AzureCredentials) {
-          return mergeFrom((com.google.storagetransfer.v1.proto.TransferTypes.AzureCredentials)other);
+          return mergeFrom(
+              (com.google.storagetransfer.v1.proto.TransferTypes.AzureCredentials) other);
         } else {
           super.mergeFrom(other);
           return this;
         }
       }
 
-      public Builder mergeFrom(com.google.storagetransfer.v1.proto.TransferTypes.AzureCredentials other) {
-        if (other == com.google.storagetransfer.v1.proto.TransferTypes.AzureCredentials.getDefaultInstance()) return this;
+      public Builder mergeFrom(
+          com.google.storagetransfer.v1.proto.TransferTypes.AzureCredentials other) {
+        if (other
+            == com.google.storagetransfer.v1.proto.TransferTypes.AzureCredentials
+                .getDefaultInstance()) return this;
         if (!other.getSasToken().isEmpty()) {
           sasToken_ = other.sasToken_;
           onChanged();
@@ -2107,7 +2298,9 @@ public Builder mergeFrom(
         try {
           parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
         } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-          parsedMessage = (com.google.storagetransfer.v1.proto.TransferTypes.AzureCredentials) e.getUnfinishedMessage();
+          parsedMessage =
+              (com.google.storagetransfer.v1.proto.TransferTypes.AzureCredentials)
+                  e.getUnfinishedMessage();
           throw e.unwrapIOException();
         } finally {
           if (parsedMessage != null) {
@@ -2119,6 +2312,8 @@ public Builder mergeFrom(
 
       private java.lang.Object sasToken_ = "";
       /**
+       *
+       *
        * 
        * Required. Azure shared access signature (SAS).
        * For more information about SAS, see
@@ -2128,13 +2323,13 @@ public Builder mergeFrom(
        * 
* * string sas_token = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The sasToken. */ public java.lang.String getSasToken() { java.lang.Object ref = sasToken_; 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(); sasToken_ = s; return s; @@ -2143,6 +2338,8 @@ public java.lang.String getSasToken() { } } /** + * + * *
        * Required. Azure shared access signature (SAS).
        * For more information about SAS, see
@@ -2152,15 +2349,14 @@ public java.lang.String getSasToken() {
        * 
* * string sas_token = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for sasToken. */ - public com.google.protobuf.ByteString - getSasTokenBytes() { + public com.google.protobuf.ByteString getSasTokenBytes() { java.lang.Object ref = sasToken_; 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); sasToken_ = b; return b; } else { @@ -2168,6 +2364,8 @@ public java.lang.String getSasToken() { } } /** + * + * *
        * Required. Azure shared access signature (SAS).
        * For more information about SAS, see
@@ -2177,20 +2375,22 @@ public java.lang.String getSasToken() {
        * 
* * string sas_token = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The sasToken to set. * @return This builder for chaining. */ - public Builder setSasToken( - java.lang.String value) { + public Builder setSasToken(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + sasToken_ = value; onChanged(); return this; } /** + * + * *
        * Required. Azure shared access signature (SAS).
        * For more information about SAS, see
@@ -2200,15 +2400,18 @@ public Builder setSasToken(
        * 
* * string sas_token = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return This builder for chaining. */ public Builder clearSasToken() { - + sasToken_ = getDefaultInstance().getSasToken(); onChanged(); return this; } /** + * + * *
        * Required. Azure shared access signature (SAS).
        * For more information about SAS, see
@@ -2218,20 +2421,21 @@ public Builder clearSasToken() {
        * 
* * string sas_token = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The bytes for sasToken to set. * @return This builder for chaining. */ - public Builder setSasTokenBytes( - com.google.protobuf.ByteString value) { + public Builder setSasTokenBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + sasToken_ = value; onChanged(); return this; } + @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -2244,30 +2448,32 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.storagetransfer.v1.AzureCredentials) } // @@protoc_insertion_point(class_scope:google.storagetransfer.v1.AzureCredentials) - private static final com.google.storagetransfer.v1.proto.TransferTypes.AzureCredentials DEFAULT_INSTANCE; + private static final com.google.storagetransfer.v1.proto.TransferTypes.AzureCredentials + DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.storagetransfer.v1.proto.TransferTypes.AzureCredentials(); } - public static com.google.storagetransfer.v1.proto.TransferTypes.AzureCredentials getDefaultInstance() { + public static com.google.storagetransfer.v1.proto.TransferTypes.AzureCredentials + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public AzureCredentials parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new AzureCredentials(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public AzureCredentials parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new AzureCredentials(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -2279,17 +2485,20 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.storagetransfer.v1.proto.TransferTypes.AzureCredentials getDefaultInstanceForType() { + public com.google.storagetransfer.v1.proto.TransferTypes.AzureCredentials + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - public interface ObjectConditionsOrBuilder extends + public interface ObjectConditionsOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.storagetransfer.v1.ObjectConditions) com.google.protobuf.MessageOrBuilder { /** + * + * *
      * Ensures that objects are not transferred until a specific minimum time
      * has elapsed after the "last modification time". When a
@@ -2302,10 +2511,13 @@ public interface ObjectConditionsOrBuilder extends
      * 
* * .google.protobuf.Duration min_time_elapsed_since_last_modification = 1; + * * @return Whether the minTimeElapsedSinceLastModification field is set. */ boolean hasMinTimeElapsedSinceLastModification(); /** + * + * *
      * Ensures that objects are not transferred until a specific minimum time
      * has elapsed after the "last modification time". When a
@@ -2318,10 +2530,13 @@ public interface ObjectConditionsOrBuilder extends
      * 
* * .google.protobuf.Duration min_time_elapsed_since_last_modification = 1; + * * @return The minTimeElapsedSinceLastModification. */ com.google.protobuf.Duration getMinTimeElapsedSinceLastModification(); /** + * + * *
      * Ensures that objects are not transferred until a specific minimum time
      * has elapsed after the "last modification time". When a
@@ -2338,6 +2553,8 @@ public interface ObjectConditionsOrBuilder extends
     com.google.protobuf.DurationOrBuilder getMinTimeElapsedSinceLastModificationOrBuilder();
 
     /**
+     *
+     *
      * 
      * Ensures that objects are not transferred if a specific maximum time
      * has elapsed since the "last modification time".
@@ -2350,10 +2567,13 @@ public interface ObjectConditionsOrBuilder extends
      * 
* * .google.protobuf.Duration max_time_elapsed_since_last_modification = 2; + * * @return Whether the maxTimeElapsedSinceLastModification field is set. */ boolean hasMaxTimeElapsedSinceLastModification(); /** + * + * *
      * Ensures that objects are not transferred if a specific maximum time
      * has elapsed since the "last modification time".
@@ -2366,10 +2586,13 @@ public interface ObjectConditionsOrBuilder extends
      * 
* * .google.protobuf.Duration max_time_elapsed_since_last_modification = 2; + * * @return The maxTimeElapsedSinceLastModification. */ com.google.protobuf.Duration getMaxTimeElapsedSinceLastModification(); /** + * + * *
      * Ensures that objects are not transferred if a specific maximum time
      * has elapsed since the "last modification time".
@@ -2386,6 +2609,8 @@ public interface ObjectConditionsOrBuilder extends
     com.google.protobuf.DurationOrBuilder getMaxTimeElapsedSinceLastModificationOrBuilder();
 
     /**
+     *
+     *
      * 
      * If you specify `include_prefixes`, Storage Transfer Service uses the items
      * in the `include_prefixes` array to determine which objects to include in a
@@ -2411,11 +2636,13 @@ public interface ObjectConditionsOrBuilder extends
      * 
* * repeated string include_prefixes = 3; + * * @return A list containing the includePrefixes. */ - java.util.List - getIncludePrefixesList(); + java.util.List getIncludePrefixesList(); /** + * + * *
      * If you specify `include_prefixes`, Storage Transfer Service uses the items
      * in the `include_prefixes` array to determine which objects to include in a
@@ -2441,10 +2668,13 @@ public interface ObjectConditionsOrBuilder extends
      * 
* * repeated string include_prefixes = 3; + * * @return The count of includePrefixes. */ int getIncludePrefixesCount(); /** + * + * *
      * If you specify `include_prefixes`, Storage Transfer Service uses the items
      * in the `include_prefixes` array to determine which objects to include in a
@@ -2470,11 +2700,14 @@ public interface ObjectConditionsOrBuilder extends
      * 
* * repeated string include_prefixes = 3; + * * @param index The index of the element to return. * @return The includePrefixes at the given index. */ java.lang.String getIncludePrefixes(int index); /** + * + * *
      * If you specify `include_prefixes`, Storage Transfer Service uses the items
      * in the `include_prefixes` array to determine which objects to include in a
@@ -2500,13 +2733,15 @@ public interface ObjectConditionsOrBuilder extends
      * 
* * repeated string include_prefixes = 3; + * * @param index The index of the value to return. * @return The bytes of the includePrefixes at the given index. */ - com.google.protobuf.ByteString - getIncludePrefixesBytes(int index); + com.google.protobuf.ByteString getIncludePrefixesBytes(int index); /** + * + * *
      * If you specify `exclude_prefixes`, Storage Transfer Service uses the items
      * in the `exclude_prefixes` array to determine which objects to exclude from
@@ -2532,11 +2767,13 @@ public interface ObjectConditionsOrBuilder extends
      * 
* * repeated string exclude_prefixes = 4; + * * @return A list containing the excludePrefixes. */ - java.util.List - getExcludePrefixesList(); + java.util.List getExcludePrefixesList(); /** + * + * *
      * If you specify `exclude_prefixes`, Storage Transfer Service uses the items
      * in the `exclude_prefixes` array to determine which objects to exclude from
@@ -2562,10 +2799,13 @@ public interface ObjectConditionsOrBuilder extends
      * 
* * repeated string exclude_prefixes = 4; + * * @return The count of excludePrefixes. */ int getExcludePrefixesCount(); /** + * + * *
      * If you specify `exclude_prefixes`, Storage Transfer Service uses the items
      * in the `exclude_prefixes` array to determine which objects to exclude from
@@ -2591,11 +2831,14 @@ public interface ObjectConditionsOrBuilder extends
      * 
* * repeated string exclude_prefixes = 4; + * * @param index The index of the element to return. * @return The excludePrefixes at the given index. */ java.lang.String getExcludePrefixes(int index); /** + * + * *
      * If you specify `exclude_prefixes`, Storage Transfer Service uses the items
      * in the `exclude_prefixes` array to determine which objects to exclude from
@@ -2621,13 +2864,15 @@ public interface ObjectConditionsOrBuilder extends
      * 
* * repeated string exclude_prefixes = 4; + * * @param index The index of the value to return. * @return The bytes of the excludePrefixes at the given index. */ - com.google.protobuf.ByteString - getExcludePrefixesBytes(int index); + com.google.protobuf.ByteString getExcludePrefixesBytes(int index); /** + * + * *
      * If specified, only objects with a "last modification time" on or after
      * this timestamp and objects that don't have a "last modification time" are
@@ -2641,10 +2886,13 @@ public interface ObjectConditionsOrBuilder extends
      * 
* * .google.protobuf.Timestamp last_modified_since = 5; + * * @return Whether the lastModifiedSince field is set. */ boolean hasLastModifiedSince(); /** + * + * *
      * If specified, only objects with a "last modification time" on or after
      * this timestamp and objects that don't have a "last modification time" are
@@ -2658,10 +2906,13 @@ public interface ObjectConditionsOrBuilder extends
      * 
* * .google.protobuf.Timestamp last_modified_since = 5; + * * @return The lastModifiedSince. */ com.google.protobuf.Timestamp getLastModifiedSince(); /** + * + * *
      * If specified, only objects with a "last modification time" on or after
      * this timestamp and objects that don't have a "last modification time" are
@@ -2679,6 +2930,8 @@ public interface ObjectConditionsOrBuilder extends
     com.google.protobuf.TimestampOrBuilder getLastModifiedSinceOrBuilder();
 
     /**
+     *
+     *
      * 
      * If specified, only objects with a "last modification time" before this
      * timestamp and objects that don't have a "last modification time" are
@@ -2686,10 +2939,13 @@ public interface ObjectConditionsOrBuilder extends
      * 
* * .google.protobuf.Timestamp last_modified_before = 6; + * * @return Whether the lastModifiedBefore field is set. */ boolean hasLastModifiedBefore(); /** + * + * *
      * If specified, only objects with a "last modification time" before this
      * timestamp and objects that don't have a "last modification time" are
@@ -2697,10 +2953,13 @@ public interface ObjectConditionsOrBuilder extends
      * 
* * .google.protobuf.Timestamp last_modified_before = 6; + * * @return The lastModifiedBefore. */ com.google.protobuf.Timestamp getLastModifiedBefore(); /** + * + * *
      * If specified, only objects with a "last modification time" before this
      * timestamp and objects that don't have a "last modification time" are
@@ -2712,6 +2971,8 @@ public interface ObjectConditionsOrBuilder extends
     com.google.protobuf.TimestampOrBuilder getLastModifiedBeforeOrBuilder();
   }
   /**
+   *
+   *
    * 
    * Conditions that determine which objects are transferred. Applies only
    * to Cloud Data Sources such as S3, Azure, and Cloud Storage.
@@ -2725,15 +2986,16 @@ public interface ObjectConditionsOrBuilder extends
    *
    * Protobuf type {@code google.storagetransfer.v1.ObjectConditions}
    */
-  public static final class ObjectConditions extends
-      com.google.protobuf.GeneratedMessageV3 implements
+  public static final class ObjectConditions extends com.google.protobuf.GeneratedMessageV3
+      implements
       // @@protoc_insertion_point(message_implements:google.storagetransfer.v1.ObjectConditions)
       ObjectConditionsOrBuilder {
-  private static final long serialVersionUID = 0L;
+    private static final long serialVersionUID = 0L;
     // Use ObjectConditions.newBuilder() to construct.
     private ObjectConditions(com.google.protobuf.GeneratedMessageV3.Builder builder) {
       super(builder);
     }
+
     private ObjectConditions() {
       includePrefixes_ = com.google.protobuf.LazyStringArrayList.EMPTY;
       excludePrefixes_ = com.google.protobuf.LazyStringArrayList.EMPTY;
@@ -2741,16 +3003,15 @@ private ObjectConditions() {
 
     @java.lang.Override
     @SuppressWarnings({"unused"})
-    protected java.lang.Object newInstance(
-        UnusedPrivateParameter unused) {
+    protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
       return new ObjectConditions();
     }
 
     @java.lang.Override
-    public final com.google.protobuf.UnknownFieldSet
-    getUnknownFields() {
+    public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
       return this.unknownFields;
     }
+
     private ObjectConditions(
         com.google.protobuf.CodedInputStream input,
         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -2770,83 +3031,93 @@ private ObjectConditions(
             case 0:
               done = true;
               break;
-            case 10: {
-              com.google.protobuf.Duration.Builder subBuilder = null;
-              if (minTimeElapsedSinceLastModification_ != null) {
-                subBuilder = minTimeElapsedSinceLastModification_.toBuilder();
-              }
-              minTimeElapsedSinceLastModification_ = input.readMessage(com.google.protobuf.Duration.parser(), extensionRegistry);
-              if (subBuilder != null) {
-                subBuilder.mergeFrom(minTimeElapsedSinceLastModification_);
-                minTimeElapsedSinceLastModification_ = subBuilder.buildPartial();
-              }
+            case 10:
+              {
+                com.google.protobuf.Duration.Builder subBuilder = null;
+                if (minTimeElapsedSinceLastModification_ != null) {
+                  subBuilder = minTimeElapsedSinceLastModification_.toBuilder();
+                }
+                minTimeElapsedSinceLastModification_ =
+                    input.readMessage(com.google.protobuf.Duration.parser(), extensionRegistry);
+                if (subBuilder != null) {
+                  subBuilder.mergeFrom(minTimeElapsedSinceLastModification_);
+                  minTimeElapsedSinceLastModification_ = subBuilder.buildPartial();
+                }
 
-              break;
-            }
-            case 18: {
-              com.google.protobuf.Duration.Builder subBuilder = null;
-              if (maxTimeElapsedSinceLastModification_ != null) {
-                subBuilder = maxTimeElapsedSinceLastModification_.toBuilder();
-              }
-              maxTimeElapsedSinceLastModification_ = input.readMessage(com.google.protobuf.Duration.parser(), extensionRegistry);
-              if (subBuilder != null) {
-                subBuilder.mergeFrom(maxTimeElapsedSinceLastModification_);
-                maxTimeElapsedSinceLastModification_ = subBuilder.buildPartial();
+                break;
               }
+            case 18:
+              {
+                com.google.protobuf.Duration.Builder subBuilder = null;
+                if (maxTimeElapsedSinceLastModification_ != null) {
+                  subBuilder = maxTimeElapsedSinceLastModification_.toBuilder();
+                }
+                maxTimeElapsedSinceLastModification_ =
+                    input.readMessage(com.google.protobuf.Duration.parser(), extensionRegistry);
+                if (subBuilder != null) {
+                  subBuilder.mergeFrom(maxTimeElapsedSinceLastModification_);
+                  maxTimeElapsedSinceLastModification_ = subBuilder.buildPartial();
+                }
 
-              break;
-            }
-            case 26: {
-              java.lang.String s = input.readStringRequireUtf8();
-              if (!((mutable_bitField0_ & 0x00000001) != 0)) {
-                includePrefixes_ = new com.google.protobuf.LazyStringArrayList();
-                mutable_bitField0_ |= 0x00000001;
-              }
-              includePrefixes_.add(s);
-              break;
-            }
-            case 34: {
-              java.lang.String s = input.readStringRequireUtf8();
-              if (!((mutable_bitField0_ & 0x00000002) != 0)) {
-                excludePrefixes_ = new com.google.protobuf.LazyStringArrayList();
-                mutable_bitField0_ |= 0x00000002;
+                break;
               }
-              excludePrefixes_.add(s);
-              break;
-            }
-            case 42: {
-              com.google.protobuf.Timestamp.Builder subBuilder = null;
-              if (lastModifiedSince_ != null) {
-                subBuilder = lastModifiedSince_.toBuilder();
+            case 26:
+              {
+                java.lang.String s = input.readStringRequireUtf8();
+                if (!((mutable_bitField0_ & 0x00000001) != 0)) {
+                  includePrefixes_ = new com.google.protobuf.LazyStringArrayList();
+                  mutable_bitField0_ |= 0x00000001;
+                }
+                includePrefixes_.add(s);
+                break;
               }
-              lastModifiedSince_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry);
-              if (subBuilder != null) {
-                subBuilder.mergeFrom(lastModifiedSince_);
-                lastModifiedSince_ = subBuilder.buildPartial();
+            case 34:
+              {
+                java.lang.String s = input.readStringRequireUtf8();
+                if (!((mutable_bitField0_ & 0x00000002) != 0)) {
+                  excludePrefixes_ = new com.google.protobuf.LazyStringArrayList();
+                  mutable_bitField0_ |= 0x00000002;
+                }
+                excludePrefixes_.add(s);
+                break;
               }
+            case 42:
+              {
+                com.google.protobuf.Timestamp.Builder subBuilder = null;
+                if (lastModifiedSince_ != null) {
+                  subBuilder = lastModifiedSince_.toBuilder();
+                }
+                lastModifiedSince_ =
+                    input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry);
+                if (subBuilder != null) {
+                  subBuilder.mergeFrom(lastModifiedSince_);
+                  lastModifiedSince_ = subBuilder.buildPartial();
+                }
 
-              break;
-            }
-            case 50: {
-              com.google.protobuf.Timestamp.Builder subBuilder = null;
-              if (lastModifiedBefore_ != null) {
-                subBuilder = lastModifiedBefore_.toBuilder();
-              }
-              lastModifiedBefore_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry);
-              if (subBuilder != null) {
-                subBuilder.mergeFrom(lastModifiedBefore_);
-                lastModifiedBefore_ = subBuilder.buildPartial();
+                break;
               }
+            case 50:
+              {
+                com.google.protobuf.Timestamp.Builder subBuilder = null;
+                if (lastModifiedBefore_ != null) {
+                  subBuilder = lastModifiedBefore_.toBuilder();
+                }
+                lastModifiedBefore_ =
+                    input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry);
+                if (subBuilder != null) {
+                  subBuilder.mergeFrom(lastModifiedBefore_);
+                  lastModifiedBefore_ = subBuilder.buildPartial();
+                }
 
-              break;
-            }
-            default: {
-              if (!parseUnknownField(
-                  input, unknownFields, extensionRegistry, tag)) {
-                done = true;
+                break;
+              }
+            default:
+              {
+                if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
+                  done = true;
+                }
+                break;
               }
-              break;
-            }
           }
         }
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -2854,8 +3125,7 @@ private ObjectConditions(
       } catch (com.google.protobuf.UninitializedMessageException e) {
         throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
       } catch (java.io.IOException e) {
-        throw new com.google.protobuf.InvalidProtocolBufferException(
-            e).setUnfinishedMessage(this);
+        throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
       } finally {
         if (((mutable_bitField0_ & 0x00000001) != 0)) {
           includePrefixes_ = includePrefixes_.getUnmodifiableView();
@@ -2867,22 +3137,27 @@ private ObjectConditions(
         makeExtensionsImmutable();
       }
     }
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.storagetransfer.v1.proto.TransferTypes.internal_static_google_storagetransfer_v1_ObjectConditions_descriptor;
+
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.storagetransfer.v1.proto.TransferTypes
+          .internal_static_google_storagetransfer_v1_ObjectConditions_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.storagetransfer.v1.proto.TransferTypes.internal_static_google_storagetransfer_v1_ObjectConditions_fieldAccessorTable
+      return com.google.storagetransfer.v1.proto.TransferTypes
+          .internal_static_google_storagetransfer_v1_ObjectConditions_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.storagetransfer.v1.proto.TransferTypes.ObjectConditions.class, com.google.storagetransfer.v1.proto.TransferTypes.ObjectConditions.Builder.class);
+              com.google.storagetransfer.v1.proto.TransferTypes.ObjectConditions.class,
+              com.google.storagetransfer.v1.proto.TransferTypes.ObjectConditions.Builder.class);
     }
 
     public static final int MIN_TIME_ELAPSED_SINCE_LAST_MODIFICATION_FIELD_NUMBER = 1;
     private com.google.protobuf.Duration minTimeElapsedSinceLastModification_;
     /**
+     *
+     *
      * 
      * Ensures that objects are not transferred until a specific minimum time
      * has elapsed after the "last modification time". When a
@@ -2895,6 +3170,7 @@ private ObjectConditions(
      * 
* * .google.protobuf.Duration min_time_elapsed_since_last_modification = 1; + * * @return Whether the minTimeElapsedSinceLastModification field is set. */ @java.lang.Override @@ -2902,6 +3178,8 @@ public boolean hasMinTimeElapsedSinceLastModification() { return minTimeElapsedSinceLastModification_ != null; } /** + * + * *
      * Ensures that objects are not transferred until a specific minimum time
      * has elapsed after the "last modification time". When a
@@ -2914,13 +3192,18 @@ public boolean hasMinTimeElapsedSinceLastModification() {
      * 
* * .google.protobuf.Duration min_time_elapsed_since_last_modification = 1; + * * @return The minTimeElapsedSinceLastModification. */ @java.lang.Override public com.google.protobuf.Duration getMinTimeElapsedSinceLastModification() { - return minTimeElapsedSinceLastModification_ == null ? com.google.protobuf.Duration.getDefaultInstance() : minTimeElapsedSinceLastModification_; + return minTimeElapsedSinceLastModification_ == null + ? com.google.protobuf.Duration.getDefaultInstance() + : minTimeElapsedSinceLastModification_; } /** + * + * *
      * Ensures that objects are not transferred until a specific minimum time
      * has elapsed after the "last modification time". When a
@@ -2942,6 +3225,8 @@ public com.google.protobuf.DurationOrBuilder getMinTimeElapsedSinceLastModificat
     public static final int MAX_TIME_ELAPSED_SINCE_LAST_MODIFICATION_FIELD_NUMBER = 2;
     private com.google.protobuf.Duration maxTimeElapsedSinceLastModification_;
     /**
+     *
+     *
      * 
      * Ensures that objects are not transferred if a specific maximum time
      * has elapsed since the "last modification time".
@@ -2954,6 +3239,7 @@ public com.google.protobuf.DurationOrBuilder getMinTimeElapsedSinceLastModificat
      * 
* * .google.protobuf.Duration max_time_elapsed_since_last_modification = 2; + * * @return Whether the maxTimeElapsedSinceLastModification field is set. */ @java.lang.Override @@ -2961,6 +3247,8 @@ public boolean hasMaxTimeElapsedSinceLastModification() { return maxTimeElapsedSinceLastModification_ != null; } /** + * + * *
      * Ensures that objects are not transferred if a specific maximum time
      * has elapsed since the "last modification time".
@@ -2973,13 +3261,18 @@ public boolean hasMaxTimeElapsedSinceLastModification() {
      * 
* * .google.protobuf.Duration max_time_elapsed_since_last_modification = 2; + * * @return The maxTimeElapsedSinceLastModification. */ @java.lang.Override public com.google.protobuf.Duration getMaxTimeElapsedSinceLastModification() { - return maxTimeElapsedSinceLastModification_ == null ? com.google.protobuf.Duration.getDefaultInstance() : maxTimeElapsedSinceLastModification_; + return maxTimeElapsedSinceLastModification_ == null + ? com.google.protobuf.Duration.getDefaultInstance() + : maxTimeElapsedSinceLastModification_; } /** + * + * *
      * Ensures that objects are not transferred if a specific maximum time
      * has elapsed since the "last modification time".
@@ -3001,69 +3294,8 @@ public com.google.protobuf.DurationOrBuilder getMaxTimeElapsedSinceLastModificat
     public static final int INCLUDE_PREFIXES_FIELD_NUMBER = 3;
     private com.google.protobuf.LazyStringList includePrefixes_;
     /**
-     * 
-     * If you specify `include_prefixes`, Storage Transfer Service uses the items
-     * in the `include_prefixes` array to determine which objects to include in a
-     * transfer. Objects must start with one of the matching `include_prefixes`
-     * for inclusion in the transfer. If [exclude_prefixes][google.storagetransfer.v1.ObjectConditions.exclude_prefixes] is specified,
-     * objects must not start with any of the `exclude_prefixes` specified for
-     * inclusion in the transfer.
-     * The following are requirements of `include_prefixes`:
-     *   * Each include-prefix can contain any sequence of Unicode characters, to
-     *     a max length of 1024 bytes when UTF8-encoded, and must not contain
-     *     Carriage Return or Line Feed characters.  Wildcard matching and regular
-     *     expression matching are not supported.
-     *   * Each include-prefix must omit the leading slash. For example, to
-     *     include the object `s3://my-aws-bucket/logs/y=2015/requests.gz`,
-     *     specify the include-prefix as `logs/y=2015/requests.gz`.
-     *   * None of the include-prefix values can be empty, if specified.
-     *   * Each include-prefix must include a distinct portion of the object
-     *     namespace. No include-prefix may be a prefix of another
-     *     include-prefix.
-     * The max size of `include_prefixes` is 1000.
-     * For more information, see [Filtering objects from
-     * transfers](/storage-transfer/docs/filtering-objects-from-transfers).
-     * 
* - * repeated string include_prefixes = 3; - * @return A list containing the includePrefixes. - */ - public com.google.protobuf.ProtocolStringList - getIncludePrefixesList() { - return includePrefixes_; - } - /** - *
-     * If you specify `include_prefixes`, Storage Transfer Service uses the items
-     * in the `include_prefixes` array to determine which objects to include in a
-     * transfer. Objects must start with one of the matching `include_prefixes`
-     * for inclusion in the transfer. If [exclude_prefixes][google.storagetransfer.v1.ObjectConditions.exclude_prefixes] is specified,
-     * objects must not start with any of the `exclude_prefixes` specified for
-     * inclusion in the transfer.
-     * The following are requirements of `include_prefixes`:
-     *   * Each include-prefix can contain any sequence of Unicode characters, to
-     *     a max length of 1024 bytes when UTF8-encoded, and must not contain
-     *     Carriage Return or Line Feed characters.  Wildcard matching and regular
-     *     expression matching are not supported.
-     *   * Each include-prefix must omit the leading slash. For example, to
-     *     include the object `s3://my-aws-bucket/logs/y=2015/requests.gz`,
-     *     specify the include-prefix as `logs/y=2015/requests.gz`.
-     *   * None of the include-prefix values can be empty, if specified.
-     *   * Each include-prefix must include a distinct portion of the object
-     *     namespace. No include-prefix may be a prefix of another
-     *     include-prefix.
-     * The max size of `include_prefixes` is 1000.
-     * For more information, see [Filtering objects from
-     * transfers](/storage-transfer/docs/filtering-objects-from-transfers).
-     * 
* - * repeated string include_prefixes = 3; - * @return The count of includePrefixes. - */ - public int getIncludePrefixesCount() { - return includePrefixes_.size(); - } - /** *
      * If you specify `include_prefixes`, Storage Transfer Service uses the items
      * in the `include_prefixes` array to determine which objects to include in a
@@ -3089,6 +3321,75 @@ public int getIncludePrefixesCount() {
      * 
* * repeated string include_prefixes = 3; + * + * @return A list containing the includePrefixes. + */ + public com.google.protobuf.ProtocolStringList getIncludePrefixesList() { + return includePrefixes_; + } + /** + * + * + *
+     * If you specify `include_prefixes`, Storage Transfer Service uses the items
+     * in the `include_prefixes` array to determine which objects to include in a
+     * transfer. Objects must start with one of the matching `include_prefixes`
+     * for inclusion in the transfer. If [exclude_prefixes][google.storagetransfer.v1.ObjectConditions.exclude_prefixes] is specified,
+     * objects must not start with any of the `exclude_prefixes` specified for
+     * inclusion in the transfer.
+     * The following are requirements of `include_prefixes`:
+     *   * Each include-prefix can contain any sequence of Unicode characters, to
+     *     a max length of 1024 bytes when UTF8-encoded, and must not contain
+     *     Carriage Return or Line Feed characters.  Wildcard matching and regular
+     *     expression matching are not supported.
+     *   * Each include-prefix must omit the leading slash. For example, to
+     *     include the object `s3://my-aws-bucket/logs/y=2015/requests.gz`,
+     *     specify the include-prefix as `logs/y=2015/requests.gz`.
+     *   * None of the include-prefix values can be empty, if specified.
+     *   * Each include-prefix must include a distinct portion of the object
+     *     namespace. No include-prefix may be a prefix of another
+     *     include-prefix.
+     * The max size of `include_prefixes` is 1000.
+     * For more information, see [Filtering objects from
+     * transfers](/storage-transfer/docs/filtering-objects-from-transfers).
+     * 
+ * + * repeated string include_prefixes = 3; + * + * @return The count of includePrefixes. + */ + public int getIncludePrefixesCount() { + return includePrefixes_.size(); + } + /** + * + * + *
+     * If you specify `include_prefixes`, Storage Transfer Service uses the items
+     * in the `include_prefixes` array to determine which objects to include in a
+     * transfer. Objects must start with one of the matching `include_prefixes`
+     * for inclusion in the transfer. If [exclude_prefixes][google.storagetransfer.v1.ObjectConditions.exclude_prefixes] is specified,
+     * objects must not start with any of the `exclude_prefixes` specified for
+     * inclusion in the transfer.
+     * The following are requirements of `include_prefixes`:
+     *   * Each include-prefix can contain any sequence of Unicode characters, to
+     *     a max length of 1024 bytes when UTF8-encoded, and must not contain
+     *     Carriage Return or Line Feed characters.  Wildcard matching and regular
+     *     expression matching are not supported.
+     *   * Each include-prefix must omit the leading slash. For example, to
+     *     include the object `s3://my-aws-bucket/logs/y=2015/requests.gz`,
+     *     specify the include-prefix as `logs/y=2015/requests.gz`.
+     *   * None of the include-prefix values can be empty, if specified.
+     *   * Each include-prefix must include a distinct portion of the object
+     *     namespace. No include-prefix may be a prefix of another
+     *     include-prefix.
+     * The max size of `include_prefixes` is 1000.
+     * For more information, see [Filtering objects from
+     * transfers](/storage-transfer/docs/filtering-objects-from-transfers).
+     * 
+ * + * repeated string include_prefixes = 3; + * * @param index The index of the element to return. * @return The includePrefixes at the given index. */ @@ -3096,6 +3397,8 @@ public java.lang.String getIncludePrefixes(int index) { return includePrefixes_.get(index); } /** + * + * *
      * If you specify `include_prefixes`, Storage Transfer Service uses the items
      * in the `include_prefixes` array to determine which objects to include in a
@@ -3121,17 +3424,19 @@ public java.lang.String getIncludePrefixes(int index) {
      * 
* * repeated string include_prefixes = 3; + * * @param index The index of the value to return. * @return The bytes of the includePrefixes at the given index. */ - public com.google.protobuf.ByteString - getIncludePrefixesBytes(int index) { + public com.google.protobuf.ByteString getIncludePrefixesBytes(int index) { return includePrefixes_.getByteString(index); } public static final int EXCLUDE_PREFIXES_FIELD_NUMBER = 4; private com.google.protobuf.LazyStringList excludePrefixes_; /** + * + * *
      * If you specify `exclude_prefixes`, Storage Transfer Service uses the items
      * in the `exclude_prefixes` array to determine which objects to exclude from
@@ -3157,13 +3462,15 @@ public java.lang.String getIncludePrefixes(int index) {
      * 
* * repeated string exclude_prefixes = 4; + * * @return A list containing the excludePrefixes. */ - public com.google.protobuf.ProtocolStringList - getExcludePrefixesList() { + public com.google.protobuf.ProtocolStringList getExcludePrefixesList() { return excludePrefixes_; } /** + * + * *
      * If you specify `exclude_prefixes`, Storage Transfer Service uses the items
      * in the `exclude_prefixes` array to determine which objects to exclude from
@@ -3189,12 +3496,15 @@ public java.lang.String getIncludePrefixes(int index) {
      * 
* * repeated string exclude_prefixes = 4; + * * @return The count of excludePrefixes. */ public int getExcludePrefixesCount() { return excludePrefixes_.size(); } /** + * + * *
      * If you specify `exclude_prefixes`, Storage Transfer Service uses the items
      * in the `exclude_prefixes` array to determine which objects to exclude from
@@ -3220,6 +3530,7 @@ public int getExcludePrefixesCount() {
      * 
* * repeated string exclude_prefixes = 4; + * * @param index The index of the element to return. * @return The excludePrefixes at the given index. */ @@ -3227,6 +3538,8 @@ public java.lang.String getExcludePrefixes(int index) { return excludePrefixes_.get(index); } /** + * + * *
      * If you specify `exclude_prefixes`, Storage Transfer Service uses the items
      * in the `exclude_prefixes` array to determine which objects to exclude from
@@ -3252,17 +3565,19 @@ public java.lang.String getExcludePrefixes(int index) {
      * 
* * repeated string exclude_prefixes = 4; + * * @param index The index of the value to return. * @return The bytes of the excludePrefixes at the given index. */ - public com.google.protobuf.ByteString - getExcludePrefixesBytes(int index) { + public com.google.protobuf.ByteString getExcludePrefixesBytes(int index) { return excludePrefixes_.getByteString(index); } public static final int LAST_MODIFIED_SINCE_FIELD_NUMBER = 5; private com.google.protobuf.Timestamp lastModifiedSince_; /** + * + * *
      * If specified, only objects with a "last modification time" on or after
      * this timestamp and objects that don't have a "last modification time" are
@@ -3276,6 +3591,7 @@ public java.lang.String getExcludePrefixes(int index) {
      * 
* * .google.protobuf.Timestamp last_modified_since = 5; + * * @return Whether the lastModifiedSince field is set. */ @java.lang.Override @@ -3283,6 +3599,8 @@ public boolean hasLastModifiedSince() { return lastModifiedSince_ != null; } /** + * + * *
      * If specified, only objects with a "last modification time" on or after
      * this timestamp and objects that don't have a "last modification time" are
@@ -3296,13 +3614,18 @@ public boolean hasLastModifiedSince() {
      * 
* * .google.protobuf.Timestamp last_modified_since = 5; + * * @return The lastModifiedSince. */ @java.lang.Override public com.google.protobuf.Timestamp getLastModifiedSince() { - return lastModifiedSince_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : lastModifiedSince_; + return lastModifiedSince_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : lastModifiedSince_; } /** + * + * *
      * If specified, only objects with a "last modification time" on or after
      * this timestamp and objects that don't have a "last modification time" are
@@ -3325,6 +3648,8 @@ public com.google.protobuf.TimestampOrBuilder getLastModifiedSinceOrBuilder() {
     public static final int LAST_MODIFIED_BEFORE_FIELD_NUMBER = 6;
     private com.google.protobuf.Timestamp lastModifiedBefore_;
     /**
+     *
+     *
      * 
      * If specified, only objects with a "last modification time" before this
      * timestamp and objects that don't have a "last modification time" are
@@ -3332,6 +3657,7 @@ public com.google.protobuf.TimestampOrBuilder getLastModifiedSinceOrBuilder() {
      * 
* * .google.protobuf.Timestamp last_modified_before = 6; + * * @return Whether the lastModifiedBefore field is set. */ @java.lang.Override @@ -3339,6 +3665,8 @@ public boolean hasLastModifiedBefore() { return lastModifiedBefore_ != null; } /** + * + * *
      * If specified, only objects with a "last modification time" before this
      * timestamp and objects that don't have a "last modification time" are
@@ -3346,13 +3674,18 @@ public boolean hasLastModifiedBefore() {
      * 
* * .google.protobuf.Timestamp last_modified_before = 6; + * * @return The lastModifiedBefore. */ @java.lang.Override public com.google.protobuf.Timestamp getLastModifiedBefore() { - return lastModifiedBefore_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : lastModifiedBefore_; + return lastModifiedBefore_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : lastModifiedBefore_; } /** + * + * *
      * If specified, only objects with a "last modification time" before this
      * timestamp and objects that don't have a "last modification time" are
@@ -3367,6 +3700,7 @@ public com.google.protobuf.TimestampOrBuilder getLastModifiedBeforeOrBuilder() {
     }
 
     private byte memoizedIsInitialized = -1;
+
     @java.lang.Override
     public final boolean isInitialized() {
       byte isInitialized = memoizedIsInitialized;
@@ -3378,8 +3712,7 @@ 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 (minTimeElapsedSinceLastModification_ != null) {
         output.writeMessage(1, getMinTimeElapsedSinceLastModification());
       }
@@ -3408,12 +3741,14 @@ public int getSerializedSize() {
 
       size = 0;
       if (minTimeElapsedSinceLastModification_ != null) {
-        size += com.google.protobuf.CodedOutputStream
-          .computeMessageSize(1, getMinTimeElapsedSinceLastModification());
+        size +=
+            com.google.protobuf.CodedOutputStream.computeMessageSize(
+                1, getMinTimeElapsedSinceLastModification());
       }
       if (maxTimeElapsedSinceLastModification_ != null) {
-        size += com.google.protobuf.CodedOutputStream
-          .computeMessageSize(2, getMaxTimeElapsedSinceLastModification());
+        size +=
+            com.google.protobuf.CodedOutputStream.computeMessageSize(
+                2, getMaxTimeElapsedSinceLastModification());
       }
       {
         int dataSize = 0;
@@ -3432,12 +3767,11 @@ public int getSerializedSize() {
         size += 1 * getExcludePrefixesList().size();
       }
       if (lastModifiedSince_ != null) {
-        size += com.google.protobuf.CodedOutputStream
-          .computeMessageSize(5, getLastModifiedSince());
+        size += com.google.protobuf.CodedOutputStream.computeMessageSize(5, getLastModifiedSince());
       }
       if (lastModifiedBefore_ != null) {
-        size += com.google.protobuf.CodedOutputStream
-          .computeMessageSize(6, getLastModifiedBefore());
+        size +=
+            com.google.protobuf.CodedOutputStream.computeMessageSize(6, getLastModifiedBefore());
       }
       size += unknownFields.getSerializedSize();
       memoizedSize = size;
@@ -3447,36 +3781,35 @@ 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.storagetransfer.v1.proto.TransferTypes.ObjectConditions)) {
         return super.equals(obj);
       }
-      com.google.storagetransfer.v1.proto.TransferTypes.ObjectConditions other = (com.google.storagetransfer.v1.proto.TransferTypes.ObjectConditions) obj;
+      com.google.storagetransfer.v1.proto.TransferTypes.ObjectConditions other =
+          (com.google.storagetransfer.v1.proto.TransferTypes.ObjectConditions) obj;
 
-      if (hasMinTimeElapsedSinceLastModification() != other.hasMinTimeElapsedSinceLastModification()) return false;
+      if (hasMinTimeElapsedSinceLastModification()
+          != other.hasMinTimeElapsedSinceLastModification()) return false;
       if (hasMinTimeElapsedSinceLastModification()) {
         if (!getMinTimeElapsedSinceLastModification()
             .equals(other.getMinTimeElapsedSinceLastModification())) return false;
       }
-      if (hasMaxTimeElapsedSinceLastModification() != other.hasMaxTimeElapsedSinceLastModification()) return false;
+      if (hasMaxTimeElapsedSinceLastModification()
+          != other.hasMaxTimeElapsedSinceLastModification()) return false;
       if (hasMaxTimeElapsedSinceLastModification()) {
         if (!getMaxTimeElapsedSinceLastModification()
             .equals(other.getMaxTimeElapsedSinceLastModification())) return false;
       }
-      if (!getIncludePrefixesList()
-          .equals(other.getIncludePrefixesList())) return false;
-      if (!getExcludePrefixesList()
-          .equals(other.getExcludePrefixesList())) return false;
+      if (!getIncludePrefixesList().equals(other.getIncludePrefixesList())) return false;
+      if (!getExcludePrefixesList().equals(other.getExcludePrefixesList())) return false;
       if (hasLastModifiedSince() != other.hasLastModifiedSince()) return false;
       if (hasLastModifiedSince()) {
-        if (!getLastModifiedSince()
-            .equals(other.getLastModifiedSince())) return false;
+        if (!getLastModifiedSince().equals(other.getLastModifiedSince())) return false;
       }
       if (hasLastModifiedBefore() != other.hasLastModifiedBefore()) return false;
       if (hasLastModifiedBefore()) {
-        if (!getLastModifiedBefore()
-            .equals(other.getLastModifiedBefore())) return false;
+        if (!getLastModifiedBefore().equals(other.getLastModifiedBefore())) return false;
       }
       if (!unknownFields.equals(other.unknownFields)) return false;
       return true;
@@ -3519,87 +3852,95 @@ public int hashCode() {
     }
 
     public static com.google.storagetransfer.v1.proto.TransferTypes.ObjectConditions parseFrom(
-        java.nio.ByteBuffer data)
-        throws com.google.protobuf.InvalidProtocolBufferException {
+        java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data);
     }
+
     public static com.google.storagetransfer.v1.proto.TransferTypes.ObjectConditions 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.storagetransfer.v1.proto.TransferTypes.ObjectConditions parseFrom(
         com.google.protobuf.ByteString data)
         throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data);
     }
+
     public static com.google.storagetransfer.v1.proto.TransferTypes.ObjectConditions 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.storagetransfer.v1.proto.TransferTypes.ObjectConditions parseFrom(byte[] data)
-        throws com.google.protobuf.InvalidProtocolBufferException {
+
+    public static com.google.storagetransfer.v1.proto.TransferTypes.ObjectConditions parseFrom(
+        byte[] data) throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data);
     }
+
     public static com.google.storagetransfer.v1.proto.TransferTypes.ObjectConditions 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.storagetransfer.v1.proto.TransferTypes.ObjectConditions parseFrom(java.io.InputStream input)
-        throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3
-          .parseWithIOException(PARSER, input);
+
+    public static com.google.storagetransfer.v1.proto.TransferTypes.ObjectConditions parseFrom(
+        java.io.InputStream input) throws java.io.IOException {
+      return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
     }
+
     public static com.google.storagetransfer.v1.proto.TransferTypes.ObjectConditions 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.storagetransfer.v1.proto.TransferTypes.ObjectConditions parseDelimitedFrom(java.io.InputStream input)
-        throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3
-          .parseDelimitedWithIOException(PARSER, input);
+
+    public static com.google.storagetransfer.v1.proto.TransferTypes.ObjectConditions
+        parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException {
+      return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
     }
-    public static com.google.storagetransfer.v1.proto.TransferTypes.ObjectConditions parseDelimitedFrom(
-        java.io.InputStream input,
-        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-        throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3
-          .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
+
+    public static com.google.storagetransfer.v1.proto.TransferTypes.ObjectConditions
+        parseDelimitedFrom(
+            java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+            throws java.io.IOException {
+      return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(
+          PARSER, input, extensionRegistry);
     }
+
     public static com.google.storagetransfer.v1.proto.TransferTypes.ObjectConditions 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.storagetransfer.v1.proto.TransferTypes.ObjectConditions 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.storagetransfer.v1.proto.TransferTypes.ObjectConditions prototype) {
+
+    public static Builder newBuilder(
+        com.google.storagetransfer.v1.proto.TransferTypes.ObjectConditions 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
@@ -3609,6 +3950,8 @@ protected Builder newBuilderForType(
       return builder;
     }
     /**
+     *
+     *
      * 
      * Conditions that determine which objects are transferred. Applies only
      * to Cloud Data Sources such as S3, Azure, and Cloud Storage.
@@ -3622,38 +3965,41 @@ protected Builder newBuilderForType(
      *
      * Protobuf type {@code google.storagetransfer.v1.ObjectConditions}
      */
-    public static final class Builder extends
-        com.google.protobuf.GeneratedMessageV3.Builder implements
+    public static final class Builder
+        extends com.google.protobuf.GeneratedMessageV3.Builder
+        implements
         // @@protoc_insertion_point(builder_implements:google.storagetransfer.v1.ObjectConditions)
         com.google.storagetransfer.v1.proto.TransferTypes.ObjectConditionsOrBuilder {
-      public static final com.google.protobuf.Descriptors.Descriptor
-          getDescriptor() {
-        return com.google.storagetransfer.v1.proto.TransferTypes.internal_static_google_storagetransfer_v1_ObjectConditions_descriptor;
+      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+        return com.google.storagetransfer.v1.proto.TransferTypes
+            .internal_static_google_storagetransfer_v1_ObjectConditions_descriptor;
       }
 
       @java.lang.Override
       protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
           internalGetFieldAccessorTable() {
-        return com.google.storagetransfer.v1.proto.TransferTypes.internal_static_google_storagetransfer_v1_ObjectConditions_fieldAccessorTable
+        return com.google.storagetransfer.v1.proto.TransferTypes
+            .internal_static_google_storagetransfer_v1_ObjectConditions_fieldAccessorTable
             .ensureFieldAccessorsInitialized(
-                com.google.storagetransfer.v1.proto.TransferTypes.ObjectConditions.class, com.google.storagetransfer.v1.proto.TransferTypes.ObjectConditions.Builder.class);
+                com.google.storagetransfer.v1.proto.TransferTypes.ObjectConditions.class,
+                com.google.storagetransfer.v1.proto.TransferTypes.ObjectConditions.Builder.class);
       }
 
-      // Construct using com.google.storagetransfer.v1.proto.TransferTypes.ObjectConditions.newBuilder()
+      // Construct using
+      // com.google.storagetransfer.v1.proto.TransferTypes.ObjectConditions.newBuilder()
       private Builder() {
         maybeForceBuilderInitialization();
       }
 
-      private Builder(
-          com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+      private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
         super(parent);
         maybeForceBuilderInitialization();
       }
+
       private void maybeForceBuilderInitialization() {
-        if (com.google.protobuf.GeneratedMessageV3
-                .alwaysUseFieldBuilders) {
-        }
+        if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {}
       }
+
       @java.lang.Override
       public Builder clear() {
         super.clear();
@@ -3689,14 +4035,16 @@ public Builder clear() {
       }
 
       @java.lang.Override
-      public com.google.protobuf.Descriptors.Descriptor
-          getDescriptorForType() {
-        return com.google.storagetransfer.v1.proto.TransferTypes.internal_static_google_storagetransfer_v1_ObjectConditions_descriptor;
+      public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+        return com.google.storagetransfer.v1.proto.TransferTypes
+            .internal_static_google_storagetransfer_v1_ObjectConditions_descriptor;
       }
 
       @java.lang.Override
-      public com.google.storagetransfer.v1.proto.TransferTypes.ObjectConditions getDefaultInstanceForType() {
-        return com.google.storagetransfer.v1.proto.TransferTypes.ObjectConditions.getDefaultInstance();
+      public com.google.storagetransfer.v1.proto.TransferTypes.ObjectConditions
+          getDefaultInstanceForType() {
+        return com.google.storagetransfer.v1.proto.TransferTypes.ObjectConditions
+            .getDefaultInstance();
       }
 
       @java.lang.Override
@@ -3710,17 +4058,20 @@ public com.google.storagetransfer.v1.proto.TransferTypes.ObjectConditions build(
 
       @java.lang.Override
       public com.google.storagetransfer.v1.proto.TransferTypes.ObjectConditions buildPartial() {
-        com.google.storagetransfer.v1.proto.TransferTypes.ObjectConditions result = new com.google.storagetransfer.v1.proto.TransferTypes.ObjectConditions(this);
+        com.google.storagetransfer.v1.proto.TransferTypes.ObjectConditions result =
+            new com.google.storagetransfer.v1.proto.TransferTypes.ObjectConditions(this);
         int from_bitField0_ = bitField0_;
         if (minTimeElapsedSinceLastModificationBuilder_ == null) {
           result.minTimeElapsedSinceLastModification_ = minTimeElapsedSinceLastModification_;
         } else {
-          result.minTimeElapsedSinceLastModification_ = minTimeElapsedSinceLastModificationBuilder_.build();
+          result.minTimeElapsedSinceLastModification_ =
+              minTimeElapsedSinceLastModificationBuilder_.build();
         }
         if (maxTimeElapsedSinceLastModificationBuilder_ == null) {
           result.maxTimeElapsedSinceLastModification_ = maxTimeElapsedSinceLastModification_;
         } else {
-          result.maxTimeElapsedSinceLastModification_ = maxTimeElapsedSinceLastModificationBuilder_.build();
+          result.maxTimeElapsedSinceLastModification_ =
+              maxTimeElapsedSinceLastModificationBuilder_.build();
         }
         if (((bitField0_ & 0x00000001) != 0)) {
           includePrefixes_ = includePrefixes_.getUnmodifiableView();
@@ -3750,46 +4101,53 @@ public com.google.storagetransfer.v1.proto.TransferTypes.ObjectConditions buildP
       public Builder clone() {
         return super.clone();
       }
+
       @java.lang.Override
       public Builder setField(
-          com.google.protobuf.Descriptors.FieldDescriptor field,
-          java.lang.Object value) {
+          com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
         return super.setField(field, value);
       }
+
       @java.lang.Override
-      public Builder clearField(
-          com.google.protobuf.Descriptors.FieldDescriptor field) {
+      public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
         return super.clearField(field);
       }
+
       @java.lang.Override
-      public Builder clearOneof(
-          com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+      public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
         return super.clearOneof(oneof);
       }
+
       @java.lang.Override
       public Builder setRepeatedField(
           com.google.protobuf.Descriptors.FieldDescriptor field,
-          int index, java.lang.Object value) {
+          int index,
+          java.lang.Object value) {
         return super.setRepeatedField(field, index, value);
       }
+
       @java.lang.Override
       public Builder addRepeatedField(
-          com.google.protobuf.Descriptors.FieldDescriptor field,
-          java.lang.Object value) {
+          com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
         return super.addRepeatedField(field, value);
       }
+
       @java.lang.Override
       public Builder mergeFrom(com.google.protobuf.Message other) {
         if (other instanceof com.google.storagetransfer.v1.proto.TransferTypes.ObjectConditions) {
-          return mergeFrom((com.google.storagetransfer.v1.proto.TransferTypes.ObjectConditions)other);
+          return mergeFrom(
+              (com.google.storagetransfer.v1.proto.TransferTypes.ObjectConditions) other);
         } else {
           super.mergeFrom(other);
           return this;
         }
       }
 
-      public Builder mergeFrom(com.google.storagetransfer.v1.proto.TransferTypes.ObjectConditions other) {
-        if (other == com.google.storagetransfer.v1.proto.TransferTypes.ObjectConditions.getDefaultInstance()) return this;
+      public Builder mergeFrom(
+          com.google.storagetransfer.v1.proto.TransferTypes.ObjectConditions other) {
+        if (other
+            == com.google.storagetransfer.v1.proto.TransferTypes.ObjectConditions
+                .getDefaultInstance()) return this;
         if (other.hasMinTimeElapsedSinceLastModification()) {
           mergeMinTimeElapsedSinceLastModification(other.getMinTimeElapsedSinceLastModification());
         }
@@ -3841,7 +4199,9 @@ public Builder mergeFrom(
         try {
           parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
         } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-          parsedMessage = (com.google.storagetransfer.v1.proto.TransferTypes.ObjectConditions) e.getUnfinishedMessage();
+          parsedMessage =
+              (com.google.storagetransfer.v1.proto.TransferTypes.ObjectConditions)
+                  e.getUnfinishedMessage();
           throw e.unwrapIOException();
         } finally {
           if (parsedMessage != null) {
@@ -3850,12 +4210,18 @@ public Builder mergeFrom(
         }
         return this;
       }
+
       private int bitField0_;
 
       private com.google.protobuf.Duration minTimeElapsedSinceLastModification_;
       private com.google.protobuf.SingleFieldBuilderV3<
-          com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder> minTimeElapsedSinceLastModificationBuilder_;
+              com.google.protobuf.Duration,
+              com.google.protobuf.Duration.Builder,
+              com.google.protobuf.DurationOrBuilder>
+          minTimeElapsedSinceLastModificationBuilder_;
       /**
+       *
+       *
        * 
        * Ensures that objects are not transferred until a specific minimum time
        * has elapsed after the "last modification time". When a
@@ -3868,12 +4234,16 @@ public Builder mergeFrom(
        * 
* * .google.protobuf.Duration min_time_elapsed_since_last_modification = 1; + * * @return Whether the minTimeElapsedSinceLastModification field is set. */ public boolean hasMinTimeElapsedSinceLastModification() { - return minTimeElapsedSinceLastModificationBuilder_ != null || minTimeElapsedSinceLastModification_ != null; + return minTimeElapsedSinceLastModificationBuilder_ != null + || minTimeElapsedSinceLastModification_ != null; } /** + * + * *
        * Ensures that objects are not transferred until a specific minimum time
        * has elapsed after the "last modification time". When a
@@ -3886,16 +4256,21 @@ public boolean hasMinTimeElapsedSinceLastModification() {
        * 
* * .google.protobuf.Duration min_time_elapsed_since_last_modification = 1; + * * @return The minTimeElapsedSinceLastModification. */ public com.google.protobuf.Duration getMinTimeElapsedSinceLastModification() { if (minTimeElapsedSinceLastModificationBuilder_ == null) { - return minTimeElapsedSinceLastModification_ == null ? com.google.protobuf.Duration.getDefaultInstance() : minTimeElapsedSinceLastModification_; + return minTimeElapsedSinceLastModification_ == null + ? com.google.protobuf.Duration.getDefaultInstance() + : minTimeElapsedSinceLastModification_; } else { return minTimeElapsedSinceLastModificationBuilder_.getMessage(); } } /** + * + * *
        * Ensures that objects are not transferred until a specific minimum time
        * has elapsed after the "last modification time". When a
@@ -3923,6 +4298,8 @@ public Builder setMinTimeElapsedSinceLastModification(com.google.protobuf.Durati
         return this;
       }
       /**
+       *
+       *
        * 
        * Ensures that objects are not transferred until a specific minimum time
        * has elapsed after the "last modification time". When a
@@ -3948,6 +4325,8 @@ public Builder setMinTimeElapsedSinceLastModification(
         return this;
       }
       /**
+       *
+       *
        * 
        * Ensures that objects are not transferred until a specific minimum time
        * has elapsed after the "last modification time". When a
@@ -3965,7 +4344,9 @@ public Builder mergeMinTimeElapsedSinceLastModification(com.google.protobuf.Dura
         if (minTimeElapsedSinceLastModificationBuilder_ == null) {
           if (minTimeElapsedSinceLastModification_ != null) {
             minTimeElapsedSinceLastModification_ =
-              com.google.protobuf.Duration.newBuilder(minTimeElapsedSinceLastModification_).mergeFrom(value).buildPartial();
+                com.google.protobuf.Duration.newBuilder(minTimeElapsedSinceLastModification_)
+                    .mergeFrom(value)
+                    .buildPartial();
           } else {
             minTimeElapsedSinceLastModification_ = value;
           }
@@ -3977,6 +4358,8 @@ public Builder mergeMinTimeElapsedSinceLastModification(com.google.protobuf.Dura
         return this;
       }
       /**
+       *
+       *
        * 
        * Ensures that objects are not transferred until a specific minimum time
        * has elapsed after the "last modification time". When a
@@ -4002,6 +4385,8 @@ public Builder clearMinTimeElapsedSinceLastModification() {
         return this;
       }
       /**
+       *
+       *
        * 
        * Ensures that objects are not transferred until a specific minimum time
        * has elapsed after the "last modification time". When a
@@ -4016,11 +4401,13 @@ public Builder clearMinTimeElapsedSinceLastModification() {
        * .google.protobuf.Duration min_time_elapsed_since_last_modification = 1;
        */
       public com.google.protobuf.Duration.Builder getMinTimeElapsedSinceLastModificationBuilder() {
-        
+
         onChanged();
         return getMinTimeElapsedSinceLastModificationFieldBuilder().getBuilder();
       }
       /**
+       *
+       *
        * 
        * Ensures that objects are not transferred until a specific minimum time
        * has elapsed after the "last modification time". When a
@@ -4034,15 +4421,19 @@ public com.google.protobuf.Duration.Builder getMinTimeElapsedSinceLastModificati
        *
        * .google.protobuf.Duration min_time_elapsed_since_last_modification = 1;
        */
-      public com.google.protobuf.DurationOrBuilder getMinTimeElapsedSinceLastModificationOrBuilder() {
+      public com.google.protobuf.DurationOrBuilder
+          getMinTimeElapsedSinceLastModificationOrBuilder() {
         if (minTimeElapsedSinceLastModificationBuilder_ != null) {
           return minTimeElapsedSinceLastModificationBuilder_.getMessageOrBuilder();
         } else {
-          return minTimeElapsedSinceLastModification_ == null ?
-              com.google.protobuf.Duration.getDefaultInstance() : minTimeElapsedSinceLastModification_;
+          return minTimeElapsedSinceLastModification_ == null
+              ? com.google.protobuf.Duration.getDefaultInstance()
+              : minTimeElapsedSinceLastModification_;
         }
       }
       /**
+       *
+       *
        * 
        * Ensures that objects are not transferred until a specific minimum time
        * has elapsed after the "last modification time". When a
@@ -4057,14 +4448,17 @@ public com.google.protobuf.DurationOrBuilder getMinTimeElapsedSinceLastModificat
        * .google.protobuf.Duration min_time_elapsed_since_last_modification = 1;
        */
       private com.google.protobuf.SingleFieldBuilderV3<
-          com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder> 
+              com.google.protobuf.Duration,
+              com.google.protobuf.Duration.Builder,
+              com.google.protobuf.DurationOrBuilder>
           getMinTimeElapsedSinceLastModificationFieldBuilder() {
         if (minTimeElapsedSinceLastModificationBuilder_ == null) {
-          minTimeElapsedSinceLastModificationBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-              com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder>(
-                  getMinTimeElapsedSinceLastModification(),
-                  getParentForChildren(),
-                  isClean());
+          minTimeElapsedSinceLastModificationBuilder_ =
+              new com.google.protobuf.SingleFieldBuilderV3<
+                  com.google.protobuf.Duration,
+                  com.google.protobuf.Duration.Builder,
+                  com.google.protobuf.DurationOrBuilder>(
+                  getMinTimeElapsedSinceLastModification(), getParentForChildren(), isClean());
           minTimeElapsedSinceLastModification_ = null;
         }
         return minTimeElapsedSinceLastModificationBuilder_;
@@ -4072,8 +4466,13 @@ public com.google.protobuf.DurationOrBuilder getMinTimeElapsedSinceLastModificat
 
       private com.google.protobuf.Duration maxTimeElapsedSinceLastModification_;
       private com.google.protobuf.SingleFieldBuilderV3<
-          com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder> maxTimeElapsedSinceLastModificationBuilder_;
+              com.google.protobuf.Duration,
+              com.google.protobuf.Duration.Builder,
+              com.google.protobuf.DurationOrBuilder>
+          maxTimeElapsedSinceLastModificationBuilder_;
       /**
+       *
+       *
        * 
        * Ensures that objects are not transferred if a specific maximum time
        * has elapsed since the "last modification time".
@@ -4086,12 +4485,16 @@ public com.google.protobuf.DurationOrBuilder getMinTimeElapsedSinceLastModificat
        * 
* * .google.protobuf.Duration max_time_elapsed_since_last_modification = 2; + * * @return Whether the maxTimeElapsedSinceLastModification field is set. */ public boolean hasMaxTimeElapsedSinceLastModification() { - return maxTimeElapsedSinceLastModificationBuilder_ != null || maxTimeElapsedSinceLastModification_ != null; + return maxTimeElapsedSinceLastModificationBuilder_ != null + || maxTimeElapsedSinceLastModification_ != null; } /** + * + * *
        * Ensures that objects are not transferred if a specific maximum time
        * has elapsed since the "last modification time".
@@ -4104,16 +4507,21 @@ public boolean hasMaxTimeElapsedSinceLastModification() {
        * 
* * .google.protobuf.Duration max_time_elapsed_since_last_modification = 2; + * * @return The maxTimeElapsedSinceLastModification. */ public com.google.protobuf.Duration getMaxTimeElapsedSinceLastModification() { if (maxTimeElapsedSinceLastModificationBuilder_ == null) { - return maxTimeElapsedSinceLastModification_ == null ? com.google.protobuf.Duration.getDefaultInstance() : maxTimeElapsedSinceLastModification_; + return maxTimeElapsedSinceLastModification_ == null + ? com.google.protobuf.Duration.getDefaultInstance() + : maxTimeElapsedSinceLastModification_; } else { return maxTimeElapsedSinceLastModificationBuilder_.getMessage(); } } /** + * + * *
        * Ensures that objects are not transferred if a specific maximum time
        * has elapsed since the "last modification time".
@@ -4141,6 +4549,8 @@ public Builder setMaxTimeElapsedSinceLastModification(com.google.protobuf.Durati
         return this;
       }
       /**
+       *
+       *
        * 
        * Ensures that objects are not transferred if a specific maximum time
        * has elapsed since the "last modification time".
@@ -4166,6 +4576,8 @@ public Builder setMaxTimeElapsedSinceLastModification(
         return this;
       }
       /**
+       *
+       *
        * 
        * Ensures that objects are not transferred if a specific maximum time
        * has elapsed since the "last modification time".
@@ -4183,7 +4595,9 @@ public Builder mergeMaxTimeElapsedSinceLastModification(com.google.protobuf.Dura
         if (maxTimeElapsedSinceLastModificationBuilder_ == null) {
           if (maxTimeElapsedSinceLastModification_ != null) {
             maxTimeElapsedSinceLastModification_ =
-              com.google.protobuf.Duration.newBuilder(maxTimeElapsedSinceLastModification_).mergeFrom(value).buildPartial();
+                com.google.protobuf.Duration.newBuilder(maxTimeElapsedSinceLastModification_)
+                    .mergeFrom(value)
+                    .buildPartial();
           } else {
             maxTimeElapsedSinceLastModification_ = value;
           }
@@ -4195,6 +4609,8 @@ public Builder mergeMaxTimeElapsedSinceLastModification(com.google.protobuf.Dura
         return this;
       }
       /**
+       *
+       *
        * 
        * Ensures that objects are not transferred if a specific maximum time
        * has elapsed since the "last modification time".
@@ -4220,6 +4636,8 @@ public Builder clearMaxTimeElapsedSinceLastModification() {
         return this;
       }
       /**
+       *
+       *
        * 
        * Ensures that objects are not transferred if a specific maximum time
        * has elapsed since the "last modification time".
@@ -4234,11 +4652,13 @@ public Builder clearMaxTimeElapsedSinceLastModification() {
        * .google.protobuf.Duration max_time_elapsed_since_last_modification = 2;
        */
       public com.google.protobuf.Duration.Builder getMaxTimeElapsedSinceLastModificationBuilder() {
-        
+
         onChanged();
         return getMaxTimeElapsedSinceLastModificationFieldBuilder().getBuilder();
       }
       /**
+       *
+       *
        * 
        * Ensures that objects are not transferred if a specific maximum time
        * has elapsed since the "last modification time".
@@ -4252,15 +4672,19 @@ public com.google.protobuf.Duration.Builder getMaxTimeElapsedSinceLastModificati
        *
        * .google.protobuf.Duration max_time_elapsed_since_last_modification = 2;
        */
-      public com.google.protobuf.DurationOrBuilder getMaxTimeElapsedSinceLastModificationOrBuilder() {
+      public com.google.protobuf.DurationOrBuilder
+          getMaxTimeElapsedSinceLastModificationOrBuilder() {
         if (maxTimeElapsedSinceLastModificationBuilder_ != null) {
           return maxTimeElapsedSinceLastModificationBuilder_.getMessageOrBuilder();
         } else {
-          return maxTimeElapsedSinceLastModification_ == null ?
-              com.google.protobuf.Duration.getDefaultInstance() : maxTimeElapsedSinceLastModification_;
+          return maxTimeElapsedSinceLastModification_ == null
+              ? com.google.protobuf.Duration.getDefaultInstance()
+              : maxTimeElapsedSinceLastModification_;
         }
       }
       /**
+       *
+       *
        * 
        * Ensures that objects are not transferred if a specific maximum time
        * has elapsed since the "last modification time".
@@ -4275,27 +4699,34 @@ public com.google.protobuf.DurationOrBuilder getMaxTimeElapsedSinceLastModificat
        * .google.protobuf.Duration max_time_elapsed_since_last_modification = 2;
        */
       private com.google.protobuf.SingleFieldBuilderV3<
-          com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder> 
+              com.google.protobuf.Duration,
+              com.google.protobuf.Duration.Builder,
+              com.google.protobuf.DurationOrBuilder>
           getMaxTimeElapsedSinceLastModificationFieldBuilder() {
         if (maxTimeElapsedSinceLastModificationBuilder_ == null) {
-          maxTimeElapsedSinceLastModificationBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-              com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder>(
-                  getMaxTimeElapsedSinceLastModification(),
-                  getParentForChildren(),
-                  isClean());
+          maxTimeElapsedSinceLastModificationBuilder_ =
+              new com.google.protobuf.SingleFieldBuilderV3<
+                  com.google.protobuf.Duration,
+                  com.google.protobuf.Duration.Builder,
+                  com.google.protobuf.DurationOrBuilder>(
+                  getMaxTimeElapsedSinceLastModification(), getParentForChildren(), isClean());
           maxTimeElapsedSinceLastModification_ = null;
         }
         return maxTimeElapsedSinceLastModificationBuilder_;
       }
 
-      private com.google.protobuf.LazyStringList includePrefixes_ = com.google.protobuf.LazyStringArrayList.EMPTY;
+      private com.google.protobuf.LazyStringList includePrefixes_ =
+          com.google.protobuf.LazyStringArrayList.EMPTY;
+
       private void ensureIncludePrefixesIsMutable() {
         if (!((bitField0_ & 0x00000001) != 0)) {
           includePrefixes_ = new com.google.protobuf.LazyStringArrayList(includePrefixes_);
           bitField0_ |= 0x00000001;
-         }
+        }
       }
       /**
+       *
+       *
        * 
        * If you specify `include_prefixes`, Storage Transfer Service uses the items
        * in the `include_prefixes` array to determine which objects to include in a
@@ -4321,13 +4752,15 @@ private void ensureIncludePrefixesIsMutable() {
        * 
* * repeated string include_prefixes = 3; + * * @return A list containing the includePrefixes. */ - public com.google.protobuf.ProtocolStringList - getIncludePrefixesList() { + public com.google.protobuf.ProtocolStringList getIncludePrefixesList() { return includePrefixes_.getUnmodifiableView(); } /** + * + * *
        * If you specify `include_prefixes`, Storage Transfer Service uses the items
        * in the `include_prefixes` array to determine which objects to include in a
@@ -4353,12 +4786,15 @@ private void ensureIncludePrefixesIsMutable() {
        * 
* * repeated string include_prefixes = 3; + * * @return The count of includePrefixes. */ public int getIncludePrefixesCount() { return includePrefixes_.size(); } /** + * + * *
        * If you specify `include_prefixes`, Storage Transfer Service uses the items
        * in the `include_prefixes` array to determine which objects to include in a
@@ -4384,6 +4820,7 @@ public int getIncludePrefixesCount() {
        * 
* * repeated string include_prefixes = 3; + * * @param index The index of the element to return. * @return The includePrefixes at the given index. */ @@ -4391,6 +4828,8 @@ public java.lang.String getIncludePrefixes(int index) { return includePrefixes_.get(index); } /** + * + * *
        * If you specify `include_prefixes`, Storage Transfer Service uses the items
        * in the `include_prefixes` array to determine which objects to include in a
@@ -4416,14 +4855,16 @@ public java.lang.String getIncludePrefixes(int index) {
        * 
* * repeated string include_prefixes = 3; + * * @param index The index of the value to return. * @return The bytes of the includePrefixes at the given index. */ - public com.google.protobuf.ByteString - getIncludePrefixesBytes(int index) { + public com.google.protobuf.ByteString getIncludePrefixesBytes(int index) { return includePrefixes_.getByteString(index); } /** + * + * *
        * If you specify `include_prefixes`, Storage Transfer Service uses the items
        * in the `include_prefixes` array to determine which objects to include in a
@@ -4449,21 +4890,23 @@ public java.lang.String getIncludePrefixes(int index) {
        * 
* * repeated string include_prefixes = 3; + * * @param index The index to set the value at. * @param value The includePrefixes to set. * @return This builder for chaining. */ - public Builder setIncludePrefixes( - int index, java.lang.String value) { + public Builder setIncludePrefixes(int index, java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureIncludePrefixesIsMutable(); + throw new NullPointerException(); + } + ensureIncludePrefixesIsMutable(); includePrefixes_.set(index, value); onChanged(); return this; } /** + * + * *
        * If you specify `include_prefixes`, Storage Transfer Service uses the items
        * in the `include_prefixes` array to determine which objects to include in a
@@ -4489,20 +4932,22 @@ public Builder setIncludePrefixes(
        * 
* * repeated string include_prefixes = 3; + * * @param value The includePrefixes to add. * @return This builder for chaining. */ - public Builder addIncludePrefixes( - java.lang.String value) { + public Builder addIncludePrefixes(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureIncludePrefixesIsMutable(); + throw new NullPointerException(); + } + ensureIncludePrefixesIsMutable(); includePrefixes_.add(value); onChanged(); return this; } /** + * + * *
        * If you specify `include_prefixes`, Storage Transfer Service uses the items
        * in the `include_prefixes` array to determine which objects to include in a
@@ -4528,18 +4973,19 @@ public Builder addIncludePrefixes(
        * 
* * repeated string include_prefixes = 3; + * * @param values The includePrefixes to add. * @return This builder for chaining. */ - public Builder addAllIncludePrefixes( - java.lang.Iterable values) { + public Builder addAllIncludePrefixes(java.lang.Iterable values) { ensureIncludePrefixesIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, includePrefixes_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, includePrefixes_); onChanged(); return this; } /** + * + * *
        * If you specify `include_prefixes`, Storage Transfer Service uses the items
        * in the `include_prefixes` array to determine which objects to include in a
@@ -4565,6 +5011,7 @@ public Builder addAllIncludePrefixes(
        * 
* * repeated string include_prefixes = 3; + * * @return This builder for chaining. */ public Builder clearIncludePrefixes() { @@ -4574,6 +5021,8 @@ public Builder clearIncludePrefixes() { return this; } /** + * + * *
        * If you specify `include_prefixes`, Storage Transfer Service uses the items
        * in the `include_prefixes` array to determine which objects to include in a
@@ -4599,29 +5048,33 @@ public Builder clearIncludePrefixes() {
        * 
* * repeated string include_prefixes = 3; + * * @param value The bytes of the includePrefixes to add. * @return This builder for chaining. */ - public Builder addIncludePrefixesBytes( - com.google.protobuf.ByteString value) { + public Builder addIncludePrefixesBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); ensureIncludePrefixesIsMutable(); includePrefixes_.add(value); onChanged(); return this; } - private com.google.protobuf.LazyStringList excludePrefixes_ = com.google.protobuf.LazyStringArrayList.EMPTY; + private com.google.protobuf.LazyStringList excludePrefixes_ = + com.google.protobuf.LazyStringArrayList.EMPTY; + private void ensureExcludePrefixesIsMutable() { if (!((bitField0_ & 0x00000002) != 0)) { excludePrefixes_ = new com.google.protobuf.LazyStringArrayList(excludePrefixes_); bitField0_ |= 0x00000002; - } + } } /** + * + * *
        * If you specify `exclude_prefixes`, Storage Transfer Service uses the items
        * in the `exclude_prefixes` array to determine which objects to exclude from
@@ -4647,13 +5100,15 @@ private void ensureExcludePrefixesIsMutable() {
        * 
* * repeated string exclude_prefixes = 4; + * * @return A list containing the excludePrefixes. */ - public com.google.protobuf.ProtocolStringList - getExcludePrefixesList() { + public com.google.protobuf.ProtocolStringList getExcludePrefixesList() { return excludePrefixes_.getUnmodifiableView(); } /** + * + * *
        * If you specify `exclude_prefixes`, Storage Transfer Service uses the items
        * in the `exclude_prefixes` array to determine which objects to exclude from
@@ -4679,12 +5134,15 @@ private void ensureExcludePrefixesIsMutable() {
        * 
* * repeated string exclude_prefixes = 4; + * * @return The count of excludePrefixes. */ public int getExcludePrefixesCount() { return excludePrefixes_.size(); } /** + * + * *
        * If you specify `exclude_prefixes`, Storage Transfer Service uses the items
        * in the `exclude_prefixes` array to determine which objects to exclude from
@@ -4710,6 +5168,7 @@ public int getExcludePrefixesCount() {
        * 
* * repeated string exclude_prefixes = 4; + * * @param index The index of the element to return. * @return The excludePrefixes at the given index. */ @@ -4717,6 +5176,8 @@ public java.lang.String getExcludePrefixes(int index) { return excludePrefixes_.get(index); } /** + * + * *
        * If you specify `exclude_prefixes`, Storage Transfer Service uses the items
        * in the `exclude_prefixes` array to determine which objects to exclude from
@@ -4742,14 +5203,16 @@ public java.lang.String getExcludePrefixes(int index) {
        * 
* * repeated string exclude_prefixes = 4; + * * @param index The index of the value to return. * @return The bytes of the excludePrefixes at the given index. */ - public com.google.protobuf.ByteString - getExcludePrefixesBytes(int index) { + public com.google.protobuf.ByteString getExcludePrefixesBytes(int index) { return excludePrefixes_.getByteString(index); } /** + * + * *
        * If you specify `exclude_prefixes`, Storage Transfer Service uses the items
        * in the `exclude_prefixes` array to determine which objects to exclude from
@@ -4775,21 +5238,23 @@ public java.lang.String getExcludePrefixes(int index) {
        * 
* * repeated string exclude_prefixes = 4; + * * @param index The index to set the value at. * @param value The excludePrefixes to set. * @return This builder for chaining. */ - public Builder setExcludePrefixes( - int index, java.lang.String value) { + public Builder setExcludePrefixes(int index, java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureExcludePrefixesIsMutable(); + throw new NullPointerException(); + } + ensureExcludePrefixesIsMutable(); excludePrefixes_.set(index, value); onChanged(); return this; } /** + * + * *
        * If you specify `exclude_prefixes`, Storage Transfer Service uses the items
        * in the `exclude_prefixes` array to determine which objects to exclude from
@@ -4815,20 +5280,22 @@ public Builder setExcludePrefixes(
        * 
* * repeated string exclude_prefixes = 4; + * * @param value The excludePrefixes to add. * @return This builder for chaining. */ - public Builder addExcludePrefixes( - java.lang.String value) { + public Builder addExcludePrefixes(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureExcludePrefixesIsMutable(); + throw new NullPointerException(); + } + ensureExcludePrefixesIsMutable(); excludePrefixes_.add(value); onChanged(); return this; } /** + * + * *
        * If you specify `exclude_prefixes`, Storage Transfer Service uses the items
        * in the `exclude_prefixes` array to determine which objects to exclude from
@@ -4854,18 +5321,19 @@ public Builder addExcludePrefixes(
        * 
* * repeated string exclude_prefixes = 4; + * * @param values The excludePrefixes to add. * @return This builder for chaining. */ - public Builder addAllExcludePrefixes( - java.lang.Iterable values) { + public Builder addAllExcludePrefixes(java.lang.Iterable values) { ensureExcludePrefixesIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, excludePrefixes_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, excludePrefixes_); onChanged(); return this; } /** + * + * *
        * If you specify `exclude_prefixes`, Storage Transfer Service uses the items
        * in the `exclude_prefixes` array to determine which objects to exclude from
@@ -4891,6 +5359,7 @@ public Builder addAllExcludePrefixes(
        * 
* * repeated string exclude_prefixes = 4; + * * @return This builder for chaining. */ public Builder clearExcludePrefixes() { @@ -4900,6 +5369,8 @@ public Builder clearExcludePrefixes() { return this; } /** + * + * *
        * If you specify `exclude_prefixes`, Storage Transfer Service uses the items
        * in the `exclude_prefixes` array to determine which objects to exclude from
@@ -4925,15 +5396,15 @@ public Builder clearExcludePrefixes() {
        * 
* * repeated string exclude_prefixes = 4; + * * @param value The bytes of the excludePrefixes to add. * @return This builder for chaining. */ - public Builder addExcludePrefixesBytes( - com.google.protobuf.ByteString value) { + public Builder addExcludePrefixesBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); ensureExcludePrefixesIsMutable(); excludePrefixes_.add(value); onChanged(); @@ -4942,8 +5413,13 @@ public Builder addExcludePrefixesBytes( private com.google.protobuf.Timestamp lastModifiedSince_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> lastModifiedSinceBuilder_; + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder> + lastModifiedSinceBuilder_; /** + * + * *
        * If specified, only objects with a "last modification time" on or after
        * this timestamp and objects that don't have a "last modification time" are
@@ -4957,12 +5433,15 @@ public Builder addExcludePrefixesBytes(
        * 
* * .google.protobuf.Timestamp last_modified_since = 5; + * * @return Whether the lastModifiedSince field is set. */ public boolean hasLastModifiedSince() { return lastModifiedSinceBuilder_ != null || lastModifiedSince_ != null; } /** + * + * *
        * If specified, only objects with a "last modification time" on or after
        * this timestamp and objects that don't have a "last modification time" are
@@ -4976,16 +5455,21 @@ public boolean hasLastModifiedSince() {
        * 
* * .google.protobuf.Timestamp last_modified_since = 5; + * * @return The lastModifiedSince. */ public com.google.protobuf.Timestamp getLastModifiedSince() { if (lastModifiedSinceBuilder_ == null) { - return lastModifiedSince_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : lastModifiedSince_; + return lastModifiedSince_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : lastModifiedSince_; } else { return lastModifiedSinceBuilder_.getMessage(); } } /** + * + * *
        * If specified, only objects with a "last modification time" on or after
        * this timestamp and objects that don't have a "last modification time" are
@@ -5014,6 +5498,8 @@ public Builder setLastModifiedSince(com.google.protobuf.Timestamp value) {
         return this;
       }
       /**
+       *
+       *
        * 
        * If specified, only objects with a "last modification time" on or after
        * this timestamp and objects that don't have a "last modification time" are
@@ -5028,8 +5514,7 @@ public Builder setLastModifiedSince(com.google.protobuf.Timestamp value) {
        *
        * .google.protobuf.Timestamp last_modified_since = 5;
        */
-      public Builder setLastModifiedSince(
-          com.google.protobuf.Timestamp.Builder builderForValue) {
+      public Builder setLastModifiedSince(com.google.protobuf.Timestamp.Builder builderForValue) {
         if (lastModifiedSinceBuilder_ == null) {
           lastModifiedSince_ = builderForValue.build();
           onChanged();
@@ -5040,6 +5525,8 @@ public Builder setLastModifiedSince(
         return this;
       }
       /**
+       *
+       *
        * 
        * If specified, only objects with a "last modification time" on or after
        * this timestamp and objects that don't have a "last modification time" are
@@ -5058,7 +5545,9 @@ public Builder mergeLastModifiedSince(com.google.protobuf.Timestamp value) {
         if (lastModifiedSinceBuilder_ == null) {
           if (lastModifiedSince_ != null) {
             lastModifiedSince_ =
-              com.google.protobuf.Timestamp.newBuilder(lastModifiedSince_).mergeFrom(value).buildPartial();
+                com.google.protobuf.Timestamp.newBuilder(lastModifiedSince_)
+                    .mergeFrom(value)
+                    .buildPartial();
           } else {
             lastModifiedSince_ = value;
           }
@@ -5070,6 +5559,8 @@ public Builder mergeLastModifiedSince(com.google.protobuf.Timestamp value) {
         return this;
       }
       /**
+       *
+       *
        * 
        * If specified, only objects with a "last modification time" on or after
        * this timestamp and objects that don't have a "last modification time" are
@@ -5096,6 +5587,8 @@ public Builder clearLastModifiedSince() {
         return this;
       }
       /**
+       *
+       *
        * 
        * If specified, only objects with a "last modification time" on or after
        * this timestamp and objects that don't have a "last modification time" are
@@ -5111,11 +5604,13 @@ public Builder clearLastModifiedSince() {
        * .google.protobuf.Timestamp last_modified_since = 5;
        */
       public com.google.protobuf.Timestamp.Builder getLastModifiedSinceBuilder() {
-        
+
         onChanged();
         return getLastModifiedSinceFieldBuilder().getBuilder();
       }
       /**
+       *
+       *
        * 
        * If specified, only objects with a "last modification time" on or after
        * this timestamp and objects that don't have a "last modification time" are
@@ -5134,11 +5629,14 @@ public com.google.protobuf.TimestampOrBuilder getLastModifiedSinceOrBuilder() {
         if (lastModifiedSinceBuilder_ != null) {
           return lastModifiedSinceBuilder_.getMessageOrBuilder();
         } else {
-          return lastModifiedSince_ == null ?
-              com.google.protobuf.Timestamp.getDefaultInstance() : lastModifiedSince_;
+          return lastModifiedSince_ == null
+              ? com.google.protobuf.Timestamp.getDefaultInstance()
+              : lastModifiedSince_;
         }
       }
       /**
+       *
+       *
        * 
        * If specified, only objects with a "last modification time" on or after
        * this timestamp and objects that don't have a "last modification time" are
@@ -5154,14 +5652,17 @@ public com.google.protobuf.TimestampOrBuilder getLastModifiedSinceOrBuilder() {
        * .google.protobuf.Timestamp last_modified_since = 5;
        */
       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>
           getLastModifiedSinceFieldBuilder() {
         if (lastModifiedSinceBuilder_ == null) {
-          lastModifiedSinceBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-              com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>(
-                  getLastModifiedSince(),
-                  getParentForChildren(),
-                  isClean());
+          lastModifiedSinceBuilder_ =
+              new com.google.protobuf.SingleFieldBuilderV3<
+                  com.google.protobuf.Timestamp,
+                  com.google.protobuf.Timestamp.Builder,
+                  com.google.protobuf.TimestampOrBuilder>(
+                  getLastModifiedSince(), getParentForChildren(), isClean());
           lastModifiedSince_ = null;
         }
         return lastModifiedSinceBuilder_;
@@ -5169,8 +5670,13 @@ public com.google.protobuf.TimestampOrBuilder getLastModifiedSinceOrBuilder() {
 
       private com.google.protobuf.Timestamp lastModifiedBefore_;
       private com.google.protobuf.SingleFieldBuilderV3<
-          com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> lastModifiedBeforeBuilder_;
+              com.google.protobuf.Timestamp,
+              com.google.protobuf.Timestamp.Builder,
+              com.google.protobuf.TimestampOrBuilder>
+          lastModifiedBeforeBuilder_;
       /**
+       *
+       *
        * 
        * If specified, only objects with a "last modification time" before this
        * timestamp and objects that don't have a "last modification time" are
@@ -5178,12 +5684,15 @@ public com.google.protobuf.TimestampOrBuilder getLastModifiedSinceOrBuilder() {
        * 
* * .google.protobuf.Timestamp last_modified_before = 6; + * * @return Whether the lastModifiedBefore field is set. */ public boolean hasLastModifiedBefore() { return lastModifiedBeforeBuilder_ != null || lastModifiedBefore_ != null; } /** + * + * *
        * If specified, only objects with a "last modification time" before this
        * timestamp and objects that don't have a "last modification time" are
@@ -5191,16 +5700,21 @@ public boolean hasLastModifiedBefore() {
        * 
* * .google.protobuf.Timestamp last_modified_before = 6; + * * @return The lastModifiedBefore. */ public com.google.protobuf.Timestamp getLastModifiedBefore() { if (lastModifiedBeforeBuilder_ == null) { - return lastModifiedBefore_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : lastModifiedBefore_; + return lastModifiedBefore_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : lastModifiedBefore_; } else { return lastModifiedBeforeBuilder_.getMessage(); } } /** + * + * *
        * If specified, only objects with a "last modification time" before this
        * timestamp and objects that don't have a "last modification time" are
@@ -5223,6 +5737,8 @@ public Builder setLastModifiedBefore(com.google.protobuf.Timestamp value) {
         return this;
       }
       /**
+       *
+       *
        * 
        * If specified, only objects with a "last modification time" before this
        * timestamp and objects that don't have a "last modification time" are
@@ -5231,8 +5747,7 @@ public Builder setLastModifiedBefore(com.google.protobuf.Timestamp value) {
        *
        * .google.protobuf.Timestamp last_modified_before = 6;
        */
-      public Builder setLastModifiedBefore(
-          com.google.protobuf.Timestamp.Builder builderForValue) {
+      public Builder setLastModifiedBefore(com.google.protobuf.Timestamp.Builder builderForValue) {
         if (lastModifiedBeforeBuilder_ == null) {
           lastModifiedBefore_ = builderForValue.build();
           onChanged();
@@ -5243,6 +5758,8 @@ public Builder setLastModifiedBefore(
         return this;
       }
       /**
+       *
+       *
        * 
        * If specified, only objects with a "last modification time" before this
        * timestamp and objects that don't have a "last modification time" are
@@ -5255,7 +5772,9 @@ public Builder mergeLastModifiedBefore(com.google.protobuf.Timestamp value) {
         if (lastModifiedBeforeBuilder_ == null) {
           if (lastModifiedBefore_ != null) {
             lastModifiedBefore_ =
-              com.google.protobuf.Timestamp.newBuilder(lastModifiedBefore_).mergeFrom(value).buildPartial();
+                com.google.protobuf.Timestamp.newBuilder(lastModifiedBefore_)
+                    .mergeFrom(value)
+                    .buildPartial();
           } else {
             lastModifiedBefore_ = value;
           }
@@ -5267,6 +5786,8 @@ public Builder mergeLastModifiedBefore(com.google.protobuf.Timestamp value) {
         return this;
       }
       /**
+       *
+       *
        * 
        * If specified, only objects with a "last modification time" before this
        * timestamp and objects that don't have a "last modification time" are
@@ -5287,6 +5808,8 @@ public Builder clearLastModifiedBefore() {
         return this;
       }
       /**
+       *
+       *
        * 
        * If specified, only objects with a "last modification time" before this
        * timestamp and objects that don't have a "last modification time" are
@@ -5296,11 +5819,13 @@ public Builder clearLastModifiedBefore() {
        * .google.protobuf.Timestamp last_modified_before = 6;
        */
       public com.google.protobuf.Timestamp.Builder getLastModifiedBeforeBuilder() {
-        
+
         onChanged();
         return getLastModifiedBeforeFieldBuilder().getBuilder();
       }
       /**
+       *
+       *
        * 
        * If specified, only objects with a "last modification time" before this
        * timestamp and objects that don't have a "last modification time" are
@@ -5313,11 +5838,14 @@ public com.google.protobuf.TimestampOrBuilder getLastModifiedBeforeOrBuilder() {
         if (lastModifiedBeforeBuilder_ != null) {
           return lastModifiedBeforeBuilder_.getMessageOrBuilder();
         } else {
-          return lastModifiedBefore_ == null ?
-              com.google.protobuf.Timestamp.getDefaultInstance() : lastModifiedBefore_;
+          return lastModifiedBefore_ == null
+              ? com.google.protobuf.Timestamp.getDefaultInstance()
+              : lastModifiedBefore_;
         }
       }
       /**
+       *
+       *
        * 
        * If specified, only objects with a "last modification time" before this
        * timestamp and objects that don't have a "last modification time" are
@@ -5327,18 +5855,22 @@ public com.google.protobuf.TimestampOrBuilder getLastModifiedBeforeOrBuilder() {
        * .google.protobuf.Timestamp last_modified_before = 6;
        */
       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>
           getLastModifiedBeforeFieldBuilder() {
         if (lastModifiedBeforeBuilder_ == null) {
-          lastModifiedBeforeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-              com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>(
-                  getLastModifiedBefore(),
-                  getParentForChildren(),
-                  isClean());
+          lastModifiedBeforeBuilder_ =
+              new com.google.protobuf.SingleFieldBuilderV3<
+                  com.google.protobuf.Timestamp,
+                  com.google.protobuf.Timestamp.Builder,
+                  com.google.protobuf.TimestampOrBuilder>(
+                  getLastModifiedBefore(), getParentForChildren(), isClean());
           lastModifiedBefore_ = null;
         }
         return lastModifiedBeforeBuilder_;
       }
+
       @java.lang.Override
       public final Builder setUnknownFields(
           final com.google.protobuf.UnknownFieldSet unknownFields) {
@@ -5351,30 +5883,32 @@ public final Builder mergeUnknownFields(
         return super.mergeUnknownFields(unknownFields);
       }
 
-
       // @@protoc_insertion_point(builder_scope:google.storagetransfer.v1.ObjectConditions)
     }
 
     // @@protoc_insertion_point(class_scope:google.storagetransfer.v1.ObjectConditions)
-    private static final com.google.storagetransfer.v1.proto.TransferTypes.ObjectConditions DEFAULT_INSTANCE;
+    private static final com.google.storagetransfer.v1.proto.TransferTypes.ObjectConditions
+        DEFAULT_INSTANCE;
+
     static {
       DEFAULT_INSTANCE = new com.google.storagetransfer.v1.proto.TransferTypes.ObjectConditions();
     }
 
-    public static com.google.storagetransfer.v1.proto.TransferTypes.ObjectConditions getDefaultInstance() {
+    public static com.google.storagetransfer.v1.proto.TransferTypes.ObjectConditions
+        getDefaultInstance() {
       return DEFAULT_INSTANCE;
     }
 
-    private static final com.google.protobuf.Parser
-        PARSER = new com.google.protobuf.AbstractParser() {
-      @java.lang.Override
-      public ObjectConditions parsePartialFrom(
-          com.google.protobuf.CodedInputStream input,
-          com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-          throws com.google.protobuf.InvalidProtocolBufferException {
-        return new ObjectConditions(input, extensionRegistry);
-      }
-    };
+    private static final com.google.protobuf.Parser PARSER =
+        new com.google.protobuf.AbstractParser() {
+          @java.lang.Override
+          public ObjectConditions parsePartialFrom(
+              com.google.protobuf.CodedInputStream input,
+              com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+              throws com.google.protobuf.InvalidProtocolBufferException {
+            return new ObjectConditions(input, extensionRegistry);
+          }
+        };
 
     public static com.google.protobuf.Parser parser() {
       return PARSER;
@@ -5386,39 +5920,47 @@ public com.google.protobuf.Parser getParserForType() {
     }
 
     @java.lang.Override
-    public com.google.storagetransfer.v1.proto.TransferTypes.ObjectConditions getDefaultInstanceForType() {
+    public com.google.storagetransfer.v1.proto.TransferTypes.ObjectConditions
+        getDefaultInstanceForType() {
       return DEFAULT_INSTANCE;
     }
-
   }
 
-  public interface GcsDataOrBuilder extends
+  public interface GcsDataOrBuilder
+      extends
       // @@protoc_insertion_point(interface_extends:google.storagetransfer.v1.GcsData)
       com.google.protobuf.MessageOrBuilder {
 
     /**
+     *
+     *
      * 
      * Required. Cloud Storage bucket name. Must meet
      * [Bucket Name Requirements](/storage/docs/naming#requirements).
      * 
* * string bucket_name = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bucketName. */ java.lang.String getBucketName(); /** + * + * *
      * Required. Cloud Storage bucket name. Must meet
      * [Bucket Name Requirements](/storage/docs/naming#requirements).
      * 
* * string bucket_name = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for bucketName. */ - com.google.protobuf.ByteString - getBucketNameBytes(); + com.google.protobuf.ByteString getBucketNameBytes(); /** + * + * *
      * Root path to transfer objects.
      * Must be an empty string or full path name that ends with a '/'. This field
@@ -5429,10 +5971,13 @@ public interface GcsDataOrBuilder extends
      * 
* * string path = 3; + * * @return The path. */ java.lang.String getPath(); /** + * + * *
      * Root path to transfer objects.
      * Must be an empty string or full path name that ends with a '/'. This field
@@ -5443,12 +5988,14 @@ public interface GcsDataOrBuilder extends
      * 
* * string path = 3; + * * @return The bytes for path. */ - com.google.protobuf.ByteString - getPathBytes(); + com.google.protobuf.ByteString getPathBytes(); } /** + * + * *
    * In a GcsData resource, an object's name is the Cloud Storage object's
    * name and its "last modification time" refers to the object's `updated`
@@ -5458,15 +6005,16 @@ public interface GcsDataOrBuilder extends
    *
    * Protobuf type {@code google.storagetransfer.v1.GcsData}
    */
-  public static final class GcsData extends
-      com.google.protobuf.GeneratedMessageV3 implements
+  public static final class GcsData extends com.google.protobuf.GeneratedMessageV3
+      implements
       // @@protoc_insertion_point(message_implements:google.storagetransfer.v1.GcsData)
       GcsDataOrBuilder {
-  private static final long serialVersionUID = 0L;
+    private static final long serialVersionUID = 0L;
     // Use GcsData.newBuilder() to construct.
     private GcsData(com.google.protobuf.GeneratedMessageV3.Builder builder) {
       super(builder);
     }
+
     private GcsData() {
       bucketName_ = "";
       path_ = "";
@@ -5474,16 +6022,15 @@ private GcsData() {
 
     @java.lang.Override
     @SuppressWarnings({"unused"})
-    protected java.lang.Object newInstance(
-        UnusedPrivateParameter unused) {
+    protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
       return new GcsData();
     }
 
     @java.lang.Override
-    public final com.google.protobuf.UnknownFieldSet
-    getUnknownFields() {
+    public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
       return this.unknownFields;
     }
+
     private GcsData(
         com.google.protobuf.CodedInputStream input,
         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -5502,25 +6049,27 @@ private GcsData(
             case 0:
               done = true;
               break;
-            case 10: {
-              java.lang.String s = input.readStringRequireUtf8();
+            case 10:
+              {
+                java.lang.String s = input.readStringRequireUtf8();
 
-              bucketName_ = s;
-              break;
-            }
-            case 26: {
-              java.lang.String s = input.readStringRequireUtf8();
+                bucketName_ = s;
+                break;
+              }
+            case 26:
+              {
+                java.lang.String s = input.readStringRequireUtf8();
 
-              path_ = s;
-              break;
-            }
-            default: {
-              if (!parseUnknownField(
-                  input, unknownFields, extensionRegistry, tag)) {
-                done = true;
+                path_ = s;
+                break;
+              }
+            default:
+              {
+                if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
+                  done = true;
+                }
+                break;
               }
-              break;
-            }
           }
         }
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -5528,35 +6077,40 @@ private GcsData(
       } catch (com.google.protobuf.UninitializedMessageException e) {
         throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
       } catch (java.io.IOException e) {
-        throw new com.google.protobuf.InvalidProtocolBufferException(
-            e).setUnfinishedMessage(this);
+        throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
       } finally {
         this.unknownFields = unknownFields.build();
         makeExtensionsImmutable();
       }
     }
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.storagetransfer.v1.proto.TransferTypes.internal_static_google_storagetransfer_v1_GcsData_descriptor;
+
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.storagetransfer.v1.proto.TransferTypes
+          .internal_static_google_storagetransfer_v1_GcsData_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.storagetransfer.v1.proto.TransferTypes.internal_static_google_storagetransfer_v1_GcsData_fieldAccessorTable
+      return com.google.storagetransfer.v1.proto.TransferTypes
+          .internal_static_google_storagetransfer_v1_GcsData_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.storagetransfer.v1.proto.TransferTypes.GcsData.class, com.google.storagetransfer.v1.proto.TransferTypes.GcsData.Builder.class);
+              com.google.storagetransfer.v1.proto.TransferTypes.GcsData.class,
+              com.google.storagetransfer.v1.proto.TransferTypes.GcsData.Builder.class);
     }
 
     public static final int BUCKET_NAME_FIELD_NUMBER = 1;
     private volatile java.lang.Object bucketName_;
     /**
+     *
+     *
      * 
      * Required. Cloud Storage bucket name. Must meet
      * [Bucket Name Requirements](/storage/docs/naming#requirements).
      * 
* * string bucket_name = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bucketName. */ @java.lang.Override @@ -5565,30 +6119,30 @@ public java.lang.String getBucketName() { 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(); bucketName_ = s; return s; } } /** + * + * *
      * Required. Cloud Storage bucket name. Must meet
      * [Bucket Name Requirements](/storage/docs/naming#requirements).
      * 
* * string bucket_name = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for bucketName. */ @java.lang.Override - public com.google.protobuf.ByteString - getBucketNameBytes() { + public com.google.protobuf.ByteString getBucketNameBytes() { java.lang.Object ref = bucketName_; 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); bucketName_ = b; return b; } else { @@ -5599,6 +6153,8 @@ public java.lang.String getBucketName() { public static final int PATH_FIELD_NUMBER = 3; private volatile java.lang.Object path_; /** + * + * *
      * Root path to transfer objects.
      * Must be an empty string or full path name that ends with a '/'. This field
@@ -5609,6 +6165,7 @@ public java.lang.String getBucketName() {
      * 
* * string path = 3; + * * @return The path. */ @java.lang.Override @@ -5617,14 +6174,15 @@ public java.lang.String getPath() { 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(); path_ = s; return s; } } /** + * + * *
      * Root path to transfer objects.
      * Must be an empty string or full path name that ends with a '/'. This field
@@ -5635,16 +6193,15 @@ public java.lang.String getPath() {
      * 
* * string path = 3; + * * @return The bytes for path. */ @java.lang.Override - public com.google.protobuf.ByteString - getPathBytes() { + public com.google.protobuf.ByteString getPathBytes() { java.lang.Object ref = path_; 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); path_ = b; return b; } else { @@ -5653,6 +6210,7 @@ public java.lang.String getPath() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -5664,8 +6222,7 @@ 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 (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(bucketName_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, bucketName_); } @@ -5695,17 +6252,16 @@ 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.storagetransfer.v1.proto.TransferTypes.GcsData)) { return super.equals(obj); } - com.google.storagetransfer.v1.proto.TransferTypes.GcsData other = (com.google.storagetransfer.v1.proto.TransferTypes.GcsData) obj; + com.google.storagetransfer.v1.proto.TransferTypes.GcsData other = + (com.google.storagetransfer.v1.proto.TransferTypes.GcsData) obj; - if (!getBucketName() - .equals(other.getBucketName())) return false; - if (!getPath() - .equals(other.getPath())) return false; + if (!getBucketName().equals(other.getBucketName())) return false; + if (!getPath().equals(other.getPath())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -5727,87 +6283,94 @@ public int hashCode() { } public static com.google.storagetransfer.v1.proto.TransferTypes.GcsData parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.storagetransfer.v1.proto.TransferTypes.GcsData 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.storagetransfer.v1.proto.TransferTypes.GcsData parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.storagetransfer.v1.proto.TransferTypes.GcsData 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.storagetransfer.v1.proto.TransferTypes.GcsData parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.storagetransfer.v1.proto.TransferTypes.GcsData 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.storagetransfer.v1.proto.TransferTypes.GcsData parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.storagetransfer.v1.proto.TransferTypes.GcsData parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.storagetransfer.v1.proto.TransferTypes.GcsData 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.storagetransfer.v1.proto.TransferTypes.GcsData parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.storagetransfer.v1.proto.TransferTypes.GcsData parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.storagetransfer.v1.proto.TransferTypes.GcsData 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.storagetransfer.v1.proto.TransferTypes.GcsData 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.storagetransfer.v1.proto.TransferTypes.GcsData 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.storagetransfer.v1.proto.TransferTypes.GcsData prototype) { + + public static Builder newBuilder( + com.google.storagetransfer.v1.proto.TransferTypes.GcsData 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 @@ -5817,6 +6380,8 @@ protected Builder newBuilderForType( return builder; } /** + * + * *
      * In a GcsData resource, an object's name is the Cloud Storage object's
      * name and its "last modification time" refers to the object's `updated`
@@ -5826,21 +6391,24 @@ protected Builder newBuilderForType(
      *
      * Protobuf type {@code google.storagetransfer.v1.GcsData}
      */
-    public static final class Builder extends
-        com.google.protobuf.GeneratedMessageV3.Builder implements
+    public static final class Builder
+        extends com.google.protobuf.GeneratedMessageV3.Builder
+        implements
         // @@protoc_insertion_point(builder_implements:google.storagetransfer.v1.GcsData)
         com.google.storagetransfer.v1.proto.TransferTypes.GcsDataOrBuilder {
-      public static final com.google.protobuf.Descriptors.Descriptor
-          getDescriptor() {
-        return com.google.storagetransfer.v1.proto.TransferTypes.internal_static_google_storagetransfer_v1_GcsData_descriptor;
+      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+        return com.google.storagetransfer.v1.proto.TransferTypes
+            .internal_static_google_storagetransfer_v1_GcsData_descriptor;
       }
 
       @java.lang.Override
       protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
           internalGetFieldAccessorTable() {
-        return com.google.storagetransfer.v1.proto.TransferTypes.internal_static_google_storagetransfer_v1_GcsData_fieldAccessorTable
+        return com.google.storagetransfer.v1.proto.TransferTypes
+            .internal_static_google_storagetransfer_v1_GcsData_fieldAccessorTable
             .ensureFieldAccessorsInitialized(
-                com.google.storagetransfer.v1.proto.TransferTypes.GcsData.class, com.google.storagetransfer.v1.proto.TransferTypes.GcsData.Builder.class);
+                com.google.storagetransfer.v1.proto.TransferTypes.GcsData.class,
+                com.google.storagetransfer.v1.proto.TransferTypes.GcsData.Builder.class);
       }
 
       // Construct using com.google.storagetransfer.v1.proto.TransferTypes.GcsData.newBuilder()
@@ -5848,16 +6416,15 @@ private Builder() {
         maybeForceBuilderInitialization();
       }
 
-      private Builder(
-          com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+      private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
         super(parent);
         maybeForceBuilderInitialization();
       }
+
       private void maybeForceBuilderInitialization() {
-        if (com.google.protobuf.GeneratedMessageV3
-                .alwaysUseFieldBuilders) {
-        }
+        if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {}
       }
+
       @java.lang.Override
       public Builder clear() {
         super.clear();
@@ -5869,9 +6436,9 @@ public Builder clear() {
       }
 
       @java.lang.Override
-      public com.google.protobuf.Descriptors.Descriptor
-          getDescriptorForType() {
-        return com.google.storagetransfer.v1.proto.TransferTypes.internal_static_google_storagetransfer_v1_GcsData_descriptor;
+      public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+        return com.google.storagetransfer.v1.proto.TransferTypes
+            .internal_static_google_storagetransfer_v1_GcsData_descriptor;
       }
 
       @java.lang.Override
@@ -5890,7 +6457,8 @@ public com.google.storagetransfer.v1.proto.TransferTypes.GcsData build() {
 
       @java.lang.Override
       public com.google.storagetransfer.v1.proto.TransferTypes.GcsData buildPartial() {
-        com.google.storagetransfer.v1.proto.TransferTypes.GcsData result = new com.google.storagetransfer.v1.proto.TransferTypes.GcsData(this);
+        com.google.storagetransfer.v1.proto.TransferTypes.GcsData result =
+            new com.google.storagetransfer.v1.proto.TransferTypes.GcsData(this);
         result.bucketName_ = bucketName_;
         result.path_ = path_;
         onBuilt();
@@ -5901,38 +6469,41 @@ public com.google.storagetransfer.v1.proto.TransferTypes.GcsData buildPartial()
       public Builder clone() {
         return super.clone();
       }
+
       @java.lang.Override
       public Builder setField(
-          com.google.protobuf.Descriptors.FieldDescriptor field,
-          java.lang.Object value) {
+          com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
         return super.setField(field, value);
       }
+
       @java.lang.Override
-      public Builder clearField(
-          com.google.protobuf.Descriptors.FieldDescriptor field) {
+      public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
         return super.clearField(field);
       }
+
       @java.lang.Override
-      public Builder clearOneof(
-          com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+      public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
         return super.clearOneof(oneof);
       }
+
       @java.lang.Override
       public Builder setRepeatedField(
           com.google.protobuf.Descriptors.FieldDescriptor field,
-          int index, java.lang.Object value) {
+          int index,
+          java.lang.Object value) {
         return super.setRepeatedField(field, index, value);
       }
+
       @java.lang.Override
       public Builder addRepeatedField(
-          com.google.protobuf.Descriptors.FieldDescriptor field,
-          java.lang.Object value) {
+          com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
         return super.addRepeatedField(field, value);
       }
+
       @java.lang.Override
       public Builder mergeFrom(com.google.protobuf.Message other) {
         if (other instanceof com.google.storagetransfer.v1.proto.TransferTypes.GcsData) {
-          return mergeFrom((com.google.storagetransfer.v1.proto.TransferTypes.GcsData)other);
+          return mergeFrom((com.google.storagetransfer.v1.proto.TransferTypes.GcsData) other);
         } else {
           super.mergeFrom(other);
           return this;
@@ -5940,7 +6511,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
       }
 
       public Builder mergeFrom(com.google.storagetransfer.v1.proto.TransferTypes.GcsData other) {
-        if (other == com.google.storagetransfer.v1.proto.TransferTypes.GcsData.getDefaultInstance()) return this;
+        if (other == com.google.storagetransfer.v1.proto.TransferTypes.GcsData.getDefaultInstance())
+          return this;
         if (!other.getBucketName().isEmpty()) {
           bucketName_ = other.bucketName_;
           onChanged();
@@ -5968,7 +6540,8 @@ public Builder mergeFrom(
         try {
           parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
         } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-          parsedMessage = (com.google.storagetransfer.v1.proto.TransferTypes.GcsData) e.getUnfinishedMessage();
+          parsedMessage =
+              (com.google.storagetransfer.v1.proto.TransferTypes.GcsData) e.getUnfinishedMessage();
           throw e.unwrapIOException();
         } finally {
           if (parsedMessage != null) {
@@ -5980,19 +6553,21 @@ public Builder mergeFrom(
 
       private java.lang.Object bucketName_ = "";
       /**
+       *
+       *
        * 
        * Required. Cloud Storage bucket name. Must meet
        * [Bucket Name Requirements](/storage/docs/naming#requirements).
        * 
* * string bucket_name = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bucketName. */ public java.lang.String getBucketName() { java.lang.Object ref = bucketName_; 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(); bucketName_ = s; return s; @@ -6001,21 +6576,22 @@ public java.lang.String getBucketName() { } } /** + * + * *
        * Required. Cloud Storage bucket name. Must meet
        * [Bucket Name Requirements](/storage/docs/naming#requirements).
        * 
* * string bucket_name = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for bucketName. */ - public com.google.protobuf.ByteString - getBucketNameBytes() { + public com.google.protobuf.ByteString getBucketNameBytes() { java.lang.Object ref = bucketName_; 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); bucketName_ = b; return b; } else { @@ -6023,57 +6599,64 @@ public java.lang.String getBucketName() { } } /** + * + * *
        * Required. Cloud Storage bucket name. Must meet
        * [Bucket Name Requirements](/storage/docs/naming#requirements).
        * 
* * string bucket_name = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The bucketName to set. * @return This builder for chaining. */ - public Builder setBucketName( - java.lang.String value) { + public Builder setBucketName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + bucketName_ = value; onChanged(); return this; } /** + * + * *
        * Required. Cloud Storage bucket name. Must meet
        * [Bucket Name Requirements](/storage/docs/naming#requirements).
        * 
* * string bucket_name = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return This builder for chaining. */ public Builder clearBucketName() { - + bucketName_ = getDefaultInstance().getBucketName(); onChanged(); return this; } /** + * + * *
        * Required. Cloud Storage bucket name. Must meet
        * [Bucket Name Requirements](/storage/docs/naming#requirements).
        * 
* * string bucket_name = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The bytes for bucketName to set. * @return This builder for chaining. */ - public Builder setBucketNameBytes( - com.google.protobuf.ByteString value) { + public Builder setBucketNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + bucketName_ = value; onChanged(); return this; @@ -6081,6 +6664,8 @@ public Builder setBucketNameBytes( private java.lang.Object path_ = ""; /** + * + * *
        * Root path to transfer objects.
        * Must be an empty string or full path name that ends with a '/'. This field
@@ -6091,13 +6676,13 @@ public Builder setBucketNameBytes(
        * 
* * string path = 3; + * * @return The path. */ public java.lang.String getPath() { java.lang.Object ref = path_; 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(); path_ = s; return s; @@ -6106,6 +6691,8 @@ public java.lang.String getPath() { } } /** + * + * *
        * Root path to transfer objects.
        * Must be an empty string or full path name that ends with a '/'. This field
@@ -6116,15 +6703,14 @@ public java.lang.String getPath() {
        * 
* * string path = 3; + * * @return The bytes for path. */ - public com.google.protobuf.ByteString - getPathBytes() { + public com.google.protobuf.ByteString getPathBytes() { java.lang.Object ref = path_; 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); path_ = b; return b; } else { @@ -6132,6 +6718,8 @@ public java.lang.String getPath() { } } /** + * + * *
        * Root path to transfer objects.
        * Must be an empty string or full path name that ends with a '/'. This field
@@ -6142,20 +6730,22 @@ public java.lang.String getPath() {
        * 
* * string path = 3; + * * @param value The path to set. * @return This builder for chaining. */ - public Builder setPath( - java.lang.String value) { + public Builder setPath(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + path_ = value; onChanged(); return this; } /** + * + * *
        * Root path to transfer objects.
        * Must be an empty string or full path name that ends with a '/'. This field
@@ -6166,15 +6756,18 @@ public Builder setPath(
        * 
* * string path = 3; + * * @return This builder for chaining. */ public Builder clearPath() { - + path_ = getDefaultInstance().getPath(); onChanged(); return this; } /** + * + * *
        * Root path to transfer objects.
        * Must be an empty string or full path name that ends with a '/'. This field
@@ -6185,20 +6778,21 @@ public Builder clearPath() {
        * 
* * string path = 3; + * * @param value The bytes for path to set. * @return This builder for chaining. */ - public Builder setPathBytes( - com.google.protobuf.ByteString value) { + public Builder setPathBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + path_ = value; onChanged(); return this; } + @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -6211,12 +6805,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.storagetransfer.v1.GcsData) } // @@protoc_insertion_point(class_scope:google.storagetransfer.v1.GcsData) private static final com.google.storagetransfer.v1.proto.TransferTypes.GcsData DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.storagetransfer.v1.proto.TransferTypes.GcsData(); } @@ -6225,16 +6819,16 @@ public static com.google.storagetransfer.v1.proto.TransferTypes.GcsData getDefau return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public GcsData parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new GcsData(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public GcsData parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new GcsData(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -6249,14 +6843,16 @@ public com.google.protobuf.Parser getParserForType() { public com.google.storagetransfer.v1.proto.TransferTypes.GcsData getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - public interface AwsS3DataOrBuilder extends + public interface AwsS3DataOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.storagetransfer.v1.AwsS3Data) com.google.protobuf.MessageOrBuilder { /** + * + * *
      * Required. S3 Bucket name (see
      * [Creating a
@@ -6264,10 +6860,13 @@ public interface AwsS3DataOrBuilder extends
      * 
* * string bucket_name = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bucketName. */ java.lang.String getBucketName(); /** + * + * *
      * Required. S3 Bucket name (see
      * [Creating a
@@ -6275,12 +6874,14 @@ public interface AwsS3DataOrBuilder extends
      * 
* * string bucket_name = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for bucketName. */ - com.google.protobuf.ByteString - getBucketNameBytes(); + com.google.protobuf.ByteString getBucketNameBytes(); /** + * + * *
      * Input only. AWS access key used to sign the API requests to the AWS S3 bucket.
      * Permissions on the bucket must be granted to the access ID of the AWS
@@ -6289,11 +6890,16 @@ public interface AwsS3DataOrBuilder extends
      * [User credentials](/storage-transfer/docs/data-retention#user-credentials).
      * 
* - * .google.storagetransfer.v1.AwsAccessKey aws_access_key = 2 [(.google.api.field_behavior) = INPUT_ONLY]; + * + * .google.storagetransfer.v1.AwsAccessKey aws_access_key = 2 [(.google.api.field_behavior) = INPUT_ONLY]; + * + * * @return Whether the awsAccessKey field is set. */ boolean hasAwsAccessKey(); /** + * + * *
      * Input only. AWS access key used to sign the API requests to the AWS S3 bucket.
      * Permissions on the bucket must be granted to the access ID of the AWS
@@ -6302,11 +6908,16 @@ public interface AwsS3DataOrBuilder extends
      * [User credentials](/storage-transfer/docs/data-retention#user-credentials).
      * 
* - * .google.storagetransfer.v1.AwsAccessKey aws_access_key = 2 [(.google.api.field_behavior) = INPUT_ONLY]; + * + * .google.storagetransfer.v1.AwsAccessKey aws_access_key = 2 [(.google.api.field_behavior) = INPUT_ONLY]; + * + * * @return The awsAccessKey. */ com.google.storagetransfer.v1.proto.TransferTypes.AwsAccessKey getAwsAccessKey(); /** + * + * *
      * Input only. AWS access key used to sign the API requests to the AWS S3 bucket.
      * Permissions on the bucket must be granted to the access ID of the AWS
@@ -6315,11 +6926,16 @@ public interface AwsS3DataOrBuilder extends
      * [User credentials](/storage-transfer/docs/data-retention#user-credentials).
      * 
* - * .google.storagetransfer.v1.AwsAccessKey aws_access_key = 2 [(.google.api.field_behavior) = INPUT_ONLY]; + * + * .google.storagetransfer.v1.AwsAccessKey aws_access_key = 2 [(.google.api.field_behavior) = INPUT_ONLY]; + * */ - com.google.storagetransfer.v1.proto.TransferTypes.AwsAccessKeyOrBuilder getAwsAccessKeyOrBuilder(); + com.google.storagetransfer.v1.proto.TransferTypes.AwsAccessKeyOrBuilder + getAwsAccessKeyOrBuilder(); /** + * + * *
      * Root path to transfer objects.
      * Must be an empty string or full path name that ends with a '/'. This field
@@ -6328,10 +6944,13 @@ public interface AwsS3DataOrBuilder extends
      * 
* * string path = 3; + * * @return The path. */ java.lang.String getPath(); /** + * + * *
      * Root path to transfer objects.
      * Must be an empty string or full path name that ends with a '/'. This field
@@ -6340,12 +6959,14 @@ public interface AwsS3DataOrBuilder extends
      * 
* * string path = 3; + * * @return The bytes for path. */ - com.google.protobuf.ByteString - getPathBytes(); + com.google.protobuf.ByteString getPathBytes(); /** + * + * *
      * The Amazon Resource Name (ARN) of the role to support temporary
      * credentials via `AssumeRoleWithWebIdentity`. For more information about
@@ -6357,10 +6978,13 @@ public interface AwsS3DataOrBuilder extends
      * 
* * string role_arn = 4; + * * @return The roleArn. */ java.lang.String getRoleArn(); /** + * + * *
      * The Amazon Resource Name (ARN) of the role to support temporary
      * credentials via `AssumeRoleWithWebIdentity`. For more information about
@@ -6372,12 +6996,14 @@ public interface AwsS3DataOrBuilder extends
      * 
* * string role_arn = 4; + * * @return The bytes for roleArn. */ - com.google.protobuf.ByteString - getRoleArnBytes(); + com.google.protobuf.ByteString getRoleArnBytes(); } /** + * + * *
    * An AwsS3Data resource can be a data source, but not a data sink.
    * In an AwsS3Data resource, an object's name is the S3 object's key name.
@@ -6385,15 +7011,16 @@ public interface AwsS3DataOrBuilder extends
    *
    * Protobuf type {@code google.storagetransfer.v1.AwsS3Data}
    */
-  public static final class AwsS3Data extends
-      com.google.protobuf.GeneratedMessageV3 implements
+  public static final class AwsS3Data extends com.google.protobuf.GeneratedMessageV3
+      implements
       // @@protoc_insertion_point(message_implements:google.storagetransfer.v1.AwsS3Data)
       AwsS3DataOrBuilder {
-  private static final long serialVersionUID = 0L;
+    private static final long serialVersionUID = 0L;
     // Use AwsS3Data.newBuilder() to construct.
     private AwsS3Data(com.google.protobuf.GeneratedMessageV3.Builder builder) {
       super(builder);
     }
+
     private AwsS3Data() {
       bucketName_ = "";
       path_ = "";
@@ -6402,16 +7029,15 @@ private AwsS3Data() {
 
     @java.lang.Override
     @SuppressWarnings({"unused"})
-    protected java.lang.Object newInstance(
-        UnusedPrivateParameter unused) {
+    protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
       return new AwsS3Data();
     }
 
     @java.lang.Override
-    public final com.google.protobuf.UnknownFieldSet
-    getUnknownFields() {
+    public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
       return this.unknownFields;
     }
+
     private AwsS3Data(
         com.google.protobuf.CodedInputStream input,
         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -6430,44 +7056,52 @@ private AwsS3Data(
             case 0:
               done = true;
               break;
-            case 10: {
-              java.lang.String s = input.readStringRequireUtf8();
+            case 10:
+              {
+                java.lang.String s = input.readStringRequireUtf8();
 
-              bucketName_ = s;
-              break;
-            }
-            case 18: {
-              com.google.storagetransfer.v1.proto.TransferTypes.AwsAccessKey.Builder subBuilder = null;
-              if (awsAccessKey_ != null) {
-                subBuilder = awsAccessKey_.toBuilder();
-              }
-              awsAccessKey_ = input.readMessage(com.google.storagetransfer.v1.proto.TransferTypes.AwsAccessKey.parser(), extensionRegistry);
-              if (subBuilder != null) {
-                subBuilder.mergeFrom(awsAccessKey_);
-                awsAccessKey_ = subBuilder.buildPartial();
+                bucketName_ = s;
+                break;
               }
+            case 18:
+              {
+                com.google.storagetransfer.v1.proto.TransferTypes.AwsAccessKey.Builder subBuilder =
+                    null;
+                if (awsAccessKey_ != null) {
+                  subBuilder = awsAccessKey_.toBuilder();
+                }
+                awsAccessKey_ =
+                    input.readMessage(
+                        com.google.storagetransfer.v1.proto.TransferTypes.AwsAccessKey.parser(),
+                        extensionRegistry);
+                if (subBuilder != null) {
+                  subBuilder.mergeFrom(awsAccessKey_);
+                  awsAccessKey_ = subBuilder.buildPartial();
+                }
 
-              break;
-            }
-            case 26: {
-              java.lang.String s = input.readStringRequireUtf8();
+                break;
+              }
+            case 26:
+              {
+                java.lang.String s = input.readStringRequireUtf8();
 
-              path_ = s;
-              break;
-            }
-            case 34: {
-              java.lang.String s = input.readStringRequireUtf8();
+                path_ = s;
+                break;
+              }
+            case 34:
+              {
+                java.lang.String s = input.readStringRequireUtf8();
 
-              roleArn_ = s;
-              break;
-            }
-            default: {
-              if (!parseUnknownField(
-                  input, unknownFields, extensionRegistry, tag)) {
-                done = true;
+                roleArn_ = s;
+                break;
+              }
+            default:
+              {
+                if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
+                  done = true;
+                }
+                break;
               }
-              break;
-            }
           }
         }
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -6475,29 +7109,33 @@ private AwsS3Data(
       } catch (com.google.protobuf.UninitializedMessageException e) {
         throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
       } catch (java.io.IOException e) {
-        throw new com.google.protobuf.InvalidProtocolBufferException(
-            e).setUnfinishedMessage(this);
+        throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
       } finally {
         this.unknownFields = unknownFields.build();
         makeExtensionsImmutable();
       }
     }
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.storagetransfer.v1.proto.TransferTypes.internal_static_google_storagetransfer_v1_AwsS3Data_descriptor;
+
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.storagetransfer.v1.proto.TransferTypes
+          .internal_static_google_storagetransfer_v1_AwsS3Data_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.storagetransfer.v1.proto.TransferTypes.internal_static_google_storagetransfer_v1_AwsS3Data_fieldAccessorTable
+      return com.google.storagetransfer.v1.proto.TransferTypes
+          .internal_static_google_storagetransfer_v1_AwsS3Data_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.storagetransfer.v1.proto.TransferTypes.AwsS3Data.class, com.google.storagetransfer.v1.proto.TransferTypes.AwsS3Data.Builder.class);
+              com.google.storagetransfer.v1.proto.TransferTypes.AwsS3Data.class,
+              com.google.storagetransfer.v1.proto.TransferTypes.AwsS3Data.Builder.class);
     }
 
     public static final int BUCKET_NAME_FIELD_NUMBER = 1;
     private volatile java.lang.Object bucketName_;
     /**
+     *
+     *
      * 
      * Required. S3 Bucket name (see
      * [Creating a
@@ -6505,6 +7143,7 @@ private AwsS3Data(
      * 
* * string bucket_name = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bucketName. */ @java.lang.Override @@ -6513,14 +7152,15 @@ public java.lang.String getBucketName() { 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(); bucketName_ = s; return s; } } /** + * + * *
      * Required. S3 Bucket name (see
      * [Creating a
@@ -6528,16 +7168,15 @@ public java.lang.String getBucketName() {
      * 
* * string bucket_name = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for bucketName. */ @java.lang.Override - public com.google.protobuf.ByteString - getBucketNameBytes() { + public com.google.protobuf.ByteString getBucketNameBytes() { java.lang.Object ref = bucketName_; 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); bucketName_ = b; return b; } else { @@ -6548,6 +7187,8 @@ public java.lang.String getBucketName() { public static final int AWS_ACCESS_KEY_FIELD_NUMBER = 2; private com.google.storagetransfer.v1.proto.TransferTypes.AwsAccessKey awsAccessKey_; /** + * + * *
      * Input only. AWS access key used to sign the API requests to the AWS S3 bucket.
      * Permissions on the bucket must be granted to the access ID of the AWS
@@ -6556,7 +7197,10 @@ public java.lang.String getBucketName() {
      * [User credentials](/storage-transfer/docs/data-retention#user-credentials).
      * 
* - * .google.storagetransfer.v1.AwsAccessKey aws_access_key = 2 [(.google.api.field_behavior) = INPUT_ONLY]; + * + * .google.storagetransfer.v1.AwsAccessKey aws_access_key = 2 [(.google.api.field_behavior) = INPUT_ONLY]; + * + * * @return Whether the awsAccessKey field is set. */ @java.lang.Override @@ -6564,6 +7208,8 @@ public boolean hasAwsAccessKey() { return awsAccessKey_ != null; } /** + * + * *
      * Input only. AWS access key used to sign the API requests to the AWS S3 bucket.
      * Permissions on the bucket must be granted to the access ID of the AWS
@@ -6572,14 +7218,21 @@ public boolean hasAwsAccessKey() {
      * [User credentials](/storage-transfer/docs/data-retention#user-credentials).
      * 
* - * .google.storagetransfer.v1.AwsAccessKey aws_access_key = 2 [(.google.api.field_behavior) = INPUT_ONLY]; + * + * .google.storagetransfer.v1.AwsAccessKey aws_access_key = 2 [(.google.api.field_behavior) = INPUT_ONLY]; + * + * * @return The awsAccessKey. */ @java.lang.Override public com.google.storagetransfer.v1.proto.TransferTypes.AwsAccessKey getAwsAccessKey() { - return awsAccessKey_ == null ? com.google.storagetransfer.v1.proto.TransferTypes.AwsAccessKey.getDefaultInstance() : awsAccessKey_; + return awsAccessKey_ == null + ? com.google.storagetransfer.v1.proto.TransferTypes.AwsAccessKey.getDefaultInstance() + : awsAccessKey_; } /** + * + * *
      * Input only. AWS access key used to sign the API requests to the AWS S3 bucket.
      * Permissions on the bucket must be granted to the access ID of the AWS
@@ -6588,16 +7241,21 @@ public com.google.storagetransfer.v1.proto.TransferTypes.AwsAccessKey getAwsAcce
      * [User credentials](/storage-transfer/docs/data-retention#user-credentials).
      * 
* - * .google.storagetransfer.v1.AwsAccessKey aws_access_key = 2 [(.google.api.field_behavior) = INPUT_ONLY]; + * + * .google.storagetransfer.v1.AwsAccessKey aws_access_key = 2 [(.google.api.field_behavior) = INPUT_ONLY]; + * */ @java.lang.Override - public com.google.storagetransfer.v1.proto.TransferTypes.AwsAccessKeyOrBuilder getAwsAccessKeyOrBuilder() { + public com.google.storagetransfer.v1.proto.TransferTypes.AwsAccessKeyOrBuilder + getAwsAccessKeyOrBuilder() { return getAwsAccessKey(); } public static final int PATH_FIELD_NUMBER = 3; private volatile java.lang.Object path_; /** + * + * *
      * Root path to transfer objects.
      * Must be an empty string or full path name that ends with a '/'. This field
@@ -6606,6 +7264,7 @@ public com.google.storagetransfer.v1.proto.TransferTypes.AwsAccessKeyOrBuilder g
      * 
* * string path = 3; + * * @return The path. */ @java.lang.Override @@ -6614,14 +7273,15 @@ public java.lang.String getPath() { 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(); path_ = s; return s; } } /** + * + * *
      * Root path to transfer objects.
      * Must be an empty string or full path name that ends with a '/'. This field
@@ -6630,16 +7290,15 @@ public java.lang.String getPath() {
      * 
* * string path = 3; + * * @return The bytes for path. */ @java.lang.Override - public com.google.protobuf.ByteString - getPathBytes() { + public com.google.protobuf.ByteString getPathBytes() { java.lang.Object ref = path_; 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); path_ = b; return b; } else { @@ -6650,6 +7309,8 @@ public java.lang.String getPath() { public static final int ROLE_ARN_FIELD_NUMBER = 4; private volatile java.lang.Object roleArn_; /** + * + * *
      * The Amazon Resource Name (ARN) of the role to support temporary
      * credentials via `AssumeRoleWithWebIdentity`. For more information about
@@ -6661,6 +7322,7 @@ public java.lang.String getPath() {
      * 
* * string role_arn = 4; + * * @return The roleArn. */ @java.lang.Override @@ -6669,14 +7331,15 @@ public java.lang.String getRoleArn() { 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(); roleArn_ = s; return s; } } /** + * + * *
      * The Amazon Resource Name (ARN) of the role to support temporary
      * credentials via `AssumeRoleWithWebIdentity`. For more information about
@@ -6688,16 +7351,15 @@ public java.lang.String getRoleArn() {
      * 
* * string role_arn = 4; + * * @return The bytes for roleArn. */ @java.lang.Override - public com.google.protobuf.ByteString - getRoleArnBytes() { + public com.google.protobuf.ByteString getRoleArnBytes() { java.lang.Object ref = roleArn_; 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); roleArn_ = b; return b; } else { @@ -6706,6 +7368,7 @@ public java.lang.String getRoleArn() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -6717,8 +7380,7 @@ 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 (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(bucketName_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, bucketName_); } @@ -6744,8 +7406,7 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, bucketName_); } if (awsAccessKey_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(2, getAwsAccessKey()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getAwsAccessKey()); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(path_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, path_); @@ -6761,24 +7422,21 @@ 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.storagetransfer.v1.proto.TransferTypes.AwsS3Data)) { return super.equals(obj); } - com.google.storagetransfer.v1.proto.TransferTypes.AwsS3Data other = (com.google.storagetransfer.v1.proto.TransferTypes.AwsS3Data) obj; + com.google.storagetransfer.v1.proto.TransferTypes.AwsS3Data other = + (com.google.storagetransfer.v1.proto.TransferTypes.AwsS3Data) obj; - if (!getBucketName() - .equals(other.getBucketName())) return false; + if (!getBucketName().equals(other.getBucketName())) return false; if (hasAwsAccessKey() != other.hasAwsAccessKey()) return false; if (hasAwsAccessKey()) { - if (!getAwsAccessKey() - .equals(other.getAwsAccessKey())) return false; + if (!getAwsAccessKey().equals(other.getAwsAccessKey())) return false; } - if (!getPath() - .equals(other.getPath())) return false; - if (!getRoleArn() - .equals(other.getRoleArn())) return false; + if (!getPath().equals(other.getPath())) return false; + if (!getRoleArn().equals(other.getRoleArn())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -6806,87 +7464,94 @@ public int hashCode() { } public static com.google.storagetransfer.v1.proto.TransferTypes.AwsS3Data parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.storagetransfer.v1.proto.TransferTypes.AwsS3Data 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.storagetransfer.v1.proto.TransferTypes.AwsS3Data parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.storagetransfer.v1.proto.TransferTypes.AwsS3Data 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.storagetransfer.v1.proto.TransferTypes.AwsS3Data parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.storagetransfer.v1.proto.TransferTypes.AwsS3Data 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.storagetransfer.v1.proto.TransferTypes.AwsS3Data parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.storagetransfer.v1.proto.TransferTypes.AwsS3Data parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.storagetransfer.v1.proto.TransferTypes.AwsS3Data 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.storagetransfer.v1.proto.TransferTypes.AwsS3Data parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.storagetransfer.v1.proto.TransferTypes.AwsS3Data parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.storagetransfer.v1.proto.TransferTypes.AwsS3Data 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.storagetransfer.v1.proto.TransferTypes.AwsS3Data 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.storagetransfer.v1.proto.TransferTypes.AwsS3Data 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.storagetransfer.v1.proto.TransferTypes.AwsS3Data prototype) { + + public static Builder newBuilder( + com.google.storagetransfer.v1.proto.TransferTypes.AwsS3Data 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 @@ -6896,6 +7561,8 @@ protected Builder newBuilderForType( return builder; } /** + * + * *
      * An AwsS3Data resource can be a data source, but not a data sink.
      * In an AwsS3Data resource, an object's name is the S3 object's key name.
@@ -6903,21 +7570,24 @@ protected Builder newBuilderForType(
      *
      * Protobuf type {@code google.storagetransfer.v1.AwsS3Data}
      */
-    public static final class Builder extends
-        com.google.protobuf.GeneratedMessageV3.Builder implements
+    public static final class Builder
+        extends com.google.protobuf.GeneratedMessageV3.Builder
+        implements
         // @@protoc_insertion_point(builder_implements:google.storagetransfer.v1.AwsS3Data)
         com.google.storagetransfer.v1.proto.TransferTypes.AwsS3DataOrBuilder {
-      public static final com.google.protobuf.Descriptors.Descriptor
-          getDescriptor() {
-        return com.google.storagetransfer.v1.proto.TransferTypes.internal_static_google_storagetransfer_v1_AwsS3Data_descriptor;
+      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+        return com.google.storagetransfer.v1.proto.TransferTypes
+            .internal_static_google_storagetransfer_v1_AwsS3Data_descriptor;
       }
 
       @java.lang.Override
       protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
           internalGetFieldAccessorTable() {
-        return com.google.storagetransfer.v1.proto.TransferTypes.internal_static_google_storagetransfer_v1_AwsS3Data_fieldAccessorTable
+        return com.google.storagetransfer.v1.proto.TransferTypes
+            .internal_static_google_storagetransfer_v1_AwsS3Data_fieldAccessorTable
             .ensureFieldAccessorsInitialized(
-                com.google.storagetransfer.v1.proto.TransferTypes.AwsS3Data.class, com.google.storagetransfer.v1.proto.TransferTypes.AwsS3Data.Builder.class);
+                com.google.storagetransfer.v1.proto.TransferTypes.AwsS3Data.class,
+                com.google.storagetransfer.v1.proto.TransferTypes.AwsS3Data.Builder.class);
       }
 
       // Construct using com.google.storagetransfer.v1.proto.TransferTypes.AwsS3Data.newBuilder()
@@ -6925,16 +7595,15 @@ private Builder() {
         maybeForceBuilderInitialization();
       }
 
-      private Builder(
-          com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+      private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
         super(parent);
         maybeForceBuilderInitialization();
       }
+
       private void maybeForceBuilderInitialization() {
-        if (com.google.protobuf.GeneratedMessageV3
-                .alwaysUseFieldBuilders) {
-        }
+        if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {}
       }
+
       @java.lang.Override
       public Builder clear() {
         super.clear();
@@ -6954,13 +7623,14 @@ public Builder clear() {
       }
 
       @java.lang.Override
-      public com.google.protobuf.Descriptors.Descriptor
-          getDescriptorForType() {
-        return com.google.storagetransfer.v1.proto.TransferTypes.internal_static_google_storagetransfer_v1_AwsS3Data_descriptor;
+      public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+        return com.google.storagetransfer.v1.proto.TransferTypes
+            .internal_static_google_storagetransfer_v1_AwsS3Data_descriptor;
       }
 
       @java.lang.Override
-      public com.google.storagetransfer.v1.proto.TransferTypes.AwsS3Data getDefaultInstanceForType() {
+      public com.google.storagetransfer.v1.proto.TransferTypes.AwsS3Data
+          getDefaultInstanceForType() {
         return com.google.storagetransfer.v1.proto.TransferTypes.AwsS3Data.getDefaultInstance();
       }
 
@@ -6975,7 +7645,8 @@ public com.google.storagetransfer.v1.proto.TransferTypes.AwsS3Data build() {
 
       @java.lang.Override
       public com.google.storagetransfer.v1.proto.TransferTypes.AwsS3Data buildPartial() {
-        com.google.storagetransfer.v1.proto.TransferTypes.AwsS3Data result = new com.google.storagetransfer.v1.proto.TransferTypes.AwsS3Data(this);
+        com.google.storagetransfer.v1.proto.TransferTypes.AwsS3Data result =
+            new com.google.storagetransfer.v1.proto.TransferTypes.AwsS3Data(this);
         result.bucketName_ = bucketName_;
         if (awsAccessKeyBuilder_ == null) {
           result.awsAccessKey_ = awsAccessKey_;
@@ -6992,38 +7663,41 @@ public com.google.storagetransfer.v1.proto.TransferTypes.AwsS3Data buildPartial(
       public Builder clone() {
         return super.clone();
       }
+
       @java.lang.Override
       public Builder setField(
-          com.google.protobuf.Descriptors.FieldDescriptor field,
-          java.lang.Object value) {
+          com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
         return super.setField(field, value);
       }
+
       @java.lang.Override
-      public Builder clearField(
-          com.google.protobuf.Descriptors.FieldDescriptor field) {
+      public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
         return super.clearField(field);
       }
+
       @java.lang.Override
-      public Builder clearOneof(
-          com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+      public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
         return super.clearOneof(oneof);
       }
+
       @java.lang.Override
       public Builder setRepeatedField(
           com.google.protobuf.Descriptors.FieldDescriptor field,
-          int index, java.lang.Object value) {
+          int index,
+          java.lang.Object value) {
         return super.setRepeatedField(field, index, value);
       }
+
       @java.lang.Override
       public Builder addRepeatedField(
-          com.google.protobuf.Descriptors.FieldDescriptor field,
-          java.lang.Object value) {
+          com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
         return super.addRepeatedField(field, value);
       }
+
       @java.lang.Override
       public Builder mergeFrom(com.google.protobuf.Message other) {
         if (other instanceof com.google.storagetransfer.v1.proto.TransferTypes.AwsS3Data) {
-          return mergeFrom((com.google.storagetransfer.v1.proto.TransferTypes.AwsS3Data)other);
+          return mergeFrom((com.google.storagetransfer.v1.proto.TransferTypes.AwsS3Data) other);
         } else {
           super.mergeFrom(other);
           return this;
@@ -7031,7 +7705,9 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
       }
 
       public Builder mergeFrom(com.google.storagetransfer.v1.proto.TransferTypes.AwsS3Data other) {
-        if (other == com.google.storagetransfer.v1.proto.TransferTypes.AwsS3Data.getDefaultInstance()) return this;
+        if (other
+            == com.google.storagetransfer.v1.proto.TransferTypes.AwsS3Data.getDefaultInstance())
+          return this;
         if (!other.getBucketName().isEmpty()) {
           bucketName_ = other.bucketName_;
           onChanged();
@@ -7066,7 +7742,9 @@ public Builder mergeFrom(
         try {
           parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
         } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-          parsedMessage = (com.google.storagetransfer.v1.proto.TransferTypes.AwsS3Data) e.getUnfinishedMessage();
+          parsedMessage =
+              (com.google.storagetransfer.v1.proto.TransferTypes.AwsS3Data)
+                  e.getUnfinishedMessage();
           throw e.unwrapIOException();
         } finally {
           if (parsedMessage != null) {
@@ -7078,6 +7756,8 @@ public Builder mergeFrom(
 
       private java.lang.Object bucketName_ = "";
       /**
+       *
+       *
        * 
        * Required. S3 Bucket name (see
        * [Creating a
@@ -7085,13 +7765,13 @@ public Builder mergeFrom(
        * 
* * string bucket_name = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bucketName. */ public java.lang.String getBucketName() { java.lang.Object ref = bucketName_; 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(); bucketName_ = s; return s; @@ -7100,6 +7780,8 @@ public java.lang.String getBucketName() { } } /** + * + * *
        * Required. S3 Bucket name (see
        * [Creating a
@@ -7107,15 +7789,14 @@ public java.lang.String getBucketName() {
        * 
* * string bucket_name = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for bucketName. */ - public com.google.protobuf.ByteString - getBucketNameBytes() { + public com.google.protobuf.ByteString getBucketNameBytes() { java.lang.Object ref = bucketName_; 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); bucketName_ = b; return b; } else { @@ -7123,6 +7804,8 @@ public java.lang.String getBucketName() { } } /** + * + * *
        * Required. S3 Bucket name (see
        * [Creating a
@@ -7130,20 +7813,22 @@ public java.lang.String getBucketName() {
        * 
* * string bucket_name = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The bucketName to set. * @return This builder for chaining. */ - public Builder setBucketName( - java.lang.String value) { + public Builder setBucketName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + bucketName_ = value; onChanged(); return this; } /** + * + * *
        * Required. S3 Bucket name (see
        * [Creating a
@@ -7151,15 +7836,18 @@ public Builder setBucketName(
        * 
* * string bucket_name = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return This builder for chaining. */ public Builder clearBucketName() { - + bucketName_ = getDefaultInstance().getBucketName(); onChanged(); return this; } /** + * + * *
        * Required. S3 Bucket name (see
        * [Creating a
@@ -7167,16 +7855,16 @@ public Builder clearBucketName() {
        * 
* * string bucket_name = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The bytes for bucketName to set. * @return This builder for chaining. */ - public Builder setBucketNameBytes( - com.google.protobuf.ByteString value) { + public Builder setBucketNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + bucketName_ = value; onChanged(); return this; @@ -7184,8 +7872,13 @@ public Builder setBucketNameBytes( private com.google.storagetransfer.v1.proto.TransferTypes.AwsAccessKey awsAccessKey_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.storagetransfer.v1.proto.TransferTypes.AwsAccessKey, com.google.storagetransfer.v1.proto.TransferTypes.AwsAccessKey.Builder, com.google.storagetransfer.v1.proto.TransferTypes.AwsAccessKeyOrBuilder> awsAccessKeyBuilder_; + com.google.storagetransfer.v1.proto.TransferTypes.AwsAccessKey, + com.google.storagetransfer.v1.proto.TransferTypes.AwsAccessKey.Builder, + com.google.storagetransfer.v1.proto.TransferTypes.AwsAccessKeyOrBuilder> + awsAccessKeyBuilder_; /** + * + * *
        * Input only. AWS access key used to sign the API requests to the AWS S3 bucket.
        * Permissions on the bucket must be granted to the access ID of the AWS
@@ -7194,13 +7887,18 @@ public Builder setBucketNameBytes(
        * [User credentials](/storage-transfer/docs/data-retention#user-credentials).
        * 
* - * .google.storagetransfer.v1.AwsAccessKey aws_access_key = 2 [(.google.api.field_behavior) = INPUT_ONLY]; + * + * .google.storagetransfer.v1.AwsAccessKey aws_access_key = 2 [(.google.api.field_behavior) = INPUT_ONLY]; + * + * * @return Whether the awsAccessKey field is set. */ public boolean hasAwsAccessKey() { return awsAccessKeyBuilder_ != null || awsAccessKey_ != null; } /** + * + * *
        * Input only. AWS access key used to sign the API requests to the AWS S3 bucket.
        * Permissions on the bucket must be granted to the access ID of the AWS
@@ -7209,17 +7907,24 @@ public boolean hasAwsAccessKey() {
        * [User credentials](/storage-transfer/docs/data-retention#user-credentials).
        * 
* - * .google.storagetransfer.v1.AwsAccessKey aws_access_key = 2 [(.google.api.field_behavior) = INPUT_ONLY]; + * + * .google.storagetransfer.v1.AwsAccessKey aws_access_key = 2 [(.google.api.field_behavior) = INPUT_ONLY]; + * + * * @return The awsAccessKey. */ public com.google.storagetransfer.v1.proto.TransferTypes.AwsAccessKey getAwsAccessKey() { if (awsAccessKeyBuilder_ == null) { - return awsAccessKey_ == null ? com.google.storagetransfer.v1.proto.TransferTypes.AwsAccessKey.getDefaultInstance() : awsAccessKey_; + return awsAccessKey_ == null + ? com.google.storagetransfer.v1.proto.TransferTypes.AwsAccessKey.getDefaultInstance() + : awsAccessKey_; } else { return awsAccessKeyBuilder_.getMessage(); } } /** + * + * *
        * Input only. AWS access key used to sign the API requests to the AWS S3 bucket.
        * Permissions on the bucket must be granted to the access ID of the AWS
@@ -7228,9 +7933,12 @@ public com.google.storagetransfer.v1.proto.TransferTypes.AwsAccessKey getAwsAcce
        * [User credentials](/storage-transfer/docs/data-retention#user-credentials).
        * 
* - * .google.storagetransfer.v1.AwsAccessKey aws_access_key = 2 [(.google.api.field_behavior) = INPUT_ONLY]; + * + * .google.storagetransfer.v1.AwsAccessKey aws_access_key = 2 [(.google.api.field_behavior) = INPUT_ONLY]; + * */ - public Builder setAwsAccessKey(com.google.storagetransfer.v1.proto.TransferTypes.AwsAccessKey value) { + public Builder setAwsAccessKey( + com.google.storagetransfer.v1.proto.TransferTypes.AwsAccessKey value) { if (awsAccessKeyBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -7244,6 +7952,8 @@ public Builder setAwsAccessKey(com.google.storagetransfer.v1.proto.TransferTypes return this; } /** + * + * *
        * Input only. AWS access key used to sign the API requests to the AWS S3 bucket.
        * Permissions on the bucket must be granted to the access ID of the AWS
@@ -7252,7 +7962,9 @@ public Builder setAwsAccessKey(com.google.storagetransfer.v1.proto.TransferTypes
        * [User credentials](/storage-transfer/docs/data-retention#user-credentials).
        * 
* - * .google.storagetransfer.v1.AwsAccessKey aws_access_key = 2 [(.google.api.field_behavior) = INPUT_ONLY]; + * + * .google.storagetransfer.v1.AwsAccessKey aws_access_key = 2 [(.google.api.field_behavior) = INPUT_ONLY]; + * */ public Builder setAwsAccessKey( com.google.storagetransfer.v1.proto.TransferTypes.AwsAccessKey.Builder builderForValue) { @@ -7266,6 +7978,8 @@ public Builder setAwsAccessKey( return this; } /** + * + * *
        * Input only. AWS access key used to sign the API requests to the AWS S3 bucket.
        * Permissions on the bucket must be granted to the access ID of the AWS
@@ -7274,13 +7988,19 @@ public Builder setAwsAccessKey(
        * [User credentials](/storage-transfer/docs/data-retention#user-credentials).
        * 
* - * .google.storagetransfer.v1.AwsAccessKey aws_access_key = 2 [(.google.api.field_behavior) = INPUT_ONLY]; + * + * .google.storagetransfer.v1.AwsAccessKey aws_access_key = 2 [(.google.api.field_behavior) = INPUT_ONLY]; + * */ - public Builder mergeAwsAccessKey(com.google.storagetransfer.v1.proto.TransferTypes.AwsAccessKey value) { + public Builder mergeAwsAccessKey( + com.google.storagetransfer.v1.proto.TransferTypes.AwsAccessKey value) { if (awsAccessKeyBuilder_ == null) { if (awsAccessKey_ != null) { awsAccessKey_ = - com.google.storagetransfer.v1.proto.TransferTypes.AwsAccessKey.newBuilder(awsAccessKey_).mergeFrom(value).buildPartial(); + com.google.storagetransfer.v1.proto.TransferTypes.AwsAccessKey.newBuilder( + awsAccessKey_) + .mergeFrom(value) + .buildPartial(); } else { awsAccessKey_ = value; } @@ -7292,6 +8012,8 @@ public Builder mergeAwsAccessKey(com.google.storagetransfer.v1.proto.TransferTyp return this; } /** + * + * *
        * Input only. AWS access key used to sign the API requests to the AWS S3 bucket.
        * Permissions on the bucket must be granted to the access ID of the AWS
@@ -7300,7 +8022,9 @@ public Builder mergeAwsAccessKey(com.google.storagetransfer.v1.proto.TransferTyp
        * [User credentials](/storage-transfer/docs/data-retention#user-credentials).
        * 
* - * .google.storagetransfer.v1.AwsAccessKey aws_access_key = 2 [(.google.api.field_behavior) = INPUT_ONLY]; + * + * .google.storagetransfer.v1.AwsAccessKey aws_access_key = 2 [(.google.api.field_behavior) = INPUT_ONLY]; + * */ public Builder clearAwsAccessKey() { if (awsAccessKeyBuilder_ == null) { @@ -7314,6 +8038,8 @@ public Builder clearAwsAccessKey() { return this; } /** + * + * *
        * Input only. AWS access key used to sign the API requests to the AWS S3 bucket.
        * Permissions on the bucket must be granted to the access ID of the AWS
@@ -7322,14 +8048,19 @@ public Builder clearAwsAccessKey() {
        * [User credentials](/storage-transfer/docs/data-retention#user-credentials).
        * 
* - * .google.storagetransfer.v1.AwsAccessKey aws_access_key = 2 [(.google.api.field_behavior) = INPUT_ONLY]; + * + * .google.storagetransfer.v1.AwsAccessKey aws_access_key = 2 [(.google.api.field_behavior) = INPUT_ONLY]; + * */ - public com.google.storagetransfer.v1.proto.TransferTypes.AwsAccessKey.Builder getAwsAccessKeyBuilder() { - + public com.google.storagetransfer.v1.proto.TransferTypes.AwsAccessKey.Builder + getAwsAccessKeyBuilder() { + onChanged(); return getAwsAccessKeyFieldBuilder().getBuilder(); } /** + * + * *
        * Input only. AWS access key used to sign the API requests to the AWS S3 bucket.
        * Permissions on the bucket must be granted to the access ID of the AWS
@@ -7338,17 +8069,23 @@ public com.google.storagetransfer.v1.proto.TransferTypes.AwsAccessKey.Builder ge
        * [User credentials](/storage-transfer/docs/data-retention#user-credentials).
        * 
* - * .google.storagetransfer.v1.AwsAccessKey aws_access_key = 2 [(.google.api.field_behavior) = INPUT_ONLY]; + * + * .google.storagetransfer.v1.AwsAccessKey aws_access_key = 2 [(.google.api.field_behavior) = INPUT_ONLY]; + * */ - public com.google.storagetransfer.v1.proto.TransferTypes.AwsAccessKeyOrBuilder getAwsAccessKeyOrBuilder() { + public com.google.storagetransfer.v1.proto.TransferTypes.AwsAccessKeyOrBuilder + getAwsAccessKeyOrBuilder() { if (awsAccessKeyBuilder_ != null) { return awsAccessKeyBuilder_.getMessageOrBuilder(); } else { - return awsAccessKey_ == null ? - com.google.storagetransfer.v1.proto.TransferTypes.AwsAccessKey.getDefaultInstance() : awsAccessKey_; + return awsAccessKey_ == null + ? com.google.storagetransfer.v1.proto.TransferTypes.AwsAccessKey.getDefaultInstance() + : awsAccessKey_; } } /** + * + * *
        * Input only. AWS access key used to sign the API requests to the AWS S3 bucket.
        * Permissions on the bucket must be granted to the access ID of the AWS
@@ -7357,17 +8094,22 @@ public com.google.storagetransfer.v1.proto.TransferTypes.AwsAccessKeyOrBuilder g
        * [User credentials](/storage-transfer/docs/data-retention#user-credentials).
        * 
* - * .google.storagetransfer.v1.AwsAccessKey aws_access_key = 2 [(.google.api.field_behavior) = INPUT_ONLY]; + * + * .google.storagetransfer.v1.AwsAccessKey aws_access_key = 2 [(.google.api.field_behavior) = INPUT_ONLY]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.storagetransfer.v1.proto.TransferTypes.AwsAccessKey, com.google.storagetransfer.v1.proto.TransferTypes.AwsAccessKey.Builder, com.google.storagetransfer.v1.proto.TransferTypes.AwsAccessKeyOrBuilder> + com.google.storagetransfer.v1.proto.TransferTypes.AwsAccessKey, + com.google.storagetransfer.v1.proto.TransferTypes.AwsAccessKey.Builder, + com.google.storagetransfer.v1.proto.TransferTypes.AwsAccessKeyOrBuilder> getAwsAccessKeyFieldBuilder() { if (awsAccessKeyBuilder_ == null) { - awsAccessKeyBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.storagetransfer.v1.proto.TransferTypes.AwsAccessKey, com.google.storagetransfer.v1.proto.TransferTypes.AwsAccessKey.Builder, com.google.storagetransfer.v1.proto.TransferTypes.AwsAccessKeyOrBuilder>( - getAwsAccessKey(), - getParentForChildren(), - isClean()); + awsAccessKeyBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.storagetransfer.v1.proto.TransferTypes.AwsAccessKey, + com.google.storagetransfer.v1.proto.TransferTypes.AwsAccessKey.Builder, + com.google.storagetransfer.v1.proto.TransferTypes.AwsAccessKeyOrBuilder>( + getAwsAccessKey(), getParentForChildren(), isClean()); awsAccessKey_ = null; } return awsAccessKeyBuilder_; @@ -7375,6 +8117,8 @@ public com.google.storagetransfer.v1.proto.TransferTypes.AwsAccessKeyOrBuilder g private java.lang.Object path_ = ""; /** + * + * *
        * Root path to transfer objects.
        * Must be an empty string or full path name that ends with a '/'. This field
@@ -7383,13 +8127,13 @@ public com.google.storagetransfer.v1.proto.TransferTypes.AwsAccessKeyOrBuilder g
        * 
* * string path = 3; + * * @return The path. */ public java.lang.String getPath() { java.lang.Object ref = path_; 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(); path_ = s; return s; @@ -7398,6 +8142,8 @@ public java.lang.String getPath() { } } /** + * + * *
        * Root path to transfer objects.
        * Must be an empty string or full path name that ends with a '/'. This field
@@ -7406,15 +8152,14 @@ public java.lang.String getPath() {
        * 
* * string path = 3; + * * @return The bytes for path. */ - public com.google.protobuf.ByteString - getPathBytes() { + public com.google.protobuf.ByteString getPathBytes() { java.lang.Object ref = path_; 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); path_ = b; return b; } else { @@ -7422,6 +8167,8 @@ public java.lang.String getPath() { } } /** + * + * *
        * Root path to transfer objects.
        * Must be an empty string or full path name that ends with a '/'. This field
@@ -7430,20 +8177,22 @@ public java.lang.String getPath() {
        * 
* * string path = 3; + * * @param value The path to set. * @return This builder for chaining. */ - public Builder setPath( - java.lang.String value) { + public Builder setPath(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + path_ = value; onChanged(); return this; } /** + * + * *
        * Root path to transfer objects.
        * Must be an empty string or full path name that ends with a '/'. This field
@@ -7452,15 +8201,18 @@ public Builder setPath(
        * 
* * string path = 3; + * * @return This builder for chaining. */ public Builder clearPath() { - + path_ = getDefaultInstance().getPath(); onChanged(); return this; } /** + * + * *
        * Root path to transfer objects.
        * Must be an empty string or full path name that ends with a '/'. This field
@@ -7469,16 +8221,16 @@ public Builder clearPath() {
        * 
* * string path = 3; + * * @param value The bytes for path to set. * @return This builder for chaining. */ - public Builder setPathBytes( - com.google.protobuf.ByteString value) { + public Builder setPathBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + path_ = value; onChanged(); return this; @@ -7486,6 +8238,8 @@ public Builder setPathBytes( private java.lang.Object roleArn_ = ""; /** + * + * *
        * The Amazon Resource Name (ARN) of the role to support temporary
        * credentials via `AssumeRoleWithWebIdentity`. For more information about
@@ -7497,13 +8251,13 @@ public Builder setPathBytes(
        * 
* * string role_arn = 4; + * * @return The roleArn. */ public java.lang.String getRoleArn() { java.lang.Object ref = roleArn_; 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(); roleArn_ = s; return s; @@ -7512,6 +8266,8 @@ public java.lang.String getRoleArn() { } } /** + * + * *
        * The Amazon Resource Name (ARN) of the role to support temporary
        * credentials via `AssumeRoleWithWebIdentity`. For more information about
@@ -7523,15 +8279,14 @@ public java.lang.String getRoleArn() {
        * 
* * string role_arn = 4; + * * @return The bytes for roleArn. */ - public com.google.protobuf.ByteString - getRoleArnBytes() { + public com.google.protobuf.ByteString getRoleArnBytes() { java.lang.Object ref = roleArn_; 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); roleArn_ = b; return b; } else { @@ -7539,6 +8294,8 @@ public java.lang.String getRoleArn() { } } /** + * + * *
        * The Amazon Resource Name (ARN) of the role to support temporary
        * credentials via `AssumeRoleWithWebIdentity`. For more information about
@@ -7550,20 +8307,22 @@ public java.lang.String getRoleArn() {
        * 
* * string role_arn = 4; + * * @param value The roleArn to set. * @return This builder for chaining. */ - public Builder setRoleArn( - java.lang.String value) { + public Builder setRoleArn(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + roleArn_ = value; onChanged(); return this; } /** + * + * *
        * The Amazon Resource Name (ARN) of the role to support temporary
        * credentials via `AssumeRoleWithWebIdentity`. For more information about
@@ -7575,15 +8334,18 @@ public Builder setRoleArn(
        * 
* * string role_arn = 4; + * * @return This builder for chaining. */ public Builder clearRoleArn() { - + roleArn_ = getDefaultInstance().getRoleArn(); onChanged(); return this; } /** + * + * *
        * The Amazon Resource Name (ARN) of the role to support temporary
        * credentials via `AssumeRoleWithWebIdentity`. For more information about
@@ -7595,20 +8357,21 @@ public Builder clearRoleArn() {
        * 
* * string role_arn = 4; + * * @param value The bytes for roleArn to set. * @return This builder for chaining. */ - public Builder setRoleArnBytes( - com.google.protobuf.ByteString value) { + public Builder setRoleArnBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + roleArn_ = value; onChanged(); return this; } + @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -7621,12 +8384,13 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.storagetransfer.v1.AwsS3Data) } // @@protoc_insertion_point(class_scope:google.storagetransfer.v1.AwsS3Data) - private static final com.google.storagetransfer.v1.proto.TransferTypes.AwsS3Data DEFAULT_INSTANCE; + private static final com.google.storagetransfer.v1.proto.TransferTypes.AwsS3Data + DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.storagetransfer.v1.proto.TransferTypes.AwsS3Data(); } @@ -7635,16 +8399,16 @@ public static com.google.storagetransfer.v1.proto.TransferTypes.AwsS3Data getDef return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public AwsS3Data parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new AwsS3Data(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public AwsS3Data parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new AwsS3Data(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -7659,87 +8423,114 @@ public com.google.protobuf.Parser getParserForType() { public com.google.storagetransfer.v1.proto.TransferTypes.AwsS3Data getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - public interface AzureBlobStorageDataOrBuilder extends + public interface AzureBlobStorageDataOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.storagetransfer.v1.AzureBlobStorageData) com.google.protobuf.MessageOrBuilder { /** + * + * *
      * Required. The name of the Azure Storage account.
      * 
* * string storage_account = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The storageAccount. */ java.lang.String getStorageAccount(); /** + * + * *
      * Required. The name of the Azure Storage account.
      * 
* * string storage_account = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for storageAccount. */ - com.google.protobuf.ByteString - getStorageAccountBytes(); + com.google.protobuf.ByteString getStorageAccountBytes(); /** + * + * *
      * Required. Input only. Credentials used to authenticate API requests to Azure.
      * For information on our data retention policy for user credentials, see
      * [User credentials](/storage-transfer/docs/data-retention#user-credentials).
      * 
* - * .google.storagetransfer.v1.AzureCredentials azure_credentials = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = INPUT_ONLY]; + * + * .google.storagetransfer.v1.AzureCredentials azure_credentials = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = INPUT_ONLY]; + * + * * @return Whether the azureCredentials field is set. */ boolean hasAzureCredentials(); /** + * + * *
      * Required. Input only. Credentials used to authenticate API requests to Azure.
      * For information on our data retention policy for user credentials, see
      * [User credentials](/storage-transfer/docs/data-retention#user-credentials).
      * 
* - * .google.storagetransfer.v1.AzureCredentials azure_credentials = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = INPUT_ONLY]; + * + * .google.storagetransfer.v1.AzureCredentials azure_credentials = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = INPUT_ONLY]; + * + * * @return The azureCredentials. */ com.google.storagetransfer.v1.proto.TransferTypes.AzureCredentials getAzureCredentials(); /** + * + * *
      * Required. Input only. Credentials used to authenticate API requests to Azure.
      * For information on our data retention policy for user credentials, see
      * [User credentials](/storage-transfer/docs/data-retention#user-credentials).
      * 
* - * .google.storagetransfer.v1.AzureCredentials azure_credentials = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = INPUT_ONLY]; + * + * .google.storagetransfer.v1.AzureCredentials azure_credentials = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = INPUT_ONLY]; + * */ - com.google.storagetransfer.v1.proto.TransferTypes.AzureCredentialsOrBuilder getAzureCredentialsOrBuilder(); + com.google.storagetransfer.v1.proto.TransferTypes.AzureCredentialsOrBuilder + getAzureCredentialsOrBuilder(); /** + * + * *
      * Required. The container to transfer from the Azure Storage account.
      * 
* * string container = 4 [(.google.api.field_behavior) = REQUIRED]; + * * @return The container. */ java.lang.String getContainer(); /** + * + * *
      * Required. The container to transfer from the Azure Storage account.
      * 
* * string container = 4 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for container. */ - com.google.protobuf.ByteString - getContainerBytes(); + com.google.protobuf.ByteString getContainerBytes(); /** + * + * *
      * Root path to transfer objects.
      * Must be an empty string or full path name that ends with a '/'. This field
@@ -7748,10 +8539,13 @@ public interface AzureBlobStorageDataOrBuilder extends
      * 
* * string path = 5; + * * @return The path. */ java.lang.String getPath(); /** + * + * *
      * Root path to transfer objects.
      * Must be an empty string or full path name that ends with a '/'. This field
@@ -7760,12 +8554,14 @@ public interface AzureBlobStorageDataOrBuilder extends
      * 
* * string path = 5; + * * @return The bytes for path. */ - com.google.protobuf.ByteString - getPathBytes(); + com.google.protobuf.ByteString getPathBytes(); } /** + * + * *
    * An AzureBlobStorageData resource can be a data source, but not a data sink.
    * An AzureBlobStorageData resource represents one Azure container. The storage
@@ -7778,15 +8574,16 @@ public interface AzureBlobStorageDataOrBuilder extends
    *
    * Protobuf type {@code google.storagetransfer.v1.AzureBlobStorageData}
    */
-  public static final class AzureBlobStorageData extends
-      com.google.protobuf.GeneratedMessageV3 implements
+  public static final class AzureBlobStorageData extends com.google.protobuf.GeneratedMessageV3
+      implements
       // @@protoc_insertion_point(message_implements:google.storagetransfer.v1.AzureBlobStorageData)
       AzureBlobStorageDataOrBuilder {
-  private static final long serialVersionUID = 0L;
+    private static final long serialVersionUID = 0L;
     // Use AzureBlobStorageData.newBuilder() to construct.
     private AzureBlobStorageData(com.google.protobuf.GeneratedMessageV3.Builder builder) {
       super(builder);
     }
+
     private AzureBlobStorageData() {
       storageAccount_ = "";
       container_ = "";
@@ -7795,16 +8592,15 @@ private AzureBlobStorageData() {
 
     @java.lang.Override
     @SuppressWarnings({"unused"})
-    protected java.lang.Object newInstance(
-        UnusedPrivateParameter unused) {
+    protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
       return new AzureBlobStorageData();
     }
 
     @java.lang.Override
-    public final com.google.protobuf.UnknownFieldSet
-    getUnknownFields() {
+    public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
       return this.unknownFields;
     }
+
     private AzureBlobStorageData(
         com.google.protobuf.CodedInputStream input,
         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -7823,44 +8619,52 @@ private AzureBlobStorageData(
             case 0:
               done = true;
               break;
-            case 10: {
-              java.lang.String s = input.readStringRequireUtf8();
+            case 10:
+              {
+                java.lang.String s = input.readStringRequireUtf8();
 
-              storageAccount_ = s;
-              break;
-            }
-            case 18: {
-              com.google.storagetransfer.v1.proto.TransferTypes.AzureCredentials.Builder subBuilder = null;
-              if (azureCredentials_ != null) {
-                subBuilder = azureCredentials_.toBuilder();
-              }
-              azureCredentials_ = input.readMessage(com.google.storagetransfer.v1.proto.TransferTypes.AzureCredentials.parser(), extensionRegistry);
-              if (subBuilder != null) {
-                subBuilder.mergeFrom(azureCredentials_);
-                azureCredentials_ = subBuilder.buildPartial();
+                storageAccount_ = s;
+                break;
               }
+            case 18:
+              {
+                com.google.storagetransfer.v1.proto.TransferTypes.AzureCredentials.Builder
+                    subBuilder = null;
+                if (azureCredentials_ != null) {
+                  subBuilder = azureCredentials_.toBuilder();
+                }
+                azureCredentials_ =
+                    input.readMessage(
+                        com.google.storagetransfer.v1.proto.TransferTypes.AzureCredentials.parser(),
+                        extensionRegistry);
+                if (subBuilder != null) {
+                  subBuilder.mergeFrom(azureCredentials_);
+                  azureCredentials_ = subBuilder.buildPartial();
+                }
 
-              break;
-            }
-            case 34: {
-              java.lang.String s = input.readStringRequireUtf8();
+                break;
+              }
+            case 34:
+              {
+                java.lang.String s = input.readStringRequireUtf8();
 
-              container_ = s;
-              break;
-            }
-            case 42: {
-              java.lang.String s = input.readStringRequireUtf8();
+                container_ = s;
+                break;
+              }
+            case 42:
+              {
+                java.lang.String s = input.readStringRequireUtf8();
 
-              path_ = s;
-              break;
-            }
-            default: {
-              if (!parseUnknownField(
-                  input, unknownFields, extensionRegistry, tag)) {
-                done = true;
+                path_ = s;
+                break;
+              }
+            default:
+              {
+                if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
+                  done = true;
+                }
+                break;
               }
-              break;
-            }
           }
         }
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -7868,34 +8672,39 @@ private AzureBlobStorageData(
       } catch (com.google.protobuf.UninitializedMessageException e) {
         throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
       } catch (java.io.IOException e) {
-        throw new com.google.protobuf.InvalidProtocolBufferException(
-            e).setUnfinishedMessage(this);
+        throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
       } finally {
         this.unknownFields = unknownFields.build();
         makeExtensionsImmutable();
       }
     }
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.storagetransfer.v1.proto.TransferTypes.internal_static_google_storagetransfer_v1_AzureBlobStorageData_descriptor;
+
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.storagetransfer.v1.proto.TransferTypes
+          .internal_static_google_storagetransfer_v1_AzureBlobStorageData_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.storagetransfer.v1.proto.TransferTypes.internal_static_google_storagetransfer_v1_AzureBlobStorageData_fieldAccessorTable
+      return com.google.storagetransfer.v1.proto.TransferTypes
+          .internal_static_google_storagetransfer_v1_AzureBlobStorageData_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.storagetransfer.v1.proto.TransferTypes.AzureBlobStorageData.class, com.google.storagetransfer.v1.proto.TransferTypes.AzureBlobStorageData.Builder.class);
+              com.google.storagetransfer.v1.proto.TransferTypes.AzureBlobStorageData.class,
+              com.google.storagetransfer.v1.proto.TransferTypes.AzureBlobStorageData.Builder.class);
     }
 
     public static final int STORAGE_ACCOUNT_FIELD_NUMBER = 1;
     private volatile java.lang.Object storageAccount_;
     /**
+     *
+     *
      * 
      * Required. The name of the Azure Storage account.
      * 
* * string storage_account = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The storageAccount. */ @java.lang.Override @@ -7904,29 +8713,29 @@ public java.lang.String getStorageAccount() { 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(); storageAccount_ = s; return s; } } /** + * + * *
      * Required. The name of the Azure Storage account.
      * 
* * string storage_account = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for storageAccount. */ @java.lang.Override - public com.google.protobuf.ByteString - getStorageAccountBytes() { + public com.google.protobuf.ByteString getStorageAccountBytes() { java.lang.Object ref = storageAccount_; 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); storageAccount_ = b; return b; } else { @@ -7937,13 +8746,18 @@ public java.lang.String getStorageAccount() { public static final int AZURE_CREDENTIALS_FIELD_NUMBER = 2; private com.google.storagetransfer.v1.proto.TransferTypes.AzureCredentials azureCredentials_; /** + * + * *
      * Required. Input only. Credentials used to authenticate API requests to Azure.
      * For information on our data retention policy for user credentials, see
      * [User credentials](/storage-transfer/docs/data-retention#user-credentials).
      * 
* - * .google.storagetransfer.v1.AzureCredentials azure_credentials = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = INPUT_ONLY]; + * + * .google.storagetransfer.v1.AzureCredentials azure_credentials = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = INPUT_ONLY]; + * + * * @return Whether the azureCredentials field is set. */ @java.lang.Override @@ -7951,41 +8765,57 @@ public boolean hasAzureCredentials() { return azureCredentials_ != null; } /** + * + * *
      * Required. Input only. Credentials used to authenticate API requests to Azure.
      * For information on our data retention policy for user credentials, see
      * [User credentials](/storage-transfer/docs/data-retention#user-credentials).
      * 
* - * .google.storagetransfer.v1.AzureCredentials azure_credentials = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = INPUT_ONLY]; + * + * .google.storagetransfer.v1.AzureCredentials azure_credentials = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = INPUT_ONLY]; + * + * * @return The azureCredentials. */ @java.lang.Override - public com.google.storagetransfer.v1.proto.TransferTypes.AzureCredentials getAzureCredentials() { - return azureCredentials_ == null ? com.google.storagetransfer.v1.proto.TransferTypes.AzureCredentials.getDefaultInstance() : azureCredentials_; + public com.google.storagetransfer.v1.proto.TransferTypes.AzureCredentials + getAzureCredentials() { + return azureCredentials_ == null + ? com.google.storagetransfer.v1.proto.TransferTypes.AzureCredentials.getDefaultInstance() + : azureCredentials_; } /** + * + * *
      * Required. Input only. Credentials used to authenticate API requests to Azure.
      * For information on our data retention policy for user credentials, see
      * [User credentials](/storage-transfer/docs/data-retention#user-credentials).
      * 
* - * .google.storagetransfer.v1.AzureCredentials azure_credentials = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = INPUT_ONLY]; + * + * .google.storagetransfer.v1.AzureCredentials azure_credentials = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = INPUT_ONLY]; + * */ @java.lang.Override - public com.google.storagetransfer.v1.proto.TransferTypes.AzureCredentialsOrBuilder getAzureCredentialsOrBuilder() { + public com.google.storagetransfer.v1.proto.TransferTypes.AzureCredentialsOrBuilder + getAzureCredentialsOrBuilder() { return getAzureCredentials(); } public static final int CONTAINER_FIELD_NUMBER = 4; private volatile java.lang.Object container_; /** + * + * *
      * Required. The container to transfer from the Azure Storage account.
      * 
* * string container = 4 [(.google.api.field_behavior) = REQUIRED]; + * * @return The container. */ @java.lang.Override @@ -7994,29 +8824,29 @@ public java.lang.String getContainer() { 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(); container_ = s; return s; } } /** + * + * *
      * Required. The container to transfer from the Azure Storage account.
      * 
* * string container = 4 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for container. */ @java.lang.Override - public com.google.protobuf.ByteString - getContainerBytes() { + public com.google.protobuf.ByteString getContainerBytes() { java.lang.Object ref = container_; 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); container_ = b; return b; } else { @@ -8027,6 +8857,8 @@ public java.lang.String getContainer() { public static final int PATH_FIELD_NUMBER = 5; private volatile java.lang.Object path_; /** + * + * *
      * Root path to transfer objects.
      * Must be an empty string or full path name that ends with a '/'. This field
@@ -8035,6 +8867,7 @@ public java.lang.String getContainer() {
      * 
* * string path = 5; + * * @return The path. */ @java.lang.Override @@ -8043,14 +8876,15 @@ public java.lang.String getPath() { 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(); path_ = s; return s; } } /** + * + * *
      * Root path to transfer objects.
      * Must be an empty string or full path name that ends with a '/'. This field
@@ -8059,16 +8893,15 @@ public java.lang.String getPath() {
      * 
* * string path = 5; + * * @return The bytes for path. */ @java.lang.Override - public com.google.protobuf.ByteString - getPathBytes() { + public com.google.protobuf.ByteString getPathBytes() { java.lang.Object ref = path_; 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); path_ = b; return b; } else { @@ -8077,6 +8910,7 @@ public java.lang.String getPath() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -8088,8 +8922,7 @@ 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 (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(storageAccount_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, storageAccount_); } @@ -8115,8 +8948,7 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, storageAccount_); } if (azureCredentials_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(2, getAzureCredentials()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getAzureCredentials()); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(container_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, container_); @@ -8132,24 +8964,22 @@ 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.storagetransfer.v1.proto.TransferTypes.AzureBlobStorageData)) { + if (!(obj + instanceof com.google.storagetransfer.v1.proto.TransferTypes.AzureBlobStorageData)) { return super.equals(obj); } - com.google.storagetransfer.v1.proto.TransferTypes.AzureBlobStorageData other = (com.google.storagetransfer.v1.proto.TransferTypes.AzureBlobStorageData) obj; + com.google.storagetransfer.v1.proto.TransferTypes.AzureBlobStorageData other = + (com.google.storagetransfer.v1.proto.TransferTypes.AzureBlobStorageData) obj; - if (!getStorageAccount() - .equals(other.getStorageAccount())) return false; + if (!getStorageAccount().equals(other.getStorageAccount())) return false; if (hasAzureCredentials() != other.hasAzureCredentials()) return false; if (hasAzureCredentials()) { - if (!getAzureCredentials() - .equals(other.getAzureCredentials())) return false; + if (!getAzureCredentials().equals(other.getAzureCredentials())) return false; } - if (!getContainer() - .equals(other.getContainer())) return false; - if (!getPath() - .equals(other.getPath())) return false; + if (!getContainer().equals(other.getContainer())) return false; + if (!getPath().equals(other.getPath())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -8177,87 +9007,95 @@ public int hashCode() { } public static com.google.storagetransfer.v1.proto.TransferTypes.AzureBlobStorageData parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.storagetransfer.v1.proto.TransferTypes.AzureBlobStorageData 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.storagetransfer.v1.proto.TransferTypes.AzureBlobStorageData parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.storagetransfer.v1.proto.TransferTypes.AzureBlobStorageData 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.storagetransfer.v1.proto.TransferTypes.AzureBlobStorageData parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.storagetransfer.v1.proto.TransferTypes.AzureBlobStorageData parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.storagetransfer.v1.proto.TransferTypes.AzureBlobStorageData 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.storagetransfer.v1.proto.TransferTypes.AzureBlobStorageData parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.storagetransfer.v1.proto.TransferTypes.AzureBlobStorageData parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.storagetransfer.v1.proto.TransferTypes.AzureBlobStorageData 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.storagetransfer.v1.proto.TransferTypes.AzureBlobStorageData parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.storagetransfer.v1.proto.TransferTypes.AzureBlobStorageData + parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } - public static com.google.storagetransfer.v1.proto.TransferTypes.AzureBlobStorageData parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + + public static com.google.storagetransfer.v1.proto.TransferTypes.AzureBlobStorageData + parseDelimitedFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.storagetransfer.v1.proto.TransferTypes.AzureBlobStorageData 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.storagetransfer.v1.proto.TransferTypes.AzureBlobStorageData 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.storagetransfer.v1.proto.TransferTypes.AzureBlobStorageData prototype) { + + public static Builder newBuilder( + com.google.storagetransfer.v1.proto.TransferTypes.AzureBlobStorageData 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 @@ -8267,6 +9105,8 @@ protected Builder newBuilderForType( return builder; } /** + * + * *
      * An AzureBlobStorageData resource can be a data source, but not a data sink.
      * An AzureBlobStorageData resource represents one Azure container. The storage
@@ -8279,38 +9119,42 @@ protected Builder newBuilderForType(
      *
      * Protobuf type {@code google.storagetransfer.v1.AzureBlobStorageData}
      */
-    public static final class Builder extends
-        com.google.protobuf.GeneratedMessageV3.Builder implements
+    public static final class Builder
+        extends com.google.protobuf.GeneratedMessageV3.Builder
+        implements
         // @@protoc_insertion_point(builder_implements:google.storagetransfer.v1.AzureBlobStorageData)
         com.google.storagetransfer.v1.proto.TransferTypes.AzureBlobStorageDataOrBuilder {
-      public static final com.google.protobuf.Descriptors.Descriptor
-          getDescriptor() {
-        return com.google.storagetransfer.v1.proto.TransferTypes.internal_static_google_storagetransfer_v1_AzureBlobStorageData_descriptor;
+      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+        return com.google.storagetransfer.v1.proto.TransferTypes
+            .internal_static_google_storagetransfer_v1_AzureBlobStorageData_descriptor;
       }
 
       @java.lang.Override
       protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
           internalGetFieldAccessorTable() {
-        return com.google.storagetransfer.v1.proto.TransferTypes.internal_static_google_storagetransfer_v1_AzureBlobStorageData_fieldAccessorTable
+        return com.google.storagetransfer.v1.proto.TransferTypes
+            .internal_static_google_storagetransfer_v1_AzureBlobStorageData_fieldAccessorTable
             .ensureFieldAccessorsInitialized(
-                com.google.storagetransfer.v1.proto.TransferTypes.AzureBlobStorageData.class, com.google.storagetransfer.v1.proto.TransferTypes.AzureBlobStorageData.Builder.class);
+                com.google.storagetransfer.v1.proto.TransferTypes.AzureBlobStorageData.class,
+                com.google.storagetransfer.v1.proto.TransferTypes.AzureBlobStorageData.Builder
+                    .class);
       }
 
-      // Construct using com.google.storagetransfer.v1.proto.TransferTypes.AzureBlobStorageData.newBuilder()
+      // Construct using
+      // com.google.storagetransfer.v1.proto.TransferTypes.AzureBlobStorageData.newBuilder()
       private Builder() {
         maybeForceBuilderInitialization();
       }
 
-      private Builder(
-          com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+      private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
         super(parent);
         maybeForceBuilderInitialization();
       }
+
       private void maybeForceBuilderInitialization() {
-        if (com.google.protobuf.GeneratedMessageV3
-                .alwaysUseFieldBuilders) {
-        }
+        if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {}
       }
+
       @java.lang.Override
       public Builder clear() {
         super.clear();
@@ -8330,19 +9174,22 @@ public Builder clear() {
       }
 
       @java.lang.Override
-      public com.google.protobuf.Descriptors.Descriptor
-          getDescriptorForType() {
-        return com.google.storagetransfer.v1.proto.TransferTypes.internal_static_google_storagetransfer_v1_AzureBlobStorageData_descriptor;
+      public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+        return com.google.storagetransfer.v1.proto.TransferTypes
+            .internal_static_google_storagetransfer_v1_AzureBlobStorageData_descriptor;
       }
 
       @java.lang.Override
-      public com.google.storagetransfer.v1.proto.TransferTypes.AzureBlobStorageData getDefaultInstanceForType() {
-        return com.google.storagetransfer.v1.proto.TransferTypes.AzureBlobStorageData.getDefaultInstance();
+      public com.google.storagetransfer.v1.proto.TransferTypes.AzureBlobStorageData
+          getDefaultInstanceForType() {
+        return com.google.storagetransfer.v1.proto.TransferTypes.AzureBlobStorageData
+            .getDefaultInstance();
       }
 
       @java.lang.Override
       public com.google.storagetransfer.v1.proto.TransferTypes.AzureBlobStorageData build() {
-        com.google.storagetransfer.v1.proto.TransferTypes.AzureBlobStorageData result = buildPartial();
+        com.google.storagetransfer.v1.proto.TransferTypes.AzureBlobStorageData result =
+            buildPartial();
         if (!result.isInitialized()) {
           throw newUninitializedMessageException(result);
         }
@@ -8351,7 +9198,8 @@ public com.google.storagetransfer.v1.proto.TransferTypes.AzureBlobStorageData bu
 
       @java.lang.Override
       public com.google.storagetransfer.v1.proto.TransferTypes.AzureBlobStorageData buildPartial() {
-        com.google.storagetransfer.v1.proto.TransferTypes.AzureBlobStorageData result = new com.google.storagetransfer.v1.proto.TransferTypes.AzureBlobStorageData(this);
+        com.google.storagetransfer.v1.proto.TransferTypes.AzureBlobStorageData result =
+            new com.google.storagetransfer.v1.proto.TransferTypes.AzureBlobStorageData(this);
         result.storageAccount_ = storageAccount_;
         if (azureCredentialsBuilder_ == null) {
           result.azureCredentials_ = azureCredentials_;
@@ -8368,46 +9216,54 @@ public com.google.storagetransfer.v1.proto.TransferTypes.AzureBlobStorageData bu
       public Builder clone() {
         return super.clone();
       }
+
       @java.lang.Override
       public Builder setField(
-          com.google.protobuf.Descriptors.FieldDescriptor field,
-          java.lang.Object value) {
+          com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
         return super.setField(field, value);
       }
+
       @java.lang.Override
-      public Builder clearField(
-          com.google.protobuf.Descriptors.FieldDescriptor field) {
+      public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
         return super.clearField(field);
       }
+
       @java.lang.Override
-      public Builder clearOneof(
-          com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+      public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
         return super.clearOneof(oneof);
       }
+
       @java.lang.Override
       public Builder setRepeatedField(
           com.google.protobuf.Descriptors.FieldDescriptor field,
-          int index, java.lang.Object value) {
+          int index,
+          java.lang.Object value) {
         return super.setRepeatedField(field, index, value);
       }
+
       @java.lang.Override
       public Builder addRepeatedField(
-          com.google.protobuf.Descriptors.FieldDescriptor field,
-          java.lang.Object value) {
+          com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
         return super.addRepeatedField(field, value);
       }
+
       @java.lang.Override
       public Builder mergeFrom(com.google.protobuf.Message other) {
-        if (other instanceof com.google.storagetransfer.v1.proto.TransferTypes.AzureBlobStorageData) {
-          return mergeFrom((com.google.storagetransfer.v1.proto.TransferTypes.AzureBlobStorageData)other);
+        if (other
+            instanceof com.google.storagetransfer.v1.proto.TransferTypes.AzureBlobStorageData) {
+          return mergeFrom(
+              (com.google.storagetransfer.v1.proto.TransferTypes.AzureBlobStorageData) other);
         } else {
           super.mergeFrom(other);
           return this;
         }
       }
 
-      public Builder mergeFrom(com.google.storagetransfer.v1.proto.TransferTypes.AzureBlobStorageData other) {
-        if (other == com.google.storagetransfer.v1.proto.TransferTypes.AzureBlobStorageData.getDefaultInstance()) return this;
+      public Builder mergeFrom(
+          com.google.storagetransfer.v1.proto.TransferTypes.AzureBlobStorageData other) {
+        if (other
+            == com.google.storagetransfer.v1.proto.TransferTypes.AzureBlobStorageData
+                .getDefaultInstance()) return this;
         if (!other.getStorageAccount().isEmpty()) {
           storageAccount_ = other.storageAccount_;
           onChanged();
@@ -8442,7 +9298,9 @@ public Builder mergeFrom(
         try {
           parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
         } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-          parsedMessage = (com.google.storagetransfer.v1.proto.TransferTypes.AzureBlobStorageData) e.getUnfinishedMessage();
+          parsedMessage =
+              (com.google.storagetransfer.v1.proto.TransferTypes.AzureBlobStorageData)
+                  e.getUnfinishedMessage();
           throw e.unwrapIOException();
         } finally {
           if (parsedMessage != null) {
@@ -8454,18 +9312,20 @@ public Builder mergeFrom(
 
       private java.lang.Object storageAccount_ = "";
       /**
+       *
+       *
        * 
        * Required. The name of the Azure Storage account.
        * 
* * string storage_account = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The storageAccount. */ public java.lang.String getStorageAccount() { java.lang.Object ref = storageAccount_; 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(); storageAccount_ = s; return s; @@ -8474,20 +9334,21 @@ public java.lang.String getStorageAccount() { } } /** + * + * *
        * Required. The name of the Azure Storage account.
        * 
* * string storage_account = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for storageAccount. */ - public com.google.protobuf.ByteString - getStorageAccountBytes() { + public com.google.protobuf.ByteString getStorageAccountBytes() { java.lang.Object ref = storageAccount_; 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); storageAccount_ = b; return b; } else { @@ -8495,54 +9356,61 @@ public java.lang.String getStorageAccount() { } } /** + * + * *
        * Required. The name of the Azure Storage account.
        * 
* * string storage_account = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The storageAccount to set. * @return This builder for chaining. */ - public Builder setStorageAccount( - java.lang.String value) { + public Builder setStorageAccount(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + storageAccount_ = value; onChanged(); return this; } /** + * + * *
        * Required. The name of the Azure Storage account.
        * 
* * string storage_account = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return This builder for chaining. */ public Builder clearStorageAccount() { - + storageAccount_ = getDefaultInstance().getStorageAccount(); onChanged(); return this; } /** + * + * *
        * Required. The name of the Azure Storage account.
        * 
* * string storage_account = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The bytes for storageAccount to set. * @return This builder for chaining. */ - public Builder setStorageAccountBytes( - com.google.protobuf.ByteString value) { + public Builder setStorageAccountBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + storageAccount_ = value; onChanged(); return this; @@ -8550,47 +9418,69 @@ public Builder setStorageAccountBytes( private com.google.storagetransfer.v1.proto.TransferTypes.AzureCredentials azureCredentials_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.storagetransfer.v1.proto.TransferTypes.AzureCredentials, com.google.storagetransfer.v1.proto.TransferTypes.AzureCredentials.Builder, com.google.storagetransfer.v1.proto.TransferTypes.AzureCredentialsOrBuilder> azureCredentialsBuilder_; + com.google.storagetransfer.v1.proto.TransferTypes.AzureCredentials, + com.google.storagetransfer.v1.proto.TransferTypes.AzureCredentials.Builder, + com.google.storagetransfer.v1.proto.TransferTypes.AzureCredentialsOrBuilder> + azureCredentialsBuilder_; /** + * + * *
        * Required. Input only. Credentials used to authenticate API requests to Azure.
        * For information on our data retention policy for user credentials, see
        * [User credentials](/storage-transfer/docs/data-retention#user-credentials).
        * 
* - * .google.storagetransfer.v1.AzureCredentials azure_credentials = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = INPUT_ONLY]; + * + * .google.storagetransfer.v1.AzureCredentials azure_credentials = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = INPUT_ONLY]; + * + * * @return Whether the azureCredentials field is set. */ public boolean hasAzureCredentials() { return azureCredentialsBuilder_ != null || azureCredentials_ != null; } /** + * + * *
        * Required. Input only. Credentials used to authenticate API requests to Azure.
        * For information on our data retention policy for user credentials, see
        * [User credentials](/storage-transfer/docs/data-retention#user-credentials).
        * 
* - * .google.storagetransfer.v1.AzureCredentials azure_credentials = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = INPUT_ONLY]; + * + * .google.storagetransfer.v1.AzureCredentials azure_credentials = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = INPUT_ONLY]; + * + * * @return The azureCredentials. */ - public com.google.storagetransfer.v1.proto.TransferTypes.AzureCredentials getAzureCredentials() { + public com.google.storagetransfer.v1.proto.TransferTypes.AzureCredentials + getAzureCredentials() { if (azureCredentialsBuilder_ == null) { - return azureCredentials_ == null ? com.google.storagetransfer.v1.proto.TransferTypes.AzureCredentials.getDefaultInstance() : azureCredentials_; + return azureCredentials_ == null + ? com.google.storagetransfer.v1.proto.TransferTypes.AzureCredentials + .getDefaultInstance() + : azureCredentials_; } else { return azureCredentialsBuilder_.getMessage(); } } /** + * + * *
        * Required. Input only. Credentials used to authenticate API requests to Azure.
        * For information on our data retention policy for user credentials, see
        * [User credentials](/storage-transfer/docs/data-retention#user-credentials).
        * 
* - * .google.storagetransfer.v1.AzureCredentials azure_credentials = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = INPUT_ONLY]; + * + * .google.storagetransfer.v1.AzureCredentials azure_credentials = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = INPUT_ONLY]; + * */ - public Builder setAzureCredentials(com.google.storagetransfer.v1.proto.TransferTypes.AzureCredentials value) { + public Builder setAzureCredentials( + com.google.storagetransfer.v1.proto.TransferTypes.AzureCredentials value) { if (azureCredentialsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -8604,16 +9494,21 @@ public Builder setAzureCredentials(com.google.storagetransfer.v1.proto.TransferT return this; } /** + * + * *
        * Required. Input only. Credentials used to authenticate API requests to Azure.
        * For information on our data retention policy for user credentials, see
        * [User credentials](/storage-transfer/docs/data-retention#user-credentials).
        * 
* - * .google.storagetransfer.v1.AzureCredentials azure_credentials = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = INPUT_ONLY]; + * + * .google.storagetransfer.v1.AzureCredentials azure_credentials = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = INPUT_ONLY]; + * */ public Builder setAzureCredentials( - com.google.storagetransfer.v1.proto.TransferTypes.AzureCredentials.Builder builderForValue) { + com.google.storagetransfer.v1.proto.TransferTypes.AzureCredentials.Builder + builderForValue) { if (azureCredentialsBuilder_ == null) { azureCredentials_ = builderForValue.build(); onChanged(); @@ -8624,19 +9519,27 @@ public Builder setAzureCredentials( return this; } /** + * + * *
        * Required. Input only. Credentials used to authenticate API requests to Azure.
        * For information on our data retention policy for user credentials, see
        * [User credentials](/storage-transfer/docs/data-retention#user-credentials).
        * 
* - * .google.storagetransfer.v1.AzureCredentials azure_credentials = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = INPUT_ONLY]; + * + * .google.storagetransfer.v1.AzureCredentials azure_credentials = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = INPUT_ONLY]; + * */ - public Builder mergeAzureCredentials(com.google.storagetransfer.v1.proto.TransferTypes.AzureCredentials value) { + public Builder mergeAzureCredentials( + com.google.storagetransfer.v1.proto.TransferTypes.AzureCredentials value) { if (azureCredentialsBuilder_ == null) { if (azureCredentials_ != null) { azureCredentials_ = - com.google.storagetransfer.v1.proto.TransferTypes.AzureCredentials.newBuilder(azureCredentials_).mergeFrom(value).buildPartial(); + com.google.storagetransfer.v1.proto.TransferTypes.AzureCredentials.newBuilder( + azureCredentials_) + .mergeFrom(value) + .buildPartial(); } else { azureCredentials_ = value; } @@ -8648,13 +9551,17 @@ public Builder mergeAzureCredentials(com.google.storagetransfer.v1.proto.Transfe return this; } /** + * + * *
        * Required. Input only. Credentials used to authenticate API requests to Azure.
        * For information on our data retention policy for user credentials, see
        * [User credentials](/storage-transfer/docs/data-retention#user-credentials).
        * 
* - * .google.storagetransfer.v1.AzureCredentials azure_credentials = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = INPUT_ONLY]; + * + * .google.storagetransfer.v1.AzureCredentials azure_credentials = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = INPUT_ONLY]; + * */ public Builder clearAzureCredentials() { if (azureCredentialsBuilder_ == null) { @@ -8668,54 +9575,73 @@ public Builder clearAzureCredentials() { return this; } /** + * + * *
        * Required. Input only. Credentials used to authenticate API requests to Azure.
        * For information on our data retention policy for user credentials, see
        * [User credentials](/storage-transfer/docs/data-retention#user-credentials).
        * 
* - * .google.storagetransfer.v1.AzureCredentials azure_credentials = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = INPUT_ONLY]; + * + * .google.storagetransfer.v1.AzureCredentials azure_credentials = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = INPUT_ONLY]; + * */ - public com.google.storagetransfer.v1.proto.TransferTypes.AzureCredentials.Builder getAzureCredentialsBuilder() { - + public com.google.storagetransfer.v1.proto.TransferTypes.AzureCredentials.Builder + getAzureCredentialsBuilder() { + onChanged(); return getAzureCredentialsFieldBuilder().getBuilder(); } /** + * + * *
        * Required. Input only. Credentials used to authenticate API requests to Azure.
        * For information on our data retention policy for user credentials, see
        * [User credentials](/storage-transfer/docs/data-retention#user-credentials).
        * 
* - * .google.storagetransfer.v1.AzureCredentials azure_credentials = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = INPUT_ONLY]; + * + * .google.storagetransfer.v1.AzureCredentials azure_credentials = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = INPUT_ONLY]; + * */ - public com.google.storagetransfer.v1.proto.TransferTypes.AzureCredentialsOrBuilder getAzureCredentialsOrBuilder() { + public com.google.storagetransfer.v1.proto.TransferTypes.AzureCredentialsOrBuilder + getAzureCredentialsOrBuilder() { if (azureCredentialsBuilder_ != null) { return azureCredentialsBuilder_.getMessageOrBuilder(); } else { - return azureCredentials_ == null ? - com.google.storagetransfer.v1.proto.TransferTypes.AzureCredentials.getDefaultInstance() : azureCredentials_; + return azureCredentials_ == null + ? com.google.storagetransfer.v1.proto.TransferTypes.AzureCredentials + .getDefaultInstance() + : azureCredentials_; } } /** + * + * *
        * Required. Input only. Credentials used to authenticate API requests to Azure.
        * For information on our data retention policy for user credentials, see
        * [User credentials](/storage-transfer/docs/data-retention#user-credentials).
        * 
* - * .google.storagetransfer.v1.AzureCredentials azure_credentials = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = INPUT_ONLY]; + * + * .google.storagetransfer.v1.AzureCredentials azure_credentials = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = INPUT_ONLY]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.storagetransfer.v1.proto.TransferTypes.AzureCredentials, com.google.storagetransfer.v1.proto.TransferTypes.AzureCredentials.Builder, com.google.storagetransfer.v1.proto.TransferTypes.AzureCredentialsOrBuilder> + com.google.storagetransfer.v1.proto.TransferTypes.AzureCredentials, + com.google.storagetransfer.v1.proto.TransferTypes.AzureCredentials.Builder, + com.google.storagetransfer.v1.proto.TransferTypes.AzureCredentialsOrBuilder> getAzureCredentialsFieldBuilder() { if (azureCredentialsBuilder_ == null) { - azureCredentialsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.storagetransfer.v1.proto.TransferTypes.AzureCredentials, com.google.storagetransfer.v1.proto.TransferTypes.AzureCredentials.Builder, com.google.storagetransfer.v1.proto.TransferTypes.AzureCredentialsOrBuilder>( - getAzureCredentials(), - getParentForChildren(), - isClean()); + azureCredentialsBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.storagetransfer.v1.proto.TransferTypes.AzureCredentials, + com.google.storagetransfer.v1.proto.TransferTypes.AzureCredentials.Builder, + com.google.storagetransfer.v1.proto.TransferTypes.AzureCredentialsOrBuilder>( + getAzureCredentials(), getParentForChildren(), isClean()); azureCredentials_ = null; } return azureCredentialsBuilder_; @@ -8723,18 +9649,20 @@ public com.google.storagetransfer.v1.proto.TransferTypes.AzureCredentialsOrBuild private java.lang.Object container_ = ""; /** + * + * *
        * Required. The container to transfer from the Azure Storage account.
        * 
* * string container = 4 [(.google.api.field_behavior) = REQUIRED]; + * * @return The container. */ public java.lang.String getContainer() { java.lang.Object ref = container_; 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(); container_ = s; return s; @@ -8743,20 +9671,21 @@ public java.lang.String getContainer() { } } /** + * + * *
        * Required. The container to transfer from the Azure Storage account.
        * 
* * string container = 4 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for container. */ - public com.google.protobuf.ByteString - getContainerBytes() { + public com.google.protobuf.ByteString getContainerBytes() { java.lang.Object ref = container_; 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); container_ = b; return b; } else { @@ -8764,54 +9693,61 @@ public java.lang.String getContainer() { } } /** + * + * *
        * Required. The container to transfer from the Azure Storage account.
        * 
* * string container = 4 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The container to set. * @return This builder for chaining. */ - public Builder setContainer( - java.lang.String value) { + public Builder setContainer(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + container_ = value; onChanged(); return this; } /** + * + * *
        * Required. The container to transfer from the Azure Storage account.
        * 
* * string container = 4 [(.google.api.field_behavior) = REQUIRED]; + * * @return This builder for chaining. */ public Builder clearContainer() { - + container_ = getDefaultInstance().getContainer(); onChanged(); return this; } /** + * + * *
        * Required. The container to transfer from the Azure Storage account.
        * 
* * string container = 4 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The bytes for container to set. * @return This builder for chaining. */ - public Builder setContainerBytes( - com.google.protobuf.ByteString value) { + public Builder setContainerBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + container_ = value; onChanged(); return this; @@ -8819,6 +9755,8 @@ public Builder setContainerBytes( private java.lang.Object path_ = ""; /** + * + * *
        * Root path to transfer objects.
        * Must be an empty string or full path name that ends with a '/'. This field
@@ -8827,13 +9765,13 @@ public Builder setContainerBytes(
        * 
* * string path = 5; + * * @return The path. */ public java.lang.String getPath() { java.lang.Object ref = path_; 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(); path_ = s; return s; @@ -8842,6 +9780,8 @@ public java.lang.String getPath() { } } /** + * + * *
        * Root path to transfer objects.
        * Must be an empty string or full path name that ends with a '/'. This field
@@ -8850,15 +9790,14 @@ public java.lang.String getPath() {
        * 
* * string path = 5; + * * @return The bytes for path. */ - public com.google.protobuf.ByteString - getPathBytes() { + public com.google.protobuf.ByteString getPathBytes() { java.lang.Object ref = path_; 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); path_ = b; return b; } else { @@ -8866,6 +9805,8 @@ public java.lang.String getPath() { } } /** + * + * *
        * Root path to transfer objects.
        * Must be an empty string or full path name that ends with a '/'. This field
@@ -8874,20 +9815,22 @@ public java.lang.String getPath() {
        * 
* * string path = 5; + * * @param value The path to set. * @return This builder for chaining. */ - public Builder setPath( - java.lang.String value) { + public Builder setPath(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + path_ = value; onChanged(); return this; } /** + * + * *
        * Root path to transfer objects.
        * Must be an empty string or full path name that ends with a '/'. This field
@@ -8896,15 +9839,18 @@ public Builder setPath(
        * 
* * string path = 5; + * * @return This builder for chaining. */ public Builder clearPath() { - + path_ = getDefaultInstance().getPath(); onChanged(); return this; } /** + * + * *
        * Root path to transfer objects.
        * Must be an empty string or full path name that ends with a '/'. This field
@@ -8913,20 +9859,21 @@ public Builder clearPath() {
        * 
* * string path = 5; + * * @param value The bytes for path to set. * @return This builder for chaining. */ - public Builder setPathBytes( - com.google.protobuf.ByteString value) { + public Builder setPathBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + path_ = value; onChanged(); return this; } + @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -8939,30 +9886,33 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.storagetransfer.v1.AzureBlobStorageData) } // @@protoc_insertion_point(class_scope:google.storagetransfer.v1.AzureBlobStorageData) - private static final com.google.storagetransfer.v1.proto.TransferTypes.AzureBlobStorageData DEFAULT_INSTANCE; + private static final com.google.storagetransfer.v1.proto.TransferTypes.AzureBlobStorageData + DEFAULT_INSTANCE; + static { - DEFAULT_INSTANCE = new com.google.storagetransfer.v1.proto.TransferTypes.AzureBlobStorageData(); + DEFAULT_INSTANCE = + new com.google.storagetransfer.v1.proto.TransferTypes.AzureBlobStorageData(); } - public static com.google.storagetransfer.v1.proto.TransferTypes.AzureBlobStorageData getDefaultInstance() { + public static com.google.storagetransfer.v1.proto.TransferTypes.AzureBlobStorageData + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public AzureBlobStorageData parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new AzureBlobStorageData(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public AzureBlobStorageData parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new AzureBlobStorageData(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -8974,17 +9924,20 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.storagetransfer.v1.proto.TransferTypes.AzureBlobStorageData getDefaultInstanceForType() { + public com.google.storagetransfer.v1.proto.TransferTypes.AzureBlobStorageData + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - public interface HttpDataOrBuilder extends + public interface HttpDataOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.storagetransfer.v1.HttpData) com.google.protobuf.MessageOrBuilder { /** + * + * *
      * Required. The URL that points to the file that stores the object list
      * entries. This file must allow public access.  Currently, only URLs with
@@ -8992,10 +9945,13 @@ public interface HttpDataOrBuilder extends
      * 
* * string list_url = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The listUrl. */ java.lang.String getListUrl(); /** + * + * *
      * Required. The URL that points to the file that stores the object list
      * entries. This file must allow public access.  Currently, only URLs with
@@ -9003,12 +9959,14 @@ public interface HttpDataOrBuilder extends
      * 
* * string list_url = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for listUrl. */ - com.google.protobuf.ByteString - getListUrlBytes(); + com.google.protobuf.ByteString getListUrlBytes(); } /** + * + * *
    * An HttpData resource specifies a list of objects on the web to be transferred
    * over HTTP.  The information of the objects to be transferred is contained in
@@ -9042,31 +10000,31 @@ public interface HttpDataOrBuilder extends
    *
    * Protobuf type {@code google.storagetransfer.v1.HttpData}
    */
-  public static final class HttpData extends
-      com.google.protobuf.GeneratedMessageV3 implements
+  public static final class HttpData extends com.google.protobuf.GeneratedMessageV3
+      implements
       // @@protoc_insertion_point(message_implements:google.storagetransfer.v1.HttpData)
       HttpDataOrBuilder {
-  private static final long serialVersionUID = 0L;
+    private static final long serialVersionUID = 0L;
     // Use HttpData.newBuilder() to construct.
     private HttpData(com.google.protobuf.GeneratedMessageV3.Builder builder) {
       super(builder);
     }
+
     private HttpData() {
       listUrl_ = "";
     }
 
     @java.lang.Override
     @SuppressWarnings({"unused"})
-    protected java.lang.Object newInstance(
-        UnusedPrivateParameter unused) {
+    protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
       return new HttpData();
     }
 
     @java.lang.Override
-    public final com.google.protobuf.UnknownFieldSet
-    getUnknownFields() {
+    public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
       return this.unknownFields;
     }
+
     private HttpData(
         com.google.protobuf.CodedInputStream input,
         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -9085,19 +10043,20 @@ private HttpData(
             case 0:
               done = true;
               break;
-            case 10: {
-              java.lang.String s = input.readStringRequireUtf8();
+            case 10:
+              {
+                java.lang.String s = input.readStringRequireUtf8();
 
-              listUrl_ = s;
-              break;
-            }
-            default: {
-              if (!parseUnknownField(
-                  input, unknownFields, extensionRegistry, tag)) {
-                done = true;
+                listUrl_ = s;
+                break;
+              }
+            default:
+              {
+                if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
+                  done = true;
+                }
+                break;
               }
-              break;
-            }
           }
         }
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -9105,29 +10064,33 @@ private HttpData(
       } catch (com.google.protobuf.UninitializedMessageException e) {
         throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
       } catch (java.io.IOException e) {
-        throw new com.google.protobuf.InvalidProtocolBufferException(
-            e).setUnfinishedMessage(this);
+        throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
       } finally {
         this.unknownFields = unknownFields.build();
         makeExtensionsImmutable();
       }
     }
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.storagetransfer.v1.proto.TransferTypes.internal_static_google_storagetransfer_v1_HttpData_descriptor;
+
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.storagetransfer.v1.proto.TransferTypes
+          .internal_static_google_storagetransfer_v1_HttpData_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.storagetransfer.v1.proto.TransferTypes.internal_static_google_storagetransfer_v1_HttpData_fieldAccessorTable
+      return com.google.storagetransfer.v1.proto.TransferTypes
+          .internal_static_google_storagetransfer_v1_HttpData_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.storagetransfer.v1.proto.TransferTypes.HttpData.class, com.google.storagetransfer.v1.proto.TransferTypes.HttpData.Builder.class);
+              com.google.storagetransfer.v1.proto.TransferTypes.HttpData.class,
+              com.google.storagetransfer.v1.proto.TransferTypes.HttpData.Builder.class);
     }
 
     public static final int LIST_URL_FIELD_NUMBER = 1;
     private volatile java.lang.Object listUrl_;
     /**
+     *
+     *
      * 
      * Required. The URL that points to the file that stores the object list
      * entries. This file must allow public access.  Currently, only URLs with
@@ -9135,6 +10098,7 @@ private HttpData(
      * 
* * string list_url = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The listUrl. */ @java.lang.Override @@ -9143,14 +10107,15 @@ public java.lang.String getListUrl() { 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(); listUrl_ = s; return s; } } /** + * + * *
      * Required. The URL that points to the file that stores the object list
      * entries. This file must allow public access.  Currently, only URLs with
@@ -9158,16 +10123,15 @@ public java.lang.String getListUrl() {
      * 
* * string list_url = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for listUrl. */ @java.lang.Override - public com.google.protobuf.ByteString - getListUrlBytes() { + public com.google.protobuf.ByteString getListUrlBytes() { java.lang.Object ref = listUrl_; 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); listUrl_ = b; return b; } else { @@ -9176,6 +10140,7 @@ public java.lang.String getListUrl() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -9187,8 +10152,7 @@ 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 (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(listUrl_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, listUrl_); } @@ -9212,15 +10176,15 @@ 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.storagetransfer.v1.proto.TransferTypes.HttpData)) { return super.equals(obj); } - com.google.storagetransfer.v1.proto.TransferTypes.HttpData other = (com.google.storagetransfer.v1.proto.TransferTypes.HttpData) obj; + com.google.storagetransfer.v1.proto.TransferTypes.HttpData other = + (com.google.storagetransfer.v1.proto.TransferTypes.HttpData) obj; - if (!getListUrl() - .equals(other.getListUrl())) return false; + if (!getListUrl().equals(other.getListUrl())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -9240,87 +10204,94 @@ public int hashCode() { } public static com.google.storagetransfer.v1.proto.TransferTypes.HttpData parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.storagetransfer.v1.proto.TransferTypes.HttpData 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.storagetransfer.v1.proto.TransferTypes.HttpData parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.storagetransfer.v1.proto.TransferTypes.HttpData 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.storagetransfer.v1.proto.TransferTypes.HttpData parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.storagetransfer.v1.proto.TransferTypes.HttpData 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.storagetransfer.v1.proto.TransferTypes.HttpData parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.storagetransfer.v1.proto.TransferTypes.HttpData parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.storagetransfer.v1.proto.TransferTypes.HttpData 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.storagetransfer.v1.proto.TransferTypes.HttpData parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.storagetransfer.v1.proto.TransferTypes.HttpData parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.storagetransfer.v1.proto.TransferTypes.HttpData 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.storagetransfer.v1.proto.TransferTypes.HttpData 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.storagetransfer.v1.proto.TransferTypes.HttpData 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.storagetransfer.v1.proto.TransferTypes.HttpData prototype) { + + public static Builder newBuilder( + com.google.storagetransfer.v1.proto.TransferTypes.HttpData 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 @@ -9330,6 +10301,8 @@ protected Builder newBuilderForType( return builder; } /** + * + * *
      * An HttpData resource specifies a list of objects on the web to be transferred
      * over HTTP.  The information of the objects to be transferred is contained in
@@ -9363,21 +10336,24 @@ protected Builder newBuilderForType(
      *
      * Protobuf type {@code google.storagetransfer.v1.HttpData}
      */
-    public static final class Builder extends
-        com.google.protobuf.GeneratedMessageV3.Builder implements
+    public static final class Builder
+        extends com.google.protobuf.GeneratedMessageV3.Builder
+        implements
         // @@protoc_insertion_point(builder_implements:google.storagetransfer.v1.HttpData)
         com.google.storagetransfer.v1.proto.TransferTypes.HttpDataOrBuilder {
-      public static final com.google.protobuf.Descriptors.Descriptor
-          getDescriptor() {
-        return com.google.storagetransfer.v1.proto.TransferTypes.internal_static_google_storagetransfer_v1_HttpData_descriptor;
+      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+        return com.google.storagetransfer.v1.proto.TransferTypes
+            .internal_static_google_storagetransfer_v1_HttpData_descriptor;
       }
 
       @java.lang.Override
       protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
           internalGetFieldAccessorTable() {
-        return com.google.storagetransfer.v1.proto.TransferTypes.internal_static_google_storagetransfer_v1_HttpData_fieldAccessorTable
+        return com.google.storagetransfer.v1.proto.TransferTypes
+            .internal_static_google_storagetransfer_v1_HttpData_fieldAccessorTable
             .ensureFieldAccessorsInitialized(
-                com.google.storagetransfer.v1.proto.TransferTypes.HttpData.class, com.google.storagetransfer.v1.proto.TransferTypes.HttpData.Builder.class);
+                com.google.storagetransfer.v1.proto.TransferTypes.HttpData.class,
+                com.google.storagetransfer.v1.proto.TransferTypes.HttpData.Builder.class);
       }
 
       // Construct using com.google.storagetransfer.v1.proto.TransferTypes.HttpData.newBuilder()
@@ -9385,16 +10361,15 @@ private Builder() {
         maybeForceBuilderInitialization();
       }
 
-      private Builder(
-          com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+      private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
         super(parent);
         maybeForceBuilderInitialization();
       }
+
       private void maybeForceBuilderInitialization() {
-        if (com.google.protobuf.GeneratedMessageV3
-                .alwaysUseFieldBuilders) {
-        }
+        if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {}
       }
+
       @java.lang.Override
       public Builder clear() {
         super.clear();
@@ -9404,13 +10379,14 @@ public Builder clear() {
       }
 
       @java.lang.Override
-      public com.google.protobuf.Descriptors.Descriptor
-          getDescriptorForType() {
-        return com.google.storagetransfer.v1.proto.TransferTypes.internal_static_google_storagetransfer_v1_HttpData_descriptor;
+      public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+        return com.google.storagetransfer.v1.proto.TransferTypes
+            .internal_static_google_storagetransfer_v1_HttpData_descriptor;
       }
 
       @java.lang.Override
-      public com.google.storagetransfer.v1.proto.TransferTypes.HttpData getDefaultInstanceForType() {
+      public com.google.storagetransfer.v1.proto.TransferTypes.HttpData
+          getDefaultInstanceForType() {
         return com.google.storagetransfer.v1.proto.TransferTypes.HttpData.getDefaultInstance();
       }
 
@@ -9425,7 +10401,8 @@ public com.google.storagetransfer.v1.proto.TransferTypes.HttpData build() {
 
       @java.lang.Override
       public com.google.storagetransfer.v1.proto.TransferTypes.HttpData buildPartial() {
-        com.google.storagetransfer.v1.proto.TransferTypes.HttpData result = new com.google.storagetransfer.v1.proto.TransferTypes.HttpData(this);
+        com.google.storagetransfer.v1.proto.TransferTypes.HttpData result =
+            new com.google.storagetransfer.v1.proto.TransferTypes.HttpData(this);
         result.listUrl_ = listUrl_;
         onBuilt();
         return result;
@@ -9435,38 +10412,41 @@ public com.google.storagetransfer.v1.proto.TransferTypes.HttpData buildPartial()
       public Builder clone() {
         return super.clone();
       }
+
       @java.lang.Override
       public Builder setField(
-          com.google.protobuf.Descriptors.FieldDescriptor field,
-          java.lang.Object value) {
+          com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
         return super.setField(field, value);
       }
+
       @java.lang.Override
-      public Builder clearField(
-          com.google.protobuf.Descriptors.FieldDescriptor field) {
+      public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
         return super.clearField(field);
       }
+
       @java.lang.Override
-      public Builder clearOneof(
-          com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+      public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
         return super.clearOneof(oneof);
       }
+
       @java.lang.Override
       public Builder setRepeatedField(
           com.google.protobuf.Descriptors.FieldDescriptor field,
-          int index, java.lang.Object value) {
+          int index,
+          java.lang.Object value) {
         return super.setRepeatedField(field, index, value);
       }
+
       @java.lang.Override
       public Builder addRepeatedField(
-          com.google.protobuf.Descriptors.FieldDescriptor field,
-          java.lang.Object value) {
+          com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
         return super.addRepeatedField(field, value);
       }
+
       @java.lang.Override
       public Builder mergeFrom(com.google.protobuf.Message other) {
         if (other instanceof com.google.storagetransfer.v1.proto.TransferTypes.HttpData) {
-          return mergeFrom((com.google.storagetransfer.v1.proto.TransferTypes.HttpData)other);
+          return mergeFrom((com.google.storagetransfer.v1.proto.TransferTypes.HttpData) other);
         } else {
           super.mergeFrom(other);
           return this;
@@ -9474,7 +10454,9 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
       }
 
       public Builder mergeFrom(com.google.storagetransfer.v1.proto.TransferTypes.HttpData other) {
-        if (other == com.google.storagetransfer.v1.proto.TransferTypes.HttpData.getDefaultInstance()) return this;
+        if (other
+            == com.google.storagetransfer.v1.proto.TransferTypes.HttpData.getDefaultInstance())
+          return this;
         if (!other.getListUrl().isEmpty()) {
           listUrl_ = other.listUrl_;
           onChanged();
@@ -9498,7 +10480,8 @@ public Builder mergeFrom(
         try {
           parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
         } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-          parsedMessage = (com.google.storagetransfer.v1.proto.TransferTypes.HttpData) e.getUnfinishedMessage();
+          parsedMessage =
+              (com.google.storagetransfer.v1.proto.TransferTypes.HttpData) e.getUnfinishedMessage();
           throw e.unwrapIOException();
         } finally {
           if (parsedMessage != null) {
@@ -9510,6 +10493,8 @@ public Builder mergeFrom(
 
       private java.lang.Object listUrl_ = "";
       /**
+       *
+       *
        * 
        * Required. The URL that points to the file that stores the object list
        * entries. This file must allow public access.  Currently, only URLs with
@@ -9517,13 +10502,13 @@ public Builder mergeFrom(
        * 
* * string list_url = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The listUrl. */ public java.lang.String getListUrl() { java.lang.Object ref = listUrl_; 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(); listUrl_ = s; return s; @@ -9532,6 +10517,8 @@ public java.lang.String getListUrl() { } } /** + * + * *
        * Required. The URL that points to the file that stores the object list
        * entries. This file must allow public access.  Currently, only URLs with
@@ -9539,15 +10526,14 @@ public java.lang.String getListUrl() {
        * 
* * string list_url = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for listUrl. */ - public com.google.protobuf.ByteString - getListUrlBytes() { + public com.google.protobuf.ByteString getListUrlBytes() { java.lang.Object ref = listUrl_; 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); listUrl_ = b; return b; } else { @@ -9555,6 +10541,8 @@ public java.lang.String getListUrl() { } } /** + * + * *
        * Required. The URL that points to the file that stores the object list
        * entries. This file must allow public access.  Currently, only URLs with
@@ -9562,20 +10550,22 @@ public java.lang.String getListUrl() {
        * 
* * string list_url = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The listUrl to set. * @return This builder for chaining. */ - public Builder setListUrl( - java.lang.String value) { + public Builder setListUrl(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + listUrl_ = value; onChanged(); return this; } /** + * + * *
        * Required. The URL that points to the file that stores the object list
        * entries. This file must allow public access.  Currently, only URLs with
@@ -9583,15 +10573,18 @@ public Builder setListUrl(
        * 
* * string list_url = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return This builder for chaining. */ public Builder clearListUrl() { - + listUrl_ = getDefaultInstance().getListUrl(); onChanged(); return this; } /** + * + * *
        * Required. The URL that points to the file that stores the object list
        * entries. This file must allow public access.  Currently, only URLs with
@@ -9599,20 +10592,21 @@ public Builder clearListUrl() {
        * 
* * string list_url = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The bytes for listUrl to set. * @return This builder for chaining. */ - public Builder setListUrlBytes( - com.google.protobuf.ByteString value) { + public Builder setListUrlBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + listUrl_ = value; onChanged(); return this; } + @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -9625,12 +10619,13 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.storagetransfer.v1.HttpData) } // @@protoc_insertion_point(class_scope:google.storagetransfer.v1.HttpData) - private static final com.google.storagetransfer.v1.proto.TransferTypes.HttpData DEFAULT_INSTANCE; + private static final com.google.storagetransfer.v1.proto.TransferTypes.HttpData + DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.storagetransfer.v1.proto.TransferTypes.HttpData(); } @@ -9639,16 +10634,16 @@ public static com.google.storagetransfer.v1.proto.TransferTypes.HttpData getDefa return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public HttpData parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new HttpData(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public HttpData parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new HttpData(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -9663,65 +10658,72 @@ public com.google.protobuf.Parser getParserForType() { public com.google.storagetransfer.v1.proto.TransferTypes.HttpData getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - public interface PosixFilesystemOrBuilder extends + public interface PosixFilesystemOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.storagetransfer.v1.PosixFilesystem) com.google.protobuf.MessageOrBuilder { /** + * + * *
      * Root directory path to the filesystem.
      * 
* * string root_directory = 1; + * * @return The rootDirectory. */ java.lang.String getRootDirectory(); /** + * + * *
      * Root directory path to the filesystem.
      * 
* * string root_directory = 1; + * * @return The bytes for rootDirectory. */ - com.google.protobuf.ByteString - getRootDirectoryBytes(); + com.google.protobuf.ByteString getRootDirectoryBytes(); } /** + * + * *
    * A POSIX filesystem resource.
    * 
* * Protobuf type {@code google.storagetransfer.v1.PosixFilesystem} */ - public static final class PosixFilesystem extends - com.google.protobuf.GeneratedMessageV3 implements + public static final class PosixFilesystem extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.storagetransfer.v1.PosixFilesystem) PosixFilesystemOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use PosixFilesystem.newBuilder() to construct. private PosixFilesystem(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private PosixFilesystem() { rootDirectory_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new PosixFilesystem(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private PosixFilesystem( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -9740,19 +10742,20 @@ private PosixFilesystem( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - rootDirectory_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + rootDirectory_ = s; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -9760,34 +10763,39 @@ private PosixFilesystem( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.storagetransfer.v1.proto.TransferTypes.internal_static_google_storagetransfer_v1_PosixFilesystem_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.storagetransfer.v1.proto.TransferTypes + .internal_static_google_storagetransfer_v1_PosixFilesystem_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.storagetransfer.v1.proto.TransferTypes.internal_static_google_storagetransfer_v1_PosixFilesystem_fieldAccessorTable + return com.google.storagetransfer.v1.proto.TransferTypes + .internal_static_google_storagetransfer_v1_PosixFilesystem_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.storagetransfer.v1.proto.TransferTypes.PosixFilesystem.class, com.google.storagetransfer.v1.proto.TransferTypes.PosixFilesystem.Builder.class); + com.google.storagetransfer.v1.proto.TransferTypes.PosixFilesystem.class, + com.google.storagetransfer.v1.proto.TransferTypes.PosixFilesystem.Builder.class); } public static final int ROOT_DIRECTORY_FIELD_NUMBER = 1; private volatile java.lang.Object rootDirectory_; /** + * + * *
      * Root directory path to the filesystem.
      * 
* * string root_directory = 1; + * * @return The rootDirectory. */ @java.lang.Override @@ -9796,29 +10804,29 @@ public java.lang.String getRootDirectory() { 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(); rootDirectory_ = s; return s; } } /** + * + * *
      * Root directory path to the filesystem.
      * 
* * string root_directory = 1; + * * @return The bytes for rootDirectory. */ @java.lang.Override - public com.google.protobuf.ByteString - getRootDirectoryBytes() { + public com.google.protobuf.ByteString getRootDirectoryBytes() { java.lang.Object ref = rootDirectory_; 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); rootDirectory_ = b; return b; } else { @@ -9827,6 +10835,7 @@ public java.lang.String getRootDirectory() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -9838,8 +10847,7 @@ 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 (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(rootDirectory_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, rootDirectory_); } @@ -9863,15 +10871,15 @@ 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.storagetransfer.v1.proto.TransferTypes.PosixFilesystem)) { return super.equals(obj); } - com.google.storagetransfer.v1.proto.TransferTypes.PosixFilesystem other = (com.google.storagetransfer.v1.proto.TransferTypes.PosixFilesystem) obj; + com.google.storagetransfer.v1.proto.TransferTypes.PosixFilesystem other = + (com.google.storagetransfer.v1.proto.TransferTypes.PosixFilesystem) obj; - if (!getRootDirectory() - .equals(other.getRootDirectory())) return false; + if (!getRootDirectory().equals(other.getRootDirectory())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -9891,87 +10899,95 @@ public int hashCode() { } public static com.google.storagetransfer.v1.proto.TransferTypes.PosixFilesystem parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.storagetransfer.v1.proto.TransferTypes.PosixFilesystem 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.storagetransfer.v1.proto.TransferTypes.PosixFilesystem parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.storagetransfer.v1.proto.TransferTypes.PosixFilesystem 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.storagetransfer.v1.proto.TransferTypes.PosixFilesystem parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.storagetransfer.v1.proto.TransferTypes.PosixFilesystem parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.storagetransfer.v1.proto.TransferTypes.PosixFilesystem 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.storagetransfer.v1.proto.TransferTypes.PosixFilesystem parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.storagetransfer.v1.proto.TransferTypes.PosixFilesystem parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.storagetransfer.v1.proto.TransferTypes.PosixFilesystem 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.storagetransfer.v1.proto.TransferTypes.PosixFilesystem parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.storagetransfer.v1.proto.TransferTypes.PosixFilesystem + parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } - public static com.google.storagetransfer.v1.proto.TransferTypes.PosixFilesystem parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + + public static com.google.storagetransfer.v1.proto.TransferTypes.PosixFilesystem + parseDelimitedFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.storagetransfer.v1.proto.TransferTypes.PosixFilesystem 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.storagetransfer.v1.proto.TransferTypes.PosixFilesystem 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.storagetransfer.v1.proto.TransferTypes.PosixFilesystem prototype) { + + public static Builder newBuilder( + com.google.storagetransfer.v1.proto.TransferTypes.PosixFilesystem 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 @@ -9981,44 +10997,49 @@ protected Builder newBuilderForType( return builder; } /** + * + * *
      * A POSIX filesystem resource.
      * 
* * Protobuf type {@code google.storagetransfer.v1.PosixFilesystem} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder + extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.storagetransfer.v1.PosixFilesystem) com.google.storagetransfer.v1.proto.TransferTypes.PosixFilesystemOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.storagetransfer.v1.proto.TransferTypes.internal_static_google_storagetransfer_v1_PosixFilesystem_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.storagetransfer.v1.proto.TransferTypes + .internal_static_google_storagetransfer_v1_PosixFilesystem_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.storagetransfer.v1.proto.TransferTypes.internal_static_google_storagetransfer_v1_PosixFilesystem_fieldAccessorTable + return com.google.storagetransfer.v1.proto.TransferTypes + .internal_static_google_storagetransfer_v1_PosixFilesystem_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.storagetransfer.v1.proto.TransferTypes.PosixFilesystem.class, com.google.storagetransfer.v1.proto.TransferTypes.PosixFilesystem.Builder.class); + com.google.storagetransfer.v1.proto.TransferTypes.PosixFilesystem.class, + com.google.storagetransfer.v1.proto.TransferTypes.PosixFilesystem.Builder.class); } - // Construct using com.google.storagetransfer.v1.proto.TransferTypes.PosixFilesystem.newBuilder() + // Construct using + // com.google.storagetransfer.v1.proto.TransferTypes.PosixFilesystem.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -10028,14 +11049,16 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.storagetransfer.v1.proto.TransferTypes.internal_static_google_storagetransfer_v1_PosixFilesystem_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.storagetransfer.v1.proto.TransferTypes + .internal_static_google_storagetransfer_v1_PosixFilesystem_descriptor; } @java.lang.Override - public com.google.storagetransfer.v1.proto.TransferTypes.PosixFilesystem getDefaultInstanceForType() { - return com.google.storagetransfer.v1.proto.TransferTypes.PosixFilesystem.getDefaultInstance(); + public com.google.storagetransfer.v1.proto.TransferTypes.PosixFilesystem + getDefaultInstanceForType() { + return com.google.storagetransfer.v1.proto.TransferTypes.PosixFilesystem + .getDefaultInstance(); } @java.lang.Override @@ -10049,7 +11072,8 @@ public com.google.storagetransfer.v1.proto.TransferTypes.PosixFilesystem build() @java.lang.Override public com.google.storagetransfer.v1.proto.TransferTypes.PosixFilesystem buildPartial() { - com.google.storagetransfer.v1.proto.TransferTypes.PosixFilesystem result = new com.google.storagetransfer.v1.proto.TransferTypes.PosixFilesystem(this); + com.google.storagetransfer.v1.proto.TransferTypes.PosixFilesystem result = + new com.google.storagetransfer.v1.proto.TransferTypes.PosixFilesystem(this); result.rootDirectory_ = rootDirectory_; onBuilt(); return result; @@ -10059,46 +11083,53 @@ public com.google.storagetransfer.v1.proto.TransferTypes.PosixFilesystem buildPa public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + int index, + java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.storagetransfer.v1.proto.TransferTypes.PosixFilesystem) { - return mergeFrom((com.google.storagetransfer.v1.proto.TransferTypes.PosixFilesystem)other); + return mergeFrom( + (com.google.storagetransfer.v1.proto.TransferTypes.PosixFilesystem) other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.google.storagetransfer.v1.proto.TransferTypes.PosixFilesystem other) { - if (other == com.google.storagetransfer.v1.proto.TransferTypes.PosixFilesystem.getDefaultInstance()) return this; + public Builder mergeFrom( + com.google.storagetransfer.v1.proto.TransferTypes.PosixFilesystem other) { + if (other + == com.google.storagetransfer.v1.proto.TransferTypes.PosixFilesystem + .getDefaultInstance()) return this; if (!other.getRootDirectory().isEmpty()) { rootDirectory_ = other.rootDirectory_; onChanged(); @@ -10122,7 +11153,9 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.storagetransfer.v1.proto.TransferTypes.PosixFilesystem) e.getUnfinishedMessage(); + parsedMessage = + (com.google.storagetransfer.v1.proto.TransferTypes.PosixFilesystem) + e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -10134,18 +11167,20 @@ public Builder mergeFrom( private java.lang.Object rootDirectory_ = ""; /** + * + * *
        * Root directory path to the filesystem.
        * 
* * string root_directory = 1; + * * @return The rootDirectory. */ public java.lang.String getRootDirectory() { java.lang.Object ref = rootDirectory_; 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(); rootDirectory_ = s; return s; @@ -10154,20 +11189,21 @@ public java.lang.String getRootDirectory() { } } /** + * + * *
        * Root directory path to the filesystem.
        * 
* * string root_directory = 1; + * * @return The bytes for rootDirectory. */ - public com.google.protobuf.ByteString - getRootDirectoryBytes() { + public com.google.protobuf.ByteString getRootDirectoryBytes() { java.lang.Object ref = rootDirectory_; 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); rootDirectory_ = b; return b; } else { @@ -10175,58 +11211,66 @@ public java.lang.String getRootDirectory() { } } /** + * + * *
        * Root directory path to the filesystem.
        * 
* * string root_directory = 1; + * * @param value The rootDirectory to set. * @return This builder for chaining. */ - public Builder setRootDirectory( - java.lang.String value) { + public Builder setRootDirectory(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + rootDirectory_ = value; onChanged(); return this; } /** + * + * *
        * Root directory path to the filesystem.
        * 
* * string root_directory = 1; + * * @return This builder for chaining. */ public Builder clearRootDirectory() { - + rootDirectory_ = getDefaultInstance().getRootDirectory(); onChanged(); return this; } /** + * + * *
        * Root directory path to the filesystem.
        * 
* * string root_directory = 1; + * * @param value The bytes for rootDirectory to set. * @return This builder for chaining. */ - public Builder setRootDirectoryBytes( - com.google.protobuf.ByteString value) { + public Builder setRootDirectoryBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + rootDirectory_ = value; onChanged(); return this; } + @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -10239,30 +11283,32 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.storagetransfer.v1.PosixFilesystem) } // @@protoc_insertion_point(class_scope:google.storagetransfer.v1.PosixFilesystem) - private static final com.google.storagetransfer.v1.proto.TransferTypes.PosixFilesystem DEFAULT_INSTANCE; + private static final com.google.storagetransfer.v1.proto.TransferTypes.PosixFilesystem + DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.storagetransfer.v1.proto.TransferTypes.PosixFilesystem(); } - public static com.google.storagetransfer.v1.proto.TransferTypes.PosixFilesystem getDefaultInstance() { + public static com.google.storagetransfer.v1.proto.TransferTypes.PosixFilesystem + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public PosixFilesystem parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new PosixFilesystem(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public PosixFilesystem parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new PosixFilesystem(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -10274,37 +11320,45 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.storagetransfer.v1.proto.TransferTypes.PosixFilesystem getDefaultInstanceForType() { + public com.google.storagetransfer.v1.proto.TransferTypes.PosixFilesystem + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - public interface AwsS3CompatibleDataOrBuilder extends + public interface AwsS3CompatibleDataOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.storagetransfer.v1.AwsS3CompatibleData) com.google.protobuf.MessageOrBuilder { /** + * + * *
      * Required. Specifies the name of the bucket.
      * 
* * string bucket_name = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bucketName. */ java.lang.String getBucketName(); /** + * + * *
      * Required. Specifies the name of the bucket.
      * 
* * string bucket_name = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for bucketName. */ - com.google.protobuf.ByteString - getBucketNameBytes(); + com.google.protobuf.ByteString getBucketNameBytes(); /** + * + * *
      * Specifies the root path to transfer objects.
      * Must be an empty string or full path name that ends with a '/'. This
@@ -10313,10 +11367,13 @@ public interface AwsS3CompatibleDataOrBuilder extends
      * 
* * string path = 2; + * * @return The path. */ java.lang.String getPath(); /** + * + * *
      * Specifies the root path to transfer objects.
      * Must be an empty string or full path name that ends with a '/'. This
@@ -10325,98 +11382,121 @@ public interface AwsS3CompatibleDataOrBuilder extends
      * 
* * string path = 2; + * * @return The bytes for path. */ - com.google.protobuf.ByteString - getPathBytes(); + com.google.protobuf.ByteString getPathBytes(); /** + * + * *
      * Required. Specifies the endpoint of the storage service.
      * 
* * string endpoint = 3 [(.google.api.field_behavior) = REQUIRED]; + * * @return The endpoint. */ java.lang.String getEndpoint(); /** + * + * *
      * Required. Specifies the endpoint of the storage service.
      * 
* * string endpoint = 3 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for endpoint. */ - com.google.protobuf.ByteString - getEndpointBytes(); + com.google.protobuf.ByteString getEndpointBytes(); /** + * + * *
      * Specifies the region to sign requests with. This can be left blank if
      * requests should be signed with an empty region.
      * 
* * string region = 5; + * * @return The region. */ java.lang.String getRegion(); /** + * + * *
      * Specifies the region to sign requests with. This can be left blank if
      * requests should be signed with an empty region.
      * 
* * string region = 5; + * * @return The bytes for region. */ - com.google.protobuf.ByteString - getRegionBytes(); + com.google.protobuf.ByteString getRegionBytes(); /** + * + * *
      * A S3 compatible metadata.
      * 
* * .google.storagetransfer.v1.S3CompatibleMetadata s3_metadata = 4; + * * @return Whether the s3Metadata field is set. */ boolean hasS3Metadata(); /** + * + * *
      * A S3 compatible metadata.
      * 
* * .google.storagetransfer.v1.S3CompatibleMetadata s3_metadata = 4; + * * @return The s3Metadata. */ com.google.storagetransfer.v1.proto.TransferTypes.S3CompatibleMetadata getS3Metadata(); /** + * + * *
      * A S3 compatible metadata.
      * 
* * .google.storagetransfer.v1.S3CompatibleMetadata s3_metadata = 4; */ - com.google.storagetransfer.v1.proto.TransferTypes.S3CompatibleMetadataOrBuilder getS3MetadataOrBuilder(); + com.google.storagetransfer.v1.proto.TransferTypes.S3CompatibleMetadataOrBuilder + getS3MetadataOrBuilder(); - public com.google.storagetransfer.v1.proto.TransferTypes.AwsS3CompatibleData.DataProviderCase getDataProviderCase(); + public com.google.storagetransfer.v1.proto.TransferTypes.AwsS3CompatibleData.DataProviderCase + getDataProviderCase(); } /** + * + * *
    * An AwsS3CompatibleData resource.
    * 
* * Protobuf type {@code google.storagetransfer.v1.AwsS3CompatibleData} */ - public static final class AwsS3CompatibleData extends - com.google.protobuf.GeneratedMessageV3 implements + public static final class AwsS3CompatibleData extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.storagetransfer.v1.AwsS3CompatibleData) AwsS3CompatibleDataOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use AwsS3CompatibleData.newBuilder() to construct. private AwsS3CompatibleData(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private AwsS3CompatibleData() { bucketName_ = ""; path_ = ""; @@ -10426,16 +11506,15 @@ private AwsS3CompatibleData() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new AwsS3CompatibleData(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private AwsS3CompatibleData( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -10454,51 +11533,65 @@ private AwsS3CompatibleData( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - bucketName_ = s; - break; - } - case 18: { - java.lang.String s = input.readStringRequireUtf8(); + bucketName_ = s; + break; + } + case 18: + { + java.lang.String s = input.readStringRequireUtf8(); - path_ = s; - break; - } - case 26: { - java.lang.String s = input.readStringRequireUtf8(); + path_ = s; + break; + } + case 26: + { + java.lang.String s = input.readStringRequireUtf8(); - endpoint_ = s; - break; - } - case 34: { - com.google.storagetransfer.v1.proto.TransferTypes.S3CompatibleMetadata.Builder subBuilder = null; - if (dataProviderCase_ == 4) { - subBuilder = ((com.google.storagetransfer.v1.proto.TransferTypes.S3CompatibleMetadata) dataProvider_).toBuilder(); + endpoint_ = s; + break; } - dataProvider_ = - input.readMessage(com.google.storagetransfer.v1.proto.TransferTypes.S3CompatibleMetadata.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom((com.google.storagetransfer.v1.proto.TransferTypes.S3CompatibleMetadata) dataProvider_); - dataProvider_ = subBuilder.buildPartial(); + case 34: + { + com.google.storagetransfer.v1.proto.TransferTypes.S3CompatibleMetadata.Builder + subBuilder = null; + if (dataProviderCase_ == 4) { + subBuilder = + ((com.google.storagetransfer.v1.proto.TransferTypes.S3CompatibleMetadata) + dataProvider_) + .toBuilder(); + } + dataProvider_ = + input.readMessage( + com.google.storagetransfer.v1.proto.TransferTypes.S3CompatibleMetadata + .parser(), + extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom( + (com.google.storagetransfer.v1.proto.TransferTypes.S3CompatibleMetadata) + dataProvider_); + dataProvider_ = subBuilder.buildPartial(); + } + dataProviderCase_ = 4; + break; } - dataProviderCase_ = 4; - break; - } - case 42: { - java.lang.String s = input.readStringRequireUtf8(); + case 42: + { + java.lang.String s = input.readStringRequireUtf8(); - region_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + region_ = s; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -10506,34 +11599,39 @@ private AwsS3CompatibleData( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.storagetransfer.v1.proto.TransferTypes.internal_static_google_storagetransfer_v1_AwsS3CompatibleData_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.storagetransfer.v1.proto.TransferTypes + .internal_static_google_storagetransfer_v1_AwsS3CompatibleData_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.storagetransfer.v1.proto.TransferTypes.internal_static_google_storagetransfer_v1_AwsS3CompatibleData_fieldAccessorTable + return com.google.storagetransfer.v1.proto.TransferTypes + .internal_static_google_storagetransfer_v1_AwsS3CompatibleData_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.storagetransfer.v1.proto.TransferTypes.AwsS3CompatibleData.class, com.google.storagetransfer.v1.proto.TransferTypes.AwsS3CompatibleData.Builder.class); + com.google.storagetransfer.v1.proto.TransferTypes.AwsS3CompatibleData.class, + com.google.storagetransfer.v1.proto.TransferTypes.AwsS3CompatibleData.Builder.class); } private int dataProviderCase_ = 0; private java.lang.Object dataProvider_; + public enum DataProviderCase - implements com.google.protobuf.Internal.EnumLite, + implements + com.google.protobuf.Internal.EnumLite, com.google.protobuf.AbstractMessage.InternalOneOfEnum { S3_METADATA(4), DATAPROVIDER_NOT_SET(0); private final int value; + private DataProviderCase(int value) { this.value = value; } @@ -10549,30 +11647,35 @@ public static DataProviderCase valueOf(int value) { public static DataProviderCase forNumber(int value) { switch (value) { - case 4: return S3_METADATA; - case 0: return DATAPROVIDER_NOT_SET; - default: return null; + case 4: + return S3_METADATA; + case 0: + return DATAPROVIDER_NOT_SET; + default: + return null; } } + public int getNumber() { return this.value; } }; - public DataProviderCase - getDataProviderCase() { - return DataProviderCase.forNumber( - dataProviderCase_); + public DataProviderCase getDataProviderCase() { + return DataProviderCase.forNumber(dataProviderCase_); } public static final int BUCKET_NAME_FIELD_NUMBER = 1; private volatile java.lang.Object bucketName_; /** + * + * *
      * Required. Specifies the name of the bucket.
      * 
* * string bucket_name = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bucketName. */ @java.lang.Override @@ -10581,29 +11684,29 @@ public java.lang.String getBucketName() { 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(); bucketName_ = s; return s; } } /** + * + * *
      * Required. Specifies the name of the bucket.
      * 
* * string bucket_name = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for bucketName. */ @java.lang.Override - public com.google.protobuf.ByteString - getBucketNameBytes() { + public com.google.protobuf.ByteString getBucketNameBytes() { java.lang.Object ref = bucketName_; 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); bucketName_ = b; return b; } else { @@ -10614,6 +11717,8 @@ public java.lang.String getBucketName() { public static final int PATH_FIELD_NUMBER = 2; private volatile java.lang.Object path_; /** + * + * *
      * Specifies the root path to transfer objects.
      * Must be an empty string or full path name that ends with a '/'. This
@@ -10622,6 +11727,7 @@ public java.lang.String getBucketName() {
      * 
* * string path = 2; + * * @return The path. */ @java.lang.Override @@ -10630,14 +11736,15 @@ public java.lang.String getPath() { 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(); path_ = s; return s; } } /** + * + * *
      * Specifies the root path to transfer objects.
      * Must be an empty string or full path name that ends with a '/'. This
@@ -10646,16 +11753,15 @@ public java.lang.String getPath() {
      * 
* * string path = 2; + * * @return The bytes for path. */ @java.lang.Override - public com.google.protobuf.ByteString - getPathBytes() { + public com.google.protobuf.ByteString getPathBytes() { java.lang.Object ref = path_; 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); path_ = b; return b; } else { @@ -10666,11 +11772,14 @@ public java.lang.String getPath() { public static final int ENDPOINT_FIELD_NUMBER = 3; private volatile java.lang.Object endpoint_; /** + * + * *
      * Required. Specifies the endpoint of the storage service.
      * 
* * string endpoint = 3 [(.google.api.field_behavior) = REQUIRED]; + * * @return The endpoint. */ @java.lang.Override @@ -10679,29 +11788,29 @@ public java.lang.String getEndpoint() { 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(); endpoint_ = s; return s; } } /** + * + * *
      * Required. Specifies the endpoint of the storage service.
      * 
* * string endpoint = 3 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for endpoint. */ @java.lang.Override - public com.google.protobuf.ByteString - getEndpointBytes() { + public com.google.protobuf.ByteString getEndpointBytes() { java.lang.Object ref = endpoint_; 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); endpoint_ = b; return b; } else { @@ -10712,12 +11821,15 @@ public java.lang.String getEndpoint() { public static final int REGION_FIELD_NUMBER = 5; private volatile java.lang.Object region_; /** + * + * *
      * Specifies the region to sign requests with. This can be left blank if
      * requests should be signed with an empty region.
      * 
* * string region = 5; + * * @return The region. */ @java.lang.Override @@ -10726,30 +11838,30 @@ public java.lang.String getRegion() { 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(); region_ = s; return s; } } /** + * + * *
      * Specifies the region to sign requests with. This can be left blank if
      * requests should be signed with an empty region.
      * 
* * string region = 5; + * * @return The bytes for region. */ @java.lang.Override - public com.google.protobuf.ByteString - getRegionBytes() { + public com.google.protobuf.ByteString getRegionBytes() { java.lang.Object ref = region_; 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); region_ = b; return b; } else { @@ -10759,11 +11871,14 @@ public java.lang.String getRegion() { public static final int S3_METADATA_FIELD_NUMBER = 4; /** + * + * *
      * A S3 compatible metadata.
      * 
* * .google.storagetransfer.v1.S3CompatibleMetadata s3_metadata = 4; + * * @return Whether the s3Metadata field is set. */ @java.lang.Override @@ -10771,21 +11886,28 @@ public boolean hasS3Metadata() { return dataProviderCase_ == 4; } /** + * + * *
      * A S3 compatible metadata.
      * 
* * .google.storagetransfer.v1.S3CompatibleMetadata s3_metadata = 4; + * * @return The s3Metadata. */ @java.lang.Override public com.google.storagetransfer.v1.proto.TransferTypes.S3CompatibleMetadata getS3Metadata() { if (dataProviderCase_ == 4) { - return (com.google.storagetransfer.v1.proto.TransferTypes.S3CompatibleMetadata) dataProvider_; + return (com.google.storagetransfer.v1.proto.TransferTypes.S3CompatibleMetadata) + dataProvider_; } - return com.google.storagetransfer.v1.proto.TransferTypes.S3CompatibleMetadata.getDefaultInstance(); + return com.google.storagetransfer.v1.proto.TransferTypes.S3CompatibleMetadata + .getDefaultInstance(); } /** + * + * *
      * A S3 compatible metadata.
      * 
@@ -10793,14 +11915,18 @@ public com.google.storagetransfer.v1.proto.TransferTypes.S3CompatibleMetadata ge * .google.storagetransfer.v1.S3CompatibleMetadata s3_metadata = 4; */ @java.lang.Override - public com.google.storagetransfer.v1.proto.TransferTypes.S3CompatibleMetadataOrBuilder getS3MetadataOrBuilder() { + public com.google.storagetransfer.v1.proto.TransferTypes.S3CompatibleMetadataOrBuilder + getS3MetadataOrBuilder() { if (dataProviderCase_ == 4) { - return (com.google.storagetransfer.v1.proto.TransferTypes.S3CompatibleMetadata) dataProvider_; + return (com.google.storagetransfer.v1.proto.TransferTypes.S3CompatibleMetadata) + dataProvider_; } - return com.google.storagetransfer.v1.proto.TransferTypes.S3CompatibleMetadata.getDefaultInstance(); + return com.google.storagetransfer.v1.proto.TransferTypes.S3CompatibleMetadata + .getDefaultInstance(); } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -10812,8 +11938,7 @@ 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 (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(bucketName_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, bucketName_); } @@ -10824,7 +11949,9 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) com.google.protobuf.GeneratedMessageV3.writeString(output, 3, endpoint_); } if (dataProviderCase_ == 4) { - output.writeMessage(4, (com.google.storagetransfer.v1.proto.TransferTypes.S3CompatibleMetadata) dataProvider_); + output.writeMessage( + 4, + (com.google.storagetransfer.v1.proto.TransferTypes.S3CompatibleMetadata) dataProvider_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(region_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 5, region_); @@ -10848,8 +11975,11 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, endpoint_); } if (dataProviderCase_ == 4) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(4, (com.google.storagetransfer.v1.proto.TransferTypes.S3CompatibleMetadata) dataProvider_); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 4, + (com.google.storagetransfer.v1.proto.TransferTypes.S3CompatibleMetadata) + dataProvider_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(region_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(5, region_); @@ -10862,26 +11992,22 @@ 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.storagetransfer.v1.proto.TransferTypes.AwsS3CompatibleData)) { return super.equals(obj); } - com.google.storagetransfer.v1.proto.TransferTypes.AwsS3CompatibleData other = (com.google.storagetransfer.v1.proto.TransferTypes.AwsS3CompatibleData) obj; + com.google.storagetransfer.v1.proto.TransferTypes.AwsS3CompatibleData other = + (com.google.storagetransfer.v1.proto.TransferTypes.AwsS3CompatibleData) obj; - if (!getBucketName() - .equals(other.getBucketName())) return false; - if (!getPath() - .equals(other.getPath())) return false; - if (!getEndpoint() - .equals(other.getEndpoint())) return false; - if (!getRegion() - .equals(other.getRegion())) return false; + if (!getBucketName().equals(other.getBucketName())) return false; + if (!getPath().equals(other.getPath())) return false; + if (!getEndpoint().equals(other.getEndpoint())) return false; + if (!getRegion().equals(other.getRegion())) return false; if (!getDataProviderCase().equals(other.getDataProviderCase())) return false; switch (dataProviderCase_) { case 4: - if (!getS3Metadata() - .equals(other.getS3Metadata())) return false; + if (!getS3Metadata().equals(other.getS3Metadata())) return false; break; case 0: default: @@ -10919,87 +12045,95 @@ public int hashCode() { } public static com.google.storagetransfer.v1.proto.TransferTypes.AwsS3CompatibleData parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.storagetransfer.v1.proto.TransferTypes.AwsS3CompatibleData 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.storagetransfer.v1.proto.TransferTypes.AwsS3CompatibleData parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.storagetransfer.v1.proto.TransferTypes.AwsS3CompatibleData 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.storagetransfer.v1.proto.TransferTypes.AwsS3CompatibleData parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.storagetransfer.v1.proto.TransferTypes.AwsS3CompatibleData parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.storagetransfer.v1.proto.TransferTypes.AwsS3CompatibleData 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.storagetransfer.v1.proto.TransferTypes.AwsS3CompatibleData parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.storagetransfer.v1.proto.TransferTypes.AwsS3CompatibleData parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.storagetransfer.v1.proto.TransferTypes.AwsS3CompatibleData 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.storagetransfer.v1.proto.TransferTypes.AwsS3CompatibleData parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.storagetransfer.v1.proto.TransferTypes.AwsS3CompatibleData + parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } - public static com.google.storagetransfer.v1.proto.TransferTypes.AwsS3CompatibleData parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + + public static com.google.storagetransfer.v1.proto.TransferTypes.AwsS3CompatibleData + parseDelimitedFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.storagetransfer.v1.proto.TransferTypes.AwsS3CompatibleData 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.storagetransfer.v1.proto.TransferTypes.AwsS3CompatibleData 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.storagetransfer.v1.proto.TransferTypes.AwsS3CompatibleData prototype) { + + public static Builder newBuilder( + com.google.storagetransfer.v1.proto.TransferTypes.AwsS3CompatibleData 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 @@ -11009,44 +12143,50 @@ protected Builder newBuilderForType( return builder; } /** + * + * *
      * An AwsS3CompatibleData resource.
      * 
* * Protobuf type {@code google.storagetransfer.v1.AwsS3CompatibleData} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder + extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.storagetransfer.v1.AwsS3CompatibleData) com.google.storagetransfer.v1.proto.TransferTypes.AwsS3CompatibleDataOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.storagetransfer.v1.proto.TransferTypes.internal_static_google_storagetransfer_v1_AwsS3CompatibleData_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.storagetransfer.v1.proto.TransferTypes + .internal_static_google_storagetransfer_v1_AwsS3CompatibleData_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.storagetransfer.v1.proto.TransferTypes.internal_static_google_storagetransfer_v1_AwsS3CompatibleData_fieldAccessorTable + return com.google.storagetransfer.v1.proto.TransferTypes + .internal_static_google_storagetransfer_v1_AwsS3CompatibleData_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.storagetransfer.v1.proto.TransferTypes.AwsS3CompatibleData.class, com.google.storagetransfer.v1.proto.TransferTypes.AwsS3CompatibleData.Builder.class); + com.google.storagetransfer.v1.proto.TransferTypes.AwsS3CompatibleData.class, + com.google.storagetransfer.v1.proto.TransferTypes.AwsS3CompatibleData.Builder + .class); } - // Construct using com.google.storagetransfer.v1.proto.TransferTypes.AwsS3CompatibleData.newBuilder() + // Construct using + // com.google.storagetransfer.v1.proto.TransferTypes.AwsS3CompatibleData.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -11064,19 +12204,22 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.storagetransfer.v1.proto.TransferTypes.internal_static_google_storagetransfer_v1_AwsS3CompatibleData_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.storagetransfer.v1.proto.TransferTypes + .internal_static_google_storagetransfer_v1_AwsS3CompatibleData_descriptor; } @java.lang.Override - public com.google.storagetransfer.v1.proto.TransferTypes.AwsS3CompatibleData getDefaultInstanceForType() { - return com.google.storagetransfer.v1.proto.TransferTypes.AwsS3CompatibleData.getDefaultInstance(); + public com.google.storagetransfer.v1.proto.TransferTypes.AwsS3CompatibleData + getDefaultInstanceForType() { + return com.google.storagetransfer.v1.proto.TransferTypes.AwsS3CompatibleData + .getDefaultInstance(); } @java.lang.Override public com.google.storagetransfer.v1.proto.TransferTypes.AwsS3CompatibleData build() { - com.google.storagetransfer.v1.proto.TransferTypes.AwsS3CompatibleData result = buildPartial(); + com.google.storagetransfer.v1.proto.TransferTypes.AwsS3CompatibleData result = + buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } @@ -11085,7 +12228,8 @@ public com.google.storagetransfer.v1.proto.TransferTypes.AwsS3CompatibleData bui @java.lang.Override public com.google.storagetransfer.v1.proto.TransferTypes.AwsS3CompatibleData buildPartial() { - com.google.storagetransfer.v1.proto.TransferTypes.AwsS3CompatibleData result = new com.google.storagetransfer.v1.proto.TransferTypes.AwsS3CompatibleData(this); + com.google.storagetransfer.v1.proto.TransferTypes.AwsS3CompatibleData result = + new com.google.storagetransfer.v1.proto.TransferTypes.AwsS3CompatibleData(this); result.bucketName_ = bucketName_; result.path_ = path_; result.endpoint_ = endpoint_; @@ -11106,46 +12250,54 @@ public com.google.storagetransfer.v1.proto.TransferTypes.AwsS3CompatibleData bui public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + int index, + java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { - if (other instanceof com.google.storagetransfer.v1.proto.TransferTypes.AwsS3CompatibleData) { - return mergeFrom((com.google.storagetransfer.v1.proto.TransferTypes.AwsS3CompatibleData)other); + if (other + instanceof com.google.storagetransfer.v1.proto.TransferTypes.AwsS3CompatibleData) { + return mergeFrom( + (com.google.storagetransfer.v1.proto.TransferTypes.AwsS3CompatibleData) other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.google.storagetransfer.v1.proto.TransferTypes.AwsS3CompatibleData other) { - if (other == com.google.storagetransfer.v1.proto.TransferTypes.AwsS3CompatibleData.getDefaultInstance()) return this; + public Builder mergeFrom( + com.google.storagetransfer.v1.proto.TransferTypes.AwsS3CompatibleData other) { + if (other + == com.google.storagetransfer.v1.proto.TransferTypes.AwsS3CompatibleData + .getDefaultInstance()) return this; if (!other.getBucketName().isEmpty()) { bucketName_ = other.bucketName_; onChanged(); @@ -11163,13 +12315,15 @@ public Builder mergeFrom(com.google.storagetransfer.v1.proto.TransferTypes.AwsS3 onChanged(); } switch (other.getDataProviderCase()) { - case S3_METADATA: { - mergeS3Metadata(other.getS3Metadata()); - break; - } - case DATAPROVIDER_NOT_SET: { - break; - } + case S3_METADATA: + { + mergeS3Metadata(other.getS3Metadata()); + break; + } + case DATAPROVIDER_NOT_SET: + { + break; + } } this.mergeUnknownFields(other.unknownFields); onChanged(); @@ -11190,7 +12344,9 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.storagetransfer.v1.proto.TransferTypes.AwsS3CompatibleData) e.getUnfinishedMessage(); + parsedMessage = + (com.google.storagetransfer.v1.proto.TransferTypes.AwsS3CompatibleData) + e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -11199,12 +12355,12 @@ public Builder mergeFrom( } return this; } + private int dataProviderCase_ = 0; private java.lang.Object dataProvider_; - public DataProviderCase - getDataProviderCase() { - return DataProviderCase.forNumber( - dataProviderCase_); + + public DataProviderCase getDataProviderCase() { + return DataProviderCase.forNumber(dataProviderCase_); } public Builder clearDataProvider() { @@ -11214,21 +12370,22 @@ public Builder clearDataProvider() { return this; } - private java.lang.Object bucketName_ = ""; /** + * + * *
        * Required. Specifies the name of the bucket.
        * 
* * string bucket_name = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bucketName. */ public java.lang.String getBucketName() { java.lang.Object ref = bucketName_; 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(); bucketName_ = s; return s; @@ -11237,20 +12394,21 @@ public java.lang.String getBucketName() { } } /** + * + * *
        * Required. Specifies the name of the bucket.
        * 
* * string bucket_name = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for bucketName. */ - public com.google.protobuf.ByteString - getBucketNameBytes() { + public com.google.protobuf.ByteString getBucketNameBytes() { java.lang.Object ref = bucketName_; 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); bucketName_ = b; return b; } else { @@ -11258,54 +12416,61 @@ public java.lang.String getBucketName() { } } /** + * + * *
        * Required. Specifies the name of the bucket.
        * 
* * string bucket_name = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The bucketName to set. * @return This builder for chaining. */ - public Builder setBucketName( - java.lang.String value) { + public Builder setBucketName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + bucketName_ = value; onChanged(); return this; } /** + * + * *
        * Required. Specifies the name of the bucket.
        * 
* * string bucket_name = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return This builder for chaining. */ public Builder clearBucketName() { - + bucketName_ = getDefaultInstance().getBucketName(); onChanged(); return this; } /** + * + * *
        * Required. Specifies the name of the bucket.
        * 
* * string bucket_name = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The bytes for bucketName to set. * @return This builder for chaining. */ - public Builder setBucketNameBytes( - com.google.protobuf.ByteString value) { + public Builder setBucketNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + bucketName_ = value; onChanged(); return this; @@ -11313,6 +12478,8 @@ public Builder setBucketNameBytes( private java.lang.Object path_ = ""; /** + * + * *
        * Specifies the root path to transfer objects.
        * Must be an empty string or full path name that ends with a '/'. This
@@ -11321,13 +12488,13 @@ public Builder setBucketNameBytes(
        * 
* * string path = 2; + * * @return The path. */ public java.lang.String getPath() { java.lang.Object ref = path_; 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(); path_ = s; return s; @@ -11336,6 +12503,8 @@ public java.lang.String getPath() { } } /** + * + * *
        * Specifies the root path to transfer objects.
        * Must be an empty string or full path name that ends with a '/'. This
@@ -11344,15 +12513,14 @@ public java.lang.String getPath() {
        * 
* * string path = 2; + * * @return The bytes for path. */ - public com.google.protobuf.ByteString - getPathBytes() { + public com.google.protobuf.ByteString getPathBytes() { java.lang.Object ref = path_; 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); path_ = b; return b; } else { @@ -11360,6 +12528,8 @@ public java.lang.String getPath() { } } /** + * + * *
        * Specifies the root path to transfer objects.
        * Must be an empty string or full path name that ends with a '/'. This
@@ -11368,20 +12538,22 @@ public java.lang.String getPath() {
        * 
* * string path = 2; + * * @param value The path to set. * @return This builder for chaining. */ - public Builder setPath( - java.lang.String value) { + public Builder setPath(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + path_ = value; onChanged(); return this; } /** + * + * *
        * Specifies the root path to transfer objects.
        * Must be an empty string or full path name that ends with a '/'. This
@@ -11390,15 +12562,18 @@ public Builder setPath(
        * 
* * string path = 2; + * * @return This builder for chaining. */ public Builder clearPath() { - + path_ = getDefaultInstance().getPath(); onChanged(); return this; } /** + * + * *
        * Specifies the root path to transfer objects.
        * Must be an empty string or full path name that ends with a '/'. This
@@ -11407,16 +12582,16 @@ public Builder clearPath() {
        * 
* * string path = 2; + * * @param value The bytes for path to set. * @return This builder for chaining. */ - public Builder setPathBytes( - com.google.protobuf.ByteString value) { + public Builder setPathBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + path_ = value; onChanged(); return this; @@ -11424,18 +12599,20 @@ public Builder setPathBytes( private java.lang.Object endpoint_ = ""; /** + * + * *
        * Required. Specifies the endpoint of the storage service.
        * 
* * string endpoint = 3 [(.google.api.field_behavior) = REQUIRED]; + * * @return The endpoint. */ public java.lang.String getEndpoint() { java.lang.Object ref = endpoint_; 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(); endpoint_ = s; return s; @@ -11444,20 +12621,21 @@ public java.lang.String getEndpoint() { } } /** + * + * *
        * Required. Specifies the endpoint of the storage service.
        * 
* * string endpoint = 3 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for endpoint. */ - public com.google.protobuf.ByteString - getEndpointBytes() { + public com.google.protobuf.ByteString getEndpointBytes() { java.lang.Object ref = endpoint_; 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); endpoint_ = b; return b; } else { @@ -11465,54 +12643,61 @@ public java.lang.String getEndpoint() { } } /** + * + * *
        * Required. Specifies the endpoint of the storage service.
        * 
* * string endpoint = 3 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The endpoint to set. * @return This builder for chaining. */ - public Builder setEndpoint( - java.lang.String value) { + public Builder setEndpoint(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + endpoint_ = value; onChanged(); return this; } /** + * + * *
        * Required. Specifies the endpoint of the storage service.
        * 
* * string endpoint = 3 [(.google.api.field_behavior) = REQUIRED]; + * * @return This builder for chaining. */ public Builder clearEndpoint() { - + endpoint_ = getDefaultInstance().getEndpoint(); onChanged(); return this; } /** + * + * *
        * Required. Specifies the endpoint of the storage service.
        * 
* * string endpoint = 3 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The bytes for endpoint to set. * @return This builder for chaining. */ - public Builder setEndpointBytes( - com.google.protobuf.ByteString value) { + public Builder setEndpointBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + endpoint_ = value; onChanged(); return this; @@ -11520,19 +12705,21 @@ public Builder setEndpointBytes( private java.lang.Object region_ = ""; /** + * + * *
        * Specifies the region to sign requests with. This can be left blank if
        * requests should be signed with an empty region.
        * 
* * string region = 5; + * * @return The region. */ public java.lang.String getRegion() { java.lang.Object ref = region_; 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(); region_ = s; return s; @@ -11541,21 +12728,22 @@ public java.lang.String getRegion() { } } /** + * + * *
        * Specifies the region to sign requests with. This can be left blank if
        * requests should be signed with an empty region.
        * 
* * string region = 5; + * * @return The bytes for region. */ - public com.google.protobuf.ByteString - getRegionBytes() { + public com.google.protobuf.ByteString getRegionBytes() { java.lang.Object ref = region_; 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); region_ = b; return b; } else { @@ -11563,70 +12751,83 @@ public java.lang.String getRegion() { } } /** + * + * *
        * Specifies the region to sign requests with. This can be left blank if
        * requests should be signed with an empty region.
        * 
* * string region = 5; + * * @param value The region to set. * @return This builder for chaining. */ - public Builder setRegion( - java.lang.String value) { + public Builder setRegion(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + region_ = value; onChanged(); return this; } /** + * + * *
        * Specifies the region to sign requests with. This can be left blank if
        * requests should be signed with an empty region.
        * 
* * string region = 5; + * * @return This builder for chaining. */ public Builder clearRegion() { - + region_ = getDefaultInstance().getRegion(); onChanged(); return this; } /** + * + * *
        * Specifies the region to sign requests with. This can be left blank if
        * requests should be signed with an empty region.
        * 
* * string region = 5; + * * @param value The bytes for region to set. * @return This builder for chaining. */ - public Builder setRegionBytes( - com.google.protobuf.ByteString value) { + public Builder setRegionBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + region_ = value; onChanged(); return this; } private com.google.protobuf.SingleFieldBuilderV3< - com.google.storagetransfer.v1.proto.TransferTypes.S3CompatibleMetadata, com.google.storagetransfer.v1.proto.TransferTypes.S3CompatibleMetadata.Builder, com.google.storagetransfer.v1.proto.TransferTypes.S3CompatibleMetadataOrBuilder> s3MetadataBuilder_; + com.google.storagetransfer.v1.proto.TransferTypes.S3CompatibleMetadata, + com.google.storagetransfer.v1.proto.TransferTypes.S3CompatibleMetadata.Builder, + com.google.storagetransfer.v1.proto.TransferTypes.S3CompatibleMetadataOrBuilder> + s3MetadataBuilder_; /** + * + * *
        * A S3 compatible metadata.
        * 
* * .google.storagetransfer.v1.S3CompatibleMetadata s3_metadata = 4; + * * @return Whether the s3Metadata field is set. */ @java.lang.Override @@ -11634,35 +12835,45 @@ public boolean hasS3Metadata() { return dataProviderCase_ == 4; } /** + * + * *
        * A S3 compatible metadata.
        * 
* * .google.storagetransfer.v1.S3CompatibleMetadata s3_metadata = 4; + * * @return The s3Metadata. */ @java.lang.Override - public com.google.storagetransfer.v1.proto.TransferTypes.S3CompatibleMetadata getS3Metadata() { + public com.google.storagetransfer.v1.proto.TransferTypes.S3CompatibleMetadata + getS3Metadata() { if (s3MetadataBuilder_ == null) { if (dataProviderCase_ == 4) { - return (com.google.storagetransfer.v1.proto.TransferTypes.S3CompatibleMetadata) dataProvider_; + return (com.google.storagetransfer.v1.proto.TransferTypes.S3CompatibleMetadata) + dataProvider_; } - return com.google.storagetransfer.v1.proto.TransferTypes.S3CompatibleMetadata.getDefaultInstance(); + return com.google.storagetransfer.v1.proto.TransferTypes.S3CompatibleMetadata + .getDefaultInstance(); } else { if (dataProviderCase_ == 4) { return s3MetadataBuilder_.getMessage(); } - return com.google.storagetransfer.v1.proto.TransferTypes.S3CompatibleMetadata.getDefaultInstance(); + return com.google.storagetransfer.v1.proto.TransferTypes.S3CompatibleMetadata + .getDefaultInstance(); } } /** + * + * *
        * A S3 compatible metadata.
        * 
* * .google.storagetransfer.v1.S3CompatibleMetadata s3_metadata = 4; */ - public Builder setS3Metadata(com.google.storagetransfer.v1.proto.TransferTypes.S3CompatibleMetadata value) { + public Builder setS3Metadata( + com.google.storagetransfer.v1.proto.TransferTypes.S3CompatibleMetadata value) { if (s3MetadataBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -11676,6 +12887,8 @@ public Builder setS3Metadata(com.google.storagetransfer.v1.proto.TransferTypes.S return this; } /** + * + * *
        * A S3 compatible metadata.
        * 
@@ -11683,7 +12896,8 @@ public Builder setS3Metadata(com.google.storagetransfer.v1.proto.TransferTypes.S * .google.storagetransfer.v1.S3CompatibleMetadata s3_metadata = 4; */ public Builder setS3Metadata( - com.google.storagetransfer.v1.proto.TransferTypes.S3CompatibleMetadata.Builder builderForValue) { + com.google.storagetransfer.v1.proto.TransferTypes.S3CompatibleMetadata.Builder + builderForValue) { if (s3MetadataBuilder_ == null) { dataProvider_ = builderForValue.build(); onChanged(); @@ -11694,18 +12908,27 @@ public Builder setS3Metadata( return this; } /** + * + * *
        * A S3 compatible metadata.
        * 
* * .google.storagetransfer.v1.S3CompatibleMetadata s3_metadata = 4; */ - public Builder mergeS3Metadata(com.google.storagetransfer.v1.proto.TransferTypes.S3CompatibleMetadata value) { + public Builder mergeS3Metadata( + com.google.storagetransfer.v1.proto.TransferTypes.S3CompatibleMetadata value) { if (s3MetadataBuilder_ == null) { - if (dataProviderCase_ == 4 && - dataProvider_ != com.google.storagetransfer.v1.proto.TransferTypes.S3CompatibleMetadata.getDefaultInstance()) { - dataProvider_ = com.google.storagetransfer.v1.proto.TransferTypes.S3CompatibleMetadata.newBuilder((com.google.storagetransfer.v1.proto.TransferTypes.S3CompatibleMetadata) dataProvider_) - .mergeFrom(value).buildPartial(); + if (dataProviderCase_ == 4 + && dataProvider_ + != com.google.storagetransfer.v1.proto.TransferTypes.S3CompatibleMetadata + .getDefaultInstance()) { + dataProvider_ = + com.google.storagetransfer.v1.proto.TransferTypes.S3CompatibleMetadata.newBuilder( + (com.google.storagetransfer.v1.proto.TransferTypes.S3CompatibleMetadata) + dataProvider_) + .mergeFrom(value) + .buildPartial(); } else { dataProvider_ = value; } @@ -11721,6 +12944,8 @@ public Builder mergeS3Metadata(com.google.storagetransfer.v1.proto.TransferTypes return this; } /** + * + * *
        * A S3 compatible metadata.
        * 
@@ -11744,16 +12969,21 @@ public Builder clearS3Metadata() { return this; } /** + * + * *
        * A S3 compatible metadata.
        * 
* * .google.storagetransfer.v1.S3CompatibleMetadata s3_metadata = 4; */ - public com.google.storagetransfer.v1.proto.TransferTypes.S3CompatibleMetadata.Builder getS3MetadataBuilder() { + public com.google.storagetransfer.v1.proto.TransferTypes.S3CompatibleMetadata.Builder + getS3MetadataBuilder() { return getS3MetadataFieldBuilder().getBuilder(); } /** + * + * *
        * A S3 compatible metadata.
        * 
@@ -11761,17 +12991,22 @@ public com.google.storagetransfer.v1.proto.TransferTypes.S3CompatibleMetadata.Bu * .google.storagetransfer.v1.S3CompatibleMetadata s3_metadata = 4; */ @java.lang.Override - public com.google.storagetransfer.v1.proto.TransferTypes.S3CompatibleMetadataOrBuilder getS3MetadataOrBuilder() { + public com.google.storagetransfer.v1.proto.TransferTypes.S3CompatibleMetadataOrBuilder + getS3MetadataOrBuilder() { if ((dataProviderCase_ == 4) && (s3MetadataBuilder_ != null)) { return s3MetadataBuilder_.getMessageOrBuilder(); } else { if (dataProviderCase_ == 4) { - return (com.google.storagetransfer.v1.proto.TransferTypes.S3CompatibleMetadata) dataProvider_; + return (com.google.storagetransfer.v1.proto.TransferTypes.S3CompatibleMetadata) + dataProvider_; } - return com.google.storagetransfer.v1.proto.TransferTypes.S3CompatibleMetadata.getDefaultInstance(); + return com.google.storagetransfer.v1.proto.TransferTypes.S3CompatibleMetadata + .getDefaultInstance(); } } /** + * + * *
        * A S3 compatible metadata.
        * 
@@ -11779,23 +13014,33 @@ public com.google.storagetransfer.v1.proto.TransferTypes.S3CompatibleMetadataOrB * .google.storagetransfer.v1.S3CompatibleMetadata s3_metadata = 4; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.storagetransfer.v1.proto.TransferTypes.S3CompatibleMetadata, com.google.storagetransfer.v1.proto.TransferTypes.S3CompatibleMetadata.Builder, com.google.storagetransfer.v1.proto.TransferTypes.S3CompatibleMetadataOrBuilder> + com.google.storagetransfer.v1.proto.TransferTypes.S3CompatibleMetadata, + com.google.storagetransfer.v1.proto.TransferTypes.S3CompatibleMetadata.Builder, + com.google.storagetransfer.v1.proto.TransferTypes.S3CompatibleMetadataOrBuilder> getS3MetadataFieldBuilder() { if (s3MetadataBuilder_ == null) { if (!(dataProviderCase_ == 4)) { - dataProvider_ = com.google.storagetransfer.v1.proto.TransferTypes.S3CompatibleMetadata.getDefaultInstance(); + dataProvider_ = + com.google.storagetransfer.v1.proto.TransferTypes.S3CompatibleMetadata + .getDefaultInstance(); } - s3MetadataBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.storagetransfer.v1.proto.TransferTypes.S3CompatibleMetadata, com.google.storagetransfer.v1.proto.TransferTypes.S3CompatibleMetadata.Builder, com.google.storagetransfer.v1.proto.TransferTypes.S3CompatibleMetadataOrBuilder>( - (com.google.storagetransfer.v1.proto.TransferTypes.S3CompatibleMetadata) dataProvider_, + s3MetadataBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.storagetransfer.v1.proto.TransferTypes.S3CompatibleMetadata, + com.google.storagetransfer.v1.proto.TransferTypes.S3CompatibleMetadata.Builder, + com.google.storagetransfer.v1.proto.TransferTypes.S3CompatibleMetadataOrBuilder>( + (com.google.storagetransfer.v1.proto.TransferTypes.S3CompatibleMetadata) + dataProvider_, getParentForChildren(), isClean()); dataProvider_ = null; } dataProviderCase_ = 4; - onChanged();; + onChanged(); + ; return s3MetadataBuilder_; } + @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -11808,30 +13053,33 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.storagetransfer.v1.AwsS3CompatibleData) } // @@protoc_insertion_point(class_scope:google.storagetransfer.v1.AwsS3CompatibleData) - private static final com.google.storagetransfer.v1.proto.TransferTypes.AwsS3CompatibleData DEFAULT_INSTANCE; + private static final com.google.storagetransfer.v1.proto.TransferTypes.AwsS3CompatibleData + DEFAULT_INSTANCE; + static { - DEFAULT_INSTANCE = new com.google.storagetransfer.v1.proto.TransferTypes.AwsS3CompatibleData(); + DEFAULT_INSTANCE = + new com.google.storagetransfer.v1.proto.TransferTypes.AwsS3CompatibleData(); } - public static com.google.storagetransfer.v1.proto.TransferTypes.AwsS3CompatibleData getDefaultInstance() { + public static com.google.storagetransfer.v1.proto.TransferTypes.AwsS3CompatibleData + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public AwsS3CompatibleData parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new AwsS3CompatibleData(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public AwsS3CompatibleData parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new AwsS3CompatibleData(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -11843,17 +13091,20 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.storagetransfer.v1.proto.TransferTypes.AwsS3CompatibleData getDefaultInstanceForType() { + public com.google.storagetransfer.v1.proto.TransferTypes.AwsS3CompatibleData + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - public interface S3CompatibleMetadataOrBuilder extends + public interface S3CompatibleMetadataOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.storagetransfer.v1.S3CompatibleMetadata) com.google.protobuf.MessageOrBuilder { /** + * + * *
      * Specifies the authentication and authorization method used by the storage
      * service. When not specified, Transfer Service will attempt to determine
@@ -11861,10 +13112,13 @@ public interface S3CompatibleMetadataOrBuilder extends
      * 
* * .google.storagetransfer.v1.S3CompatibleMetadata.AuthMethod auth_method = 1; + * * @return The enum numeric value on the wire for authMethod. */ int getAuthMethodValue(); /** + * + * *
      * Specifies the authentication and authorization method used by the storage
      * service. When not specified, Transfer Service will attempt to determine
@@ -11872,11 +13126,15 @@ public interface S3CompatibleMetadataOrBuilder extends
      * 
* * .google.storagetransfer.v1.S3CompatibleMetadata.AuthMethod auth_method = 1; + * * @return The authMethod. */ - com.google.storagetransfer.v1.proto.TransferTypes.S3CompatibleMetadata.AuthMethod getAuthMethod(); + com.google.storagetransfer.v1.proto.TransferTypes.S3CompatibleMetadata.AuthMethod + getAuthMethod(); /** + * + * *
      * Specifies the API request model used to call the storage service. When not
      * specified, the default value of RequestModel
@@ -11884,10 +13142,13 @@ public interface S3CompatibleMetadataOrBuilder extends
      * 
* * .google.storagetransfer.v1.S3CompatibleMetadata.RequestModel request_model = 2; + * * @return The enum numeric value on the wire for requestModel. */ int getRequestModelValue(); /** + * + * *
      * Specifies the API request model used to call the storage service. When not
      * specified, the default value of RequestModel
@@ -11895,53 +13156,70 @@ public interface S3CompatibleMetadataOrBuilder extends
      * 
* * .google.storagetransfer.v1.S3CompatibleMetadata.RequestModel request_model = 2; + * * @return The requestModel. */ - com.google.storagetransfer.v1.proto.TransferTypes.S3CompatibleMetadata.RequestModel getRequestModel(); + com.google.storagetransfer.v1.proto.TransferTypes.S3CompatibleMetadata.RequestModel + getRequestModel(); /** + * + * *
      * Specifies the network protocol of the agent. When not specified, the
      * default value of NetworkProtocol NETWORK_PROTOCOL_HTTPS is used.
      * 
* * .google.storagetransfer.v1.S3CompatibleMetadata.NetworkProtocol protocol = 3; + * * @return The enum numeric value on the wire for protocol. */ int getProtocolValue(); /** + * + * *
      * Specifies the network protocol of the agent. When not specified, the
      * default value of NetworkProtocol NETWORK_PROTOCOL_HTTPS is used.
      * 
* * .google.storagetransfer.v1.S3CompatibleMetadata.NetworkProtocol protocol = 3; + * * @return The protocol. */ - com.google.storagetransfer.v1.proto.TransferTypes.S3CompatibleMetadata.NetworkProtocol getProtocol(); + com.google.storagetransfer.v1.proto.TransferTypes.S3CompatibleMetadata.NetworkProtocol + getProtocol(); /** + * + * *
      * The Listing API to use for discovering objects. When not specified,
      * Transfer Service will attempt to determine the right API to use.
      * 
* * .google.storagetransfer.v1.S3CompatibleMetadata.ListApi list_api = 4; + * * @return The enum numeric value on the wire for listApi. */ int getListApiValue(); /** + * + * *
      * The Listing API to use for discovering objects. When not specified,
      * Transfer Service will attempt to determine the right API to use.
      * 
* * .google.storagetransfer.v1.S3CompatibleMetadata.ListApi list_api = 4; + * * @return The listApi. */ com.google.storagetransfer.v1.proto.TransferTypes.S3CompatibleMetadata.ListApi getListApi(); } /** + * + * *
    * S3CompatibleMetadata contains the metadata fields that apply to the basic
    * types of S3-compatible data providers.
@@ -11949,15 +13227,16 @@ public interface S3CompatibleMetadataOrBuilder extends
    *
    * Protobuf type {@code google.storagetransfer.v1.S3CompatibleMetadata}
    */
-  public static final class S3CompatibleMetadata extends
-      com.google.protobuf.GeneratedMessageV3 implements
+  public static final class S3CompatibleMetadata extends com.google.protobuf.GeneratedMessageV3
+      implements
       // @@protoc_insertion_point(message_implements:google.storagetransfer.v1.S3CompatibleMetadata)
       S3CompatibleMetadataOrBuilder {
-  private static final long serialVersionUID = 0L;
+    private static final long serialVersionUID = 0L;
     // Use S3CompatibleMetadata.newBuilder() to construct.
     private S3CompatibleMetadata(com.google.protobuf.GeneratedMessageV3.Builder builder) {
       super(builder);
     }
+
     private S3CompatibleMetadata() {
       authMethod_ = 0;
       requestModel_ = 0;
@@ -11967,16 +13246,15 @@ private S3CompatibleMetadata() {
 
     @java.lang.Override
     @SuppressWarnings({"unused"})
-    protected java.lang.Object newInstance(
-        UnusedPrivateParameter unused) {
+    protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
       return new S3CompatibleMetadata();
     }
 
     @java.lang.Override
-    public final com.google.protobuf.UnknownFieldSet
-    getUnknownFields() {
+    public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
       return this.unknownFields;
     }
+
     private S3CompatibleMetadata(
         com.google.protobuf.CodedInputStream input,
         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -11995,37 +13273,41 @@ private S3CompatibleMetadata(
             case 0:
               done = true;
               break;
-            case 8: {
-              int rawValue = input.readEnum();
+            case 8:
+              {
+                int rawValue = input.readEnum();
 
-              authMethod_ = rawValue;
-              break;
-            }
-            case 16: {
-              int rawValue = input.readEnum();
+                authMethod_ = rawValue;
+                break;
+              }
+            case 16:
+              {
+                int rawValue = input.readEnum();
 
-              requestModel_ = rawValue;
-              break;
-            }
-            case 24: {
-              int rawValue = input.readEnum();
+                requestModel_ = rawValue;
+                break;
+              }
+            case 24:
+              {
+                int rawValue = input.readEnum();
 
-              protocol_ = rawValue;
-              break;
-            }
-            case 32: {
-              int rawValue = input.readEnum();
+                protocol_ = rawValue;
+                break;
+              }
+            case 32:
+              {
+                int rawValue = input.readEnum();
 
-              listApi_ = rawValue;
-              break;
-            }
-            default: {
-              if (!parseUnknownField(
-                  input, unknownFields, extensionRegistry, tag)) {
-                done = true;
+                listApi_ = rawValue;
+                break;
+              }
+            default:
+              {
+                if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
+                  done = true;
+                }
+                break;
               }
-              break;
-            }
           }
         }
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -12033,36 +13315,41 @@ private S3CompatibleMetadata(
       } catch (com.google.protobuf.UninitializedMessageException e) {
         throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
       } catch (java.io.IOException e) {
-        throw new com.google.protobuf.InvalidProtocolBufferException(
-            e).setUnfinishedMessage(this);
+        throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
       } finally {
         this.unknownFields = unknownFields.build();
         makeExtensionsImmutable();
       }
     }
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.storagetransfer.v1.proto.TransferTypes.internal_static_google_storagetransfer_v1_S3CompatibleMetadata_descriptor;
+
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.storagetransfer.v1.proto.TransferTypes
+          .internal_static_google_storagetransfer_v1_S3CompatibleMetadata_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.storagetransfer.v1.proto.TransferTypes.internal_static_google_storagetransfer_v1_S3CompatibleMetadata_fieldAccessorTable
+      return com.google.storagetransfer.v1.proto.TransferTypes
+          .internal_static_google_storagetransfer_v1_S3CompatibleMetadata_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.storagetransfer.v1.proto.TransferTypes.S3CompatibleMetadata.class, com.google.storagetransfer.v1.proto.TransferTypes.S3CompatibleMetadata.Builder.class);
+              com.google.storagetransfer.v1.proto.TransferTypes.S3CompatibleMetadata.class,
+              com.google.storagetransfer.v1.proto.TransferTypes.S3CompatibleMetadata.Builder.class);
     }
 
     /**
+     *
+     *
      * 
      * The authentication and authorization method used by the storage service.
      * 
* * Protobuf enum {@code google.storagetransfer.v1.S3CompatibleMetadata.AuthMethod} */ - public enum AuthMethod - implements com.google.protobuf.ProtocolMessageEnum { + public enum AuthMethod implements com.google.protobuf.ProtocolMessageEnum { /** + * + * *
        * AuthMethod is not specified.
        * 
@@ -12071,6 +13358,8 @@ public enum AuthMethod */ AUTH_METHOD_UNSPECIFIED(0), /** + * + * *
        * Auth requests with AWS SigV4.
        * 
@@ -12079,6 +13368,8 @@ public enum AuthMethod */ AUTH_METHOD_AWS_SIGNATURE_V4(1), /** + * + * *
        * Auth requests with AWS SigV2.
        * 
@@ -12090,6 +13381,8 @@ public enum AuthMethod ; /** + * + * *
        * AuthMethod is not specified.
        * 
@@ -12098,6 +13391,8 @@ public enum AuthMethod */ public static final int AUTH_METHOD_UNSPECIFIED_VALUE = 0; /** + * + * *
        * Auth requests with AWS SigV4.
        * 
@@ -12106,6 +13401,8 @@ public enum AuthMethod */ public static final int AUTH_METHOD_AWS_SIGNATURE_V4_VALUE = 1; /** + * + * *
        * Auth requests with AWS SigV2.
        * 
@@ -12114,7 +13411,6 @@ public enum AuthMethod */ public static final int AUTH_METHOD_AWS_SIGNATURE_V2_VALUE = 2; - public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -12139,49 +13435,52 @@ public static AuthMethod valueOf(int value) { */ public static AuthMethod forNumber(int value) { switch (value) { - case 0: return AUTH_METHOD_UNSPECIFIED; - case 1: return AUTH_METHOD_AWS_SIGNATURE_V4; - case 2: return AUTH_METHOD_AWS_SIGNATURE_V2; - default: return null; + case 0: + return AUTH_METHOD_UNSPECIFIED; + case 1: + return AUTH_METHOD_AWS_SIGNATURE_V4; + case 2: + return AUTH_METHOD_AWS_SIGNATURE_V2; + default: + return null; } } - public static com.google.protobuf.Internal.EnumLiteMap - internalGetValueMap() { + public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() { return internalValueMap; } - private static final com.google.protobuf.Internal.EnumLiteMap< - AuthMethod> internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public AuthMethod findValueByNumber(int number) { - return AuthMethod.forNumber(number); - } - }; - public final com.google.protobuf.Descriptors.EnumValueDescriptor - getValueDescriptor() { + private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap() { + public AuthMethod findValueByNumber(int number) { + return AuthMethod.forNumber(number); + } + }; + + public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalStateException( "Can't get the descriptor of an unrecognized enum value."); } return getDescriptor().getValues().get(ordinal()); } - public final com.google.protobuf.Descriptors.EnumDescriptor - getDescriptorForType() { + + public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() { return getDescriptor(); } - public static final com.google.protobuf.Descriptors.EnumDescriptor - getDescriptor() { - return com.google.storagetransfer.v1.proto.TransferTypes.S3CompatibleMetadata.getDescriptor().getEnumTypes().get(0); + + public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { + return com.google.storagetransfer.v1.proto.TransferTypes.S3CompatibleMetadata + .getDescriptor() + .getEnumTypes() + .get(0); } private static final AuthMethod[] VALUES = values(); - public static AuthMethod valueOf( - com.google.protobuf.Descriptors.EnumValueDescriptor desc) { + public static AuthMethod valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) { if (desc.getType() != getDescriptor()) { - throw new java.lang.IllegalArgumentException( - "EnumValueDescriptor is not for this type."); + throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type."); } if (desc.getIndex() == -1) { return UNRECOGNIZED; @@ -12199,15 +13498,18 @@ private AuthMethod(int value) { } /** + * + * *
      * The request model of the API.
      * 
* * Protobuf enum {@code google.storagetransfer.v1.S3CompatibleMetadata.RequestModel} */ - public enum RequestModel - implements com.google.protobuf.ProtocolMessageEnum { + public enum RequestModel implements com.google.protobuf.ProtocolMessageEnum { /** + * + * *
        * RequestModel is not specified.
        * 
@@ -12216,6 +13518,8 @@ public enum RequestModel */ REQUEST_MODEL_UNSPECIFIED(0), /** + * + * *
        * Perform requests using Virtual Hosted Style.
        * Example: https://bucket-name.s3.region.amazonaws.com/key-name
@@ -12225,6 +13529,8 @@ public enum RequestModel
        */
       REQUEST_MODEL_VIRTUAL_HOSTED_STYLE(1),
       /**
+       *
+       *
        * 
        * Perform requests using Path Style.
        * Example: https://s3.region.amazonaws.com/bucket-name/key-name
@@ -12237,6 +13543,8 @@ public enum RequestModel
       ;
 
       /**
+       *
+       *
        * 
        * RequestModel is not specified.
        * 
@@ -12245,6 +13553,8 @@ public enum RequestModel */ public static final int REQUEST_MODEL_UNSPECIFIED_VALUE = 0; /** + * + * *
        * Perform requests using Virtual Hosted Style.
        * Example: https://bucket-name.s3.region.amazonaws.com/key-name
@@ -12254,6 +13564,8 @@ public enum RequestModel
        */
       public static final int REQUEST_MODEL_VIRTUAL_HOSTED_STYLE_VALUE = 1;
       /**
+       *
+       *
        * 
        * Perform requests using Path Style.
        * Example: https://s3.region.amazonaws.com/bucket-name/key-name
@@ -12263,7 +13575,6 @@ public enum RequestModel
        */
       public static final int REQUEST_MODEL_PATH_STYLE_VALUE = 2;
 
-
       public final int getNumber() {
         if (this == UNRECOGNIZED) {
           throw new java.lang.IllegalArgumentException(
@@ -12288,49 +13599,52 @@ public static RequestModel valueOf(int value) {
        */
       public static RequestModel forNumber(int value) {
         switch (value) {
-          case 0: return REQUEST_MODEL_UNSPECIFIED;
-          case 1: return REQUEST_MODEL_VIRTUAL_HOSTED_STYLE;
-          case 2: return REQUEST_MODEL_PATH_STYLE;
-          default: return null;
+          case 0:
+            return REQUEST_MODEL_UNSPECIFIED;
+          case 1:
+            return REQUEST_MODEL_VIRTUAL_HOSTED_STYLE;
+          case 2:
+            return REQUEST_MODEL_PATH_STYLE;
+          default:
+            return null;
         }
       }
 
-      public static com.google.protobuf.Internal.EnumLiteMap
-          internalGetValueMap() {
+      public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() {
         return internalValueMap;
       }
-      private static final com.google.protobuf.Internal.EnumLiteMap<
-          RequestModel> internalValueMap =
-            new com.google.protobuf.Internal.EnumLiteMap() {
-              public RequestModel findValueByNumber(int number) {
-                return RequestModel.forNumber(number);
-              }
-            };
 
-      public final com.google.protobuf.Descriptors.EnumValueDescriptor
-          getValueDescriptor() {
+      private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap =
+          new com.google.protobuf.Internal.EnumLiteMap() {
+            public RequestModel findValueByNumber(int number) {
+              return RequestModel.forNumber(number);
+            }
+          };
+
+      public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() {
         if (this == UNRECOGNIZED) {
           throw new java.lang.IllegalStateException(
               "Can't get the descriptor of an unrecognized enum value.");
         }
         return getDescriptor().getValues().get(ordinal());
       }
-      public final com.google.protobuf.Descriptors.EnumDescriptor
-          getDescriptorForType() {
+
+      public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() {
         return getDescriptor();
       }
-      public static final com.google.protobuf.Descriptors.EnumDescriptor
-          getDescriptor() {
-        return com.google.storagetransfer.v1.proto.TransferTypes.S3CompatibleMetadata.getDescriptor().getEnumTypes().get(1);
+
+      public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() {
+        return com.google.storagetransfer.v1.proto.TransferTypes.S3CompatibleMetadata
+            .getDescriptor()
+            .getEnumTypes()
+            .get(1);
       }
 
       private static final RequestModel[] VALUES = values();
 
-      public static RequestModel valueOf(
-          com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
+      public static RequestModel valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
         if (desc.getType() != getDescriptor()) {
-          throw new java.lang.IllegalArgumentException(
-            "EnumValueDescriptor is not for this type.");
+          throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type.");
         }
         if (desc.getIndex() == -1) {
           return UNRECOGNIZED;
@@ -12348,15 +13662,18 @@ private RequestModel(int value) {
     }
 
     /**
+     *
+     *
      * 
      * The agent network protocol to access the storage service.
      * 
* * Protobuf enum {@code google.storagetransfer.v1.S3CompatibleMetadata.NetworkProtocol} */ - public enum NetworkProtocol - implements com.google.protobuf.ProtocolMessageEnum { + public enum NetworkProtocol implements com.google.protobuf.ProtocolMessageEnum { /** + * + * *
        * NetworkProtocol is not specified.
        * 
@@ -12365,6 +13682,8 @@ public enum NetworkProtocol */ NETWORK_PROTOCOL_UNSPECIFIED(0), /** + * + * *
        * Perform requests using HTTPS.
        * 
@@ -12373,6 +13692,8 @@ public enum NetworkProtocol */ NETWORK_PROTOCOL_HTTPS(1), /** + * + * *
        * Not recommended: This sends data in clear-text. This is only
        * appropriate within a closed network or for publicly available data.
@@ -12386,6 +13707,8 @@ public enum NetworkProtocol
       ;
 
       /**
+       *
+       *
        * 
        * NetworkProtocol is not specified.
        * 
@@ -12394,6 +13717,8 @@ public enum NetworkProtocol */ public static final int NETWORK_PROTOCOL_UNSPECIFIED_VALUE = 0; /** + * + * *
        * Perform requests using HTTPS.
        * 
@@ -12402,6 +13727,8 @@ public enum NetworkProtocol */ public static final int NETWORK_PROTOCOL_HTTPS_VALUE = 1; /** + * + * *
        * Not recommended: This sends data in clear-text. This is only
        * appropriate within a closed network or for publicly available data.
@@ -12412,7 +13739,6 @@ public enum NetworkProtocol
        */
       public static final int NETWORK_PROTOCOL_HTTP_VALUE = 2;
 
-
       public final int getNumber() {
         if (this == UNRECOGNIZED) {
           throw new java.lang.IllegalArgumentException(
@@ -12437,10 +13763,14 @@ public static NetworkProtocol valueOf(int value) {
        */
       public static NetworkProtocol forNumber(int value) {
         switch (value) {
-          case 0: return NETWORK_PROTOCOL_UNSPECIFIED;
-          case 1: return NETWORK_PROTOCOL_HTTPS;
-          case 2: return NETWORK_PROTOCOL_HTTP;
-          default: return null;
+          case 0:
+            return NETWORK_PROTOCOL_UNSPECIFIED;
+          case 1:
+            return NETWORK_PROTOCOL_HTTPS;
+          case 2:
+            return NETWORK_PROTOCOL_HTTP;
+          default:
+            return null;
         }
       }
 
@@ -12448,29 +13778,32 @@ public static NetworkProtocol forNumber(int value) {
           internalGetValueMap() {
         return internalValueMap;
       }
-      private static final com.google.protobuf.Internal.EnumLiteMap<
-          NetworkProtocol> internalValueMap =
-            new com.google.protobuf.Internal.EnumLiteMap() {
-              public NetworkProtocol findValueByNumber(int number) {
-                return NetworkProtocol.forNumber(number);
-              }
-            };
 
-      public final com.google.protobuf.Descriptors.EnumValueDescriptor
-          getValueDescriptor() {
+      private static final com.google.protobuf.Internal.EnumLiteMap
+          internalValueMap =
+              new com.google.protobuf.Internal.EnumLiteMap() {
+                public NetworkProtocol findValueByNumber(int number) {
+                  return NetworkProtocol.forNumber(number);
+                }
+              };
+
+      public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() {
         if (this == UNRECOGNIZED) {
           throw new java.lang.IllegalStateException(
               "Can't get the descriptor of an unrecognized enum value.");
         }
         return getDescriptor().getValues().get(ordinal());
       }
-      public final com.google.protobuf.Descriptors.EnumDescriptor
-          getDescriptorForType() {
+
+      public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() {
         return getDescriptor();
       }
-      public static final com.google.protobuf.Descriptors.EnumDescriptor
-          getDescriptor() {
-        return com.google.storagetransfer.v1.proto.TransferTypes.S3CompatibleMetadata.getDescriptor().getEnumTypes().get(2);
+
+      public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() {
+        return com.google.storagetransfer.v1.proto.TransferTypes.S3CompatibleMetadata
+            .getDescriptor()
+            .getEnumTypes()
+            .get(2);
       }
 
       private static final NetworkProtocol[] VALUES = values();
@@ -12478,8 +13811,7 @@ public NetworkProtocol findValueByNumber(int number) {
       public static NetworkProtocol valueOf(
           com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
         if (desc.getType() != getDescriptor()) {
-          throw new java.lang.IllegalArgumentException(
-            "EnumValueDescriptor is not for this type.");
+          throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type.");
         }
         if (desc.getIndex() == -1) {
           return UNRECOGNIZED;
@@ -12497,15 +13829,18 @@ private NetworkProtocol(int value) {
     }
 
     /**
+     *
+     *
      * 
      * The Listing API to use for discovering objects.
      * 
* * Protobuf enum {@code google.storagetransfer.v1.S3CompatibleMetadata.ListApi} */ - public enum ListApi - implements com.google.protobuf.ProtocolMessageEnum { + public enum ListApi implements com.google.protobuf.ProtocolMessageEnum { /** + * + * *
        * ListApi is not specified.
        * 
@@ -12514,6 +13849,8 @@ public enum ListApi */ LIST_API_UNSPECIFIED(0), /** + * + * *
        * Perform listing using ListObjectsV2 API.
        * 
@@ -12522,6 +13859,8 @@ public enum ListApi */ LIST_OBJECTS_V2(1), /** + * + * *
        * Legacy ListObjects API.
        * 
@@ -12533,6 +13872,8 @@ public enum ListApi ; /** + * + * *
        * ListApi is not specified.
        * 
@@ -12541,6 +13882,8 @@ public enum ListApi */ public static final int LIST_API_UNSPECIFIED_VALUE = 0; /** + * + * *
        * Perform listing using ListObjectsV2 API.
        * 
@@ -12549,6 +13892,8 @@ public enum ListApi */ public static final int LIST_OBJECTS_V2_VALUE = 1; /** + * + * *
        * Legacy ListObjects API.
        * 
@@ -12557,7 +13902,6 @@ public enum ListApi */ public static final int LIST_OBJECTS_VALUE = 2; - public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -12582,49 +13926,52 @@ public static ListApi valueOf(int value) { */ public static ListApi forNumber(int value) { switch (value) { - case 0: return LIST_API_UNSPECIFIED; - case 1: return LIST_OBJECTS_V2; - case 2: return LIST_OBJECTS; - default: return null; + case 0: + return LIST_API_UNSPECIFIED; + case 1: + return LIST_OBJECTS_V2; + case 2: + return LIST_OBJECTS; + default: + return null; } } - public static com.google.protobuf.Internal.EnumLiteMap - internalGetValueMap() { + public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() { return internalValueMap; } - private static final com.google.protobuf.Internal.EnumLiteMap< - ListApi> internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public ListApi findValueByNumber(int number) { - return ListApi.forNumber(number); - } - }; - public final com.google.protobuf.Descriptors.EnumValueDescriptor - getValueDescriptor() { + private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap() { + public ListApi findValueByNumber(int number) { + return ListApi.forNumber(number); + } + }; + + public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalStateException( "Can't get the descriptor of an unrecognized enum value."); } return getDescriptor().getValues().get(ordinal()); } - public final com.google.protobuf.Descriptors.EnumDescriptor - getDescriptorForType() { + + public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() { return getDescriptor(); } - public static final com.google.protobuf.Descriptors.EnumDescriptor - getDescriptor() { - return com.google.storagetransfer.v1.proto.TransferTypes.S3CompatibleMetadata.getDescriptor().getEnumTypes().get(3); + + public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { + return com.google.storagetransfer.v1.proto.TransferTypes.S3CompatibleMetadata + .getDescriptor() + .getEnumTypes() + .get(3); } private static final ListApi[] VALUES = values(); - public static ListApi valueOf( - com.google.protobuf.Descriptors.EnumValueDescriptor desc) { + public static ListApi valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) { if (desc.getType() != getDescriptor()) { - throw new java.lang.IllegalArgumentException( - "EnumValueDescriptor is not for this type."); + throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type."); } if (desc.getIndex() == -1) { return UNRECOGNIZED; @@ -12644,6 +13991,8 @@ private ListApi(int value) { public static final int AUTH_METHOD_FIELD_NUMBER = 1; private int authMethod_; /** + * + * *
      * Specifies the authentication and authorization method used by the storage
      * service. When not specified, Transfer Service will attempt to determine
@@ -12651,12 +14000,16 @@ private ListApi(int value) {
      * 
* * .google.storagetransfer.v1.S3CompatibleMetadata.AuthMethod auth_method = 1; + * * @return The enum numeric value on the wire for authMethod. */ - @java.lang.Override public int getAuthMethodValue() { + @java.lang.Override + public int getAuthMethodValue() { return authMethod_; } /** + * + * *
      * Specifies the authentication and authorization method used by the storage
      * service. When not specified, Transfer Service will attempt to determine
@@ -12664,17 +14017,27 @@ private ListApi(int value) {
      * 
* * .google.storagetransfer.v1.S3CompatibleMetadata.AuthMethod auth_method = 1; + * * @return The authMethod. */ - @java.lang.Override public com.google.storagetransfer.v1.proto.TransferTypes.S3CompatibleMetadata.AuthMethod getAuthMethod() { + @java.lang.Override + public com.google.storagetransfer.v1.proto.TransferTypes.S3CompatibleMetadata.AuthMethod + getAuthMethod() { @SuppressWarnings("deprecation") - com.google.storagetransfer.v1.proto.TransferTypes.S3CompatibleMetadata.AuthMethod result = com.google.storagetransfer.v1.proto.TransferTypes.S3CompatibleMetadata.AuthMethod.valueOf(authMethod_); - return result == null ? com.google.storagetransfer.v1.proto.TransferTypes.S3CompatibleMetadata.AuthMethod.UNRECOGNIZED : result; + com.google.storagetransfer.v1.proto.TransferTypes.S3CompatibleMetadata.AuthMethod result = + com.google.storagetransfer.v1.proto.TransferTypes.S3CompatibleMetadata.AuthMethod.valueOf( + authMethod_); + return result == null + ? com.google.storagetransfer.v1.proto.TransferTypes.S3CompatibleMetadata.AuthMethod + .UNRECOGNIZED + : result; } public static final int REQUEST_MODEL_FIELD_NUMBER = 2; private int requestModel_; /** + * + * *
      * Specifies the API request model used to call the storage service. When not
      * specified, the default value of RequestModel
@@ -12682,12 +14045,16 @@ private ListApi(int value) {
      * 
* * .google.storagetransfer.v1.S3CompatibleMetadata.RequestModel request_model = 2; + * * @return The enum numeric value on the wire for requestModel. */ - @java.lang.Override public int getRequestModelValue() { + @java.lang.Override + public int getRequestModelValue() { return requestModel_; } /** + * + * *
      * Specifies the API request model used to call the storage service. When not
      * specified, the default value of RequestModel
@@ -12695,73 +14062,111 @@ private ListApi(int value) {
      * 
* * .google.storagetransfer.v1.S3CompatibleMetadata.RequestModel request_model = 2; + * * @return The requestModel. */ - @java.lang.Override public com.google.storagetransfer.v1.proto.TransferTypes.S3CompatibleMetadata.RequestModel getRequestModel() { + @java.lang.Override + public com.google.storagetransfer.v1.proto.TransferTypes.S3CompatibleMetadata.RequestModel + getRequestModel() { @SuppressWarnings("deprecation") - com.google.storagetransfer.v1.proto.TransferTypes.S3CompatibleMetadata.RequestModel result = com.google.storagetransfer.v1.proto.TransferTypes.S3CompatibleMetadata.RequestModel.valueOf(requestModel_); - return result == null ? com.google.storagetransfer.v1.proto.TransferTypes.S3CompatibleMetadata.RequestModel.UNRECOGNIZED : result; + com.google.storagetransfer.v1.proto.TransferTypes.S3CompatibleMetadata.RequestModel result = + com.google.storagetransfer.v1.proto.TransferTypes.S3CompatibleMetadata.RequestModel + .valueOf(requestModel_); + return result == null + ? com.google.storagetransfer.v1.proto.TransferTypes.S3CompatibleMetadata.RequestModel + .UNRECOGNIZED + : result; } public static final int PROTOCOL_FIELD_NUMBER = 3; private int protocol_; /** + * + * *
      * Specifies the network protocol of the agent. When not specified, the
      * default value of NetworkProtocol NETWORK_PROTOCOL_HTTPS is used.
      * 
* * .google.storagetransfer.v1.S3CompatibleMetadata.NetworkProtocol protocol = 3; + * * @return The enum numeric value on the wire for protocol. */ - @java.lang.Override public int getProtocolValue() { + @java.lang.Override + public int getProtocolValue() { return protocol_; } /** + * + * *
      * Specifies the network protocol of the agent. When not specified, the
      * default value of NetworkProtocol NETWORK_PROTOCOL_HTTPS is used.
      * 
* * .google.storagetransfer.v1.S3CompatibleMetadata.NetworkProtocol protocol = 3; + * * @return The protocol. */ - @java.lang.Override public com.google.storagetransfer.v1.proto.TransferTypes.S3CompatibleMetadata.NetworkProtocol getProtocol() { + @java.lang.Override + public com.google.storagetransfer.v1.proto.TransferTypes.S3CompatibleMetadata.NetworkProtocol + getProtocol() { @SuppressWarnings("deprecation") - com.google.storagetransfer.v1.proto.TransferTypes.S3CompatibleMetadata.NetworkProtocol result = com.google.storagetransfer.v1.proto.TransferTypes.S3CompatibleMetadata.NetworkProtocol.valueOf(protocol_); - return result == null ? com.google.storagetransfer.v1.proto.TransferTypes.S3CompatibleMetadata.NetworkProtocol.UNRECOGNIZED : result; + com.google.storagetransfer.v1.proto.TransferTypes.S3CompatibleMetadata.NetworkProtocol + result = + com.google.storagetransfer.v1.proto.TransferTypes.S3CompatibleMetadata.NetworkProtocol + .valueOf(protocol_); + return result == null + ? com.google.storagetransfer.v1.proto.TransferTypes.S3CompatibleMetadata.NetworkProtocol + .UNRECOGNIZED + : result; } public static final int LIST_API_FIELD_NUMBER = 4; private int listApi_; /** + * + * *
      * The Listing API to use for discovering objects. When not specified,
      * Transfer Service will attempt to determine the right API to use.
      * 
* * .google.storagetransfer.v1.S3CompatibleMetadata.ListApi list_api = 4; + * * @return The enum numeric value on the wire for listApi. */ - @java.lang.Override public int getListApiValue() { + @java.lang.Override + public int getListApiValue() { return listApi_; } /** + * + * *
      * The Listing API to use for discovering objects. When not specified,
      * Transfer Service will attempt to determine the right API to use.
      * 
* * .google.storagetransfer.v1.S3CompatibleMetadata.ListApi list_api = 4; + * * @return The listApi. */ - @java.lang.Override public com.google.storagetransfer.v1.proto.TransferTypes.S3CompatibleMetadata.ListApi getListApi() { + @java.lang.Override + public com.google.storagetransfer.v1.proto.TransferTypes.S3CompatibleMetadata.ListApi + getListApi() { @SuppressWarnings("deprecation") - com.google.storagetransfer.v1.proto.TransferTypes.S3CompatibleMetadata.ListApi result = com.google.storagetransfer.v1.proto.TransferTypes.S3CompatibleMetadata.ListApi.valueOf(listApi_); - return result == null ? com.google.storagetransfer.v1.proto.TransferTypes.S3CompatibleMetadata.ListApi.UNRECOGNIZED : result; + com.google.storagetransfer.v1.proto.TransferTypes.S3CompatibleMetadata.ListApi result = + com.google.storagetransfer.v1.proto.TransferTypes.S3CompatibleMetadata.ListApi.valueOf( + listApi_); + return result == null + ? com.google.storagetransfer.v1.proto.TransferTypes.S3CompatibleMetadata.ListApi + .UNRECOGNIZED + : result; } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -12773,18 +14178,29 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { - if (authMethod_ != com.google.storagetransfer.v1.proto.TransferTypes.S3CompatibleMetadata.AuthMethod.AUTH_METHOD_UNSPECIFIED.getNumber()) { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + if (authMethod_ + != com.google.storagetransfer.v1.proto.TransferTypes.S3CompatibleMetadata.AuthMethod + .AUTH_METHOD_UNSPECIFIED + .getNumber()) { output.writeEnum(1, authMethod_); } - if (requestModel_ != com.google.storagetransfer.v1.proto.TransferTypes.S3CompatibleMetadata.RequestModel.REQUEST_MODEL_UNSPECIFIED.getNumber()) { + if (requestModel_ + != com.google.storagetransfer.v1.proto.TransferTypes.S3CompatibleMetadata.RequestModel + .REQUEST_MODEL_UNSPECIFIED + .getNumber()) { output.writeEnum(2, requestModel_); } - if (protocol_ != com.google.storagetransfer.v1.proto.TransferTypes.S3CompatibleMetadata.NetworkProtocol.NETWORK_PROTOCOL_UNSPECIFIED.getNumber()) { + if (protocol_ + != com.google.storagetransfer.v1.proto.TransferTypes.S3CompatibleMetadata.NetworkProtocol + .NETWORK_PROTOCOL_UNSPECIFIED + .getNumber()) { output.writeEnum(3, protocol_); } - if (listApi_ != com.google.storagetransfer.v1.proto.TransferTypes.S3CompatibleMetadata.ListApi.LIST_API_UNSPECIFIED.getNumber()) { + if (listApi_ + != com.google.storagetransfer.v1.proto.TransferTypes.S3CompatibleMetadata.ListApi + .LIST_API_UNSPECIFIED + .getNumber()) { output.writeEnum(4, listApi_); } unknownFields.writeTo(output); @@ -12796,21 +14212,29 @@ public int getSerializedSize() { if (size != -1) return size; size = 0; - if (authMethod_ != com.google.storagetransfer.v1.proto.TransferTypes.S3CompatibleMetadata.AuthMethod.AUTH_METHOD_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(1, authMethod_); - } - if (requestModel_ != com.google.storagetransfer.v1.proto.TransferTypes.S3CompatibleMetadata.RequestModel.REQUEST_MODEL_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(2, requestModel_); - } - if (protocol_ != com.google.storagetransfer.v1.proto.TransferTypes.S3CompatibleMetadata.NetworkProtocol.NETWORK_PROTOCOL_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(3, protocol_); - } - if (listApi_ != com.google.storagetransfer.v1.proto.TransferTypes.S3CompatibleMetadata.ListApi.LIST_API_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(4, listApi_); + if (authMethod_ + != com.google.storagetransfer.v1.proto.TransferTypes.S3CompatibleMetadata.AuthMethod + .AUTH_METHOD_UNSPECIFIED + .getNumber()) { + size += com.google.protobuf.CodedOutputStream.computeEnumSize(1, authMethod_); + } + if (requestModel_ + != com.google.storagetransfer.v1.proto.TransferTypes.S3CompatibleMetadata.RequestModel + .REQUEST_MODEL_UNSPECIFIED + .getNumber()) { + size += com.google.protobuf.CodedOutputStream.computeEnumSize(2, requestModel_); + } + if (protocol_ + != com.google.storagetransfer.v1.proto.TransferTypes.S3CompatibleMetadata.NetworkProtocol + .NETWORK_PROTOCOL_UNSPECIFIED + .getNumber()) { + size += com.google.protobuf.CodedOutputStream.computeEnumSize(3, protocol_); + } + if (listApi_ + != com.google.storagetransfer.v1.proto.TransferTypes.S3CompatibleMetadata.ListApi + .LIST_API_UNSPECIFIED + .getNumber()) { + size += com.google.protobuf.CodedOutputStream.computeEnumSize(4, listApi_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -12820,12 +14244,14 @@ 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.storagetransfer.v1.proto.TransferTypes.S3CompatibleMetadata)) { + if (!(obj + instanceof com.google.storagetransfer.v1.proto.TransferTypes.S3CompatibleMetadata)) { return super.equals(obj); } - com.google.storagetransfer.v1.proto.TransferTypes.S3CompatibleMetadata other = (com.google.storagetransfer.v1.proto.TransferTypes.S3CompatibleMetadata) obj; + com.google.storagetransfer.v1.proto.TransferTypes.S3CompatibleMetadata other = + (com.google.storagetransfer.v1.proto.TransferTypes.S3CompatibleMetadata) obj; if (authMethod_ != other.authMethod_) return false; if (requestModel_ != other.requestModel_) return false; @@ -12856,87 +14282,95 @@ public int hashCode() { } public static com.google.storagetransfer.v1.proto.TransferTypes.S3CompatibleMetadata parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.storagetransfer.v1.proto.TransferTypes.S3CompatibleMetadata 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.storagetransfer.v1.proto.TransferTypes.S3CompatibleMetadata parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.storagetransfer.v1.proto.TransferTypes.S3CompatibleMetadata 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.storagetransfer.v1.proto.TransferTypes.S3CompatibleMetadata parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.storagetransfer.v1.proto.TransferTypes.S3CompatibleMetadata parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.storagetransfer.v1.proto.TransferTypes.S3CompatibleMetadata 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.storagetransfer.v1.proto.TransferTypes.S3CompatibleMetadata parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.storagetransfer.v1.proto.TransferTypes.S3CompatibleMetadata parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.storagetransfer.v1.proto.TransferTypes.S3CompatibleMetadata 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.storagetransfer.v1.proto.TransferTypes.S3CompatibleMetadata parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.storagetransfer.v1.proto.TransferTypes.S3CompatibleMetadata + parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } - public static com.google.storagetransfer.v1.proto.TransferTypes.S3CompatibleMetadata parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + + public static com.google.storagetransfer.v1.proto.TransferTypes.S3CompatibleMetadata + parseDelimitedFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.storagetransfer.v1.proto.TransferTypes.S3CompatibleMetadata 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.storagetransfer.v1.proto.TransferTypes.S3CompatibleMetadata 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.storagetransfer.v1.proto.TransferTypes.S3CompatibleMetadata prototype) { + + public static Builder newBuilder( + com.google.storagetransfer.v1.proto.TransferTypes.S3CompatibleMetadata 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 @@ -12946,6 +14380,8 @@ protected Builder newBuilderForType( return builder; } /** + * + * *
      * S3CompatibleMetadata contains the metadata fields that apply to the basic
      * types of S3-compatible data providers.
@@ -12953,38 +14389,42 @@ protected Builder newBuilderForType(
      *
      * Protobuf type {@code google.storagetransfer.v1.S3CompatibleMetadata}
      */
-    public static final class Builder extends
-        com.google.protobuf.GeneratedMessageV3.Builder implements
+    public static final class Builder
+        extends com.google.protobuf.GeneratedMessageV3.Builder
+        implements
         // @@protoc_insertion_point(builder_implements:google.storagetransfer.v1.S3CompatibleMetadata)
         com.google.storagetransfer.v1.proto.TransferTypes.S3CompatibleMetadataOrBuilder {
-      public static final com.google.protobuf.Descriptors.Descriptor
-          getDescriptor() {
-        return com.google.storagetransfer.v1.proto.TransferTypes.internal_static_google_storagetransfer_v1_S3CompatibleMetadata_descriptor;
+      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+        return com.google.storagetransfer.v1.proto.TransferTypes
+            .internal_static_google_storagetransfer_v1_S3CompatibleMetadata_descriptor;
       }
 
       @java.lang.Override
       protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
           internalGetFieldAccessorTable() {
-        return com.google.storagetransfer.v1.proto.TransferTypes.internal_static_google_storagetransfer_v1_S3CompatibleMetadata_fieldAccessorTable
+        return com.google.storagetransfer.v1.proto.TransferTypes
+            .internal_static_google_storagetransfer_v1_S3CompatibleMetadata_fieldAccessorTable
             .ensureFieldAccessorsInitialized(
-                com.google.storagetransfer.v1.proto.TransferTypes.S3CompatibleMetadata.class, com.google.storagetransfer.v1.proto.TransferTypes.S3CompatibleMetadata.Builder.class);
+                com.google.storagetransfer.v1.proto.TransferTypes.S3CompatibleMetadata.class,
+                com.google.storagetransfer.v1.proto.TransferTypes.S3CompatibleMetadata.Builder
+                    .class);
       }
 
-      // Construct using com.google.storagetransfer.v1.proto.TransferTypes.S3CompatibleMetadata.newBuilder()
+      // Construct using
+      // com.google.storagetransfer.v1.proto.TransferTypes.S3CompatibleMetadata.newBuilder()
       private Builder() {
         maybeForceBuilderInitialization();
       }
 
-      private Builder(
-          com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+      private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
         super(parent);
         maybeForceBuilderInitialization();
       }
+
       private void maybeForceBuilderInitialization() {
-        if (com.google.protobuf.GeneratedMessageV3
-                .alwaysUseFieldBuilders) {
-        }
+        if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {}
       }
+
       @java.lang.Override
       public Builder clear() {
         super.clear();
@@ -13000,19 +14440,22 @@ public Builder clear() {
       }
 
       @java.lang.Override
-      public com.google.protobuf.Descriptors.Descriptor
-          getDescriptorForType() {
-        return com.google.storagetransfer.v1.proto.TransferTypes.internal_static_google_storagetransfer_v1_S3CompatibleMetadata_descriptor;
+      public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+        return com.google.storagetransfer.v1.proto.TransferTypes
+            .internal_static_google_storagetransfer_v1_S3CompatibleMetadata_descriptor;
       }
 
       @java.lang.Override
-      public com.google.storagetransfer.v1.proto.TransferTypes.S3CompatibleMetadata getDefaultInstanceForType() {
-        return com.google.storagetransfer.v1.proto.TransferTypes.S3CompatibleMetadata.getDefaultInstance();
+      public com.google.storagetransfer.v1.proto.TransferTypes.S3CompatibleMetadata
+          getDefaultInstanceForType() {
+        return com.google.storagetransfer.v1.proto.TransferTypes.S3CompatibleMetadata
+            .getDefaultInstance();
       }
 
       @java.lang.Override
       public com.google.storagetransfer.v1.proto.TransferTypes.S3CompatibleMetadata build() {
-        com.google.storagetransfer.v1.proto.TransferTypes.S3CompatibleMetadata result = buildPartial();
+        com.google.storagetransfer.v1.proto.TransferTypes.S3CompatibleMetadata result =
+            buildPartial();
         if (!result.isInitialized()) {
           throw newUninitializedMessageException(result);
         }
@@ -13021,7 +14464,8 @@ public com.google.storagetransfer.v1.proto.TransferTypes.S3CompatibleMetadata bu
 
       @java.lang.Override
       public com.google.storagetransfer.v1.proto.TransferTypes.S3CompatibleMetadata buildPartial() {
-        com.google.storagetransfer.v1.proto.TransferTypes.S3CompatibleMetadata result = new com.google.storagetransfer.v1.proto.TransferTypes.S3CompatibleMetadata(this);
+        com.google.storagetransfer.v1.proto.TransferTypes.S3CompatibleMetadata result =
+            new com.google.storagetransfer.v1.proto.TransferTypes.S3CompatibleMetadata(this);
         result.authMethod_ = authMethod_;
         result.requestModel_ = requestModel_;
         result.protocol_ = protocol_;
@@ -13034,46 +14478,54 @@ public com.google.storagetransfer.v1.proto.TransferTypes.S3CompatibleMetadata bu
       public Builder clone() {
         return super.clone();
       }
+
       @java.lang.Override
       public Builder setField(
-          com.google.protobuf.Descriptors.FieldDescriptor field,
-          java.lang.Object value) {
+          com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
         return super.setField(field, value);
       }
+
       @java.lang.Override
-      public Builder clearField(
-          com.google.protobuf.Descriptors.FieldDescriptor field) {
+      public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
         return super.clearField(field);
       }
+
       @java.lang.Override
-      public Builder clearOneof(
-          com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+      public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
         return super.clearOneof(oneof);
       }
+
       @java.lang.Override
       public Builder setRepeatedField(
           com.google.protobuf.Descriptors.FieldDescriptor field,
-          int index, java.lang.Object value) {
+          int index,
+          java.lang.Object value) {
         return super.setRepeatedField(field, index, value);
       }
+
       @java.lang.Override
       public Builder addRepeatedField(
-          com.google.protobuf.Descriptors.FieldDescriptor field,
-          java.lang.Object value) {
+          com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
         return super.addRepeatedField(field, value);
       }
+
       @java.lang.Override
       public Builder mergeFrom(com.google.protobuf.Message other) {
-        if (other instanceof com.google.storagetransfer.v1.proto.TransferTypes.S3CompatibleMetadata) {
-          return mergeFrom((com.google.storagetransfer.v1.proto.TransferTypes.S3CompatibleMetadata)other);
+        if (other
+            instanceof com.google.storagetransfer.v1.proto.TransferTypes.S3CompatibleMetadata) {
+          return mergeFrom(
+              (com.google.storagetransfer.v1.proto.TransferTypes.S3CompatibleMetadata) other);
         } else {
           super.mergeFrom(other);
           return this;
         }
       }
 
-      public Builder mergeFrom(com.google.storagetransfer.v1.proto.TransferTypes.S3CompatibleMetadata other) {
-        if (other == com.google.storagetransfer.v1.proto.TransferTypes.S3CompatibleMetadata.getDefaultInstance()) return this;
+      public Builder mergeFrom(
+          com.google.storagetransfer.v1.proto.TransferTypes.S3CompatibleMetadata other) {
+        if (other
+            == com.google.storagetransfer.v1.proto.TransferTypes.S3CompatibleMetadata
+                .getDefaultInstance()) return this;
         if (other.authMethod_ != 0) {
           setAuthMethodValue(other.getAuthMethodValue());
         }
@@ -13105,7 +14557,9 @@ public Builder mergeFrom(
         try {
           parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
         } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-          parsedMessage = (com.google.storagetransfer.v1.proto.TransferTypes.S3CompatibleMetadata) e.getUnfinishedMessage();
+          parsedMessage =
+              (com.google.storagetransfer.v1.proto.TransferTypes.S3CompatibleMetadata)
+                  e.getUnfinishedMessage();
           throw e.unwrapIOException();
         } finally {
           if (parsedMessage != null) {
@@ -13117,6 +14571,8 @@ public Builder mergeFrom(
 
       private int authMethod_ = 0;
       /**
+       *
+       *
        * 
        * Specifies the authentication and authorization method used by the storage
        * service. When not specified, Transfer Service will attempt to determine
@@ -13124,12 +14580,16 @@ public Builder mergeFrom(
        * 
* * .google.storagetransfer.v1.S3CompatibleMetadata.AuthMethod auth_method = 1; + * * @return The enum numeric value on the wire for authMethod. */ - @java.lang.Override public int getAuthMethodValue() { + @java.lang.Override + public int getAuthMethodValue() { return authMethod_; } /** + * + * *
        * Specifies the authentication and authorization method used by the storage
        * service. When not specified, Transfer Service will attempt to determine
@@ -13137,16 +14597,19 @@ public Builder mergeFrom(
        * 
* * .google.storagetransfer.v1.S3CompatibleMetadata.AuthMethod auth_method = 1; + * * @param value The enum numeric value on the wire for authMethod to set. * @return This builder for chaining. */ public Builder setAuthMethodValue(int value) { - + authMethod_ = value; onChanged(); return this; } /** + * + * *
        * Specifies the authentication and authorization method used by the storage
        * service. When not specified, Transfer Service will attempt to determine
@@ -13154,15 +14617,24 @@ public Builder setAuthMethodValue(int value) {
        * 
* * .google.storagetransfer.v1.S3CompatibleMetadata.AuthMethod auth_method = 1; + * * @return The authMethod. */ @java.lang.Override - public com.google.storagetransfer.v1.proto.TransferTypes.S3CompatibleMetadata.AuthMethod getAuthMethod() { + public com.google.storagetransfer.v1.proto.TransferTypes.S3CompatibleMetadata.AuthMethod + getAuthMethod() { @SuppressWarnings("deprecation") - com.google.storagetransfer.v1.proto.TransferTypes.S3CompatibleMetadata.AuthMethod result = com.google.storagetransfer.v1.proto.TransferTypes.S3CompatibleMetadata.AuthMethod.valueOf(authMethod_); - return result == null ? com.google.storagetransfer.v1.proto.TransferTypes.S3CompatibleMetadata.AuthMethod.UNRECOGNIZED : result; + com.google.storagetransfer.v1.proto.TransferTypes.S3CompatibleMetadata.AuthMethod result = + com.google.storagetransfer.v1.proto.TransferTypes.S3CompatibleMetadata.AuthMethod + .valueOf(authMethod_); + return result == null + ? com.google.storagetransfer.v1.proto.TransferTypes.S3CompatibleMetadata.AuthMethod + .UNRECOGNIZED + : result; } /** + * + * *
        * Specifies the authentication and authorization method used by the storage
        * service. When not specified, Transfer Service will attempt to determine
@@ -13170,19 +14642,23 @@ public com.google.storagetransfer.v1.proto.TransferTypes.S3CompatibleMetadata.Au
        * 
* * .google.storagetransfer.v1.S3CompatibleMetadata.AuthMethod auth_method = 1; + * * @param value The authMethod to set. * @return This builder for chaining. */ - public Builder setAuthMethod(com.google.storagetransfer.v1.proto.TransferTypes.S3CompatibleMetadata.AuthMethod value) { + public Builder setAuthMethod( + com.google.storagetransfer.v1.proto.TransferTypes.S3CompatibleMetadata.AuthMethod value) { if (value == null) { throw new NullPointerException(); } - + authMethod_ = value.getNumber(); onChanged(); return this; } /** + * + * *
        * Specifies the authentication and authorization method used by the storage
        * service. When not specified, Transfer Service will attempt to determine
@@ -13190,10 +14666,11 @@ public Builder setAuthMethod(com.google.storagetransfer.v1.proto.TransferTypes.S
        * 
* * .google.storagetransfer.v1.S3CompatibleMetadata.AuthMethod auth_method = 1; + * * @return This builder for chaining. */ public Builder clearAuthMethod() { - + authMethod_ = 0; onChanged(); return this; @@ -13201,83 +14678,112 @@ public Builder clearAuthMethod() { private int requestModel_ = 0; /** + * + * *
        * Specifies the API request model used to call the storage service. When not
        * specified, the default value of RequestModel
        * REQUEST_MODEL_VIRTUAL_HOSTED_STYLE is used.
        * 
* - * .google.storagetransfer.v1.S3CompatibleMetadata.RequestModel request_model = 2; + * .google.storagetransfer.v1.S3CompatibleMetadata.RequestModel request_model = 2; + * + * * @return The enum numeric value on the wire for requestModel. */ - @java.lang.Override public int getRequestModelValue() { + @java.lang.Override + public int getRequestModelValue() { return requestModel_; } /** + * + * *
        * Specifies the API request model used to call the storage service. When not
        * specified, the default value of RequestModel
        * REQUEST_MODEL_VIRTUAL_HOSTED_STYLE is used.
        * 
* - * .google.storagetransfer.v1.S3CompatibleMetadata.RequestModel request_model = 2; + * .google.storagetransfer.v1.S3CompatibleMetadata.RequestModel request_model = 2; + * + * * @param value The enum numeric value on the wire for requestModel to set. * @return This builder for chaining. */ public Builder setRequestModelValue(int value) { - + requestModel_ = value; onChanged(); return this; } /** + * + * *
        * Specifies the API request model used to call the storage service. When not
        * specified, the default value of RequestModel
        * REQUEST_MODEL_VIRTUAL_HOSTED_STYLE is used.
        * 
* - * .google.storagetransfer.v1.S3CompatibleMetadata.RequestModel request_model = 2; + * .google.storagetransfer.v1.S3CompatibleMetadata.RequestModel request_model = 2; + * + * * @return The requestModel. */ @java.lang.Override - public com.google.storagetransfer.v1.proto.TransferTypes.S3CompatibleMetadata.RequestModel getRequestModel() { + public com.google.storagetransfer.v1.proto.TransferTypes.S3CompatibleMetadata.RequestModel + getRequestModel() { @SuppressWarnings("deprecation") - com.google.storagetransfer.v1.proto.TransferTypes.S3CompatibleMetadata.RequestModel result = com.google.storagetransfer.v1.proto.TransferTypes.S3CompatibleMetadata.RequestModel.valueOf(requestModel_); - return result == null ? com.google.storagetransfer.v1.proto.TransferTypes.S3CompatibleMetadata.RequestModel.UNRECOGNIZED : result; + com.google.storagetransfer.v1.proto.TransferTypes.S3CompatibleMetadata.RequestModel result = + com.google.storagetransfer.v1.proto.TransferTypes.S3CompatibleMetadata.RequestModel + .valueOf(requestModel_); + return result == null + ? com.google.storagetransfer.v1.proto.TransferTypes.S3CompatibleMetadata.RequestModel + .UNRECOGNIZED + : result; } /** + * + * *
        * Specifies the API request model used to call the storage service. When not
        * specified, the default value of RequestModel
        * REQUEST_MODEL_VIRTUAL_HOSTED_STYLE is used.
        * 
* - * .google.storagetransfer.v1.S3CompatibleMetadata.RequestModel request_model = 2; + * .google.storagetransfer.v1.S3CompatibleMetadata.RequestModel request_model = 2; + * + * * @param value The requestModel to set. * @return This builder for chaining. */ - public Builder setRequestModel(com.google.storagetransfer.v1.proto.TransferTypes.S3CompatibleMetadata.RequestModel value) { + public Builder setRequestModel( + com.google.storagetransfer.v1.proto.TransferTypes.S3CompatibleMetadata.RequestModel + value) { if (value == null) { throw new NullPointerException(); } - + requestModel_ = value.getNumber(); onChanged(); return this; } /** + * + * *
        * Specifies the API request model used to call the storage service. When not
        * specified, the default value of RequestModel
        * REQUEST_MODEL_VIRTUAL_HOSTED_STYLE is used.
        * 
* - * .google.storagetransfer.v1.S3CompatibleMetadata.RequestModel request_model = 2; + * .google.storagetransfer.v1.S3CompatibleMetadata.RequestModel request_model = 2; + * + * * @return This builder for chaining. */ public Builder clearRequestModel() { - + requestModel_ = 0; onChanged(); return this; @@ -13285,78 +14791,103 @@ public Builder clearRequestModel() { private int protocol_ = 0; /** + * + * *
        * Specifies the network protocol of the agent. When not specified, the
        * default value of NetworkProtocol NETWORK_PROTOCOL_HTTPS is used.
        * 
* * .google.storagetransfer.v1.S3CompatibleMetadata.NetworkProtocol protocol = 3; + * * @return The enum numeric value on the wire for protocol. */ - @java.lang.Override public int getProtocolValue() { + @java.lang.Override + public int getProtocolValue() { return protocol_; } /** + * + * *
        * Specifies the network protocol of the agent. When not specified, the
        * default value of NetworkProtocol NETWORK_PROTOCOL_HTTPS is used.
        * 
* * .google.storagetransfer.v1.S3CompatibleMetadata.NetworkProtocol protocol = 3; + * * @param value The enum numeric value on the wire for protocol to set. * @return This builder for chaining. */ public Builder setProtocolValue(int value) { - + protocol_ = value; onChanged(); return this; } /** + * + * *
        * Specifies the network protocol of the agent. When not specified, the
        * default value of NetworkProtocol NETWORK_PROTOCOL_HTTPS is used.
        * 
* * .google.storagetransfer.v1.S3CompatibleMetadata.NetworkProtocol protocol = 3; + * * @return The protocol. */ @java.lang.Override - public com.google.storagetransfer.v1.proto.TransferTypes.S3CompatibleMetadata.NetworkProtocol getProtocol() { + public com.google.storagetransfer.v1.proto.TransferTypes.S3CompatibleMetadata.NetworkProtocol + getProtocol() { @SuppressWarnings("deprecation") - com.google.storagetransfer.v1.proto.TransferTypes.S3CompatibleMetadata.NetworkProtocol result = com.google.storagetransfer.v1.proto.TransferTypes.S3CompatibleMetadata.NetworkProtocol.valueOf(protocol_); - return result == null ? com.google.storagetransfer.v1.proto.TransferTypes.S3CompatibleMetadata.NetworkProtocol.UNRECOGNIZED : result; + com.google.storagetransfer.v1.proto.TransferTypes.S3CompatibleMetadata.NetworkProtocol + result = + com.google.storagetransfer.v1.proto.TransferTypes.S3CompatibleMetadata + .NetworkProtocol.valueOf(protocol_); + return result == null + ? com.google.storagetransfer.v1.proto.TransferTypes.S3CompatibleMetadata.NetworkProtocol + .UNRECOGNIZED + : result; } /** + * + * *
        * Specifies the network protocol of the agent. When not specified, the
        * default value of NetworkProtocol NETWORK_PROTOCOL_HTTPS is used.
        * 
* * .google.storagetransfer.v1.S3CompatibleMetadata.NetworkProtocol protocol = 3; + * * @param value The protocol to set. * @return This builder for chaining. */ - public Builder setProtocol(com.google.storagetransfer.v1.proto.TransferTypes.S3CompatibleMetadata.NetworkProtocol value) { + public Builder setProtocol( + com.google.storagetransfer.v1.proto.TransferTypes.S3CompatibleMetadata.NetworkProtocol + value) { if (value == null) { throw new NullPointerException(); } - + protocol_ = value.getNumber(); onChanged(); return this; } /** + * + * *
        * Specifies the network protocol of the agent. When not specified, the
        * default value of NetworkProtocol NETWORK_PROTOCOL_HTTPS is used.
        * 
* * .google.storagetransfer.v1.S3CompatibleMetadata.NetworkProtocol protocol = 3; + * * @return This builder for chaining. */ public Builder clearProtocol() { - + protocol_ = 0; onChanged(); return this; @@ -13364,82 +14895,106 @@ public Builder clearProtocol() { private int listApi_ = 0; /** + * + * *
        * The Listing API to use for discovering objects. When not specified,
        * Transfer Service will attempt to determine the right API to use.
        * 
* * .google.storagetransfer.v1.S3CompatibleMetadata.ListApi list_api = 4; + * * @return The enum numeric value on the wire for listApi. */ - @java.lang.Override public int getListApiValue() { + @java.lang.Override + public int getListApiValue() { return listApi_; } /** + * + * *
        * The Listing API to use for discovering objects. When not specified,
        * Transfer Service will attempt to determine the right API to use.
        * 
* * .google.storagetransfer.v1.S3CompatibleMetadata.ListApi list_api = 4; + * * @param value The enum numeric value on the wire for listApi to set. * @return This builder for chaining. */ public Builder setListApiValue(int value) { - + listApi_ = value; onChanged(); return this; } /** + * + * *
        * The Listing API to use for discovering objects. When not specified,
        * Transfer Service will attempt to determine the right API to use.
        * 
* * .google.storagetransfer.v1.S3CompatibleMetadata.ListApi list_api = 4; + * * @return The listApi. */ @java.lang.Override - public com.google.storagetransfer.v1.proto.TransferTypes.S3CompatibleMetadata.ListApi getListApi() { + public com.google.storagetransfer.v1.proto.TransferTypes.S3CompatibleMetadata.ListApi + getListApi() { @SuppressWarnings("deprecation") - com.google.storagetransfer.v1.proto.TransferTypes.S3CompatibleMetadata.ListApi result = com.google.storagetransfer.v1.proto.TransferTypes.S3CompatibleMetadata.ListApi.valueOf(listApi_); - return result == null ? com.google.storagetransfer.v1.proto.TransferTypes.S3CompatibleMetadata.ListApi.UNRECOGNIZED : result; + com.google.storagetransfer.v1.proto.TransferTypes.S3CompatibleMetadata.ListApi result = + com.google.storagetransfer.v1.proto.TransferTypes.S3CompatibleMetadata.ListApi.valueOf( + listApi_); + return result == null + ? com.google.storagetransfer.v1.proto.TransferTypes.S3CompatibleMetadata.ListApi + .UNRECOGNIZED + : result; } /** + * + * *
        * The Listing API to use for discovering objects. When not specified,
        * Transfer Service will attempt to determine the right API to use.
        * 
* * .google.storagetransfer.v1.S3CompatibleMetadata.ListApi list_api = 4; + * * @param value The listApi to set. * @return This builder for chaining. */ - public Builder setListApi(com.google.storagetransfer.v1.proto.TransferTypes.S3CompatibleMetadata.ListApi value) { + public Builder setListApi( + com.google.storagetransfer.v1.proto.TransferTypes.S3CompatibleMetadata.ListApi value) { if (value == null) { throw new NullPointerException(); } - + listApi_ = value.getNumber(); onChanged(); return this; } /** + * + * *
        * The Listing API to use for discovering objects. When not specified,
        * Transfer Service will attempt to determine the right API to use.
        * 
* * .google.storagetransfer.v1.S3CompatibleMetadata.ListApi list_api = 4; + * * @return This builder for chaining. */ public Builder clearListApi() { - + listApi_ = 0; onChanged(); return this; } + @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -13452,30 +15007,33 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.storagetransfer.v1.S3CompatibleMetadata) } // @@protoc_insertion_point(class_scope:google.storagetransfer.v1.S3CompatibleMetadata) - private static final com.google.storagetransfer.v1.proto.TransferTypes.S3CompatibleMetadata DEFAULT_INSTANCE; + private static final com.google.storagetransfer.v1.proto.TransferTypes.S3CompatibleMetadata + DEFAULT_INSTANCE; + static { - DEFAULT_INSTANCE = new com.google.storagetransfer.v1.proto.TransferTypes.S3CompatibleMetadata(); + DEFAULT_INSTANCE = + new com.google.storagetransfer.v1.proto.TransferTypes.S3CompatibleMetadata(); } - public static com.google.storagetransfer.v1.proto.TransferTypes.S3CompatibleMetadata getDefaultInstance() { + public static com.google.storagetransfer.v1.proto.TransferTypes.S3CompatibleMetadata + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public S3CompatibleMetadata parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new S3CompatibleMetadata(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public S3CompatibleMetadata parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new S3CompatibleMetadata(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -13487,98 +15045,127 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.storagetransfer.v1.proto.TransferTypes.S3CompatibleMetadata getDefaultInstanceForType() { + public com.google.storagetransfer.v1.proto.TransferTypes.S3CompatibleMetadata + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - public interface AgentPoolOrBuilder extends + public interface AgentPoolOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.storagetransfer.v1.AgentPool) com.google.protobuf.MessageOrBuilder { /** + * + * *
      * Required. Specifies a unique string that identifies the agent pool.
      * Format: `projects/{project_id}/agentPools/{agent_pool_id}`
      * 
* * string name = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The name. */ java.lang.String getName(); /** + * + * *
      * Required. Specifies a unique string that identifies the agent pool.
      * Format: `projects/{project_id}/agentPools/{agent_pool_id}`
      * 
* * string name = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for name. */ - com.google.protobuf.ByteString - getNameBytes(); + com.google.protobuf.ByteString getNameBytes(); /** + * + * *
      * Specifies the client-specified AgentPool description.
      * 
* * string display_name = 3; + * * @return The displayName. */ java.lang.String getDisplayName(); /** + * + * *
      * Specifies the client-specified AgentPool description.
      * 
* * string display_name = 3; + * * @return The bytes for displayName. */ - com.google.protobuf.ByteString - getDisplayNameBytes(); + com.google.protobuf.ByteString getDisplayNameBytes(); /** + * + * *
      * Output only. Specifies the state of the AgentPool.
      * 
* - * .google.storagetransfer.v1.AgentPool.State state = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.storagetransfer.v1.AgentPool.State state = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The enum numeric value on the wire for state. */ int getStateValue(); /** + * + * *
      * Output only. Specifies the state of the AgentPool.
      * 
* - * .google.storagetransfer.v1.AgentPool.State state = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.storagetransfer.v1.AgentPool.State state = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The state. */ com.google.storagetransfer.v1.proto.TransferTypes.AgentPool.State getState(); /** + * + * *
      * Specifies the bandwidth limit details. If this field is unspecified, the
      * default value is set as 'No Limit'.
      * 
* * .google.storagetransfer.v1.AgentPool.BandwidthLimit bandwidth_limit = 5; + * * @return Whether the bandwidthLimit field is set. */ boolean hasBandwidthLimit(); /** + * + * *
      * Specifies the bandwidth limit details. If this field is unspecified, the
      * default value is set as 'No Limit'.
      * 
* * .google.storagetransfer.v1.AgentPool.BandwidthLimit bandwidth_limit = 5; + * * @return The bandwidthLimit. */ com.google.storagetransfer.v1.proto.TransferTypes.AgentPool.BandwidthLimit getBandwidthLimit(); /** + * + * *
      * Specifies the bandwidth limit details. If this field is unspecified, the
      * default value is set as 'No Limit'.
@@ -13586,24 +15173,28 @@ public interface AgentPoolOrBuilder extends
      *
      * .google.storagetransfer.v1.AgentPool.BandwidthLimit bandwidth_limit = 5;
      */
-    com.google.storagetransfer.v1.proto.TransferTypes.AgentPool.BandwidthLimitOrBuilder getBandwidthLimitOrBuilder();
+    com.google.storagetransfer.v1.proto.TransferTypes.AgentPool.BandwidthLimitOrBuilder
+        getBandwidthLimitOrBuilder();
   }
   /**
+   *
+   *
    * 
    * Represents an On-Premises Agent pool.
    * 
* * Protobuf type {@code google.storagetransfer.v1.AgentPool} */ - public static final class AgentPool extends - com.google.protobuf.GeneratedMessageV3 implements + public static final class AgentPool extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.storagetransfer.v1.AgentPool) AgentPoolOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use AgentPool.newBuilder() to construct. private AgentPool(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private AgentPool() { name_ = ""; displayName_ = ""; @@ -13612,16 +15203,15 @@ private AgentPool() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new AgentPool(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private AgentPool( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -13640,44 +15230,53 @@ private AgentPool( case 0: done = true; break; - case 18: { - java.lang.String s = input.readStringRequireUtf8(); + case 18: + { + java.lang.String s = input.readStringRequireUtf8(); - name_ = s; - break; - } - case 26: { - java.lang.String s = input.readStringRequireUtf8(); - - displayName_ = s; - break; - } - case 32: { - int rawValue = input.readEnum(); + name_ = s; + break; + } + case 26: + { + java.lang.String s = input.readStringRequireUtf8(); - state_ = rawValue; - break; - } - case 42: { - com.google.storagetransfer.v1.proto.TransferTypes.AgentPool.BandwidthLimit.Builder subBuilder = null; - if (bandwidthLimit_ != null) { - subBuilder = bandwidthLimit_.toBuilder(); + displayName_ = s; + break; } - bandwidthLimit_ = input.readMessage(com.google.storagetransfer.v1.proto.TransferTypes.AgentPool.BandwidthLimit.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(bandwidthLimit_); - bandwidthLimit_ = subBuilder.buildPartial(); + case 32: + { + int rawValue = input.readEnum(); + + state_ = rawValue; + break; } + case 42: + { + com.google.storagetransfer.v1.proto.TransferTypes.AgentPool.BandwidthLimit.Builder + subBuilder = null; + if (bandwidthLimit_ != null) { + subBuilder = bandwidthLimit_.toBuilder(); + } + bandwidthLimit_ = + input.readMessage( + com.google.storagetransfer.v1.proto.TransferTypes.AgentPool.BandwidthLimit + .parser(), + extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(bandwidthLimit_); + bandwidthLimit_ = subBuilder.buildPartial(); + } - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -13685,36 +15284,41 @@ private AgentPool( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.storagetransfer.v1.proto.TransferTypes.internal_static_google_storagetransfer_v1_AgentPool_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.storagetransfer.v1.proto.TransferTypes + .internal_static_google_storagetransfer_v1_AgentPool_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.storagetransfer.v1.proto.TransferTypes.internal_static_google_storagetransfer_v1_AgentPool_fieldAccessorTable + return com.google.storagetransfer.v1.proto.TransferTypes + .internal_static_google_storagetransfer_v1_AgentPool_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.storagetransfer.v1.proto.TransferTypes.AgentPool.class, com.google.storagetransfer.v1.proto.TransferTypes.AgentPool.Builder.class); + com.google.storagetransfer.v1.proto.TransferTypes.AgentPool.class, + com.google.storagetransfer.v1.proto.TransferTypes.AgentPool.Builder.class); } /** + * + * *
      * The state of an AgentPool.
      * 
* * Protobuf enum {@code google.storagetransfer.v1.AgentPool.State} */ - public enum State - implements com.google.protobuf.ProtocolMessageEnum { + public enum State implements com.google.protobuf.ProtocolMessageEnum { /** + * + * *
        * Default value. This value is unused.
        * 
@@ -13723,6 +15327,8 @@ public enum State */ STATE_UNSPECIFIED(0), /** + * + * *
        * This is an initialization state. During this stage, the resources such as
        * Pub/Sub topics are allocated for the AgentPool.
@@ -13732,6 +15338,8 @@ public enum State
        */
       CREATING(1),
       /**
+       *
+       *
        * 
        * Determines that the AgentPool is created for use. At this state, Agents
        * can join the AgentPool and participate in the transfer jobs in that pool.
@@ -13741,6 +15349,8 @@ public enum State
        */
       CREATED(2),
       /**
+       *
+       *
        * 
        * Determines that the AgentPool deletion has been initiated, and all the
        * resources are scheduled to be cleaned up and freed.
@@ -13753,6 +15363,8 @@ public enum State
       ;
 
       /**
+       *
+       *
        * 
        * Default value. This value is unused.
        * 
@@ -13761,6 +15373,8 @@ public enum State */ public static final int STATE_UNSPECIFIED_VALUE = 0; /** + * + * *
        * This is an initialization state. During this stage, the resources such as
        * Pub/Sub topics are allocated for the AgentPool.
@@ -13770,6 +15384,8 @@ public enum State
        */
       public static final int CREATING_VALUE = 1;
       /**
+       *
+       *
        * 
        * Determines that the AgentPool is created for use. At this state, Agents
        * can join the AgentPool and participate in the transfer jobs in that pool.
@@ -13779,6 +15395,8 @@ public enum State
        */
       public static final int CREATED_VALUE = 2;
       /**
+       *
+       *
        * 
        * Determines that the AgentPool deletion has been initiated, and all the
        * resources are scheduled to be cleaned up and freed.
@@ -13788,7 +15406,6 @@ public enum State
        */
       public static final int DELETING_VALUE = 3;
 
-
       public final int getNumber() {
         if (this == UNRECOGNIZED) {
           throw new java.lang.IllegalArgumentException(
@@ -13813,50 +15430,53 @@ 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 CREATED;
-          case 3: return DELETING;
-          default: return null;
+          case 0:
+            return STATE_UNSPECIFIED;
+          case 1:
+            return CREATING;
+          case 2:
+            return CREATED;
+          case 3:
+            return DELETING;
+          default:
+            return null;
         }
       }
 
-      public static com.google.protobuf.Internal.EnumLiteMap
-          internalGetValueMap() {
+      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() {
-              public State findValueByNumber(int number) {
-                return State.forNumber(number);
-              }
-            };
 
-      public final com.google.protobuf.Descriptors.EnumValueDescriptor
-          getValueDescriptor() {
+      private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap =
+          new com.google.protobuf.Internal.EnumLiteMap() {
+            public State findValueByNumber(int number) {
+              return State.forNumber(number);
+            }
+          };
+
+      public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() {
         if (this == UNRECOGNIZED) {
           throw new java.lang.IllegalStateException(
               "Can't get the descriptor of an unrecognized enum value.");
         }
         return getDescriptor().getValues().get(ordinal());
       }
-      public final com.google.protobuf.Descriptors.EnumDescriptor
-          getDescriptorForType() {
+
+      public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() {
         return getDescriptor();
       }
-      public static final com.google.protobuf.Descriptors.EnumDescriptor
-          getDescriptor() {
-        return com.google.storagetransfer.v1.proto.TransferTypes.AgentPool.getDescriptor().getEnumTypes().get(0);
+
+      public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() {
+        return com.google.storagetransfer.v1.proto.TransferTypes.AgentPool.getDescriptor()
+            .getEnumTypes()
+            .get(0);
       }
 
       private static final State[] VALUES = values();
 
-      public static State valueOf(
-          com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
+      public static State valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
         if (desc.getType() != getDescriptor()) {
-          throw new java.lang.IllegalArgumentException(
-            "EnumValueDescriptor is not for this type.");
+          throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type.");
         }
         if (desc.getIndex() == -1) {
           return UNRECOGNIZED;
@@ -13873,52 +15493,57 @@ private State(int value) {
       // @@protoc_insertion_point(enum_scope:google.storagetransfer.v1.AgentPool.State)
     }
 
-    public interface BandwidthLimitOrBuilder extends
+    public interface BandwidthLimitOrBuilder
+        extends
         // @@protoc_insertion_point(interface_extends:google.storagetransfer.v1.AgentPool.BandwidthLimit)
         com.google.protobuf.MessageOrBuilder {
 
       /**
+       *
+       *
        * 
        * Bandwidth rate in megabytes per second, distributed across all the agents
        * in the pool.
        * 
* * int64 limit_mbps = 1; + * * @return The limitMbps. */ long getLimitMbps(); } /** + * + * *
      * Specifies a bandwidth limit for an agent pool.
      * 
* * Protobuf type {@code google.storagetransfer.v1.AgentPool.BandwidthLimit} */ - public static final class BandwidthLimit extends - com.google.protobuf.GeneratedMessageV3 implements + public static final class BandwidthLimit extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.storagetransfer.v1.AgentPool.BandwidthLimit) BandwidthLimitOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use BandwidthLimit.newBuilder() to construct. private BandwidthLimit(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private BandwidthLimit() { - } + + private BandwidthLimit() {} @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new BandwidthLimit(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private BandwidthLimit( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -13937,18 +15562,18 @@ private BandwidthLimit( case 0: done = true; break; - case 8: { - - limitMbps_ = input.readInt64(); - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + case 8: + { + limitMbps_ = input.readInt64(); + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -13956,35 +15581,42 @@ private BandwidthLimit( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.storagetransfer.v1.proto.TransferTypes.internal_static_google_storagetransfer_v1_AgentPool_BandwidthLimit_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.storagetransfer.v1.proto.TransferTypes + .internal_static_google_storagetransfer_v1_AgentPool_BandwidthLimit_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.storagetransfer.v1.proto.TransferTypes.internal_static_google_storagetransfer_v1_AgentPool_BandwidthLimit_fieldAccessorTable + return com.google.storagetransfer.v1.proto.TransferTypes + .internal_static_google_storagetransfer_v1_AgentPool_BandwidthLimit_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.storagetransfer.v1.proto.TransferTypes.AgentPool.BandwidthLimit.class, com.google.storagetransfer.v1.proto.TransferTypes.AgentPool.BandwidthLimit.Builder.class); + com.google.storagetransfer.v1.proto.TransferTypes.AgentPool.BandwidthLimit.class, + com.google.storagetransfer.v1.proto.TransferTypes.AgentPool.BandwidthLimit.Builder + .class); } public static final int LIMIT_MBPS_FIELD_NUMBER = 1; private long limitMbps_; /** + * + * *
        * Bandwidth rate in megabytes per second, distributed across all the agents
        * in the pool.
        * 
* * int64 limit_mbps = 1; + * * @return The limitMbps. */ @java.lang.Override @@ -13993,6 +15625,7 @@ public long getLimitMbps() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -14004,8 +15637,7 @@ 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 (limitMbps_ != 0L) { output.writeInt64(1, limitMbps_); } @@ -14019,8 +15651,7 @@ public int getSerializedSize() { size = 0; if (limitMbps_ != 0L) { - size += com.google.protobuf.CodedOutputStream - .computeInt64Size(1, limitMbps_); + size += com.google.protobuf.CodedOutputStream.computeInt64Size(1, limitMbps_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -14030,15 +15661,17 @@ 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.storagetransfer.v1.proto.TransferTypes.AgentPool.BandwidthLimit)) { + if (!(obj + instanceof + com.google.storagetransfer.v1.proto.TransferTypes.AgentPool.BandwidthLimit)) { return super.equals(obj); } - com.google.storagetransfer.v1.proto.TransferTypes.AgentPool.BandwidthLimit other = (com.google.storagetransfer.v1.proto.TransferTypes.AgentPool.BandwidthLimit) obj; + com.google.storagetransfer.v1.proto.TransferTypes.AgentPool.BandwidthLimit other = + (com.google.storagetransfer.v1.proto.TransferTypes.AgentPool.BandwidthLimit) obj; - if (getLimitMbps() - != other.getLimitMbps()) return false; + if (getLimitMbps() != other.getLimitMbps()) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -14051,95 +15684,109 @@ public int hashCode() { int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); hash = (37 * hash) + LIMIT_MBPS_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashLong( - getLimitMbps()); + hash = (53 * hash) + com.google.protobuf.Internal.hashLong(getLimitMbps()); hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } - public static com.google.storagetransfer.v1.proto.TransferTypes.AgentPool.BandwidthLimit parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.storagetransfer.v1.proto.TransferTypes.AgentPool.BandwidthLimit + parseFrom(java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.storagetransfer.v1.proto.TransferTypes.AgentPool.BandwidthLimit parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.storagetransfer.v1.proto.TransferTypes.AgentPool.BandwidthLimit + parseFrom( + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.storagetransfer.v1.proto.TransferTypes.AgentPool.BandwidthLimit parseFrom( - com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.storagetransfer.v1.proto.TransferTypes.AgentPool.BandwidthLimit + parseFrom(com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.storagetransfer.v1.proto.TransferTypes.AgentPool.BandwidthLimit parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.storagetransfer.v1.proto.TransferTypes.AgentPool.BandwidthLimit + 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.storagetransfer.v1.proto.TransferTypes.AgentPool.BandwidthLimit parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.storagetransfer.v1.proto.TransferTypes.AgentPool.BandwidthLimit + parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.storagetransfer.v1.proto.TransferTypes.AgentPool.BandwidthLimit parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.storagetransfer.v1.proto.TransferTypes.AgentPool.BandwidthLimit + parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.storagetransfer.v1.proto.TransferTypes.AgentPool.BandwidthLimit parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.storagetransfer.v1.proto.TransferTypes.AgentPool.BandwidthLimit + parseFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } - public static com.google.storagetransfer.v1.proto.TransferTypes.AgentPool.BandwidthLimit parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + + public static com.google.storagetransfer.v1.proto.TransferTypes.AgentPool.BandwidthLimit + parseFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.storagetransfer.v1.proto.TransferTypes.AgentPool.BandwidthLimit parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.storagetransfer.v1.proto.TransferTypes.AgentPool.BandwidthLimit + parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } - public static com.google.storagetransfer.v1.proto.TransferTypes.AgentPool.BandwidthLimit parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + + public static com.google.storagetransfer.v1.proto.TransferTypes.AgentPool.BandwidthLimit + parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.storagetransfer.v1.proto.TransferTypes.AgentPool.BandwidthLimit parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.storagetransfer.v1.proto.TransferTypes.AgentPool.BandwidthLimit + parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } - public static com.google.storagetransfer.v1.proto.TransferTypes.AgentPool.BandwidthLimit parseFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + + public static com.google.storagetransfer.v1.proto.TransferTypes.AgentPool.BandwidthLimit + parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + 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.storagetransfer.v1.proto.TransferTypes.AgentPool.BandwidthLimit prototype) { + + public static Builder newBuilder( + com.google.storagetransfer.v1.proto.TransferTypes.AgentPool.BandwidthLimit 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 @@ -14149,44 +15796,50 @@ protected Builder newBuilderForType( return builder; } /** + * + * *
        * Specifies a bandwidth limit for an agent pool.
        * 
* * Protobuf type {@code google.storagetransfer.v1.AgentPool.BandwidthLimit} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder + extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.storagetransfer.v1.AgentPool.BandwidthLimit) com.google.storagetransfer.v1.proto.TransferTypes.AgentPool.BandwidthLimitOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.storagetransfer.v1.proto.TransferTypes.internal_static_google_storagetransfer_v1_AgentPool_BandwidthLimit_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.storagetransfer.v1.proto.TransferTypes + .internal_static_google_storagetransfer_v1_AgentPool_BandwidthLimit_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.storagetransfer.v1.proto.TransferTypes.internal_static_google_storagetransfer_v1_AgentPool_BandwidthLimit_fieldAccessorTable + return com.google.storagetransfer.v1.proto.TransferTypes + .internal_static_google_storagetransfer_v1_AgentPool_BandwidthLimit_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.storagetransfer.v1.proto.TransferTypes.AgentPool.BandwidthLimit.class, com.google.storagetransfer.v1.proto.TransferTypes.AgentPool.BandwidthLimit.Builder.class); + com.google.storagetransfer.v1.proto.TransferTypes.AgentPool.BandwidthLimit.class, + com.google.storagetransfer.v1.proto.TransferTypes.AgentPool.BandwidthLimit.Builder + .class); } - // Construct using com.google.storagetransfer.v1.proto.TransferTypes.AgentPool.BandwidthLimit.newBuilder() + // Construct using + // com.google.storagetransfer.v1.proto.TransferTypes.AgentPool.BandwidthLimit.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -14196,19 +15849,22 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.storagetransfer.v1.proto.TransferTypes.internal_static_google_storagetransfer_v1_AgentPool_BandwidthLimit_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.storagetransfer.v1.proto.TransferTypes + .internal_static_google_storagetransfer_v1_AgentPool_BandwidthLimit_descriptor; } @java.lang.Override - public com.google.storagetransfer.v1.proto.TransferTypes.AgentPool.BandwidthLimit getDefaultInstanceForType() { - return com.google.storagetransfer.v1.proto.TransferTypes.AgentPool.BandwidthLimit.getDefaultInstance(); + public com.google.storagetransfer.v1.proto.TransferTypes.AgentPool.BandwidthLimit + getDefaultInstanceForType() { + return com.google.storagetransfer.v1.proto.TransferTypes.AgentPool.BandwidthLimit + .getDefaultInstance(); } @java.lang.Override public com.google.storagetransfer.v1.proto.TransferTypes.AgentPool.BandwidthLimit build() { - com.google.storagetransfer.v1.proto.TransferTypes.AgentPool.BandwidthLimit result = buildPartial(); + com.google.storagetransfer.v1.proto.TransferTypes.AgentPool.BandwidthLimit result = + buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } @@ -14216,8 +15872,10 @@ public com.google.storagetransfer.v1.proto.TransferTypes.AgentPool.BandwidthLimi } @java.lang.Override - public com.google.storagetransfer.v1.proto.TransferTypes.AgentPool.BandwidthLimit buildPartial() { - com.google.storagetransfer.v1.proto.TransferTypes.AgentPool.BandwidthLimit result = new com.google.storagetransfer.v1.proto.TransferTypes.AgentPool.BandwidthLimit(this); + public com.google.storagetransfer.v1.proto.TransferTypes.AgentPool.BandwidthLimit + buildPartial() { + com.google.storagetransfer.v1.proto.TransferTypes.AgentPool.BandwidthLimit result = + new com.google.storagetransfer.v1.proto.TransferTypes.AgentPool.BandwidthLimit(this); result.limitMbps_ = limitMbps_; onBuilt(); return result; @@ -14227,46 +15885,55 @@ public com.google.storagetransfer.v1.proto.TransferTypes.AgentPool.BandwidthLimi public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + int index, + java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { - if (other instanceof com.google.storagetransfer.v1.proto.TransferTypes.AgentPool.BandwidthLimit) { - return mergeFrom((com.google.storagetransfer.v1.proto.TransferTypes.AgentPool.BandwidthLimit)other); + if (other + instanceof + com.google.storagetransfer.v1.proto.TransferTypes.AgentPool.BandwidthLimit) { + return mergeFrom( + (com.google.storagetransfer.v1.proto.TransferTypes.AgentPool.BandwidthLimit) other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.google.storagetransfer.v1.proto.TransferTypes.AgentPool.BandwidthLimit other) { - if (other == com.google.storagetransfer.v1.proto.TransferTypes.AgentPool.BandwidthLimit.getDefaultInstance()) return this; + public Builder mergeFrom( + com.google.storagetransfer.v1.proto.TransferTypes.AgentPool.BandwidthLimit other) { + if (other + == com.google.storagetransfer.v1.proto.TransferTypes.AgentPool.BandwidthLimit + .getDefaultInstance()) return this; if (other.getLimitMbps() != 0L) { setLimitMbps(other.getLimitMbps()); } @@ -14285,11 +15952,14 @@ public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - com.google.storagetransfer.v1.proto.TransferTypes.AgentPool.BandwidthLimit parsedMessage = null; + com.google.storagetransfer.v1.proto.TransferTypes.AgentPool.BandwidthLimit parsedMessage = + null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.storagetransfer.v1.proto.TransferTypes.AgentPool.BandwidthLimit) e.getUnfinishedMessage(); + parsedMessage = + (com.google.storagetransfer.v1.proto.TransferTypes.AgentPool.BandwidthLimit) + e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -14299,14 +15969,17 @@ public Builder mergeFrom( return this; } - private long limitMbps_ ; + private long limitMbps_; /** + * + * *
          * Bandwidth rate in megabytes per second, distributed across all the agents
          * in the pool.
          * 
* * int64 limit_mbps = 1; + * * @return The limitMbps. */ @java.lang.Override @@ -14314,36 +15987,43 @@ public long getLimitMbps() { return limitMbps_; } /** + * + * *
          * Bandwidth rate in megabytes per second, distributed across all the agents
          * in the pool.
          * 
* * int64 limit_mbps = 1; + * * @param value The limitMbps to set. * @return This builder for chaining. */ public Builder setLimitMbps(long value) { - + limitMbps_ = value; onChanged(); return this; } /** + * + * *
          * Bandwidth rate in megabytes per second, distributed across all the agents
          * in the pool.
          * 
* * int64 limit_mbps = 1; + * * @return This builder for chaining. */ public Builder clearLimitMbps() { - + limitMbps_ = 0L; onChanged(); return this; } + @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -14356,30 +16036,34 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.storagetransfer.v1.AgentPool.BandwidthLimit) } // @@protoc_insertion_point(class_scope:google.storagetransfer.v1.AgentPool.BandwidthLimit) - private static final com.google.storagetransfer.v1.proto.TransferTypes.AgentPool.BandwidthLimit DEFAULT_INSTANCE; + private static final com.google.storagetransfer.v1.proto.TransferTypes.AgentPool + .BandwidthLimit + DEFAULT_INSTANCE; + static { - DEFAULT_INSTANCE = new com.google.storagetransfer.v1.proto.TransferTypes.AgentPool.BandwidthLimit(); + DEFAULT_INSTANCE = + new com.google.storagetransfer.v1.proto.TransferTypes.AgentPool.BandwidthLimit(); } - public static com.google.storagetransfer.v1.proto.TransferTypes.AgentPool.BandwidthLimit getDefaultInstance() { + public static com.google.storagetransfer.v1.proto.TransferTypes.AgentPool.BandwidthLimit + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public BandwidthLimit parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new BandwidthLimit(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public BandwidthLimit parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new BandwidthLimit(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -14391,21 +16075,24 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.storagetransfer.v1.proto.TransferTypes.AgentPool.BandwidthLimit getDefaultInstanceForType() { + public com.google.storagetransfer.v1.proto.TransferTypes.AgentPool.BandwidthLimit + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } public static final int NAME_FIELD_NUMBER = 2; private volatile java.lang.Object name_; /** + * + * *
      * Required. Specifies a unique string that identifies the agent pool.
      * Format: `projects/{project_id}/agentPools/{agent_pool_id}`
      * 
* * string name = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The name. */ @java.lang.Override @@ -14414,30 +16101,30 @@ public java.lang.String getName() { 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(); name_ = s; return s; } } /** + * + * *
      * Required. Specifies a unique string that identifies the agent pool.
      * Format: `projects/{project_id}/agentPools/{agent_pool_id}`
      * 
* * string name = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; 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); name_ = b; return b; } else { @@ -14448,11 +16135,14 @@ public java.lang.String getName() { public static final int DISPLAY_NAME_FIELD_NUMBER = 3; private volatile java.lang.Object displayName_; /** + * + * *
      * Specifies the client-specified AgentPool description.
      * 
* * string display_name = 3; + * * @return The displayName. */ @java.lang.Override @@ -14461,29 +16151,29 @@ public java.lang.String getDisplayName() { 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(); displayName_ = s; return s; } } /** + * + * *
      * Specifies the client-specified AgentPool description.
      * 
* * string display_name = 3; + * * @return The bytes for displayName. */ @java.lang.Override - public com.google.protobuf.ByteString - getDisplayNameBytes() { + public com.google.protobuf.ByteString getDisplayNameBytes() { java.lang.Object ref = displayName_; 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); displayName_ = b; return b; } else { @@ -14494,39 +16184,58 @@ public java.lang.String getDisplayName() { public static final int STATE_FIELD_NUMBER = 4; private int state_; /** + * + * *
      * Output only. Specifies the state of the AgentPool.
      * 
* - * .google.storagetransfer.v1.AgentPool.State state = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.storagetransfer.v1.AgentPool.State state = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The enum numeric value on the wire for state. */ - @java.lang.Override public int getStateValue() { + @java.lang.Override + public int getStateValue() { return state_; } /** + * + * *
      * Output only. Specifies the state of the AgentPool.
      * 
* - * .google.storagetransfer.v1.AgentPool.State state = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.storagetransfer.v1.AgentPool.State state = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The state. */ - @java.lang.Override public com.google.storagetransfer.v1.proto.TransferTypes.AgentPool.State getState() { + @java.lang.Override + public com.google.storagetransfer.v1.proto.TransferTypes.AgentPool.State getState() { @SuppressWarnings("deprecation") - com.google.storagetransfer.v1.proto.TransferTypes.AgentPool.State result = com.google.storagetransfer.v1.proto.TransferTypes.AgentPool.State.valueOf(state_); - return result == null ? com.google.storagetransfer.v1.proto.TransferTypes.AgentPool.State.UNRECOGNIZED : result; + com.google.storagetransfer.v1.proto.TransferTypes.AgentPool.State result = + com.google.storagetransfer.v1.proto.TransferTypes.AgentPool.State.valueOf(state_); + return result == null + ? com.google.storagetransfer.v1.proto.TransferTypes.AgentPool.State.UNRECOGNIZED + : result; } public static final int BANDWIDTH_LIMIT_FIELD_NUMBER = 5; - private com.google.storagetransfer.v1.proto.TransferTypes.AgentPool.BandwidthLimit bandwidthLimit_; + private com.google.storagetransfer.v1.proto.TransferTypes.AgentPool.BandwidthLimit + bandwidthLimit_; /** + * + * *
      * Specifies the bandwidth limit details. If this field is unspecified, the
      * default value is set as 'No Limit'.
      * 
* * .google.storagetransfer.v1.AgentPool.BandwidthLimit bandwidth_limit = 5; + * * @return Whether the bandwidthLimit field is set. */ @java.lang.Override @@ -14534,19 +16243,28 @@ public boolean hasBandwidthLimit() { return bandwidthLimit_ != null; } /** + * + * *
      * Specifies the bandwidth limit details. If this field is unspecified, the
      * default value is set as 'No Limit'.
      * 
* * .google.storagetransfer.v1.AgentPool.BandwidthLimit bandwidth_limit = 5; + * * @return The bandwidthLimit. */ @java.lang.Override - public com.google.storagetransfer.v1.proto.TransferTypes.AgentPool.BandwidthLimit getBandwidthLimit() { - return bandwidthLimit_ == null ? com.google.storagetransfer.v1.proto.TransferTypes.AgentPool.BandwidthLimit.getDefaultInstance() : bandwidthLimit_; + public com.google.storagetransfer.v1.proto.TransferTypes.AgentPool.BandwidthLimit + getBandwidthLimit() { + return bandwidthLimit_ == null + ? com.google.storagetransfer.v1.proto.TransferTypes.AgentPool.BandwidthLimit + .getDefaultInstance() + : bandwidthLimit_; } /** + * + * *
      * Specifies the bandwidth limit details. If this field is unspecified, the
      * default value is set as 'No Limit'.
@@ -14555,11 +16273,13 @@ public com.google.storagetransfer.v1.proto.TransferTypes.AgentPool.BandwidthLimi
      * .google.storagetransfer.v1.AgentPool.BandwidthLimit bandwidth_limit = 5;
      */
     @java.lang.Override
-    public com.google.storagetransfer.v1.proto.TransferTypes.AgentPool.BandwidthLimitOrBuilder getBandwidthLimitOrBuilder() {
+    public com.google.storagetransfer.v1.proto.TransferTypes.AgentPool.BandwidthLimitOrBuilder
+        getBandwidthLimitOrBuilder() {
       return getBandwidthLimit();
     }
 
     private byte memoizedIsInitialized = -1;
+
     @java.lang.Override
     public final boolean isInitialized() {
       byte isInitialized = memoizedIsInitialized;
@@ -14571,15 +16291,16 @@ 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 (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) {
         com.google.protobuf.GeneratedMessageV3.writeString(output, 2, name_);
       }
       if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(displayName_)) {
         com.google.protobuf.GeneratedMessageV3.writeString(output, 3, displayName_);
       }
-      if (state_ != com.google.storagetransfer.v1.proto.TransferTypes.AgentPool.State.STATE_UNSPECIFIED.getNumber()) {
+      if (state_
+          != com.google.storagetransfer.v1.proto.TransferTypes.AgentPool.State.STATE_UNSPECIFIED
+              .getNumber()) {
         output.writeEnum(4, state_);
       }
       if (bandwidthLimit_ != null) {
@@ -14600,13 +16321,13 @@ public int getSerializedSize() {
       if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(displayName_)) {
         size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, displayName_);
       }
-      if (state_ != com.google.storagetransfer.v1.proto.TransferTypes.AgentPool.State.STATE_UNSPECIFIED.getNumber()) {
-        size += com.google.protobuf.CodedOutputStream
-          .computeEnumSize(4, state_);
+      if (state_
+          != com.google.storagetransfer.v1.proto.TransferTypes.AgentPool.State.STATE_UNSPECIFIED
+              .getNumber()) {
+        size += com.google.protobuf.CodedOutputStream.computeEnumSize(4, state_);
       }
       if (bandwidthLimit_ != null) {
-        size += com.google.protobuf.CodedOutputStream
-          .computeMessageSize(5, getBandwidthLimit());
+        size += com.google.protobuf.CodedOutputStream.computeMessageSize(5, getBandwidthLimit());
       }
       size += unknownFields.getSerializedSize();
       memoizedSize = size;
@@ -14616,22 +16337,20 @@ 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.storagetransfer.v1.proto.TransferTypes.AgentPool)) {
         return super.equals(obj);
       }
-      com.google.storagetransfer.v1.proto.TransferTypes.AgentPool other = (com.google.storagetransfer.v1.proto.TransferTypes.AgentPool) obj;
+      com.google.storagetransfer.v1.proto.TransferTypes.AgentPool other =
+          (com.google.storagetransfer.v1.proto.TransferTypes.AgentPool) obj;
 
-      if (!getName()
-          .equals(other.getName())) return false;
-      if (!getDisplayName()
-          .equals(other.getDisplayName())) return false;
+      if (!getName().equals(other.getName())) return false;
+      if (!getDisplayName().equals(other.getDisplayName())) return false;
       if (state_ != other.state_) return false;
       if (hasBandwidthLimit() != other.hasBandwidthLimit()) return false;
       if (hasBandwidthLimit()) {
-        if (!getBandwidthLimit()
-            .equals(other.getBandwidthLimit())) return false;
+        if (!getBandwidthLimit().equals(other.getBandwidthLimit())) return false;
       }
       if (!unknownFields.equals(other.unknownFields)) return false;
       return true;
@@ -14660,87 +16379,94 @@ public int hashCode() {
     }
 
     public static com.google.storagetransfer.v1.proto.TransferTypes.AgentPool parseFrom(
-        java.nio.ByteBuffer data)
-        throws com.google.protobuf.InvalidProtocolBufferException {
+        java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data);
     }
+
     public static com.google.storagetransfer.v1.proto.TransferTypes.AgentPool 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.storagetransfer.v1.proto.TransferTypes.AgentPool parseFrom(
         com.google.protobuf.ByteString data)
         throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data);
     }
+
     public static com.google.storagetransfer.v1.proto.TransferTypes.AgentPool 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.storagetransfer.v1.proto.TransferTypes.AgentPool parseFrom(byte[] data)
         throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data);
     }
+
     public static com.google.storagetransfer.v1.proto.TransferTypes.AgentPool 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.storagetransfer.v1.proto.TransferTypes.AgentPool parseFrom(java.io.InputStream input)
-        throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3
-          .parseWithIOException(PARSER, input);
+
+    public static com.google.storagetransfer.v1.proto.TransferTypes.AgentPool parseFrom(
+        java.io.InputStream input) throws java.io.IOException {
+      return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
     }
+
     public static com.google.storagetransfer.v1.proto.TransferTypes.AgentPool 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.storagetransfer.v1.proto.TransferTypes.AgentPool parseDelimitedFrom(java.io.InputStream input)
-        throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3
-          .parseDelimitedWithIOException(PARSER, input);
+
+    public static com.google.storagetransfer.v1.proto.TransferTypes.AgentPool parseDelimitedFrom(
+        java.io.InputStream input) throws java.io.IOException {
+      return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
     }
+
     public static com.google.storagetransfer.v1.proto.TransferTypes.AgentPool 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.storagetransfer.v1.proto.TransferTypes.AgentPool 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.storagetransfer.v1.proto.TransferTypes.AgentPool 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.storagetransfer.v1.proto.TransferTypes.AgentPool prototype) {
+
+    public static Builder newBuilder(
+        com.google.storagetransfer.v1.proto.TransferTypes.AgentPool 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
@@ -14750,27 +16476,32 @@ protected Builder newBuilderForType(
       return builder;
     }
     /**
+     *
+     *
      * 
      * Represents an On-Premises Agent pool.
      * 
* * Protobuf type {@code google.storagetransfer.v1.AgentPool} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder + extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.storagetransfer.v1.AgentPool) com.google.storagetransfer.v1.proto.TransferTypes.AgentPoolOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.storagetransfer.v1.proto.TransferTypes.internal_static_google_storagetransfer_v1_AgentPool_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.storagetransfer.v1.proto.TransferTypes + .internal_static_google_storagetransfer_v1_AgentPool_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.storagetransfer.v1.proto.TransferTypes.internal_static_google_storagetransfer_v1_AgentPool_fieldAccessorTable + return com.google.storagetransfer.v1.proto.TransferTypes + .internal_static_google_storagetransfer_v1_AgentPool_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.storagetransfer.v1.proto.TransferTypes.AgentPool.class, com.google.storagetransfer.v1.proto.TransferTypes.AgentPool.Builder.class); + com.google.storagetransfer.v1.proto.TransferTypes.AgentPool.class, + com.google.storagetransfer.v1.proto.TransferTypes.AgentPool.Builder.class); } // Construct using com.google.storagetransfer.v1.proto.TransferTypes.AgentPool.newBuilder() @@ -14778,16 +16509,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -14807,13 +16537,14 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.storagetransfer.v1.proto.TransferTypes.internal_static_google_storagetransfer_v1_AgentPool_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.storagetransfer.v1.proto.TransferTypes + .internal_static_google_storagetransfer_v1_AgentPool_descriptor; } @java.lang.Override - public com.google.storagetransfer.v1.proto.TransferTypes.AgentPool getDefaultInstanceForType() { + public com.google.storagetransfer.v1.proto.TransferTypes.AgentPool + getDefaultInstanceForType() { return com.google.storagetransfer.v1.proto.TransferTypes.AgentPool.getDefaultInstance(); } @@ -14828,7 +16559,8 @@ public com.google.storagetransfer.v1.proto.TransferTypes.AgentPool build() { @java.lang.Override public com.google.storagetransfer.v1.proto.TransferTypes.AgentPool buildPartial() { - com.google.storagetransfer.v1.proto.TransferTypes.AgentPool result = new com.google.storagetransfer.v1.proto.TransferTypes.AgentPool(this); + com.google.storagetransfer.v1.proto.TransferTypes.AgentPool result = + new com.google.storagetransfer.v1.proto.TransferTypes.AgentPool(this); result.name_ = name_; result.displayName_ = displayName_; result.state_ = state_; @@ -14845,38 +16577,41 @@ public com.google.storagetransfer.v1.proto.TransferTypes.AgentPool buildPartial( public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + int index, + java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.storagetransfer.v1.proto.TransferTypes.AgentPool) { - return mergeFrom((com.google.storagetransfer.v1.proto.TransferTypes.AgentPool)other); + return mergeFrom((com.google.storagetransfer.v1.proto.TransferTypes.AgentPool) other); } else { super.mergeFrom(other); return this; @@ -14884,7 +16619,9 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.storagetransfer.v1.proto.TransferTypes.AgentPool other) { - if (other == com.google.storagetransfer.v1.proto.TransferTypes.AgentPool.getDefaultInstance()) return this; + if (other + == com.google.storagetransfer.v1.proto.TransferTypes.AgentPool.getDefaultInstance()) + return this; if (!other.getName().isEmpty()) { name_ = other.name_; onChanged(); @@ -14918,7 +16655,9 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.storagetransfer.v1.proto.TransferTypes.AgentPool) e.getUnfinishedMessage(); + parsedMessage = + (com.google.storagetransfer.v1.proto.TransferTypes.AgentPool) + e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -14930,19 +16669,21 @@ public Builder mergeFrom( private java.lang.Object name_ = ""; /** + * + * *
        * Required. Specifies a unique string that identifies the agent pool.
        * Format: `projects/{project_id}/agentPools/{agent_pool_id}`
        * 
* * string name = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; 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(); name_ = s; return s; @@ -14951,21 +16692,22 @@ public java.lang.String getName() { } } /** + * + * *
        * Required. Specifies a unique string that identifies the agent pool.
        * Format: `projects/{project_id}/agentPools/{agent_pool_id}`
        * 
* * string name = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for name. */ - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; 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); name_ = b; return b; } else { @@ -14973,57 +16715,64 @@ public java.lang.String getName() { } } /** + * + * *
        * Required. Specifies a unique string that identifies the agent pool.
        * Format: `projects/{project_id}/agentPools/{agent_pool_id}`
        * 
* * string name = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName( - java.lang.String value) { + public Builder setName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** + * + * *
        * Required. Specifies a unique string that identifies the agent pool.
        * Format: `projects/{project_id}/agentPools/{agent_pool_id}`
        * 
* * string name = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** + * + * *
        * Required. Specifies a unique string that identifies the agent pool.
        * Format: `projects/{project_id}/agentPools/{agent_pool_id}`
        * 
* * string name = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes( - com.google.protobuf.ByteString value) { + public Builder setNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; @@ -15031,18 +16780,20 @@ public Builder setNameBytes( private java.lang.Object displayName_ = ""; /** + * + * *
        * Specifies the client-specified AgentPool description.
        * 
* * string display_name = 3; + * * @return The displayName. */ public java.lang.String getDisplayName() { java.lang.Object ref = displayName_; 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(); displayName_ = s; return s; @@ -15051,20 +16802,21 @@ public java.lang.String getDisplayName() { } } /** + * + * *
        * Specifies the client-specified AgentPool description.
        * 
* * string display_name = 3; + * * @return The bytes for displayName. */ - public com.google.protobuf.ByteString - getDisplayNameBytes() { + public com.google.protobuf.ByteString getDisplayNameBytes() { java.lang.Object ref = displayName_; 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); displayName_ = b; return b; } else { @@ -15072,54 +16824,61 @@ public java.lang.String getDisplayName() { } } /** + * + * *
        * Specifies the client-specified AgentPool description.
        * 
* * string display_name = 3; + * * @param value The displayName to set. * @return This builder for chaining. */ - public Builder setDisplayName( - java.lang.String value) { + public Builder setDisplayName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + displayName_ = value; onChanged(); return this; } /** + * + * *
        * Specifies the client-specified AgentPool description.
        * 
* * string display_name = 3; + * * @return This builder for chaining. */ public Builder clearDisplayName() { - + displayName_ = getDefaultInstance().getDisplayName(); onChanged(); return this; } /** + * + * *
        * Specifies the client-specified AgentPool description.
        * 
* * string display_name = 3; + * * @param value The bytes for displayName to set. * @return This builder for chaining. */ - public Builder setDisplayNameBytes( - com.google.protobuf.ByteString value) { + public Builder setDisplayNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + displayName_ = value; onChanged(); return this; @@ -15127,110 +16886,156 @@ public Builder setDisplayNameBytes( private int state_ = 0; /** + * + * *
        * Output only. Specifies the state of the AgentPool.
        * 
* - * .google.storagetransfer.v1.AgentPool.State state = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.storagetransfer.v1.AgentPool.State state = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The enum numeric value on the wire for state. */ - @java.lang.Override public int getStateValue() { + @java.lang.Override + public int getStateValue() { return state_; } /** + * + * *
        * Output only. Specifies the state of the AgentPool.
        * 
* - * .google.storagetransfer.v1.AgentPool.State state = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.storagetransfer.v1.AgentPool.State state = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @param value The enum numeric value on the wire for state to set. * @return This builder for chaining. */ public Builder setStateValue(int value) { - + state_ = value; onChanged(); return this; } /** + * + * *
        * Output only. Specifies the state of the AgentPool.
        * 
* - * .google.storagetransfer.v1.AgentPool.State state = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.storagetransfer.v1.AgentPool.State state = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The state. */ @java.lang.Override public com.google.storagetransfer.v1.proto.TransferTypes.AgentPool.State getState() { @SuppressWarnings("deprecation") - com.google.storagetransfer.v1.proto.TransferTypes.AgentPool.State result = com.google.storagetransfer.v1.proto.TransferTypes.AgentPool.State.valueOf(state_); - return result == null ? com.google.storagetransfer.v1.proto.TransferTypes.AgentPool.State.UNRECOGNIZED : result; + com.google.storagetransfer.v1.proto.TransferTypes.AgentPool.State result = + com.google.storagetransfer.v1.proto.TransferTypes.AgentPool.State.valueOf(state_); + return result == null + ? com.google.storagetransfer.v1.proto.TransferTypes.AgentPool.State.UNRECOGNIZED + : result; } /** + * + * *
        * Output only. Specifies the state of the AgentPool.
        * 
* - * .google.storagetransfer.v1.AgentPool.State state = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.storagetransfer.v1.AgentPool.State state = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @param value The state to set. * @return This builder for chaining. */ - public Builder setState(com.google.storagetransfer.v1.proto.TransferTypes.AgentPool.State value) { + public Builder setState( + com.google.storagetransfer.v1.proto.TransferTypes.AgentPool.State value) { if (value == null) { throw new NullPointerException(); } - + state_ = value.getNumber(); onChanged(); return this; } /** + * + * *
        * Output only. Specifies the state of the AgentPool.
        * 
* - * .google.storagetransfer.v1.AgentPool.State state = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.storagetransfer.v1.AgentPool.State state = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return This builder for chaining. */ public Builder clearState() { - + state_ = 0; onChanged(); return this; } - private com.google.storagetransfer.v1.proto.TransferTypes.AgentPool.BandwidthLimit bandwidthLimit_; + private com.google.storagetransfer.v1.proto.TransferTypes.AgentPool.BandwidthLimit + bandwidthLimit_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.storagetransfer.v1.proto.TransferTypes.AgentPool.BandwidthLimit, com.google.storagetransfer.v1.proto.TransferTypes.AgentPool.BandwidthLimit.Builder, com.google.storagetransfer.v1.proto.TransferTypes.AgentPool.BandwidthLimitOrBuilder> bandwidthLimitBuilder_; + com.google.storagetransfer.v1.proto.TransferTypes.AgentPool.BandwidthLimit, + com.google.storagetransfer.v1.proto.TransferTypes.AgentPool.BandwidthLimit.Builder, + com.google.storagetransfer.v1.proto.TransferTypes.AgentPool.BandwidthLimitOrBuilder> + bandwidthLimitBuilder_; /** + * + * *
        * Specifies the bandwidth limit details. If this field is unspecified, the
        * default value is set as 'No Limit'.
        * 
* * .google.storagetransfer.v1.AgentPool.BandwidthLimit bandwidth_limit = 5; + * * @return Whether the bandwidthLimit field is set. */ public boolean hasBandwidthLimit() { return bandwidthLimitBuilder_ != null || bandwidthLimit_ != null; } /** + * + * *
        * Specifies the bandwidth limit details. If this field is unspecified, the
        * default value is set as 'No Limit'.
        * 
* * .google.storagetransfer.v1.AgentPool.BandwidthLimit bandwidth_limit = 5; + * * @return The bandwidthLimit. */ - public com.google.storagetransfer.v1.proto.TransferTypes.AgentPool.BandwidthLimit getBandwidthLimit() { + public com.google.storagetransfer.v1.proto.TransferTypes.AgentPool.BandwidthLimit + getBandwidthLimit() { if (bandwidthLimitBuilder_ == null) { - return bandwidthLimit_ == null ? com.google.storagetransfer.v1.proto.TransferTypes.AgentPool.BandwidthLimit.getDefaultInstance() : bandwidthLimit_; + return bandwidthLimit_ == null + ? com.google.storagetransfer.v1.proto.TransferTypes.AgentPool.BandwidthLimit + .getDefaultInstance() + : bandwidthLimit_; } else { return bandwidthLimitBuilder_.getMessage(); } } /** + * + * *
        * Specifies the bandwidth limit details. If this field is unspecified, the
        * default value is set as 'No Limit'.
@@ -15238,7 +17043,8 @@ public com.google.storagetransfer.v1.proto.TransferTypes.AgentPool.BandwidthLimi
        *
        * .google.storagetransfer.v1.AgentPool.BandwidthLimit bandwidth_limit = 5;
        */
-      public Builder setBandwidthLimit(com.google.storagetransfer.v1.proto.TransferTypes.AgentPool.BandwidthLimit value) {
+      public Builder setBandwidthLimit(
+          com.google.storagetransfer.v1.proto.TransferTypes.AgentPool.BandwidthLimit value) {
         if (bandwidthLimitBuilder_ == null) {
           if (value == null) {
             throw new NullPointerException();
@@ -15252,6 +17058,8 @@ public Builder setBandwidthLimit(com.google.storagetransfer.v1.proto.TransferTyp
         return this;
       }
       /**
+       *
+       *
        * 
        * Specifies the bandwidth limit details. If this field is unspecified, the
        * default value is set as 'No Limit'.
@@ -15260,7 +17068,8 @@ public Builder setBandwidthLimit(com.google.storagetransfer.v1.proto.TransferTyp
        * .google.storagetransfer.v1.AgentPool.BandwidthLimit bandwidth_limit = 5;
        */
       public Builder setBandwidthLimit(
-          com.google.storagetransfer.v1.proto.TransferTypes.AgentPool.BandwidthLimit.Builder builderForValue) {
+          com.google.storagetransfer.v1.proto.TransferTypes.AgentPool.BandwidthLimit.Builder
+              builderForValue) {
         if (bandwidthLimitBuilder_ == null) {
           bandwidthLimit_ = builderForValue.build();
           onChanged();
@@ -15271,6 +17080,8 @@ public Builder setBandwidthLimit(
         return this;
       }
       /**
+       *
+       *
        * 
        * Specifies the bandwidth limit details. If this field is unspecified, the
        * default value is set as 'No Limit'.
@@ -15278,11 +17089,15 @@ public Builder setBandwidthLimit(
        *
        * .google.storagetransfer.v1.AgentPool.BandwidthLimit bandwidth_limit = 5;
        */
-      public Builder mergeBandwidthLimit(com.google.storagetransfer.v1.proto.TransferTypes.AgentPool.BandwidthLimit value) {
+      public Builder mergeBandwidthLimit(
+          com.google.storagetransfer.v1.proto.TransferTypes.AgentPool.BandwidthLimit value) {
         if (bandwidthLimitBuilder_ == null) {
           if (bandwidthLimit_ != null) {
             bandwidthLimit_ =
-              com.google.storagetransfer.v1.proto.TransferTypes.AgentPool.BandwidthLimit.newBuilder(bandwidthLimit_).mergeFrom(value).buildPartial();
+                com.google.storagetransfer.v1.proto.TransferTypes.AgentPool.BandwidthLimit
+                    .newBuilder(bandwidthLimit_)
+                    .mergeFrom(value)
+                    .buildPartial();
           } else {
             bandwidthLimit_ = value;
           }
@@ -15294,6 +17109,8 @@ public Builder mergeBandwidthLimit(com.google.storagetransfer.v1.proto.TransferT
         return this;
       }
       /**
+       *
+       *
        * 
        * Specifies the bandwidth limit details. If this field is unspecified, the
        * default value is set as 'No Limit'.
@@ -15313,6 +17130,8 @@ public Builder clearBandwidthLimit() {
         return this;
       }
       /**
+       *
+       *
        * 
        * Specifies the bandwidth limit details. If this field is unspecified, the
        * default value is set as 'No Limit'.
@@ -15320,12 +17139,15 @@ public Builder clearBandwidthLimit() {
        *
        * .google.storagetransfer.v1.AgentPool.BandwidthLimit bandwidth_limit = 5;
        */
-      public com.google.storagetransfer.v1.proto.TransferTypes.AgentPool.BandwidthLimit.Builder getBandwidthLimitBuilder() {
-        
+      public com.google.storagetransfer.v1.proto.TransferTypes.AgentPool.BandwidthLimit.Builder
+          getBandwidthLimitBuilder() {
+
         onChanged();
         return getBandwidthLimitFieldBuilder().getBuilder();
       }
       /**
+       *
+       *
        * 
        * Specifies the bandwidth limit details. If this field is unspecified, the
        * default value is set as 'No Limit'.
@@ -15333,15 +17155,20 @@ public com.google.storagetransfer.v1.proto.TransferTypes.AgentPool.BandwidthLimi
        *
        * .google.storagetransfer.v1.AgentPool.BandwidthLimit bandwidth_limit = 5;
        */
-      public com.google.storagetransfer.v1.proto.TransferTypes.AgentPool.BandwidthLimitOrBuilder getBandwidthLimitOrBuilder() {
+      public com.google.storagetransfer.v1.proto.TransferTypes.AgentPool.BandwidthLimitOrBuilder
+          getBandwidthLimitOrBuilder() {
         if (bandwidthLimitBuilder_ != null) {
           return bandwidthLimitBuilder_.getMessageOrBuilder();
         } else {
-          return bandwidthLimit_ == null ?
-              com.google.storagetransfer.v1.proto.TransferTypes.AgentPool.BandwidthLimit.getDefaultInstance() : bandwidthLimit_;
+          return bandwidthLimit_ == null
+              ? com.google.storagetransfer.v1.proto.TransferTypes.AgentPool.BandwidthLimit
+                  .getDefaultInstance()
+              : bandwidthLimit_;
         }
       }
       /**
+       *
+       *
        * 
        * Specifies the bandwidth limit details. If this field is unspecified, the
        * default value is set as 'No Limit'.
@@ -15350,18 +17177,24 @@ public com.google.storagetransfer.v1.proto.TransferTypes.AgentPool.BandwidthLimi
        * .google.storagetransfer.v1.AgentPool.BandwidthLimit bandwidth_limit = 5;
        */
       private com.google.protobuf.SingleFieldBuilderV3<
-          com.google.storagetransfer.v1.proto.TransferTypes.AgentPool.BandwidthLimit, com.google.storagetransfer.v1.proto.TransferTypes.AgentPool.BandwidthLimit.Builder, com.google.storagetransfer.v1.proto.TransferTypes.AgentPool.BandwidthLimitOrBuilder> 
+              com.google.storagetransfer.v1.proto.TransferTypes.AgentPool.BandwidthLimit,
+              com.google.storagetransfer.v1.proto.TransferTypes.AgentPool.BandwidthLimit.Builder,
+              com.google.storagetransfer.v1.proto.TransferTypes.AgentPool.BandwidthLimitOrBuilder>
           getBandwidthLimitFieldBuilder() {
         if (bandwidthLimitBuilder_ == null) {
-          bandwidthLimitBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-              com.google.storagetransfer.v1.proto.TransferTypes.AgentPool.BandwidthLimit, com.google.storagetransfer.v1.proto.TransferTypes.AgentPool.BandwidthLimit.Builder, com.google.storagetransfer.v1.proto.TransferTypes.AgentPool.BandwidthLimitOrBuilder>(
-                  getBandwidthLimit(),
-                  getParentForChildren(),
-                  isClean());
+          bandwidthLimitBuilder_ =
+              new com.google.protobuf.SingleFieldBuilderV3<
+                  com.google.storagetransfer.v1.proto.TransferTypes.AgentPool.BandwidthLimit,
+                  com.google.storagetransfer.v1.proto.TransferTypes.AgentPool.BandwidthLimit
+                      .Builder,
+                  com.google.storagetransfer.v1.proto.TransferTypes.AgentPool
+                      .BandwidthLimitOrBuilder>(
+                  getBandwidthLimit(), getParentForChildren(), isClean());
           bandwidthLimit_ = null;
         }
         return bandwidthLimitBuilder_;
       }
+
       @java.lang.Override
       public final Builder setUnknownFields(
           final com.google.protobuf.UnknownFieldSet unknownFields) {
@@ -15374,12 +17207,13 @@ public final Builder mergeUnknownFields(
         return super.mergeUnknownFields(unknownFields);
       }
 
-
       // @@protoc_insertion_point(builder_scope:google.storagetransfer.v1.AgentPool)
     }
 
     // @@protoc_insertion_point(class_scope:google.storagetransfer.v1.AgentPool)
-    private static final com.google.storagetransfer.v1.proto.TransferTypes.AgentPool DEFAULT_INSTANCE;
+    private static final com.google.storagetransfer.v1.proto.TransferTypes.AgentPool
+        DEFAULT_INSTANCE;
+
     static {
       DEFAULT_INSTANCE = new com.google.storagetransfer.v1.proto.TransferTypes.AgentPool();
     }
@@ -15388,16 +17222,16 @@ public static com.google.storagetransfer.v1.proto.TransferTypes.AgentPool getDef
       return DEFAULT_INSTANCE;
     }
 
-    private static final com.google.protobuf.Parser
-        PARSER = new com.google.protobuf.AbstractParser() {
-      @java.lang.Override
-      public AgentPool parsePartialFrom(
-          com.google.protobuf.CodedInputStream input,
-          com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-          throws com.google.protobuf.InvalidProtocolBufferException {
-        return new AgentPool(input, extensionRegistry);
-      }
-    };
+    private static final com.google.protobuf.Parser PARSER =
+        new com.google.protobuf.AbstractParser() {
+          @java.lang.Override
+          public AgentPool parsePartialFrom(
+              com.google.protobuf.CodedInputStream input,
+              com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+              throws com.google.protobuf.InvalidProtocolBufferException {
+            return new AgentPool(input, extensionRegistry);
+          }
+        };
 
     public static com.google.protobuf.Parser parser() {
       return PARSER;
@@ -15412,14 +17246,16 @@ public com.google.protobuf.Parser getParserForType() {
     public com.google.storagetransfer.v1.proto.TransferTypes.AgentPool getDefaultInstanceForType() {
       return DEFAULT_INSTANCE;
     }
-
   }
 
-  public interface TransferOptionsOrBuilder extends
+  public interface TransferOptionsOrBuilder
+      extends
       // @@protoc_insertion_point(interface_extends:google.storagetransfer.v1.TransferOptions)
       com.google.protobuf.MessageOrBuilder {
 
     /**
+     *
+     *
      * 
      * When to overwrite objects that already exist in the sink. The default is
      * that only objects that are different from the source are ovewritten. If
@@ -15428,11 +17264,14 @@ public interface TransferOptionsOrBuilder extends
      * 
* * bool overwrite_objects_already_existing_in_sink = 1; + * * @return The overwriteObjectsAlreadyExistingInSink. */ boolean getOverwriteObjectsAlreadyExistingInSink(); /** + * + * *
      * Whether objects that exist only in the sink should be deleted.
      * **Note:** This option and [delete_objects_from_source_after_transfer][google.storagetransfer.v1.TransferOptions.delete_objects_from_source_after_transfer] are
@@ -15440,11 +17279,14 @@ public interface TransferOptionsOrBuilder extends
      * 
* * bool delete_objects_unique_in_sink = 2; + * * @return The deleteObjectsUniqueInSink. */ boolean getDeleteObjectsUniqueInSink(); /** + * + * *
      * Whether objects should be deleted from the source after they are
      * transferred to the sink.
@@ -15453,11 +17295,14 @@ public interface TransferOptionsOrBuilder extends
      * 
* * bool delete_objects_from_source_after_transfer = 3; + * * @return The deleteObjectsFromSourceAfterTransfer. */ boolean getDeleteObjectsFromSourceAfterTransfer(); /** + * + * *
      * When to overwrite objects that already exist in the sink. If not set,
      * overwrite behavior is determined by
@@ -15465,10 +17310,13 @@ public interface TransferOptionsOrBuilder extends
      * 
* * .google.storagetransfer.v1.TransferOptions.OverwriteWhen overwrite_when = 4; + * * @return The enum numeric value on the wire for overwriteWhen. */ int getOverwriteWhenValue(); /** + * + * *
      * When to overwrite objects that already exist in the sink. If not set,
      * overwrite behavior is determined by
@@ -15476,69 +17324,82 @@ public interface TransferOptionsOrBuilder extends
      * 
* * .google.storagetransfer.v1.TransferOptions.OverwriteWhen overwrite_when = 4; + * * @return The overwriteWhen. */ - com.google.storagetransfer.v1.proto.TransferTypes.TransferOptions.OverwriteWhen getOverwriteWhen(); + com.google.storagetransfer.v1.proto.TransferTypes.TransferOptions.OverwriteWhen + getOverwriteWhen(); /** + * + * *
      * Represents the selected metadata options for a transfer job.
      * 
* * .google.storagetransfer.v1.MetadataOptions metadata_options = 5; + * * @return Whether the metadataOptions field is set. */ boolean hasMetadataOptions(); /** + * + * *
      * Represents the selected metadata options for a transfer job.
      * 
* * .google.storagetransfer.v1.MetadataOptions metadata_options = 5; + * * @return The metadataOptions. */ com.google.storagetransfer.v1.proto.TransferTypes.MetadataOptions getMetadataOptions(); /** + * + * *
      * Represents the selected metadata options for a transfer job.
      * 
* * .google.storagetransfer.v1.MetadataOptions metadata_options = 5; */ - com.google.storagetransfer.v1.proto.TransferTypes.MetadataOptionsOrBuilder getMetadataOptionsOrBuilder(); + com.google.storagetransfer.v1.proto.TransferTypes.MetadataOptionsOrBuilder + getMetadataOptionsOrBuilder(); } /** + * + * *
    * TransferOptions define the actions to be performed on objects in a transfer.
    * 
* * Protobuf type {@code google.storagetransfer.v1.TransferOptions} */ - public static final class TransferOptions extends - com.google.protobuf.GeneratedMessageV3 implements + public static final class TransferOptions extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.storagetransfer.v1.TransferOptions) TransferOptionsOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use TransferOptions.newBuilder() to construct. private TransferOptions(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private TransferOptions() { overwriteWhen_ = 0; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new TransferOptions(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private TransferOptions( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -15557,47 +17418,53 @@ private TransferOptions( case 0: done = true; break; - case 8: { - - overwriteObjectsAlreadyExistingInSink_ = input.readBool(); - break; - } - case 16: { - - deleteObjectsUniqueInSink_ = input.readBool(); - break; - } - case 24: { - - deleteObjectsFromSourceAfterTransfer_ = input.readBool(); - break; - } - case 32: { - int rawValue = input.readEnum(); - - overwriteWhen_ = rawValue; - break; - } - case 42: { - com.google.storagetransfer.v1.proto.TransferTypes.MetadataOptions.Builder subBuilder = null; - if (metadataOptions_ != null) { - subBuilder = metadataOptions_.toBuilder(); + case 8: + { + overwriteObjectsAlreadyExistingInSink_ = input.readBool(); + break; } - metadataOptions_ = input.readMessage(com.google.storagetransfer.v1.proto.TransferTypes.MetadataOptions.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(metadataOptions_); - metadataOptions_ = subBuilder.buildPartial(); + case 16: + { + deleteObjectsUniqueInSink_ = input.readBool(); + break; } + case 24: + { + deleteObjectsFromSourceAfterTransfer_ = input.readBool(); + break; + } + case 32: + { + int rawValue = input.readEnum(); - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + overwriteWhen_ = rawValue; + break; + } + case 42: + { + com.google.storagetransfer.v1.proto.TransferTypes.MetadataOptions.Builder + subBuilder = null; + if (metadataOptions_ != null) { + subBuilder = metadataOptions_.toBuilder(); + } + metadataOptions_ = + input.readMessage( + com.google.storagetransfer.v1.proto.TransferTypes.MetadataOptions.parser(), + extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(metadataOptions_); + metadataOptions_ = subBuilder.buildPartial(); + } + + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -15605,27 +17472,31 @@ private TransferOptions( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.storagetransfer.v1.proto.TransferTypes.internal_static_google_storagetransfer_v1_TransferOptions_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.storagetransfer.v1.proto.TransferTypes + .internal_static_google_storagetransfer_v1_TransferOptions_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.storagetransfer.v1.proto.TransferTypes.internal_static_google_storagetransfer_v1_TransferOptions_fieldAccessorTable + return com.google.storagetransfer.v1.proto.TransferTypes + .internal_static_google_storagetransfer_v1_TransferOptions_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.storagetransfer.v1.proto.TransferTypes.TransferOptions.class, com.google.storagetransfer.v1.proto.TransferTypes.TransferOptions.Builder.class); + com.google.storagetransfer.v1.proto.TransferTypes.TransferOptions.class, + com.google.storagetransfer.v1.proto.TransferTypes.TransferOptions.Builder.class); } /** + * + * *
      * Specifies when to overwrite an object in the sink when an object with
      * matching name is found in the source.
@@ -15633,9 +17504,10 @@ private TransferOptions(
      *
      * Protobuf enum {@code google.storagetransfer.v1.TransferOptions.OverwriteWhen}
      */
-    public enum OverwriteWhen
-        implements com.google.protobuf.ProtocolMessageEnum {
+    public enum OverwriteWhen implements com.google.protobuf.ProtocolMessageEnum {
       /**
+       *
+       *
        * 
        * Overwrite behavior is unspecified.
        * 
@@ -15644,6 +17516,8 @@ public enum OverwriteWhen */ OVERWRITE_WHEN_UNSPECIFIED(0), /** + * + * *
        * Overwrites destination objects with the source objects, only if the
        * objects have the same name but different HTTP ETags or checksum values.
@@ -15653,6 +17527,8 @@ public enum OverwriteWhen
        */
       DIFFERENT(1),
       /**
+       *
+       *
        * 
        * Never overwrites a destination object if a source object has the
        * same name. In this case, the source object is not transferred.
@@ -15662,6 +17538,8 @@ public enum OverwriteWhen
        */
       NEVER(2),
       /**
+       *
+       *
        * 
        * Always overwrite the destination object with the source object, even if
        * the HTTP Etags or checksum values are the same.
@@ -15674,6 +17552,8 @@ public enum OverwriteWhen
       ;
 
       /**
+       *
+       *
        * 
        * Overwrite behavior is unspecified.
        * 
@@ -15682,6 +17562,8 @@ public enum OverwriteWhen */ public static final int OVERWRITE_WHEN_UNSPECIFIED_VALUE = 0; /** + * + * *
        * Overwrites destination objects with the source objects, only if the
        * objects have the same name but different HTTP ETags or checksum values.
@@ -15691,6 +17573,8 @@ public enum OverwriteWhen
        */
       public static final int DIFFERENT_VALUE = 1;
       /**
+       *
+       *
        * 
        * Never overwrites a destination object if a source object has the
        * same name. In this case, the source object is not transferred.
@@ -15700,6 +17584,8 @@ public enum OverwriteWhen
        */
       public static final int NEVER_VALUE = 2;
       /**
+       *
+       *
        * 
        * Always overwrite the destination object with the source object, even if
        * the HTTP Etags or checksum values are the same.
@@ -15709,7 +17595,6 @@ public enum OverwriteWhen
        */
       public static final int ALWAYS_VALUE = 3;
 
-
       public final int getNumber() {
         if (this == UNRECOGNIZED) {
           throw new java.lang.IllegalArgumentException(
@@ -15734,41 +17619,47 @@ public static OverwriteWhen valueOf(int value) {
        */
       public static OverwriteWhen forNumber(int value) {
         switch (value) {
-          case 0: return OVERWRITE_WHEN_UNSPECIFIED;
-          case 1: return DIFFERENT;
-          case 2: return NEVER;
-          case 3: return ALWAYS;
-          default: return null;
+          case 0:
+            return OVERWRITE_WHEN_UNSPECIFIED;
+          case 1:
+            return DIFFERENT;
+          case 2:
+            return NEVER;
+          case 3:
+            return ALWAYS;
+          default:
+            return null;
         }
       }
 
-      public static com.google.protobuf.Internal.EnumLiteMap
-          internalGetValueMap() {
+      public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() {
         return internalValueMap;
       }
-      private static final com.google.protobuf.Internal.EnumLiteMap<
-          OverwriteWhen> internalValueMap =
-            new com.google.protobuf.Internal.EnumLiteMap() {
-              public OverwriteWhen findValueByNumber(int number) {
-                return OverwriteWhen.forNumber(number);
-              }
-            };
 
-      public final com.google.protobuf.Descriptors.EnumValueDescriptor
-          getValueDescriptor() {
+      private static final com.google.protobuf.Internal.EnumLiteMap
+          internalValueMap =
+              new com.google.protobuf.Internal.EnumLiteMap() {
+                public OverwriteWhen findValueByNumber(int number) {
+                  return OverwriteWhen.forNumber(number);
+                }
+              };
+
+      public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() {
         if (this == UNRECOGNIZED) {
           throw new java.lang.IllegalStateException(
               "Can't get the descriptor of an unrecognized enum value.");
         }
         return getDescriptor().getValues().get(ordinal());
       }
-      public final com.google.protobuf.Descriptors.EnumDescriptor
-          getDescriptorForType() {
+
+      public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() {
         return getDescriptor();
       }
-      public static final com.google.protobuf.Descriptors.EnumDescriptor
-          getDescriptor() {
-        return com.google.storagetransfer.v1.proto.TransferTypes.TransferOptions.getDescriptor().getEnumTypes().get(0);
+
+      public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() {
+        return com.google.storagetransfer.v1.proto.TransferTypes.TransferOptions.getDescriptor()
+            .getEnumTypes()
+            .get(0);
       }
 
       private static final OverwriteWhen[] VALUES = values();
@@ -15776,8 +17667,7 @@ public OverwriteWhen findValueByNumber(int number) {
       public static OverwriteWhen valueOf(
           com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
         if (desc.getType() != getDescriptor()) {
-          throw new java.lang.IllegalArgumentException(
-            "EnumValueDescriptor is not for this type.");
+          throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type.");
         }
         if (desc.getIndex() == -1) {
           return UNRECOGNIZED;
@@ -15797,6 +17687,8 @@ private OverwriteWhen(int value) {
     public static final int OVERWRITE_OBJECTS_ALREADY_EXISTING_IN_SINK_FIELD_NUMBER = 1;
     private boolean overwriteObjectsAlreadyExistingInSink_;
     /**
+     *
+     *
      * 
      * When to overwrite objects that already exist in the sink. The default is
      * that only objects that are different from the source are ovewritten. If
@@ -15805,6 +17697,7 @@ private OverwriteWhen(int value) {
      * 
* * bool overwrite_objects_already_existing_in_sink = 1; + * * @return The overwriteObjectsAlreadyExistingInSink. */ @java.lang.Override @@ -15815,6 +17708,8 @@ public boolean getOverwriteObjectsAlreadyExistingInSink() { public static final int DELETE_OBJECTS_UNIQUE_IN_SINK_FIELD_NUMBER = 2; private boolean deleteObjectsUniqueInSink_; /** + * + * *
      * Whether objects that exist only in the sink should be deleted.
      * **Note:** This option and [delete_objects_from_source_after_transfer][google.storagetransfer.v1.TransferOptions.delete_objects_from_source_after_transfer] are
@@ -15822,6 +17717,7 @@ public boolean getOverwriteObjectsAlreadyExistingInSink() {
      * 
* * bool delete_objects_unique_in_sink = 2; + * * @return The deleteObjectsUniqueInSink. */ @java.lang.Override @@ -15832,6 +17728,8 @@ public boolean getDeleteObjectsUniqueInSink() { public static final int DELETE_OBJECTS_FROM_SOURCE_AFTER_TRANSFER_FIELD_NUMBER = 3; private boolean deleteObjectsFromSourceAfterTransfer_; /** + * + * *
      * Whether objects should be deleted from the source after they are
      * transferred to the sink.
@@ -15840,6 +17738,7 @@ public boolean getDeleteObjectsUniqueInSink() {
      * 
* * bool delete_objects_from_source_after_transfer = 3; + * * @return The deleteObjectsFromSourceAfterTransfer. */ @java.lang.Override @@ -15850,6 +17749,8 @@ public boolean getDeleteObjectsFromSourceAfterTransfer() { public static final int OVERWRITE_WHEN_FIELD_NUMBER = 4; private int overwriteWhen_; /** + * + * *
      * When to overwrite objects that already exist in the sink. If not set,
      * overwrite behavior is determined by
@@ -15857,12 +17758,16 @@ public boolean getDeleteObjectsFromSourceAfterTransfer() {
      * 
* * .google.storagetransfer.v1.TransferOptions.OverwriteWhen overwrite_when = 4; + * * @return The enum numeric value on the wire for overwriteWhen. */ - @java.lang.Override public int getOverwriteWhenValue() { + @java.lang.Override + public int getOverwriteWhenValue() { return overwriteWhen_; } /** + * + * *
      * When to overwrite objects that already exist in the sink. If not set,
      * overwrite behavior is determined by
@@ -15870,22 +17775,33 @@ public boolean getDeleteObjectsFromSourceAfterTransfer() {
      * 
* * .google.storagetransfer.v1.TransferOptions.OverwriteWhen overwrite_when = 4; + * * @return The overwriteWhen. */ - @java.lang.Override public com.google.storagetransfer.v1.proto.TransferTypes.TransferOptions.OverwriteWhen getOverwriteWhen() { + @java.lang.Override + public com.google.storagetransfer.v1.proto.TransferTypes.TransferOptions.OverwriteWhen + getOverwriteWhen() { @SuppressWarnings("deprecation") - com.google.storagetransfer.v1.proto.TransferTypes.TransferOptions.OverwriteWhen result = com.google.storagetransfer.v1.proto.TransferTypes.TransferOptions.OverwriteWhen.valueOf(overwriteWhen_); - return result == null ? com.google.storagetransfer.v1.proto.TransferTypes.TransferOptions.OverwriteWhen.UNRECOGNIZED : result; + com.google.storagetransfer.v1.proto.TransferTypes.TransferOptions.OverwriteWhen result = + com.google.storagetransfer.v1.proto.TransferTypes.TransferOptions.OverwriteWhen.valueOf( + overwriteWhen_); + return result == null + ? com.google.storagetransfer.v1.proto.TransferTypes.TransferOptions.OverwriteWhen + .UNRECOGNIZED + : result; } public static final int METADATA_OPTIONS_FIELD_NUMBER = 5; private com.google.storagetransfer.v1.proto.TransferTypes.MetadataOptions metadataOptions_; /** + * + * *
      * Represents the selected metadata options for a transfer job.
      * 
* * .google.storagetransfer.v1.MetadataOptions metadata_options = 5; + * * @return Whether the metadataOptions field is set. */ @java.lang.Override @@ -15893,18 +17809,25 @@ public boolean hasMetadataOptions() { return metadataOptions_ != null; } /** + * + * *
      * Represents the selected metadata options for a transfer job.
      * 
* * .google.storagetransfer.v1.MetadataOptions metadata_options = 5; + * * @return The metadataOptions. */ @java.lang.Override public com.google.storagetransfer.v1.proto.TransferTypes.MetadataOptions getMetadataOptions() { - return metadataOptions_ == null ? com.google.storagetransfer.v1.proto.TransferTypes.MetadataOptions.getDefaultInstance() : metadataOptions_; + return metadataOptions_ == null + ? com.google.storagetransfer.v1.proto.TransferTypes.MetadataOptions.getDefaultInstance() + : metadataOptions_; } /** + * + * *
      * Represents the selected metadata options for a transfer job.
      * 
@@ -15912,11 +17835,13 @@ public com.google.storagetransfer.v1.proto.TransferTypes.MetadataOptions getMeta * .google.storagetransfer.v1.MetadataOptions metadata_options = 5; */ @java.lang.Override - public com.google.storagetransfer.v1.proto.TransferTypes.MetadataOptionsOrBuilder getMetadataOptionsOrBuilder() { + public com.google.storagetransfer.v1.proto.TransferTypes.MetadataOptionsOrBuilder + getMetadataOptionsOrBuilder() { return getMetadataOptions(); } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -15928,8 +17853,7 @@ 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 (overwriteObjectsAlreadyExistingInSink_ != false) { output.writeBool(1, overwriteObjectsAlreadyExistingInSink_); } @@ -15939,7 +17863,10 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) if (deleteObjectsFromSourceAfterTransfer_ != false) { output.writeBool(3, deleteObjectsFromSourceAfterTransfer_); } - if (overwriteWhen_ != com.google.storagetransfer.v1.proto.TransferTypes.TransferOptions.OverwriteWhen.OVERWRITE_WHEN_UNSPECIFIED.getNumber()) { + if (overwriteWhen_ + != com.google.storagetransfer.v1.proto.TransferTypes.TransferOptions.OverwriteWhen + .OVERWRITE_WHEN_UNSPECIFIED + .getNumber()) { output.writeEnum(4, overwriteWhen_); } if (metadataOptions_ != null) { @@ -15955,24 +17882,27 @@ public int getSerializedSize() { size = 0; if (overwriteObjectsAlreadyExistingInSink_ != false) { - size += com.google.protobuf.CodedOutputStream - .computeBoolSize(1, overwriteObjectsAlreadyExistingInSink_); + size += + com.google.protobuf.CodedOutputStream.computeBoolSize( + 1, overwriteObjectsAlreadyExistingInSink_); } if (deleteObjectsUniqueInSink_ != false) { - size += com.google.protobuf.CodedOutputStream - .computeBoolSize(2, deleteObjectsUniqueInSink_); + size += + com.google.protobuf.CodedOutputStream.computeBoolSize(2, deleteObjectsUniqueInSink_); } if (deleteObjectsFromSourceAfterTransfer_ != false) { - size += com.google.protobuf.CodedOutputStream - .computeBoolSize(3, deleteObjectsFromSourceAfterTransfer_); + size += + com.google.protobuf.CodedOutputStream.computeBoolSize( + 3, deleteObjectsFromSourceAfterTransfer_); } - if (overwriteWhen_ != com.google.storagetransfer.v1.proto.TransferTypes.TransferOptions.OverwriteWhen.OVERWRITE_WHEN_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(4, overwriteWhen_); + if (overwriteWhen_ + != com.google.storagetransfer.v1.proto.TransferTypes.TransferOptions.OverwriteWhen + .OVERWRITE_WHEN_UNSPECIFIED + .getNumber()) { + size += com.google.protobuf.CodedOutputStream.computeEnumSize(4, overwriteWhen_); } if (metadataOptions_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(5, getMetadataOptions()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(5, getMetadataOptions()); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -15982,24 +17912,23 @@ 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.storagetransfer.v1.proto.TransferTypes.TransferOptions)) { return super.equals(obj); } - com.google.storagetransfer.v1.proto.TransferTypes.TransferOptions other = (com.google.storagetransfer.v1.proto.TransferTypes.TransferOptions) obj; + com.google.storagetransfer.v1.proto.TransferTypes.TransferOptions other = + (com.google.storagetransfer.v1.proto.TransferTypes.TransferOptions) obj; if (getOverwriteObjectsAlreadyExistingInSink() != other.getOverwriteObjectsAlreadyExistingInSink()) return false; - if (getDeleteObjectsUniqueInSink() - != other.getDeleteObjectsUniqueInSink()) return false; + if (getDeleteObjectsUniqueInSink() != other.getDeleteObjectsUniqueInSink()) return false; if (getDeleteObjectsFromSourceAfterTransfer() != other.getDeleteObjectsFromSourceAfterTransfer()) return false; if (overwriteWhen_ != other.overwriteWhen_) return false; if (hasMetadataOptions() != other.hasMetadataOptions()) return false; if (hasMetadataOptions()) { - if (!getMetadataOptions() - .equals(other.getMetadataOptions())) return false; + if (!getMetadataOptions().equals(other.getMetadataOptions())) return false; } if (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -16013,14 +17942,16 @@ public int hashCode() { int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); hash = (37 * hash) + OVERWRITE_OBJECTS_ALREADY_EXISTING_IN_SINK_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( - getOverwriteObjectsAlreadyExistingInSink()); + hash = + (53 * hash) + + com.google.protobuf.Internal.hashBoolean( + getOverwriteObjectsAlreadyExistingInSink()); hash = (37 * hash) + DELETE_OBJECTS_UNIQUE_IN_SINK_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( - getDeleteObjectsUniqueInSink()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getDeleteObjectsUniqueInSink()); hash = (37 * hash) + DELETE_OBJECTS_FROM_SOURCE_AFTER_TRANSFER_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( - getDeleteObjectsFromSourceAfterTransfer()); + hash = + (53 * hash) + + com.google.protobuf.Internal.hashBoolean(getDeleteObjectsFromSourceAfterTransfer()); hash = (37 * hash) + OVERWRITE_WHEN_FIELD_NUMBER; hash = (53 * hash) + overwriteWhen_; if (hasMetadataOptions()) { @@ -16033,87 +17964,95 @@ public int hashCode() { } public static com.google.storagetransfer.v1.proto.TransferTypes.TransferOptions parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.storagetransfer.v1.proto.TransferTypes.TransferOptions 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.storagetransfer.v1.proto.TransferTypes.TransferOptions parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.storagetransfer.v1.proto.TransferTypes.TransferOptions 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.storagetransfer.v1.proto.TransferTypes.TransferOptions parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.storagetransfer.v1.proto.TransferTypes.TransferOptions parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.storagetransfer.v1.proto.TransferTypes.TransferOptions 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.storagetransfer.v1.proto.TransferTypes.TransferOptions parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.storagetransfer.v1.proto.TransferTypes.TransferOptions parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.storagetransfer.v1.proto.TransferTypes.TransferOptions 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.storagetransfer.v1.proto.TransferTypes.TransferOptions parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.storagetransfer.v1.proto.TransferTypes.TransferOptions + parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } - public static com.google.storagetransfer.v1.proto.TransferTypes.TransferOptions parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + + public static com.google.storagetransfer.v1.proto.TransferTypes.TransferOptions + parseDelimitedFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.storagetransfer.v1.proto.TransferTypes.TransferOptions 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.storagetransfer.v1.proto.TransferTypes.TransferOptions 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.storagetransfer.v1.proto.TransferTypes.TransferOptions prototype) { + + public static Builder newBuilder( + com.google.storagetransfer.v1.proto.TransferTypes.TransferOptions 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 @@ -16123,44 +18062,49 @@ protected Builder newBuilderForType( return builder; } /** + * + * *
      * TransferOptions define the actions to be performed on objects in a transfer.
      * 
* * Protobuf type {@code google.storagetransfer.v1.TransferOptions} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder + extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.storagetransfer.v1.TransferOptions) com.google.storagetransfer.v1.proto.TransferTypes.TransferOptionsOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.storagetransfer.v1.proto.TransferTypes.internal_static_google_storagetransfer_v1_TransferOptions_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.storagetransfer.v1.proto.TransferTypes + .internal_static_google_storagetransfer_v1_TransferOptions_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.storagetransfer.v1.proto.TransferTypes.internal_static_google_storagetransfer_v1_TransferOptions_fieldAccessorTable + return com.google.storagetransfer.v1.proto.TransferTypes + .internal_static_google_storagetransfer_v1_TransferOptions_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.storagetransfer.v1.proto.TransferTypes.TransferOptions.class, com.google.storagetransfer.v1.proto.TransferTypes.TransferOptions.Builder.class); + com.google.storagetransfer.v1.proto.TransferTypes.TransferOptions.class, + com.google.storagetransfer.v1.proto.TransferTypes.TransferOptions.Builder.class); } - // Construct using com.google.storagetransfer.v1.proto.TransferTypes.TransferOptions.newBuilder() + // Construct using + // com.google.storagetransfer.v1.proto.TransferTypes.TransferOptions.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -16182,14 +18126,16 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.storagetransfer.v1.proto.TransferTypes.internal_static_google_storagetransfer_v1_TransferOptions_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.storagetransfer.v1.proto.TransferTypes + .internal_static_google_storagetransfer_v1_TransferOptions_descriptor; } @java.lang.Override - public com.google.storagetransfer.v1.proto.TransferTypes.TransferOptions getDefaultInstanceForType() { - return com.google.storagetransfer.v1.proto.TransferTypes.TransferOptions.getDefaultInstance(); + public com.google.storagetransfer.v1.proto.TransferTypes.TransferOptions + getDefaultInstanceForType() { + return com.google.storagetransfer.v1.proto.TransferTypes.TransferOptions + .getDefaultInstance(); } @java.lang.Override @@ -16203,7 +18149,8 @@ public com.google.storagetransfer.v1.proto.TransferTypes.TransferOptions build() @java.lang.Override public com.google.storagetransfer.v1.proto.TransferTypes.TransferOptions buildPartial() { - com.google.storagetransfer.v1.proto.TransferTypes.TransferOptions result = new com.google.storagetransfer.v1.proto.TransferTypes.TransferOptions(this); + com.google.storagetransfer.v1.proto.TransferTypes.TransferOptions result = + new com.google.storagetransfer.v1.proto.TransferTypes.TransferOptions(this); result.overwriteObjectsAlreadyExistingInSink_ = overwriteObjectsAlreadyExistingInSink_; result.deleteObjectsUniqueInSink_ = deleteObjectsUniqueInSink_; result.deleteObjectsFromSourceAfterTransfer_ = deleteObjectsFromSourceAfterTransfer_; @@ -16221,48 +18168,56 @@ public com.google.storagetransfer.v1.proto.TransferTypes.TransferOptions buildPa public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + int index, + java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.storagetransfer.v1.proto.TransferTypes.TransferOptions) { - return mergeFrom((com.google.storagetransfer.v1.proto.TransferTypes.TransferOptions)other); + return mergeFrom( + (com.google.storagetransfer.v1.proto.TransferTypes.TransferOptions) other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.google.storagetransfer.v1.proto.TransferTypes.TransferOptions other) { - if (other == com.google.storagetransfer.v1.proto.TransferTypes.TransferOptions.getDefaultInstance()) return this; + public Builder mergeFrom( + com.google.storagetransfer.v1.proto.TransferTypes.TransferOptions other) { + if (other + == com.google.storagetransfer.v1.proto.TransferTypes.TransferOptions + .getDefaultInstance()) return this; if (other.getOverwriteObjectsAlreadyExistingInSink() != false) { - setOverwriteObjectsAlreadyExistingInSink(other.getOverwriteObjectsAlreadyExistingInSink()); + setOverwriteObjectsAlreadyExistingInSink( + other.getOverwriteObjectsAlreadyExistingInSink()); } if (other.getDeleteObjectsUniqueInSink() != false) { setDeleteObjectsUniqueInSink(other.getDeleteObjectsUniqueInSink()); @@ -16295,7 +18250,9 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.storagetransfer.v1.proto.TransferTypes.TransferOptions) e.getUnfinishedMessage(); + parsedMessage = + (com.google.storagetransfer.v1.proto.TransferTypes.TransferOptions) + e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -16305,8 +18262,10 @@ public Builder mergeFrom( return this; } - private boolean overwriteObjectsAlreadyExistingInSink_ ; + private boolean overwriteObjectsAlreadyExistingInSink_; /** + * + * *
        * When to overwrite objects that already exist in the sink. The default is
        * that only objects that are different from the source are ovewritten. If
@@ -16315,6 +18274,7 @@ public Builder mergeFrom(
        * 
* * bool overwrite_objects_already_existing_in_sink = 1; + * * @return The overwriteObjectsAlreadyExistingInSink. */ @java.lang.Override @@ -16322,6 +18282,8 @@ public boolean getOverwriteObjectsAlreadyExistingInSink() { return overwriteObjectsAlreadyExistingInSink_; } /** + * + * *
        * When to overwrite objects that already exist in the sink. The default is
        * that only objects that are different from the source are ovewritten. If
@@ -16330,16 +18292,19 @@ public boolean getOverwriteObjectsAlreadyExistingInSink() {
        * 
* * bool overwrite_objects_already_existing_in_sink = 1; + * * @param value The overwriteObjectsAlreadyExistingInSink to set. * @return This builder for chaining. */ public Builder setOverwriteObjectsAlreadyExistingInSink(boolean value) { - + overwriteObjectsAlreadyExistingInSink_ = value; onChanged(); return this; } /** + * + * *
        * When to overwrite objects that already exist in the sink. The default is
        * that only objects that are different from the source are ovewritten. If
@@ -16348,17 +18313,20 @@ public Builder setOverwriteObjectsAlreadyExistingInSink(boolean value) {
        * 
* * bool overwrite_objects_already_existing_in_sink = 1; + * * @return This builder for chaining. */ public Builder clearOverwriteObjectsAlreadyExistingInSink() { - + overwriteObjectsAlreadyExistingInSink_ = false; onChanged(); return this; } - private boolean deleteObjectsUniqueInSink_ ; + private boolean deleteObjectsUniqueInSink_; /** + * + * *
        * Whether objects that exist only in the sink should be deleted.
        * **Note:** This option and [delete_objects_from_source_after_transfer][google.storagetransfer.v1.TransferOptions.delete_objects_from_source_after_transfer] are
@@ -16366,6 +18334,7 @@ public Builder clearOverwriteObjectsAlreadyExistingInSink() {
        * 
* * bool delete_objects_unique_in_sink = 2; + * * @return The deleteObjectsUniqueInSink. */ @java.lang.Override @@ -16373,6 +18342,8 @@ public boolean getDeleteObjectsUniqueInSink() { return deleteObjectsUniqueInSink_; } /** + * + * *
        * Whether objects that exist only in the sink should be deleted.
        * **Note:** This option and [delete_objects_from_source_after_transfer][google.storagetransfer.v1.TransferOptions.delete_objects_from_source_after_transfer] are
@@ -16380,16 +18351,19 @@ public boolean getDeleteObjectsUniqueInSink() {
        * 
* * bool delete_objects_unique_in_sink = 2; + * * @param value The deleteObjectsUniqueInSink to set. * @return This builder for chaining. */ public Builder setDeleteObjectsUniqueInSink(boolean value) { - + deleteObjectsUniqueInSink_ = value; onChanged(); return this; } /** + * + * *
        * Whether objects that exist only in the sink should be deleted.
        * **Note:** This option and [delete_objects_from_source_after_transfer][google.storagetransfer.v1.TransferOptions.delete_objects_from_source_after_transfer] are
@@ -16397,17 +18371,20 @@ public Builder setDeleteObjectsUniqueInSink(boolean value) {
        * 
* * bool delete_objects_unique_in_sink = 2; + * * @return This builder for chaining. */ public Builder clearDeleteObjectsUniqueInSink() { - + deleteObjectsUniqueInSink_ = false; onChanged(); return this; } - private boolean deleteObjectsFromSourceAfterTransfer_ ; + private boolean deleteObjectsFromSourceAfterTransfer_; /** + * + * *
        * Whether objects should be deleted from the source after they are
        * transferred to the sink.
@@ -16416,6 +18393,7 @@ public Builder clearDeleteObjectsUniqueInSink() {
        * 
* * bool delete_objects_from_source_after_transfer = 3; + * * @return The deleteObjectsFromSourceAfterTransfer. */ @java.lang.Override @@ -16423,6 +18401,8 @@ public boolean getDeleteObjectsFromSourceAfterTransfer() { return deleteObjectsFromSourceAfterTransfer_; } /** + * + * *
        * Whether objects should be deleted from the source after they are
        * transferred to the sink.
@@ -16431,16 +18411,19 @@ public boolean getDeleteObjectsFromSourceAfterTransfer() {
        * 
* * bool delete_objects_from_source_after_transfer = 3; + * * @param value The deleteObjectsFromSourceAfterTransfer to set. * @return This builder for chaining. */ public Builder setDeleteObjectsFromSourceAfterTransfer(boolean value) { - + deleteObjectsFromSourceAfterTransfer_ = value; onChanged(); return this; } /** + * + * *
        * Whether objects should be deleted from the source after they are
        * transferred to the sink.
@@ -16449,10 +18432,11 @@ public Builder setDeleteObjectsFromSourceAfterTransfer(boolean value) {
        * 
* * bool delete_objects_from_source_after_transfer = 3; + * * @return This builder for chaining. */ public Builder clearDeleteObjectsFromSourceAfterTransfer() { - + deleteObjectsFromSourceAfterTransfer_ = false; onChanged(); return this; @@ -16460,6 +18444,8 @@ public Builder clearDeleteObjectsFromSourceAfterTransfer() { private int overwriteWhen_ = 0; /** + * + * *
        * When to overwrite objects that already exist in the sink. If not set,
        * overwrite behavior is determined by
@@ -16467,12 +18453,16 @@ public Builder clearDeleteObjectsFromSourceAfterTransfer() {
        * 
* * .google.storagetransfer.v1.TransferOptions.OverwriteWhen overwrite_when = 4; + * * @return The enum numeric value on the wire for overwriteWhen. */ - @java.lang.Override public int getOverwriteWhenValue() { + @java.lang.Override + public int getOverwriteWhenValue() { return overwriteWhen_; } /** + * + * *
        * When to overwrite objects that already exist in the sink. If not set,
        * overwrite behavior is determined by
@@ -16480,16 +18470,19 @@ public Builder clearDeleteObjectsFromSourceAfterTransfer() {
        * 
* * .google.storagetransfer.v1.TransferOptions.OverwriteWhen overwrite_when = 4; + * * @param value The enum numeric value on the wire for overwriteWhen to set. * @return This builder for chaining. */ public Builder setOverwriteWhenValue(int value) { - + overwriteWhen_ = value; onChanged(); return this; } /** + * + * *
        * When to overwrite objects that already exist in the sink. If not set,
        * overwrite behavior is determined by
@@ -16497,15 +18490,24 @@ public Builder setOverwriteWhenValue(int value) {
        * 
* * .google.storagetransfer.v1.TransferOptions.OverwriteWhen overwrite_when = 4; + * * @return The overwriteWhen. */ @java.lang.Override - public com.google.storagetransfer.v1.proto.TransferTypes.TransferOptions.OverwriteWhen getOverwriteWhen() { + public com.google.storagetransfer.v1.proto.TransferTypes.TransferOptions.OverwriteWhen + getOverwriteWhen() { @SuppressWarnings("deprecation") - com.google.storagetransfer.v1.proto.TransferTypes.TransferOptions.OverwriteWhen result = com.google.storagetransfer.v1.proto.TransferTypes.TransferOptions.OverwriteWhen.valueOf(overwriteWhen_); - return result == null ? com.google.storagetransfer.v1.proto.TransferTypes.TransferOptions.OverwriteWhen.UNRECOGNIZED : result; + com.google.storagetransfer.v1.proto.TransferTypes.TransferOptions.OverwriteWhen result = + com.google.storagetransfer.v1.proto.TransferTypes.TransferOptions.OverwriteWhen.valueOf( + overwriteWhen_); + return result == null + ? com.google.storagetransfer.v1.proto.TransferTypes.TransferOptions.OverwriteWhen + .UNRECOGNIZED + : result; } /** + * + * *
        * When to overwrite objects that already exist in the sink. If not set,
        * overwrite behavior is determined by
@@ -16513,19 +18515,23 @@ public com.google.storagetransfer.v1.proto.TransferTypes.TransferOptions.Overwri
        * 
* * .google.storagetransfer.v1.TransferOptions.OverwriteWhen overwrite_when = 4; + * * @param value The overwriteWhen to set. * @return This builder for chaining. */ - public Builder setOverwriteWhen(com.google.storagetransfer.v1.proto.TransferTypes.TransferOptions.OverwriteWhen value) { + public Builder setOverwriteWhen( + com.google.storagetransfer.v1.proto.TransferTypes.TransferOptions.OverwriteWhen value) { if (value == null) { throw new NullPointerException(); } - + overwriteWhen_ = value.getNumber(); onChanged(); return this; } /** + * + * *
        * When to overwrite objects that already exist in the sink. If not set,
        * overwrite behavior is determined by
@@ -16533,10 +18539,11 @@ public Builder setOverwriteWhen(com.google.storagetransfer.v1.proto.TransferType
        * 
* * .google.storagetransfer.v1.TransferOptions.OverwriteWhen overwrite_when = 4; + * * @return This builder for chaining. */ public Builder clearOverwriteWhen() { - + overwriteWhen_ = 0; onChanged(); return this; @@ -16544,41 +18551,57 @@ public Builder clearOverwriteWhen() { private com.google.storagetransfer.v1.proto.TransferTypes.MetadataOptions metadataOptions_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.storagetransfer.v1.proto.TransferTypes.MetadataOptions, com.google.storagetransfer.v1.proto.TransferTypes.MetadataOptions.Builder, com.google.storagetransfer.v1.proto.TransferTypes.MetadataOptionsOrBuilder> metadataOptionsBuilder_; + com.google.storagetransfer.v1.proto.TransferTypes.MetadataOptions, + com.google.storagetransfer.v1.proto.TransferTypes.MetadataOptions.Builder, + com.google.storagetransfer.v1.proto.TransferTypes.MetadataOptionsOrBuilder> + metadataOptionsBuilder_; /** + * + * *
        * Represents the selected metadata options for a transfer job.
        * 
* * .google.storagetransfer.v1.MetadataOptions metadata_options = 5; + * * @return Whether the metadataOptions field is set. */ public boolean hasMetadataOptions() { return metadataOptionsBuilder_ != null || metadataOptions_ != null; } /** + * + * *
        * Represents the selected metadata options for a transfer job.
        * 
* * .google.storagetransfer.v1.MetadataOptions metadata_options = 5; + * * @return The metadataOptions. */ - public com.google.storagetransfer.v1.proto.TransferTypes.MetadataOptions getMetadataOptions() { + public com.google.storagetransfer.v1.proto.TransferTypes.MetadataOptions + getMetadataOptions() { if (metadataOptionsBuilder_ == null) { - return metadataOptions_ == null ? com.google.storagetransfer.v1.proto.TransferTypes.MetadataOptions.getDefaultInstance() : metadataOptions_; + return metadataOptions_ == null + ? com.google.storagetransfer.v1.proto.TransferTypes.MetadataOptions + .getDefaultInstance() + : metadataOptions_; } else { return metadataOptionsBuilder_.getMessage(); } } /** + * + * *
        * Represents the selected metadata options for a transfer job.
        * 
* * .google.storagetransfer.v1.MetadataOptions metadata_options = 5; */ - public Builder setMetadataOptions(com.google.storagetransfer.v1.proto.TransferTypes.MetadataOptions value) { + public Builder setMetadataOptions( + com.google.storagetransfer.v1.proto.TransferTypes.MetadataOptions value) { if (metadataOptionsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -16592,6 +18615,8 @@ public Builder setMetadataOptions(com.google.storagetransfer.v1.proto.TransferTy return this; } /** + * + * *
        * Represents the selected metadata options for a transfer job.
        * 
@@ -16599,7 +18624,8 @@ public Builder setMetadataOptions(com.google.storagetransfer.v1.proto.TransferTy * .google.storagetransfer.v1.MetadataOptions metadata_options = 5; */ public Builder setMetadataOptions( - com.google.storagetransfer.v1.proto.TransferTypes.MetadataOptions.Builder builderForValue) { + com.google.storagetransfer.v1.proto.TransferTypes.MetadataOptions.Builder + builderForValue) { if (metadataOptionsBuilder_ == null) { metadataOptions_ = builderForValue.build(); onChanged(); @@ -16610,17 +18636,23 @@ public Builder setMetadataOptions( return this; } /** + * + * *
        * Represents the selected metadata options for a transfer job.
        * 
* * .google.storagetransfer.v1.MetadataOptions metadata_options = 5; */ - public Builder mergeMetadataOptions(com.google.storagetransfer.v1.proto.TransferTypes.MetadataOptions value) { + public Builder mergeMetadataOptions( + com.google.storagetransfer.v1.proto.TransferTypes.MetadataOptions value) { if (metadataOptionsBuilder_ == null) { if (metadataOptions_ != null) { metadataOptions_ = - com.google.storagetransfer.v1.proto.TransferTypes.MetadataOptions.newBuilder(metadataOptions_).mergeFrom(value).buildPartial(); + com.google.storagetransfer.v1.proto.TransferTypes.MetadataOptions.newBuilder( + metadataOptions_) + .mergeFrom(value) + .buildPartial(); } else { metadataOptions_ = value; } @@ -16632,6 +18664,8 @@ public Builder mergeMetadataOptions(com.google.storagetransfer.v1.proto.Transfer return this; } /** + * + * *
        * Represents the selected metadata options for a transfer job.
        * 
@@ -16650,33 +18684,43 @@ public Builder clearMetadataOptions() { return this; } /** + * + * *
        * Represents the selected metadata options for a transfer job.
        * 
* * .google.storagetransfer.v1.MetadataOptions metadata_options = 5; */ - public com.google.storagetransfer.v1.proto.TransferTypes.MetadataOptions.Builder getMetadataOptionsBuilder() { - + public com.google.storagetransfer.v1.proto.TransferTypes.MetadataOptions.Builder + getMetadataOptionsBuilder() { + onChanged(); return getMetadataOptionsFieldBuilder().getBuilder(); } /** + * + * *
        * Represents the selected metadata options for a transfer job.
        * 
* * .google.storagetransfer.v1.MetadataOptions metadata_options = 5; */ - public com.google.storagetransfer.v1.proto.TransferTypes.MetadataOptionsOrBuilder getMetadataOptionsOrBuilder() { + public com.google.storagetransfer.v1.proto.TransferTypes.MetadataOptionsOrBuilder + getMetadataOptionsOrBuilder() { if (metadataOptionsBuilder_ != null) { return metadataOptionsBuilder_.getMessageOrBuilder(); } else { - return metadataOptions_ == null ? - com.google.storagetransfer.v1.proto.TransferTypes.MetadataOptions.getDefaultInstance() : metadataOptions_; + return metadataOptions_ == null + ? com.google.storagetransfer.v1.proto.TransferTypes.MetadataOptions + .getDefaultInstance() + : metadataOptions_; } } /** + * + * *
        * Represents the selected metadata options for a transfer job.
        * 
@@ -16684,18 +18728,22 @@ public com.google.storagetransfer.v1.proto.TransferTypes.MetadataOptionsOrBuilde * .google.storagetransfer.v1.MetadataOptions metadata_options = 5; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.storagetransfer.v1.proto.TransferTypes.MetadataOptions, com.google.storagetransfer.v1.proto.TransferTypes.MetadataOptions.Builder, com.google.storagetransfer.v1.proto.TransferTypes.MetadataOptionsOrBuilder> + com.google.storagetransfer.v1.proto.TransferTypes.MetadataOptions, + com.google.storagetransfer.v1.proto.TransferTypes.MetadataOptions.Builder, + com.google.storagetransfer.v1.proto.TransferTypes.MetadataOptionsOrBuilder> getMetadataOptionsFieldBuilder() { if (metadataOptionsBuilder_ == null) { - metadataOptionsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.storagetransfer.v1.proto.TransferTypes.MetadataOptions, com.google.storagetransfer.v1.proto.TransferTypes.MetadataOptions.Builder, com.google.storagetransfer.v1.proto.TransferTypes.MetadataOptionsOrBuilder>( - getMetadataOptions(), - getParentForChildren(), - isClean()); + metadataOptionsBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.storagetransfer.v1.proto.TransferTypes.MetadataOptions, + com.google.storagetransfer.v1.proto.TransferTypes.MetadataOptions.Builder, + com.google.storagetransfer.v1.proto.TransferTypes.MetadataOptionsOrBuilder>( + getMetadataOptions(), getParentForChildren(), isClean()); metadataOptions_ = null; } return metadataOptionsBuilder_; } + @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -16708,30 +18756,32 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.storagetransfer.v1.TransferOptions) } // @@protoc_insertion_point(class_scope:google.storagetransfer.v1.TransferOptions) - private static final com.google.storagetransfer.v1.proto.TransferTypes.TransferOptions DEFAULT_INSTANCE; + private static final com.google.storagetransfer.v1.proto.TransferTypes.TransferOptions + DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.storagetransfer.v1.proto.TransferTypes.TransferOptions(); } - public static com.google.storagetransfer.v1.proto.TransferTypes.TransferOptions getDefaultInstance() { + public static com.google.storagetransfer.v1.proto.TransferTypes.TransferOptions + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public TransferOptions parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new TransferOptions(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public TransferOptions parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new TransferOptions(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -16743,35 +18793,44 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.storagetransfer.v1.proto.TransferTypes.TransferOptions getDefaultInstanceForType() { + public com.google.storagetransfer.v1.proto.TransferTypes.TransferOptions + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - public interface TransferSpecOrBuilder extends + public interface TransferSpecOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.storagetransfer.v1.TransferSpec) com.google.protobuf.MessageOrBuilder { /** + * + * *
      * A Cloud Storage data sink.
      * 
* * .google.storagetransfer.v1.GcsData gcs_data_sink = 4; + * * @return Whether the gcsDataSink field is set. */ boolean hasGcsDataSink(); /** + * + * *
      * A Cloud Storage data sink.
      * 
* * .google.storagetransfer.v1.GcsData gcs_data_sink = 4; + * * @return The gcsDataSink. */ com.google.storagetransfer.v1.proto.TransferTypes.GcsData getGcsDataSink(); /** + * + * *
      * A Cloud Storage data sink.
      * 
@@ -16781,51 +18840,68 @@ public interface TransferSpecOrBuilder extends com.google.storagetransfer.v1.proto.TransferTypes.GcsDataOrBuilder getGcsDataSinkOrBuilder(); /** + * + * *
      * A POSIX Filesystem data sink.
      * 
* * .google.storagetransfer.v1.PosixFilesystem posix_data_sink = 13; + * * @return Whether the posixDataSink field is set. */ boolean hasPosixDataSink(); /** + * + * *
      * A POSIX Filesystem data sink.
      * 
* * .google.storagetransfer.v1.PosixFilesystem posix_data_sink = 13; + * * @return The posixDataSink. */ com.google.storagetransfer.v1.proto.TransferTypes.PosixFilesystem getPosixDataSink(); /** + * + * *
      * A POSIX Filesystem data sink.
      * 
* * .google.storagetransfer.v1.PosixFilesystem posix_data_sink = 13; */ - com.google.storagetransfer.v1.proto.TransferTypes.PosixFilesystemOrBuilder getPosixDataSinkOrBuilder(); + com.google.storagetransfer.v1.proto.TransferTypes.PosixFilesystemOrBuilder + getPosixDataSinkOrBuilder(); /** + * + * *
      * A Cloud Storage data source.
      * 
* * .google.storagetransfer.v1.GcsData gcs_data_source = 1; + * * @return Whether the gcsDataSource field is set. */ boolean hasGcsDataSource(); /** + * + * *
      * A Cloud Storage data source.
      * 
* * .google.storagetransfer.v1.GcsData gcs_data_source = 1; + * * @return The gcsDataSource. */ com.google.storagetransfer.v1.proto.TransferTypes.GcsData getGcsDataSource(); /** + * + * *
      * A Cloud Storage data source.
      * 
@@ -16835,168 +18911,232 @@ public interface TransferSpecOrBuilder extends com.google.storagetransfer.v1.proto.TransferTypes.GcsDataOrBuilder getGcsDataSourceOrBuilder(); /** + * + * *
      * An AWS S3 data source.
      * 
* * .google.storagetransfer.v1.AwsS3Data aws_s3_data_source = 2; + * * @return Whether the awsS3DataSource field is set. */ boolean hasAwsS3DataSource(); /** + * + * *
      * An AWS S3 data source.
      * 
* * .google.storagetransfer.v1.AwsS3Data aws_s3_data_source = 2; + * * @return The awsS3DataSource. */ com.google.storagetransfer.v1.proto.TransferTypes.AwsS3Data getAwsS3DataSource(); /** + * + * *
      * An AWS S3 data source.
      * 
* * .google.storagetransfer.v1.AwsS3Data aws_s3_data_source = 2; */ - com.google.storagetransfer.v1.proto.TransferTypes.AwsS3DataOrBuilder getAwsS3DataSourceOrBuilder(); + com.google.storagetransfer.v1.proto.TransferTypes.AwsS3DataOrBuilder + getAwsS3DataSourceOrBuilder(); /** + * + * *
      * An HTTP URL data source.
      * 
* * .google.storagetransfer.v1.HttpData http_data_source = 3; + * * @return Whether the httpDataSource field is set. */ boolean hasHttpDataSource(); /** + * + * *
      * An HTTP URL data source.
      * 
* * .google.storagetransfer.v1.HttpData http_data_source = 3; + * * @return The httpDataSource. */ com.google.storagetransfer.v1.proto.TransferTypes.HttpData getHttpDataSource(); /** + * + * *
      * An HTTP URL data source.
      * 
* * .google.storagetransfer.v1.HttpData http_data_source = 3; */ - com.google.storagetransfer.v1.proto.TransferTypes.HttpDataOrBuilder getHttpDataSourceOrBuilder(); + com.google.storagetransfer.v1.proto.TransferTypes.HttpDataOrBuilder + getHttpDataSourceOrBuilder(); /** + * + * *
      * A POSIX Filesystem data source.
      * 
* * .google.storagetransfer.v1.PosixFilesystem posix_data_source = 14; + * * @return Whether the posixDataSource field is set. */ boolean hasPosixDataSource(); /** + * + * *
      * A POSIX Filesystem data source.
      * 
* * .google.storagetransfer.v1.PosixFilesystem posix_data_source = 14; + * * @return The posixDataSource. */ com.google.storagetransfer.v1.proto.TransferTypes.PosixFilesystem getPosixDataSource(); /** + * + * *
      * A POSIX Filesystem data source.
      * 
* * .google.storagetransfer.v1.PosixFilesystem posix_data_source = 14; */ - com.google.storagetransfer.v1.proto.TransferTypes.PosixFilesystemOrBuilder getPosixDataSourceOrBuilder(); + com.google.storagetransfer.v1.proto.TransferTypes.PosixFilesystemOrBuilder + getPosixDataSourceOrBuilder(); /** + * + * *
      * An Azure Blob Storage data source.
      * 
* - * .google.storagetransfer.v1.AzureBlobStorageData azure_blob_storage_data_source = 8; + * .google.storagetransfer.v1.AzureBlobStorageData azure_blob_storage_data_source = 8; + * + * * @return Whether the azureBlobStorageDataSource field is set. */ boolean hasAzureBlobStorageDataSource(); /** + * + * *
      * An Azure Blob Storage data source.
      * 
* - * .google.storagetransfer.v1.AzureBlobStorageData azure_blob_storage_data_source = 8; + * .google.storagetransfer.v1.AzureBlobStorageData azure_blob_storage_data_source = 8; + * + * * @return The azureBlobStorageDataSource. */ - com.google.storagetransfer.v1.proto.TransferTypes.AzureBlobStorageData getAzureBlobStorageDataSource(); + com.google.storagetransfer.v1.proto.TransferTypes.AzureBlobStorageData + getAzureBlobStorageDataSource(); /** + * + * *
      * An Azure Blob Storage data source.
      * 
* - * .google.storagetransfer.v1.AzureBlobStorageData azure_blob_storage_data_source = 8; + * .google.storagetransfer.v1.AzureBlobStorageData azure_blob_storage_data_source = 8; + * */ - com.google.storagetransfer.v1.proto.TransferTypes.AzureBlobStorageDataOrBuilder getAzureBlobStorageDataSourceOrBuilder(); + com.google.storagetransfer.v1.proto.TransferTypes.AzureBlobStorageDataOrBuilder + getAzureBlobStorageDataSourceOrBuilder(); /** + * + * *
      * An AWS S3 compatible data source.
      * 
* - * .google.storagetransfer.v1.AwsS3CompatibleData aws_s3_compatible_data_source = 19; + * .google.storagetransfer.v1.AwsS3CompatibleData aws_s3_compatible_data_source = 19; + * + * * @return Whether the awsS3CompatibleDataSource field is set. */ boolean hasAwsS3CompatibleDataSource(); /** + * + * *
      * An AWS S3 compatible data source.
      * 
* - * .google.storagetransfer.v1.AwsS3CompatibleData aws_s3_compatible_data_source = 19; + * .google.storagetransfer.v1.AwsS3CompatibleData aws_s3_compatible_data_source = 19; + * + * * @return The awsS3CompatibleDataSource. */ - com.google.storagetransfer.v1.proto.TransferTypes.AwsS3CompatibleData getAwsS3CompatibleDataSource(); + com.google.storagetransfer.v1.proto.TransferTypes.AwsS3CompatibleData + getAwsS3CompatibleDataSource(); /** + * + * *
      * An AWS S3 compatible data source.
      * 
* - * .google.storagetransfer.v1.AwsS3CompatibleData aws_s3_compatible_data_source = 19; + * .google.storagetransfer.v1.AwsS3CompatibleData aws_s3_compatible_data_source = 19; + * */ - com.google.storagetransfer.v1.proto.TransferTypes.AwsS3CompatibleDataOrBuilder getAwsS3CompatibleDataSourceOrBuilder(); + com.google.storagetransfer.v1.proto.TransferTypes.AwsS3CompatibleDataOrBuilder + getAwsS3CompatibleDataSourceOrBuilder(); /** + * + * *
      * Cloud Storage intermediate data location.
      * 
* * .google.storagetransfer.v1.GcsData gcs_intermediate_data_location = 16; + * * @return Whether the gcsIntermediateDataLocation field is set. */ boolean hasGcsIntermediateDataLocation(); /** + * + * *
      * Cloud Storage intermediate data location.
      * 
* * .google.storagetransfer.v1.GcsData gcs_intermediate_data_location = 16; + * * @return The gcsIntermediateDataLocation. */ com.google.storagetransfer.v1.proto.TransferTypes.GcsData getGcsIntermediateDataLocation(); /** + * + * *
      * Cloud Storage intermediate data location.
      * 
* * .google.storagetransfer.v1.GcsData gcs_intermediate_data_location = 16; */ - com.google.storagetransfer.v1.proto.TransferTypes.GcsDataOrBuilder getGcsIntermediateDataLocationOrBuilder(); + com.google.storagetransfer.v1.proto.TransferTypes.GcsDataOrBuilder + getGcsIntermediateDataLocationOrBuilder(); /** + * + * *
      * Only objects that satisfy these object conditions are included in the set
      * of data source and data sink objects.  Object conditions based on
@@ -17004,10 +19144,13 @@ public interface TransferSpecOrBuilder extends
      * 
* * .google.storagetransfer.v1.ObjectConditions object_conditions = 5; + * * @return Whether the objectConditions field is set. */ boolean hasObjectConditions(); /** + * + * *
      * Only objects that satisfy these object conditions are included in the set
      * of data source and data sink objects.  Object conditions based on
@@ -17015,10 +19158,13 @@ public interface TransferSpecOrBuilder extends
      * 
* * .google.storagetransfer.v1.ObjectConditions object_conditions = 5; + * * @return The objectConditions. */ com.google.storagetransfer.v1.proto.TransferTypes.ObjectConditions getObjectConditions(); /** + * + * *
      * Only objects that satisfy these object conditions are included in the set
      * of data source and data sink objects.  Object conditions based on
@@ -17027,9 +19173,12 @@ public interface TransferSpecOrBuilder extends
      *
      * .google.storagetransfer.v1.ObjectConditions object_conditions = 5;
      */
-    com.google.storagetransfer.v1.proto.TransferTypes.ObjectConditionsOrBuilder getObjectConditionsOrBuilder();
+    com.google.storagetransfer.v1.proto.TransferTypes.ObjectConditionsOrBuilder
+        getObjectConditionsOrBuilder();
 
     /**
+     *
+     *
      * 
      * If the option
      * [delete_objects_unique_in_sink][google.storagetransfer.v1.TransferOptions.delete_objects_unique_in_sink]
@@ -17039,10 +19188,13 @@ public interface TransferSpecOrBuilder extends
      * 
* * .google.storagetransfer.v1.TransferOptions transfer_options = 6; + * * @return Whether the transferOptions field is set. */ boolean hasTransferOptions(); /** + * + * *
      * If the option
      * [delete_objects_unique_in_sink][google.storagetransfer.v1.TransferOptions.delete_objects_unique_in_sink]
@@ -17052,10 +19204,13 @@ public interface TransferSpecOrBuilder extends
      * 
* * .google.storagetransfer.v1.TransferOptions transfer_options = 6; + * * @return The transferOptions. */ com.google.storagetransfer.v1.proto.TransferTypes.TransferOptions getTransferOptions(); /** + * + * *
      * If the option
      * [delete_objects_unique_in_sink][google.storagetransfer.v1.TransferOptions.delete_objects_unique_in_sink]
@@ -17066,9 +19221,12 @@ public interface TransferSpecOrBuilder extends
      *
      * .google.storagetransfer.v1.TransferOptions transfer_options = 6;
      */
-    com.google.storagetransfer.v1.proto.TransferTypes.TransferOptionsOrBuilder getTransferOptionsOrBuilder();
+    com.google.storagetransfer.v1.proto.TransferTypes.TransferOptionsOrBuilder
+        getTransferOptionsOrBuilder();
 
     /**
+     *
+     *
      * 
      * A manifest file provides a list of objects to be transferred from the data
      * source. This field points to the location of the manifest file.
@@ -17076,10 +19234,13 @@ public interface TransferSpecOrBuilder extends
      * 
* * .google.storagetransfer.v1.TransferManifest transfer_manifest = 15; + * * @return Whether the transferManifest field is set. */ boolean hasTransferManifest(); /** + * + * *
      * A manifest file provides a list of objects to be transferred from the data
      * source. This field points to the location of the manifest file.
@@ -17087,10 +19248,13 @@ public interface TransferSpecOrBuilder extends
      * 
* * .google.storagetransfer.v1.TransferManifest transfer_manifest = 15; + * * @return The transferManifest. */ com.google.storagetransfer.v1.proto.TransferTypes.TransferManifest getTransferManifest(); /** + * + * *
      * A manifest file provides a list of objects to be transferred from the data
      * source. This field points to the location of the manifest file.
@@ -17099,74 +19263,92 @@ public interface TransferSpecOrBuilder extends
      *
      * .google.storagetransfer.v1.TransferManifest transfer_manifest = 15;
      */
-    com.google.storagetransfer.v1.proto.TransferTypes.TransferManifestOrBuilder getTransferManifestOrBuilder();
+    com.google.storagetransfer.v1.proto.TransferTypes.TransferManifestOrBuilder
+        getTransferManifestOrBuilder();
 
     /**
+     *
+     *
      * 
      * Specifies the agent pool name associated with the posix data source. When
      * unspecified, the default name is used.
      * 
* * string source_agent_pool_name = 17; + * * @return The sourceAgentPoolName. */ java.lang.String getSourceAgentPoolName(); /** + * + * *
      * Specifies the agent pool name associated with the posix data source. When
      * unspecified, the default name is used.
      * 
* * string source_agent_pool_name = 17; + * * @return The bytes for sourceAgentPoolName. */ - com.google.protobuf.ByteString - getSourceAgentPoolNameBytes(); + com.google.protobuf.ByteString getSourceAgentPoolNameBytes(); /** + * + * *
      * Specifies the agent pool name associated with the posix data sink. When
      * unspecified, the default name is used.
      * 
* * string sink_agent_pool_name = 18; + * * @return The sinkAgentPoolName. */ java.lang.String getSinkAgentPoolName(); /** + * + * *
      * Specifies the agent pool name associated with the posix data sink. When
      * unspecified, the default name is used.
      * 
* * string sink_agent_pool_name = 18; + * * @return The bytes for sinkAgentPoolName. */ - com.google.protobuf.ByteString - getSinkAgentPoolNameBytes(); + com.google.protobuf.ByteString getSinkAgentPoolNameBytes(); - public com.google.storagetransfer.v1.proto.TransferTypes.TransferSpec.DataSinkCase getDataSinkCase(); + public com.google.storagetransfer.v1.proto.TransferTypes.TransferSpec.DataSinkCase + getDataSinkCase(); - public com.google.storagetransfer.v1.proto.TransferTypes.TransferSpec.DataSourceCase getDataSourceCase(); + public com.google.storagetransfer.v1.proto.TransferTypes.TransferSpec.DataSourceCase + getDataSourceCase(); - public com.google.storagetransfer.v1.proto.TransferTypes.TransferSpec.IntermediateDataLocationCase getIntermediateDataLocationCase(); + public com.google.storagetransfer.v1.proto.TransferTypes.TransferSpec + .IntermediateDataLocationCase + getIntermediateDataLocationCase(); } /** + * + * *
    * Configuration for running a transfer.
    * 
* * Protobuf type {@code google.storagetransfer.v1.TransferSpec} */ - public static final class TransferSpec extends - com.google.protobuf.GeneratedMessageV3 implements + public static final class TransferSpec extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.storagetransfer.v1.TransferSpec) TransferSpecOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use TransferSpec.newBuilder() to construct. private TransferSpec(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private TransferSpec() { sourceAgentPoolName_ = ""; sinkAgentPoolName_ = ""; @@ -17174,16 +19356,15 @@ private TransferSpec() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new TransferSpec(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private TransferSpec( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -17202,190 +19383,279 @@ private TransferSpec( case 0: done = true; break; - case 10: { - com.google.storagetransfer.v1.proto.TransferTypes.GcsData.Builder subBuilder = null; - if (dataSourceCase_ == 1) { - subBuilder = ((com.google.storagetransfer.v1.proto.TransferTypes.GcsData) dataSource_).toBuilder(); - } - dataSource_ = - input.readMessage(com.google.storagetransfer.v1.proto.TransferTypes.GcsData.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom((com.google.storagetransfer.v1.proto.TransferTypes.GcsData) dataSource_); - dataSource_ = subBuilder.buildPartial(); - } - dataSourceCase_ = 1; - break; - } - case 18: { - com.google.storagetransfer.v1.proto.TransferTypes.AwsS3Data.Builder subBuilder = null; - if (dataSourceCase_ == 2) { - subBuilder = ((com.google.storagetransfer.v1.proto.TransferTypes.AwsS3Data) dataSource_).toBuilder(); - } - dataSource_ = - input.readMessage(com.google.storagetransfer.v1.proto.TransferTypes.AwsS3Data.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom((com.google.storagetransfer.v1.proto.TransferTypes.AwsS3Data) dataSource_); - dataSource_ = subBuilder.buildPartial(); - } - dataSourceCase_ = 2; - break; - } - case 26: { - com.google.storagetransfer.v1.proto.TransferTypes.HttpData.Builder subBuilder = null; - if (dataSourceCase_ == 3) { - subBuilder = ((com.google.storagetransfer.v1.proto.TransferTypes.HttpData) dataSource_).toBuilder(); - } - dataSource_ = - input.readMessage(com.google.storagetransfer.v1.proto.TransferTypes.HttpData.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom((com.google.storagetransfer.v1.proto.TransferTypes.HttpData) dataSource_); - dataSource_ = subBuilder.buildPartial(); - } - dataSourceCase_ = 3; - break; - } - case 34: { - com.google.storagetransfer.v1.proto.TransferTypes.GcsData.Builder subBuilder = null; - if (dataSinkCase_ == 4) { - subBuilder = ((com.google.storagetransfer.v1.proto.TransferTypes.GcsData) dataSink_).toBuilder(); + case 10: + { + com.google.storagetransfer.v1.proto.TransferTypes.GcsData.Builder subBuilder = null; + if (dataSourceCase_ == 1) { + subBuilder = + ((com.google.storagetransfer.v1.proto.TransferTypes.GcsData) dataSource_) + .toBuilder(); + } + dataSource_ = + input.readMessage( + com.google.storagetransfer.v1.proto.TransferTypes.GcsData.parser(), + extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom( + (com.google.storagetransfer.v1.proto.TransferTypes.GcsData) dataSource_); + dataSource_ = subBuilder.buildPartial(); + } + dataSourceCase_ = 1; + break; } - dataSink_ = - input.readMessage(com.google.storagetransfer.v1.proto.TransferTypes.GcsData.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom((com.google.storagetransfer.v1.proto.TransferTypes.GcsData) dataSink_); - dataSink_ = subBuilder.buildPartial(); + case 18: + { + com.google.storagetransfer.v1.proto.TransferTypes.AwsS3Data.Builder subBuilder = + null; + if (dataSourceCase_ == 2) { + subBuilder = + ((com.google.storagetransfer.v1.proto.TransferTypes.AwsS3Data) dataSource_) + .toBuilder(); + } + dataSource_ = + input.readMessage( + com.google.storagetransfer.v1.proto.TransferTypes.AwsS3Data.parser(), + extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom( + (com.google.storagetransfer.v1.proto.TransferTypes.AwsS3Data) dataSource_); + dataSource_ = subBuilder.buildPartial(); + } + dataSourceCase_ = 2; + break; } - dataSinkCase_ = 4; - break; - } - case 42: { - com.google.storagetransfer.v1.proto.TransferTypes.ObjectConditions.Builder subBuilder = null; - if (objectConditions_ != null) { - subBuilder = objectConditions_.toBuilder(); + case 26: + { + com.google.storagetransfer.v1.proto.TransferTypes.HttpData.Builder subBuilder = + null; + if (dataSourceCase_ == 3) { + subBuilder = + ((com.google.storagetransfer.v1.proto.TransferTypes.HttpData) dataSource_) + .toBuilder(); + } + dataSource_ = + input.readMessage( + com.google.storagetransfer.v1.proto.TransferTypes.HttpData.parser(), + extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom( + (com.google.storagetransfer.v1.proto.TransferTypes.HttpData) dataSource_); + dataSource_ = subBuilder.buildPartial(); + } + dataSourceCase_ = 3; + break; } - objectConditions_ = input.readMessage(com.google.storagetransfer.v1.proto.TransferTypes.ObjectConditions.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(objectConditions_); - objectConditions_ = subBuilder.buildPartial(); + case 34: + { + com.google.storagetransfer.v1.proto.TransferTypes.GcsData.Builder subBuilder = null; + if (dataSinkCase_ == 4) { + subBuilder = + ((com.google.storagetransfer.v1.proto.TransferTypes.GcsData) dataSink_) + .toBuilder(); + } + dataSink_ = + input.readMessage( + com.google.storagetransfer.v1.proto.TransferTypes.GcsData.parser(), + extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom( + (com.google.storagetransfer.v1.proto.TransferTypes.GcsData) dataSink_); + dataSink_ = subBuilder.buildPartial(); + } + dataSinkCase_ = 4; + break; } + case 42: + { + com.google.storagetransfer.v1.proto.TransferTypes.ObjectConditions.Builder + subBuilder = null; + if (objectConditions_ != null) { + subBuilder = objectConditions_.toBuilder(); + } + objectConditions_ = + input.readMessage( + com.google.storagetransfer.v1.proto.TransferTypes.ObjectConditions.parser(), + extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(objectConditions_); + objectConditions_ = subBuilder.buildPartial(); + } - break; - } - case 50: { - com.google.storagetransfer.v1.proto.TransferTypes.TransferOptions.Builder subBuilder = null; - if (transferOptions_ != null) { - subBuilder = transferOptions_.toBuilder(); - } - transferOptions_ = input.readMessage(com.google.storagetransfer.v1.proto.TransferTypes.TransferOptions.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(transferOptions_); - transferOptions_ = subBuilder.buildPartial(); + break; } + case 50: + { + com.google.storagetransfer.v1.proto.TransferTypes.TransferOptions.Builder + subBuilder = null; + if (transferOptions_ != null) { + subBuilder = transferOptions_.toBuilder(); + } + transferOptions_ = + input.readMessage( + com.google.storagetransfer.v1.proto.TransferTypes.TransferOptions.parser(), + extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(transferOptions_); + transferOptions_ = subBuilder.buildPartial(); + } - break; - } - case 66: { - com.google.storagetransfer.v1.proto.TransferTypes.AzureBlobStorageData.Builder subBuilder = null; - if (dataSourceCase_ == 8) { - subBuilder = ((com.google.storagetransfer.v1.proto.TransferTypes.AzureBlobStorageData) dataSource_).toBuilder(); - } - dataSource_ = - input.readMessage(com.google.storagetransfer.v1.proto.TransferTypes.AzureBlobStorageData.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom((com.google.storagetransfer.v1.proto.TransferTypes.AzureBlobStorageData) dataSource_); - dataSource_ = subBuilder.buildPartial(); - } - dataSourceCase_ = 8; - break; - } - case 106: { - com.google.storagetransfer.v1.proto.TransferTypes.PosixFilesystem.Builder subBuilder = null; - if (dataSinkCase_ == 13) { - subBuilder = ((com.google.storagetransfer.v1.proto.TransferTypes.PosixFilesystem) dataSink_).toBuilder(); - } - dataSink_ = - input.readMessage(com.google.storagetransfer.v1.proto.TransferTypes.PosixFilesystem.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom((com.google.storagetransfer.v1.proto.TransferTypes.PosixFilesystem) dataSink_); - dataSink_ = subBuilder.buildPartial(); - } - dataSinkCase_ = 13; - break; - } - case 114: { - com.google.storagetransfer.v1.proto.TransferTypes.PosixFilesystem.Builder subBuilder = null; - if (dataSourceCase_ == 14) { - subBuilder = ((com.google.storagetransfer.v1.proto.TransferTypes.PosixFilesystem) dataSource_).toBuilder(); + break; } - dataSource_ = - input.readMessage(com.google.storagetransfer.v1.proto.TransferTypes.PosixFilesystem.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom((com.google.storagetransfer.v1.proto.TransferTypes.PosixFilesystem) dataSource_); - dataSource_ = subBuilder.buildPartial(); + case 66: + { + com.google.storagetransfer.v1.proto.TransferTypes.AzureBlobStorageData.Builder + subBuilder = null; + if (dataSourceCase_ == 8) { + subBuilder = + ((com.google.storagetransfer.v1.proto.TransferTypes.AzureBlobStorageData) + dataSource_) + .toBuilder(); + } + dataSource_ = + input.readMessage( + com.google.storagetransfer.v1.proto.TransferTypes.AzureBlobStorageData + .parser(), + extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom( + (com.google.storagetransfer.v1.proto.TransferTypes.AzureBlobStorageData) + dataSource_); + dataSource_ = subBuilder.buildPartial(); + } + dataSourceCase_ = 8; + break; } - dataSourceCase_ = 14; - break; - } - case 122: { - com.google.storagetransfer.v1.proto.TransferTypes.TransferManifest.Builder subBuilder = null; - if (transferManifest_ != null) { - subBuilder = transferManifest_.toBuilder(); + case 106: + { + com.google.storagetransfer.v1.proto.TransferTypes.PosixFilesystem.Builder + subBuilder = null; + if (dataSinkCase_ == 13) { + subBuilder = + ((com.google.storagetransfer.v1.proto.TransferTypes.PosixFilesystem) + dataSink_) + .toBuilder(); + } + dataSink_ = + input.readMessage( + com.google.storagetransfer.v1.proto.TransferTypes.PosixFilesystem.parser(), + extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom( + (com.google.storagetransfer.v1.proto.TransferTypes.PosixFilesystem) + dataSink_); + dataSink_ = subBuilder.buildPartial(); + } + dataSinkCase_ = 13; + break; } - transferManifest_ = input.readMessage(com.google.storagetransfer.v1.proto.TransferTypes.TransferManifest.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(transferManifest_); - transferManifest_ = subBuilder.buildPartial(); + case 114: + { + com.google.storagetransfer.v1.proto.TransferTypes.PosixFilesystem.Builder + subBuilder = null; + if (dataSourceCase_ == 14) { + subBuilder = + ((com.google.storagetransfer.v1.proto.TransferTypes.PosixFilesystem) + dataSource_) + .toBuilder(); + } + dataSource_ = + input.readMessage( + com.google.storagetransfer.v1.proto.TransferTypes.PosixFilesystem.parser(), + extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom( + (com.google.storagetransfer.v1.proto.TransferTypes.PosixFilesystem) + dataSource_); + dataSource_ = subBuilder.buildPartial(); + } + dataSourceCase_ = 14; + break; } + case 122: + { + com.google.storagetransfer.v1.proto.TransferTypes.TransferManifest.Builder + subBuilder = null; + if (transferManifest_ != null) { + subBuilder = transferManifest_.toBuilder(); + } + transferManifest_ = + input.readMessage( + com.google.storagetransfer.v1.proto.TransferTypes.TransferManifest.parser(), + extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(transferManifest_); + transferManifest_ = subBuilder.buildPartial(); + } - break; - } - case 130: { - com.google.storagetransfer.v1.proto.TransferTypes.GcsData.Builder subBuilder = null; - if (intermediateDataLocationCase_ == 16) { - subBuilder = ((com.google.storagetransfer.v1.proto.TransferTypes.GcsData) intermediateDataLocation_).toBuilder(); + break; } - intermediateDataLocation_ = - input.readMessage(com.google.storagetransfer.v1.proto.TransferTypes.GcsData.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom((com.google.storagetransfer.v1.proto.TransferTypes.GcsData) intermediateDataLocation_); - intermediateDataLocation_ = subBuilder.buildPartial(); + case 130: + { + com.google.storagetransfer.v1.proto.TransferTypes.GcsData.Builder subBuilder = null; + if (intermediateDataLocationCase_ == 16) { + subBuilder = + ((com.google.storagetransfer.v1.proto.TransferTypes.GcsData) + intermediateDataLocation_) + .toBuilder(); + } + intermediateDataLocation_ = + input.readMessage( + com.google.storagetransfer.v1.proto.TransferTypes.GcsData.parser(), + extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom( + (com.google.storagetransfer.v1.proto.TransferTypes.GcsData) + intermediateDataLocation_); + intermediateDataLocation_ = subBuilder.buildPartial(); + } + intermediateDataLocationCase_ = 16; + break; } - intermediateDataLocationCase_ = 16; - break; - } - case 138: { - java.lang.String s = input.readStringRequireUtf8(); + case 138: + { + java.lang.String s = input.readStringRequireUtf8(); - sourceAgentPoolName_ = s; - break; - } - case 146: { - java.lang.String s = input.readStringRequireUtf8(); + sourceAgentPoolName_ = s; + break; + } + case 146: + { + java.lang.String s = input.readStringRequireUtf8(); - sinkAgentPoolName_ = s; - break; - } - case 154: { - com.google.storagetransfer.v1.proto.TransferTypes.AwsS3CompatibleData.Builder subBuilder = null; - if (dataSourceCase_ == 19) { - subBuilder = ((com.google.storagetransfer.v1.proto.TransferTypes.AwsS3CompatibleData) dataSource_).toBuilder(); + sinkAgentPoolName_ = s; + break; } - dataSource_ = - input.readMessage(com.google.storagetransfer.v1.proto.TransferTypes.AwsS3CompatibleData.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom((com.google.storagetransfer.v1.proto.TransferTypes.AwsS3CompatibleData) dataSource_); - dataSource_ = subBuilder.buildPartial(); + case 154: + { + com.google.storagetransfer.v1.proto.TransferTypes.AwsS3CompatibleData.Builder + subBuilder = null; + if (dataSourceCase_ == 19) { + subBuilder = + ((com.google.storagetransfer.v1.proto.TransferTypes.AwsS3CompatibleData) + dataSource_) + .toBuilder(); + } + dataSource_ = + input.readMessage( + com.google.storagetransfer.v1.proto.TransferTypes.AwsS3CompatibleData + .parser(), + extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom( + (com.google.storagetransfer.v1.proto.TransferTypes.AwsS3CompatibleData) + dataSource_); + dataSource_ = subBuilder.buildPartial(); + } + dataSourceCase_ = 19; + break; } - dataSourceCase_ = 19; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -17393,35 +19663,40 @@ private TransferSpec( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.storagetransfer.v1.proto.TransferTypes.internal_static_google_storagetransfer_v1_TransferSpec_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.storagetransfer.v1.proto.TransferTypes + .internal_static_google_storagetransfer_v1_TransferSpec_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.storagetransfer.v1.proto.TransferTypes.internal_static_google_storagetransfer_v1_TransferSpec_fieldAccessorTable + return com.google.storagetransfer.v1.proto.TransferTypes + .internal_static_google_storagetransfer_v1_TransferSpec_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.storagetransfer.v1.proto.TransferTypes.TransferSpec.class, com.google.storagetransfer.v1.proto.TransferTypes.TransferSpec.Builder.class); + com.google.storagetransfer.v1.proto.TransferTypes.TransferSpec.class, + com.google.storagetransfer.v1.proto.TransferTypes.TransferSpec.Builder.class); } private int dataSinkCase_ = 0; private java.lang.Object dataSink_; + public enum DataSinkCase - implements com.google.protobuf.Internal.EnumLite, + implements + com.google.protobuf.Internal.EnumLite, com.google.protobuf.AbstractMessage.InternalOneOfEnum { GCS_DATA_SINK(4), POSIX_DATA_SINK(13), DATASINK_NOT_SET(0); private final int value; + private DataSinkCase(int value) { this.value = value; } @@ -17437,27 +19712,32 @@ public static DataSinkCase valueOf(int value) { public static DataSinkCase forNumber(int value) { switch (value) { - case 4: return GCS_DATA_SINK; - case 13: return POSIX_DATA_SINK; - case 0: return DATASINK_NOT_SET; - default: return null; + case 4: + return GCS_DATA_SINK; + case 13: + return POSIX_DATA_SINK; + case 0: + return DATASINK_NOT_SET; + default: + return null; } } + public int getNumber() { return this.value; } }; - public DataSinkCase - getDataSinkCase() { - return DataSinkCase.forNumber( - dataSinkCase_); + public DataSinkCase getDataSinkCase() { + return DataSinkCase.forNumber(dataSinkCase_); } private int dataSourceCase_ = 0; private java.lang.Object dataSource_; + public enum DataSourceCase - implements com.google.protobuf.Internal.EnumLite, + implements + com.google.protobuf.Internal.EnumLite, com.google.protobuf.AbstractMessage.InternalOneOfEnum { GCS_DATA_SOURCE(1), AWS_S3_DATA_SOURCE(2), @@ -17467,6 +19747,7 @@ public enum DataSourceCase AWS_S3_COMPATIBLE_DATA_SOURCE(19), DATASOURCE_NOT_SET(0); private final int value; + private DataSourceCase(int value) { this.value = value; } @@ -17482,35 +19763,45 @@ public static DataSourceCase valueOf(int value) { public static DataSourceCase forNumber(int value) { switch (value) { - case 1: return GCS_DATA_SOURCE; - case 2: return AWS_S3_DATA_SOURCE; - case 3: return HTTP_DATA_SOURCE; - case 14: return POSIX_DATA_SOURCE; - case 8: return AZURE_BLOB_STORAGE_DATA_SOURCE; - case 19: return AWS_S3_COMPATIBLE_DATA_SOURCE; - case 0: return DATASOURCE_NOT_SET; - default: return null; + case 1: + return GCS_DATA_SOURCE; + case 2: + return AWS_S3_DATA_SOURCE; + case 3: + return HTTP_DATA_SOURCE; + case 14: + return POSIX_DATA_SOURCE; + case 8: + return AZURE_BLOB_STORAGE_DATA_SOURCE; + case 19: + return AWS_S3_COMPATIBLE_DATA_SOURCE; + case 0: + return DATASOURCE_NOT_SET; + default: + return null; } } + public int getNumber() { return this.value; } }; - public DataSourceCase - getDataSourceCase() { - return DataSourceCase.forNumber( - dataSourceCase_); + public DataSourceCase getDataSourceCase() { + return DataSourceCase.forNumber(dataSourceCase_); } private int intermediateDataLocationCase_ = 0; private java.lang.Object intermediateDataLocation_; + public enum IntermediateDataLocationCase - implements com.google.protobuf.Internal.EnumLite, + implements + com.google.protobuf.Internal.EnumLite, com.google.protobuf.AbstractMessage.InternalOneOfEnum { GCS_INTERMEDIATE_DATA_LOCATION(16), INTERMEDIATEDATALOCATION_NOT_SET(0); private final int value; + private IntermediateDataLocationCase(int value) { this.value = value; } @@ -17526,29 +19817,34 @@ public static IntermediateDataLocationCase valueOf(int value) { public static IntermediateDataLocationCase forNumber(int value) { switch (value) { - case 16: return GCS_INTERMEDIATE_DATA_LOCATION; - case 0: return INTERMEDIATEDATALOCATION_NOT_SET; - default: return null; + case 16: + return GCS_INTERMEDIATE_DATA_LOCATION; + case 0: + return INTERMEDIATEDATALOCATION_NOT_SET; + default: + return null; } } + public int getNumber() { return this.value; } }; - public IntermediateDataLocationCase - getIntermediateDataLocationCase() { - return IntermediateDataLocationCase.forNumber( - intermediateDataLocationCase_); + public IntermediateDataLocationCase getIntermediateDataLocationCase() { + return IntermediateDataLocationCase.forNumber(intermediateDataLocationCase_); } public static final int GCS_DATA_SINK_FIELD_NUMBER = 4; /** + * + * *
      * A Cloud Storage data sink.
      * 
* * .google.storagetransfer.v1.GcsData gcs_data_sink = 4; + * * @return Whether the gcsDataSink field is set. */ @java.lang.Override @@ -17556,21 +19852,26 @@ public boolean hasGcsDataSink() { return dataSinkCase_ == 4; } /** + * + * *
      * A Cloud Storage data sink.
      * 
* * .google.storagetransfer.v1.GcsData gcs_data_sink = 4; + * * @return The gcsDataSink. */ @java.lang.Override public com.google.storagetransfer.v1.proto.TransferTypes.GcsData getGcsDataSink() { if (dataSinkCase_ == 4) { - return (com.google.storagetransfer.v1.proto.TransferTypes.GcsData) dataSink_; + return (com.google.storagetransfer.v1.proto.TransferTypes.GcsData) dataSink_; } return com.google.storagetransfer.v1.proto.TransferTypes.GcsData.getDefaultInstance(); } /** + * + * *
      * A Cloud Storage data sink.
      * 
@@ -17578,20 +19879,24 @@ public com.google.storagetransfer.v1.proto.TransferTypes.GcsData getGcsDataSink( * .google.storagetransfer.v1.GcsData gcs_data_sink = 4; */ @java.lang.Override - public com.google.storagetransfer.v1.proto.TransferTypes.GcsDataOrBuilder getGcsDataSinkOrBuilder() { + public com.google.storagetransfer.v1.proto.TransferTypes.GcsDataOrBuilder + getGcsDataSinkOrBuilder() { if (dataSinkCase_ == 4) { - return (com.google.storagetransfer.v1.proto.TransferTypes.GcsData) dataSink_; + return (com.google.storagetransfer.v1.proto.TransferTypes.GcsData) dataSink_; } return com.google.storagetransfer.v1.proto.TransferTypes.GcsData.getDefaultInstance(); } public static final int POSIX_DATA_SINK_FIELD_NUMBER = 13; /** + * + * *
      * A POSIX Filesystem data sink.
      * 
* * .google.storagetransfer.v1.PosixFilesystem posix_data_sink = 13; + * * @return Whether the posixDataSink field is set. */ @java.lang.Override @@ -17599,21 +19904,26 @@ public boolean hasPosixDataSink() { return dataSinkCase_ == 13; } /** + * + * *
      * A POSIX Filesystem data sink.
      * 
* * .google.storagetransfer.v1.PosixFilesystem posix_data_sink = 13; + * * @return The posixDataSink. */ @java.lang.Override public com.google.storagetransfer.v1.proto.TransferTypes.PosixFilesystem getPosixDataSink() { if (dataSinkCase_ == 13) { - return (com.google.storagetransfer.v1.proto.TransferTypes.PosixFilesystem) dataSink_; + return (com.google.storagetransfer.v1.proto.TransferTypes.PosixFilesystem) dataSink_; } return com.google.storagetransfer.v1.proto.TransferTypes.PosixFilesystem.getDefaultInstance(); } /** + * + * *
      * A POSIX Filesystem data sink.
      * 
@@ -17621,20 +19931,24 @@ public com.google.storagetransfer.v1.proto.TransferTypes.PosixFilesystem getPosi * .google.storagetransfer.v1.PosixFilesystem posix_data_sink = 13; */ @java.lang.Override - public com.google.storagetransfer.v1.proto.TransferTypes.PosixFilesystemOrBuilder getPosixDataSinkOrBuilder() { + public com.google.storagetransfer.v1.proto.TransferTypes.PosixFilesystemOrBuilder + getPosixDataSinkOrBuilder() { if (dataSinkCase_ == 13) { - return (com.google.storagetransfer.v1.proto.TransferTypes.PosixFilesystem) dataSink_; + return (com.google.storagetransfer.v1.proto.TransferTypes.PosixFilesystem) dataSink_; } return com.google.storagetransfer.v1.proto.TransferTypes.PosixFilesystem.getDefaultInstance(); } public static final int GCS_DATA_SOURCE_FIELD_NUMBER = 1; /** + * + * *
      * A Cloud Storage data source.
      * 
* * .google.storagetransfer.v1.GcsData gcs_data_source = 1; + * * @return Whether the gcsDataSource field is set. */ @java.lang.Override @@ -17642,21 +19956,26 @@ public boolean hasGcsDataSource() { return dataSourceCase_ == 1; } /** + * + * *
      * A Cloud Storage data source.
      * 
* * .google.storagetransfer.v1.GcsData gcs_data_source = 1; + * * @return The gcsDataSource. */ @java.lang.Override public com.google.storagetransfer.v1.proto.TransferTypes.GcsData getGcsDataSource() { if (dataSourceCase_ == 1) { - return (com.google.storagetransfer.v1.proto.TransferTypes.GcsData) dataSource_; + return (com.google.storagetransfer.v1.proto.TransferTypes.GcsData) dataSource_; } return com.google.storagetransfer.v1.proto.TransferTypes.GcsData.getDefaultInstance(); } /** + * + * *
      * A Cloud Storage data source.
      * 
@@ -17664,20 +19983,24 @@ public com.google.storagetransfer.v1.proto.TransferTypes.GcsData getGcsDataSourc * .google.storagetransfer.v1.GcsData gcs_data_source = 1; */ @java.lang.Override - public com.google.storagetransfer.v1.proto.TransferTypes.GcsDataOrBuilder getGcsDataSourceOrBuilder() { + public com.google.storagetransfer.v1.proto.TransferTypes.GcsDataOrBuilder + getGcsDataSourceOrBuilder() { if (dataSourceCase_ == 1) { - return (com.google.storagetransfer.v1.proto.TransferTypes.GcsData) dataSource_; + return (com.google.storagetransfer.v1.proto.TransferTypes.GcsData) dataSource_; } return com.google.storagetransfer.v1.proto.TransferTypes.GcsData.getDefaultInstance(); } public static final int AWS_S3_DATA_SOURCE_FIELD_NUMBER = 2; /** + * + * *
      * An AWS S3 data source.
      * 
* * .google.storagetransfer.v1.AwsS3Data aws_s3_data_source = 2; + * * @return Whether the awsS3DataSource field is set. */ @java.lang.Override @@ -17685,21 +20008,26 @@ public boolean hasAwsS3DataSource() { return dataSourceCase_ == 2; } /** + * + * *
      * An AWS S3 data source.
      * 
* * .google.storagetransfer.v1.AwsS3Data aws_s3_data_source = 2; + * * @return The awsS3DataSource. */ @java.lang.Override public com.google.storagetransfer.v1.proto.TransferTypes.AwsS3Data getAwsS3DataSource() { if (dataSourceCase_ == 2) { - return (com.google.storagetransfer.v1.proto.TransferTypes.AwsS3Data) dataSource_; + return (com.google.storagetransfer.v1.proto.TransferTypes.AwsS3Data) dataSource_; } return com.google.storagetransfer.v1.proto.TransferTypes.AwsS3Data.getDefaultInstance(); } /** + * + * *
      * An AWS S3 data source.
      * 
@@ -17707,20 +20035,24 @@ public com.google.storagetransfer.v1.proto.TransferTypes.AwsS3Data getAwsS3DataS * .google.storagetransfer.v1.AwsS3Data aws_s3_data_source = 2; */ @java.lang.Override - public com.google.storagetransfer.v1.proto.TransferTypes.AwsS3DataOrBuilder getAwsS3DataSourceOrBuilder() { + public com.google.storagetransfer.v1.proto.TransferTypes.AwsS3DataOrBuilder + getAwsS3DataSourceOrBuilder() { if (dataSourceCase_ == 2) { - return (com.google.storagetransfer.v1.proto.TransferTypes.AwsS3Data) dataSource_; + return (com.google.storagetransfer.v1.proto.TransferTypes.AwsS3Data) dataSource_; } return com.google.storagetransfer.v1.proto.TransferTypes.AwsS3Data.getDefaultInstance(); } public static final int HTTP_DATA_SOURCE_FIELD_NUMBER = 3; /** + * + * *
      * An HTTP URL data source.
      * 
* * .google.storagetransfer.v1.HttpData http_data_source = 3; + * * @return Whether the httpDataSource field is set. */ @java.lang.Override @@ -17728,21 +20060,26 @@ public boolean hasHttpDataSource() { return dataSourceCase_ == 3; } /** + * + * *
      * An HTTP URL data source.
      * 
* * .google.storagetransfer.v1.HttpData http_data_source = 3; + * * @return The httpDataSource. */ @java.lang.Override public com.google.storagetransfer.v1.proto.TransferTypes.HttpData getHttpDataSource() { if (dataSourceCase_ == 3) { - return (com.google.storagetransfer.v1.proto.TransferTypes.HttpData) dataSource_; + return (com.google.storagetransfer.v1.proto.TransferTypes.HttpData) dataSource_; } return com.google.storagetransfer.v1.proto.TransferTypes.HttpData.getDefaultInstance(); } /** + * + * *
      * An HTTP URL data source.
      * 
@@ -17750,20 +20087,24 @@ public com.google.storagetransfer.v1.proto.TransferTypes.HttpData getHttpDataSou * .google.storagetransfer.v1.HttpData http_data_source = 3; */ @java.lang.Override - public com.google.storagetransfer.v1.proto.TransferTypes.HttpDataOrBuilder getHttpDataSourceOrBuilder() { + public com.google.storagetransfer.v1.proto.TransferTypes.HttpDataOrBuilder + getHttpDataSourceOrBuilder() { if (dataSourceCase_ == 3) { - return (com.google.storagetransfer.v1.proto.TransferTypes.HttpData) dataSource_; + return (com.google.storagetransfer.v1.proto.TransferTypes.HttpData) dataSource_; } return com.google.storagetransfer.v1.proto.TransferTypes.HttpData.getDefaultInstance(); } public static final int POSIX_DATA_SOURCE_FIELD_NUMBER = 14; /** + * + * *
      * A POSIX Filesystem data source.
      * 
* * .google.storagetransfer.v1.PosixFilesystem posix_data_source = 14; + * * @return Whether the posixDataSource field is set. */ @java.lang.Override @@ -17771,21 +20112,26 @@ public boolean hasPosixDataSource() { return dataSourceCase_ == 14; } /** + * + * *
      * A POSIX Filesystem data source.
      * 
* * .google.storagetransfer.v1.PosixFilesystem posix_data_source = 14; + * * @return The posixDataSource. */ @java.lang.Override public com.google.storagetransfer.v1.proto.TransferTypes.PosixFilesystem getPosixDataSource() { if (dataSourceCase_ == 14) { - return (com.google.storagetransfer.v1.proto.TransferTypes.PosixFilesystem) dataSource_; + return (com.google.storagetransfer.v1.proto.TransferTypes.PosixFilesystem) dataSource_; } return com.google.storagetransfer.v1.proto.TransferTypes.PosixFilesystem.getDefaultInstance(); } /** + * + * *
      * A POSIX Filesystem data source.
      * 
@@ -17793,20 +20139,25 @@ public com.google.storagetransfer.v1.proto.TransferTypes.PosixFilesystem getPosi * .google.storagetransfer.v1.PosixFilesystem posix_data_source = 14; */ @java.lang.Override - public com.google.storagetransfer.v1.proto.TransferTypes.PosixFilesystemOrBuilder getPosixDataSourceOrBuilder() { + public com.google.storagetransfer.v1.proto.TransferTypes.PosixFilesystemOrBuilder + getPosixDataSourceOrBuilder() { if (dataSourceCase_ == 14) { - return (com.google.storagetransfer.v1.proto.TransferTypes.PosixFilesystem) dataSource_; + return (com.google.storagetransfer.v1.proto.TransferTypes.PosixFilesystem) dataSource_; } return com.google.storagetransfer.v1.proto.TransferTypes.PosixFilesystem.getDefaultInstance(); } public static final int AZURE_BLOB_STORAGE_DATA_SOURCE_FIELD_NUMBER = 8; /** + * + * *
      * An Azure Blob Storage data source.
      * 
* - * .google.storagetransfer.v1.AzureBlobStorageData azure_blob_storage_data_source = 8; + * .google.storagetransfer.v1.AzureBlobStorageData azure_blob_storage_data_source = 8; + * + * * @return Whether the azureBlobStorageDataSource field is set. */ @java.lang.Override @@ -17814,42 +20165,57 @@ public boolean hasAzureBlobStorageDataSource() { return dataSourceCase_ == 8; } /** + * + * *
      * An Azure Blob Storage data source.
      * 
* - * .google.storagetransfer.v1.AzureBlobStorageData azure_blob_storage_data_source = 8; + * .google.storagetransfer.v1.AzureBlobStorageData azure_blob_storage_data_source = 8; + * + * * @return The azureBlobStorageDataSource. */ @java.lang.Override - public com.google.storagetransfer.v1.proto.TransferTypes.AzureBlobStorageData getAzureBlobStorageDataSource() { + public com.google.storagetransfer.v1.proto.TransferTypes.AzureBlobStorageData + getAzureBlobStorageDataSource() { if (dataSourceCase_ == 8) { - return (com.google.storagetransfer.v1.proto.TransferTypes.AzureBlobStorageData) dataSource_; + return (com.google.storagetransfer.v1.proto.TransferTypes.AzureBlobStorageData) dataSource_; } - return com.google.storagetransfer.v1.proto.TransferTypes.AzureBlobStorageData.getDefaultInstance(); + return com.google.storagetransfer.v1.proto.TransferTypes.AzureBlobStorageData + .getDefaultInstance(); } /** + * + * *
      * An Azure Blob Storage data source.
      * 
* - * .google.storagetransfer.v1.AzureBlobStorageData azure_blob_storage_data_source = 8; + * .google.storagetransfer.v1.AzureBlobStorageData azure_blob_storage_data_source = 8; + * */ @java.lang.Override - public com.google.storagetransfer.v1.proto.TransferTypes.AzureBlobStorageDataOrBuilder getAzureBlobStorageDataSourceOrBuilder() { + public com.google.storagetransfer.v1.proto.TransferTypes.AzureBlobStorageDataOrBuilder + getAzureBlobStorageDataSourceOrBuilder() { if (dataSourceCase_ == 8) { - return (com.google.storagetransfer.v1.proto.TransferTypes.AzureBlobStorageData) dataSource_; + return (com.google.storagetransfer.v1.proto.TransferTypes.AzureBlobStorageData) dataSource_; } - return com.google.storagetransfer.v1.proto.TransferTypes.AzureBlobStorageData.getDefaultInstance(); + return com.google.storagetransfer.v1.proto.TransferTypes.AzureBlobStorageData + .getDefaultInstance(); } public static final int AWS_S3_COMPATIBLE_DATA_SOURCE_FIELD_NUMBER = 19; /** + * + * *
      * An AWS S3 compatible data source.
      * 
* - * .google.storagetransfer.v1.AwsS3CompatibleData aws_s3_compatible_data_source = 19; + * .google.storagetransfer.v1.AwsS3CompatibleData aws_s3_compatible_data_source = 19; + * + * * @return Whether the awsS3CompatibleDataSource field is set. */ @java.lang.Override @@ -17857,42 +20223,56 @@ public boolean hasAwsS3CompatibleDataSource() { return dataSourceCase_ == 19; } /** + * + * *
      * An AWS S3 compatible data source.
      * 
* - * .google.storagetransfer.v1.AwsS3CompatibleData aws_s3_compatible_data_source = 19; + * .google.storagetransfer.v1.AwsS3CompatibleData aws_s3_compatible_data_source = 19; + * + * * @return The awsS3CompatibleDataSource. */ @java.lang.Override - public com.google.storagetransfer.v1.proto.TransferTypes.AwsS3CompatibleData getAwsS3CompatibleDataSource() { + public com.google.storagetransfer.v1.proto.TransferTypes.AwsS3CompatibleData + getAwsS3CompatibleDataSource() { if (dataSourceCase_ == 19) { - return (com.google.storagetransfer.v1.proto.TransferTypes.AwsS3CompatibleData) dataSource_; + return (com.google.storagetransfer.v1.proto.TransferTypes.AwsS3CompatibleData) dataSource_; } - return com.google.storagetransfer.v1.proto.TransferTypes.AwsS3CompatibleData.getDefaultInstance(); + return com.google.storagetransfer.v1.proto.TransferTypes.AwsS3CompatibleData + .getDefaultInstance(); } /** + * + * *
      * An AWS S3 compatible data source.
      * 
* - * .google.storagetransfer.v1.AwsS3CompatibleData aws_s3_compatible_data_source = 19; + * .google.storagetransfer.v1.AwsS3CompatibleData aws_s3_compatible_data_source = 19; + * */ @java.lang.Override - public com.google.storagetransfer.v1.proto.TransferTypes.AwsS3CompatibleDataOrBuilder getAwsS3CompatibleDataSourceOrBuilder() { + public com.google.storagetransfer.v1.proto.TransferTypes.AwsS3CompatibleDataOrBuilder + getAwsS3CompatibleDataSourceOrBuilder() { if (dataSourceCase_ == 19) { - return (com.google.storagetransfer.v1.proto.TransferTypes.AwsS3CompatibleData) dataSource_; + return (com.google.storagetransfer.v1.proto.TransferTypes.AwsS3CompatibleData) dataSource_; } - return com.google.storagetransfer.v1.proto.TransferTypes.AwsS3CompatibleData.getDefaultInstance(); + return com.google.storagetransfer.v1.proto.TransferTypes.AwsS3CompatibleData + .getDefaultInstance(); } public static final int GCS_INTERMEDIATE_DATA_LOCATION_FIELD_NUMBER = 16; /** + * + * *
      * Cloud Storage intermediate data location.
      * 
* * .google.storagetransfer.v1.GcsData gcs_intermediate_data_location = 16; + * * @return Whether the gcsIntermediateDataLocation field is set. */ @java.lang.Override @@ -17900,21 +20280,28 @@ public boolean hasGcsIntermediateDataLocation() { return intermediateDataLocationCase_ == 16; } /** + * + * *
      * Cloud Storage intermediate data location.
      * 
* * .google.storagetransfer.v1.GcsData gcs_intermediate_data_location = 16; + * * @return The gcsIntermediateDataLocation. */ @java.lang.Override - public com.google.storagetransfer.v1.proto.TransferTypes.GcsData getGcsIntermediateDataLocation() { + public com.google.storagetransfer.v1.proto.TransferTypes.GcsData + getGcsIntermediateDataLocation() { if (intermediateDataLocationCase_ == 16) { - return (com.google.storagetransfer.v1.proto.TransferTypes.GcsData) intermediateDataLocation_; + return (com.google.storagetransfer.v1.proto.TransferTypes.GcsData) + intermediateDataLocation_; } return com.google.storagetransfer.v1.proto.TransferTypes.GcsData.getDefaultInstance(); } /** + * + * *
      * Cloud Storage intermediate data location.
      * 
@@ -17922,9 +20309,11 @@ public com.google.storagetransfer.v1.proto.TransferTypes.GcsData getGcsIntermedi * .google.storagetransfer.v1.GcsData gcs_intermediate_data_location = 16; */ @java.lang.Override - public com.google.storagetransfer.v1.proto.TransferTypes.GcsDataOrBuilder getGcsIntermediateDataLocationOrBuilder() { + public com.google.storagetransfer.v1.proto.TransferTypes.GcsDataOrBuilder + getGcsIntermediateDataLocationOrBuilder() { if (intermediateDataLocationCase_ == 16) { - return (com.google.storagetransfer.v1.proto.TransferTypes.GcsData) intermediateDataLocation_; + return (com.google.storagetransfer.v1.proto.TransferTypes.GcsData) + intermediateDataLocation_; } return com.google.storagetransfer.v1.proto.TransferTypes.GcsData.getDefaultInstance(); } @@ -17932,6 +20321,8 @@ public com.google.storagetransfer.v1.proto.TransferTypes.GcsDataOrBuilder getGcs public static final int OBJECT_CONDITIONS_FIELD_NUMBER = 5; private com.google.storagetransfer.v1.proto.TransferTypes.ObjectConditions objectConditions_; /** + * + * *
      * Only objects that satisfy these object conditions are included in the set
      * of data source and data sink objects.  Object conditions based on
@@ -17939,6 +20330,7 @@ public com.google.storagetransfer.v1.proto.TransferTypes.GcsDataOrBuilder getGcs
      * 
* * .google.storagetransfer.v1.ObjectConditions object_conditions = 5; + * * @return Whether the objectConditions field is set. */ @java.lang.Override @@ -17946,6 +20338,8 @@ public boolean hasObjectConditions() { return objectConditions_ != null; } /** + * + * *
      * Only objects that satisfy these object conditions are included in the set
      * of data source and data sink objects.  Object conditions based on
@@ -17953,13 +20347,19 @@ public boolean hasObjectConditions() {
      * 
* * .google.storagetransfer.v1.ObjectConditions object_conditions = 5; + * * @return The objectConditions. */ @java.lang.Override - public com.google.storagetransfer.v1.proto.TransferTypes.ObjectConditions getObjectConditions() { - return objectConditions_ == null ? com.google.storagetransfer.v1.proto.TransferTypes.ObjectConditions.getDefaultInstance() : objectConditions_; + public com.google.storagetransfer.v1.proto.TransferTypes.ObjectConditions + getObjectConditions() { + return objectConditions_ == null + ? com.google.storagetransfer.v1.proto.TransferTypes.ObjectConditions.getDefaultInstance() + : objectConditions_; } /** + * + * *
      * Only objects that satisfy these object conditions are included in the set
      * of data source and data sink objects.  Object conditions based on
@@ -17969,13 +20369,16 @@ public com.google.storagetransfer.v1.proto.TransferTypes.ObjectConditions getObj
      * .google.storagetransfer.v1.ObjectConditions object_conditions = 5;
      */
     @java.lang.Override
-    public com.google.storagetransfer.v1.proto.TransferTypes.ObjectConditionsOrBuilder getObjectConditionsOrBuilder() {
+    public com.google.storagetransfer.v1.proto.TransferTypes.ObjectConditionsOrBuilder
+        getObjectConditionsOrBuilder() {
       return getObjectConditions();
     }
 
     public static final int TRANSFER_OPTIONS_FIELD_NUMBER = 6;
     private com.google.storagetransfer.v1.proto.TransferTypes.TransferOptions transferOptions_;
     /**
+     *
+     *
      * 
      * If the option
      * [delete_objects_unique_in_sink][google.storagetransfer.v1.TransferOptions.delete_objects_unique_in_sink]
@@ -17985,6 +20388,7 @@ public com.google.storagetransfer.v1.proto.TransferTypes.ObjectConditionsOrBuild
      * 
* * .google.storagetransfer.v1.TransferOptions transfer_options = 6; + * * @return Whether the transferOptions field is set. */ @java.lang.Override @@ -17992,6 +20396,8 @@ public boolean hasTransferOptions() { return transferOptions_ != null; } /** + * + * *
      * If the option
      * [delete_objects_unique_in_sink][google.storagetransfer.v1.TransferOptions.delete_objects_unique_in_sink]
@@ -18001,13 +20407,18 @@ public boolean hasTransferOptions() {
      * 
* * .google.storagetransfer.v1.TransferOptions transfer_options = 6; + * * @return The transferOptions. */ @java.lang.Override public com.google.storagetransfer.v1.proto.TransferTypes.TransferOptions getTransferOptions() { - return transferOptions_ == null ? com.google.storagetransfer.v1.proto.TransferTypes.TransferOptions.getDefaultInstance() : transferOptions_; + return transferOptions_ == null + ? com.google.storagetransfer.v1.proto.TransferTypes.TransferOptions.getDefaultInstance() + : transferOptions_; } /** + * + * *
      * If the option
      * [delete_objects_unique_in_sink][google.storagetransfer.v1.TransferOptions.delete_objects_unique_in_sink]
@@ -18019,13 +20430,16 @@ public com.google.storagetransfer.v1.proto.TransferTypes.TransferOptions getTran
      * .google.storagetransfer.v1.TransferOptions transfer_options = 6;
      */
     @java.lang.Override
-    public com.google.storagetransfer.v1.proto.TransferTypes.TransferOptionsOrBuilder getTransferOptionsOrBuilder() {
+    public com.google.storagetransfer.v1.proto.TransferTypes.TransferOptionsOrBuilder
+        getTransferOptionsOrBuilder() {
       return getTransferOptions();
     }
 
     public static final int TRANSFER_MANIFEST_FIELD_NUMBER = 15;
     private com.google.storagetransfer.v1.proto.TransferTypes.TransferManifest transferManifest_;
     /**
+     *
+     *
      * 
      * A manifest file provides a list of objects to be transferred from the data
      * source. This field points to the location of the manifest file.
@@ -18033,6 +20447,7 @@ public com.google.storagetransfer.v1.proto.TransferTypes.TransferOptionsOrBuilde
      * 
* * .google.storagetransfer.v1.TransferManifest transfer_manifest = 15; + * * @return Whether the transferManifest field is set. */ @java.lang.Override @@ -18040,6 +20455,8 @@ public boolean hasTransferManifest() { return transferManifest_ != null; } /** + * + * *
      * A manifest file provides a list of objects to be transferred from the data
      * source. This field points to the location of the manifest file.
@@ -18047,13 +20464,19 @@ public boolean hasTransferManifest() {
      * 
* * .google.storagetransfer.v1.TransferManifest transfer_manifest = 15; + * * @return The transferManifest. */ @java.lang.Override - public com.google.storagetransfer.v1.proto.TransferTypes.TransferManifest getTransferManifest() { - return transferManifest_ == null ? com.google.storagetransfer.v1.proto.TransferTypes.TransferManifest.getDefaultInstance() : transferManifest_; + public com.google.storagetransfer.v1.proto.TransferTypes.TransferManifest + getTransferManifest() { + return transferManifest_ == null + ? com.google.storagetransfer.v1.proto.TransferTypes.TransferManifest.getDefaultInstance() + : transferManifest_; } /** + * + * *
      * A manifest file provides a list of objects to be transferred from the data
      * source. This field points to the location of the manifest file.
@@ -18063,19 +20486,23 @@ public com.google.storagetransfer.v1.proto.TransferTypes.TransferManifest getTra
      * .google.storagetransfer.v1.TransferManifest transfer_manifest = 15;
      */
     @java.lang.Override
-    public com.google.storagetransfer.v1.proto.TransferTypes.TransferManifestOrBuilder getTransferManifestOrBuilder() {
+    public com.google.storagetransfer.v1.proto.TransferTypes.TransferManifestOrBuilder
+        getTransferManifestOrBuilder() {
       return getTransferManifest();
     }
 
     public static final int SOURCE_AGENT_POOL_NAME_FIELD_NUMBER = 17;
     private volatile java.lang.Object sourceAgentPoolName_;
     /**
+     *
+     *
      * 
      * Specifies the agent pool name associated with the posix data source. When
      * unspecified, the default name is used.
      * 
* * string source_agent_pool_name = 17; + * * @return The sourceAgentPoolName. */ @java.lang.Override @@ -18084,30 +20511,30 @@ public java.lang.String getSourceAgentPoolName() { 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(); sourceAgentPoolName_ = s; return s; } } /** + * + * *
      * Specifies the agent pool name associated with the posix data source. When
      * unspecified, the default name is used.
      * 
* * string source_agent_pool_name = 17; + * * @return The bytes for sourceAgentPoolName. */ @java.lang.Override - public com.google.protobuf.ByteString - getSourceAgentPoolNameBytes() { + public com.google.protobuf.ByteString getSourceAgentPoolNameBytes() { java.lang.Object ref = sourceAgentPoolName_; 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); sourceAgentPoolName_ = b; return b; } else { @@ -18118,12 +20545,15 @@ public java.lang.String getSourceAgentPoolName() { public static final int SINK_AGENT_POOL_NAME_FIELD_NUMBER = 18; private volatile java.lang.Object sinkAgentPoolName_; /** + * + * *
      * Specifies the agent pool name associated with the posix data sink. When
      * unspecified, the default name is used.
      * 
* * string sink_agent_pool_name = 18; + * * @return The sinkAgentPoolName. */ @java.lang.Override @@ -18132,30 +20562,30 @@ public java.lang.String getSinkAgentPoolName() { 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(); sinkAgentPoolName_ = s; return s; } } /** + * + * *
      * Specifies the agent pool name associated with the posix data sink. When
      * unspecified, the default name is used.
      * 
* * string sink_agent_pool_name = 18; + * * @return The bytes for sinkAgentPoolName. */ @java.lang.Override - public com.google.protobuf.ByteString - getSinkAgentPoolNameBytes() { + public com.google.protobuf.ByteString getSinkAgentPoolNameBytes() { java.lang.Object ref = sinkAgentPoolName_; 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); sinkAgentPoolName_ = b; return b; } else { @@ -18164,6 +20594,7 @@ public java.lang.String getSinkAgentPoolName() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -18175,19 +20606,22 @@ 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 (dataSourceCase_ == 1) { - output.writeMessage(1, (com.google.storagetransfer.v1.proto.TransferTypes.GcsData) dataSource_); + output.writeMessage( + 1, (com.google.storagetransfer.v1.proto.TransferTypes.GcsData) dataSource_); } if (dataSourceCase_ == 2) { - output.writeMessage(2, (com.google.storagetransfer.v1.proto.TransferTypes.AwsS3Data) dataSource_); + output.writeMessage( + 2, (com.google.storagetransfer.v1.proto.TransferTypes.AwsS3Data) dataSource_); } if (dataSourceCase_ == 3) { - output.writeMessage(3, (com.google.storagetransfer.v1.proto.TransferTypes.HttpData) dataSource_); + output.writeMessage( + 3, (com.google.storagetransfer.v1.proto.TransferTypes.HttpData) dataSource_); } if (dataSinkCase_ == 4) { - output.writeMessage(4, (com.google.storagetransfer.v1.proto.TransferTypes.GcsData) dataSink_); + output.writeMessage( + 4, (com.google.storagetransfer.v1.proto.TransferTypes.GcsData) dataSink_); } if (objectConditions_ != null) { output.writeMessage(5, getObjectConditions()); @@ -18196,19 +20630,25 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) output.writeMessage(6, getTransferOptions()); } if (dataSourceCase_ == 8) { - output.writeMessage(8, (com.google.storagetransfer.v1.proto.TransferTypes.AzureBlobStorageData) dataSource_); + output.writeMessage( + 8, + (com.google.storagetransfer.v1.proto.TransferTypes.AzureBlobStorageData) dataSource_); } if (dataSinkCase_ == 13) { - output.writeMessage(13, (com.google.storagetransfer.v1.proto.TransferTypes.PosixFilesystem) dataSink_); + output.writeMessage( + 13, (com.google.storagetransfer.v1.proto.TransferTypes.PosixFilesystem) dataSink_); } if (dataSourceCase_ == 14) { - output.writeMessage(14, (com.google.storagetransfer.v1.proto.TransferTypes.PosixFilesystem) dataSource_); + output.writeMessage( + 14, (com.google.storagetransfer.v1.proto.TransferTypes.PosixFilesystem) dataSource_); } if (transferManifest_ != null) { output.writeMessage(15, getTransferManifest()); } if (intermediateDataLocationCase_ == 16) { - output.writeMessage(16, (com.google.storagetransfer.v1.proto.TransferTypes.GcsData) intermediateDataLocation_); + output.writeMessage( + 16, + (com.google.storagetransfer.v1.proto.TransferTypes.GcsData) intermediateDataLocation_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(sourceAgentPoolName_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 17, sourceAgentPoolName_); @@ -18217,7 +20657,9 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) com.google.protobuf.GeneratedMessageV3.writeString(output, 18, sinkAgentPoolName_); } if (dataSourceCase_ == 19) { - output.writeMessage(19, (com.google.storagetransfer.v1.proto.TransferTypes.AwsS3CompatibleData) dataSource_); + output.writeMessage( + 19, + (com.google.storagetransfer.v1.proto.TransferTypes.AwsS3CompatibleData) dataSource_); } unknownFields.writeTo(output); } @@ -18229,48 +20671,58 @@ public int getSerializedSize() { size = 0; if (dataSourceCase_ == 1) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, (com.google.storagetransfer.v1.proto.TransferTypes.GcsData) dataSource_); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 1, (com.google.storagetransfer.v1.proto.TransferTypes.GcsData) dataSource_); } if (dataSourceCase_ == 2) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(2, (com.google.storagetransfer.v1.proto.TransferTypes.AwsS3Data) dataSource_); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 2, (com.google.storagetransfer.v1.proto.TransferTypes.AwsS3Data) dataSource_); } if (dataSourceCase_ == 3) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(3, (com.google.storagetransfer.v1.proto.TransferTypes.HttpData) dataSource_); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 3, (com.google.storagetransfer.v1.proto.TransferTypes.HttpData) dataSource_); } if (dataSinkCase_ == 4) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(4, (com.google.storagetransfer.v1.proto.TransferTypes.GcsData) dataSink_); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 4, (com.google.storagetransfer.v1.proto.TransferTypes.GcsData) dataSink_); } if (objectConditions_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(5, getObjectConditions()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(5, getObjectConditions()); } if (transferOptions_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(6, getTransferOptions()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(6, getTransferOptions()); } if (dataSourceCase_ == 8) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(8, (com.google.storagetransfer.v1.proto.TransferTypes.AzureBlobStorageData) dataSource_); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 8, + (com.google.storagetransfer.v1.proto.TransferTypes.AzureBlobStorageData) + dataSource_); } if (dataSinkCase_ == 13) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(13, (com.google.storagetransfer.v1.proto.TransferTypes.PosixFilesystem) dataSink_); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 13, (com.google.storagetransfer.v1.proto.TransferTypes.PosixFilesystem) dataSink_); } if (dataSourceCase_ == 14) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(14, (com.google.storagetransfer.v1.proto.TransferTypes.PosixFilesystem) dataSource_); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 14, + (com.google.storagetransfer.v1.proto.TransferTypes.PosixFilesystem) dataSource_); } if (transferManifest_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(15, getTransferManifest()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(15, getTransferManifest()); } if (intermediateDataLocationCase_ == 16) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(16, (com.google.storagetransfer.v1.proto.TransferTypes.GcsData) intermediateDataLocation_); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 16, + (com.google.storagetransfer.v1.proto.TransferTypes.GcsData) + intermediateDataLocation_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(sourceAgentPoolName_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(17, sourceAgentPoolName_); @@ -18279,8 +20731,11 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(18, sinkAgentPoolName_); } if (dataSourceCase_ == 19) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(19, (com.google.storagetransfer.v1.proto.TransferTypes.AwsS3CompatibleData) dataSource_); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 19, + (com.google.storagetransfer.v1.proto.TransferTypes.AwsS3CompatibleData) + dataSource_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -18290,41 +20745,35 @@ 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.storagetransfer.v1.proto.TransferTypes.TransferSpec)) { return super.equals(obj); } - com.google.storagetransfer.v1.proto.TransferTypes.TransferSpec other = (com.google.storagetransfer.v1.proto.TransferTypes.TransferSpec) obj; + com.google.storagetransfer.v1.proto.TransferTypes.TransferSpec other = + (com.google.storagetransfer.v1.proto.TransferTypes.TransferSpec) obj; if (hasObjectConditions() != other.hasObjectConditions()) return false; if (hasObjectConditions()) { - if (!getObjectConditions() - .equals(other.getObjectConditions())) return false; + if (!getObjectConditions().equals(other.getObjectConditions())) return false; } if (hasTransferOptions() != other.hasTransferOptions()) return false; if (hasTransferOptions()) { - if (!getTransferOptions() - .equals(other.getTransferOptions())) return false; + if (!getTransferOptions().equals(other.getTransferOptions())) return false; } if (hasTransferManifest() != other.hasTransferManifest()) return false; if (hasTransferManifest()) { - if (!getTransferManifest() - .equals(other.getTransferManifest())) return false; + if (!getTransferManifest().equals(other.getTransferManifest())) return false; } - if (!getSourceAgentPoolName() - .equals(other.getSourceAgentPoolName())) return false; - if (!getSinkAgentPoolName() - .equals(other.getSinkAgentPoolName())) return false; + if (!getSourceAgentPoolName().equals(other.getSourceAgentPoolName())) return false; + if (!getSinkAgentPoolName().equals(other.getSinkAgentPoolName())) return false; if (!getDataSinkCase().equals(other.getDataSinkCase())) return false; switch (dataSinkCase_) { case 4: - if (!getGcsDataSink() - .equals(other.getGcsDataSink())) return false; + if (!getGcsDataSink().equals(other.getGcsDataSink())) return false; break; case 13: - if (!getPosixDataSink() - .equals(other.getPosixDataSink())) return false; + if (!getPosixDataSink().equals(other.getPosixDataSink())) return false; break; case 0: default: @@ -18332,37 +20781,34 @@ public boolean equals(final java.lang.Object obj) { if (!getDataSourceCase().equals(other.getDataSourceCase())) return false; switch (dataSourceCase_) { case 1: - if (!getGcsDataSource() - .equals(other.getGcsDataSource())) return false; + if (!getGcsDataSource().equals(other.getGcsDataSource())) return false; break; case 2: - if (!getAwsS3DataSource() - .equals(other.getAwsS3DataSource())) return false; + if (!getAwsS3DataSource().equals(other.getAwsS3DataSource())) return false; break; case 3: - if (!getHttpDataSource() - .equals(other.getHttpDataSource())) return false; + if (!getHttpDataSource().equals(other.getHttpDataSource())) return false; break; case 14: - if (!getPosixDataSource() - .equals(other.getPosixDataSource())) return false; + if (!getPosixDataSource().equals(other.getPosixDataSource())) return false; break; case 8: - if (!getAzureBlobStorageDataSource() - .equals(other.getAzureBlobStorageDataSource())) return false; + if (!getAzureBlobStorageDataSource().equals(other.getAzureBlobStorageDataSource())) + return false; break; case 19: - if (!getAwsS3CompatibleDataSource() - .equals(other.getAwsS3CompatibleDataSource())) return false; + if (!getAwsS3CompatibleDataSource().equals(other.getAwsS3CompatibleDataSource())) + return false; break; case 0: default: } - if (!getIntermediateDataLocationCase().equals(other.getIntermediateDataLocationCase())) return false; + if (!getIntermediateDataLocationCase().equals(other.getIntermediateDataLocationCase())) + return false; switch (intermediateDataLocationCase_) { case 16: - if (!getGcsIntermediateDataLocation() - .equals(other.getGcsIntermediateDataLocation())) return false; + if (!getGcsIntermediateDataLocation().equals(other.getGcsIntermediateDataLocation())) + return false; break; case 0: default: @@ -18448,87 +20894,94 @@ public int hashCode() { } public static com.google.storagetransfer.v1.proto.TransferTypes.TransferSpec parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.storagetransfer.v1.proto.TransferTypes.TransferSpec 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.storagetransfer.v1.proto.TransferTypes.TransferSpec parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.storagetransfer.v1.proto.TransferTypes.TransferSpec 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.storagetransfer.v1.proto.TransferTypes.TransferSpec parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.storagetransfer.v1.proto.TransferTypes.TransferSpec parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.storagetransfer.v1.proto.TransferTypes.TransferSpec 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.storagetransfer.v1.proto.TransferTypes.TransferSpec parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.storagetransfer.v1.proto.TransferTypes.TransferSpec parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.storagetransfer.v1.proto.TransferTypes.TransferSpec 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.storagetransfer.v1.proto.TransferTypes.TransferSpec parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.storagetransfer.v1.proto.TransferTypes.TransferSpec parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.storagetransfer.v1.proto.TransferTypes.TransferSpec 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.storagetransfer.v1.proto.TransferTypes.TransferSpec 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.storagetransfer.v1.proto.TransferTypes.TransferSpec 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.storagetransfer.v1.proto.TransferTypes.TransferSpec prototype) { + + public static Builder newBuilder( + com.google.storagetransfer.v1.proto.TransferTypes.TransferSpec 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 @@ -18538,27 +20991,32 @@ protected Builder newBuilderForType( return builder; } /** + * + * *
      * Configuration for running a transfer.
      * 
* * Protobuf type {@code google.storagetransfer.v1.TransferSpec} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder + extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.storagetransfer.v1.TransferSpec) com.google.storagetransfer.v1.proto.TransferTypes.TransferSpecOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.storagetransfer.v1.proto.TransferTypes.internal_static_google_storagetransfer_v1_TransferSpec_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.storagetransfer.v1.proto.TransferTypes + .internal_static_google_storagetransfer_v1_TransferSpec_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.storagetransfer.v1.proto.TransferTypes.internal_static_google_storagetransfer_v1_TransferSpec_fieldAccessorTable + return com.google.storagetransfer.v1.proto.TransferTypes + .internal_static_google_storagetransfer_v1_TransferSpec_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.storagetransfer.v1.proto.TransferTypes.TransferSpec.class, com.google.storagetransfer.v1.proto.TransferTypes.TransferSpec.Builder.class); + com.google.storagetransfer.v1.proto.TransferTypes.TransferSpec.class, + com.google.storagetransfer.v1.proto.TransferTypes.TransferSpec.Builder.class); } // Construct using com.google.storagetransfer.v1.proto.TransferTypes.TransferSpec.newBuilder() @@ -18566,16 +21024,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -18611,13 +21068,14 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.storagetransfer.v1.proto.TransferTypes.internal_static_google_storagetransfer_v1_TransferSpec_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.storagetransfer.v1.proto.TransferTypes + .internal_static_google_storagetransfer_v1_TransferSpec_descriptor; } @java.lang.Override - public com.google.storagetransfer.v1.proto.TransferTypes.TransferSpec getDefaultInstanceForType() { + public com.google.storagetransfer.v1.proto.TransferTypes.TransferSpec + getDefaultInstanceForType() { return com.google.storagetransfer.v1.proto.TransferTypes.TransferSpec.getDefaultInstance(); } @@ -18632,7 +21090,8 @@ public com.google.storagetransfer.v1.proto.TransferTypes.TransferSpec build() { @java.lang.Override public com.google.storagetransfer.v1.proto.TransferTypes.TransferSpec buildPartial() { - com.google.storagetransfer.v1.proto.TransferTypes.TransferSpec result = new com.google.storagetransfer.v1.proto.TransferTypes.TransferSpec(this); + com.google.storagetransfer.v1.proto.TransferTypes.TransferSpec result = + new com.google.storagetransfer.v1.proto.TransferTypes.TransferSpec(this); if (dataSinkCase_ == 4) { if (gcsDataSinkBuilder_ == null) { result.dataSink_ = dataSink_; @@ -18724,46 +21183,52 @@ public com.google.storagetransfer.v1.proto.TransferTypes.TransferSpec buildParti public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + int index, + java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.storagetransfer.v1.proto.TransferTypes.TransferSpec) { - return mergeFrom((com.google.storagetransfer.v1.proto.TransferTypes.TransferSpec)other); + return mergeFrom((com.google.storagetransfer.v1.proto.TransferTypes.TransferSpec) other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.google.storagetransfer.v1.proto.TransferTypes.TransferSpec other) { - if (other == com.google.storagetransfer.v1.proto.TransferTypes.TransferSpec.getDefaultInstance()) return this; + public Builder mergeFrom( + com.google.storagetransfer.v1.proto.TransferTypes.TransferSpec other) { + if (other + == com.google.storagetransfer.v1.proto.TransferTypes.TransferSpec.getDefaultInstance()) + return this; if (other.hasObjectConditions()) { mergeObjectConditions(other.getObjectConditions()); } @@ -18782,55 +21247,67 @@ public Builder mergeFrom(com.google.storagetransfer.v1.proto.TransferTypes.Trans onChanged(); } switch (other.getDataSinkCase()) { - case GCS_DATA_SINK: { - mergeGcsDataSink(other.getGcsDataSink()); - break; - } - case POSIX_DATA_SINK: { - mergePosixDataSink(other.getPosixDataSink()); - break; - } - case DATASINK_NOT_SET: { - break; - } + case GCS_DATA_SINK: + { + mergeGcsDataSink(other.getGcsDataSink()); + break; + } + case POSIX_DATA_SINK: + { + mergePosixDataSink(other.getPosixDataSink()); + break; + } + case DATASINK_NOT_SET: + { + break; + } } switch (other.getDataSourceCase()) { - case GCS_DATA_SOURCE: { - mergeGcsDataSource(other.getGcsDataSource()); - break; - } - case AWS_S3_DATA_SOURCE: { - mergeAwsS3DataSource(other.getAwsS3DataSource()); - break; - } - case HTTP_DATA_SOURCE: { - mergeHttpDataSource(other.getHttpDataSource()); - break; - } - case POSIX_DATA_SOURCE: { - mergePosixDataSource(other.getPosixDataSource()); - break; - } - case AZURE_BLOB_STORAGE_DATA_SOURCE: { - mergeAzureBlobStorageDataSource(other.getAzureBlobStorageDataSource()); - break; - } - case AWS_S3_COMPATIBLE_DATA_SOURCE: { - mergeAwsS3CompatibleDataSource(other.getAwsS3CompatibleDataSource()); - break; - } - case DATASOURCE_NOT_SET: { - break; - } + case GCS_DATA_SOURCE: + { + mergeGcsDataSource(other.getGcsDataSource()); + break; + } + case AWS_S3_DATA_SOURCE: + { + mergeAwsS3DataSource(other.getAwsS3DataSource()); + break; + } + case HTTP_DATA_SOURCE: + { + mergeHttpDataSource(other.getHttpDataSource()); + break; + } + case POSIX_DATA_SOURCE: + { + mergePosixDataSource(other.getPosixDataSource()); + break; + } + case AZURE_BLOB_STORAGE_DATA_SOURCE: + { + mergeAzureBlobStorageDataSource(other.getAzureBlobStorageDataSource()); + break; + } + case AWS_S3_COMPATIBLE_DATA_SOURCE: + { + mergeAwsS3CompatibleDataSource(other.getAwsS3CompatibleDataSource()); + break; + } + case DATASOURCE_NOT_SET: + { + break; + } } switch (other.getIntermediateDataLocationCase()) { - case GCS_INTERMEDIATE_DATA_LOCATION: { - mergeGcsIntermediateDataLocation(other.getGcsIntermediateDataLocation()); - break; - } - case INTERMEDIATEDATALOCATION_NOT_SET: { - break; - } + case GCS_INTERMEDIATE_DATA_LOCATION: + { + mergeGcsIntermediateDataLocation(other.getGcsIntermediateDataLocation()); + break; + } + case INTERMEDIATEDATALOCATION_NOT_SET: + { + break; + } } this.mergeUnknownFields(other.unknownFields); onChanged(); @@ -18851,7 +21328,9 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.storagetransfer.v1.proto.TransferTypes.TransferSpec) e.getUnfinishedMessage(); + parsedMessage = + (com.google.storagetransfer.v1.proto.TransferTypes.TransferSpec) + e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -18860,12 +21339,12 @@ public Builder mergeFrom( } return this; } + private int dataSinkCase_ = 0; private java.lang.Object dataSink_; - public DataSinkCase - getDataSinkCase() { - return DataSinkCase.forNumber( - dataSinkCase_); + + public DataSinkCase getDataSinkCase() { + return DataSinkCase.forNumber(dataSinkCase_); } public Builder clearDataSink() { @@ -18877,10 +21356,9 @@ public Builder clearDataSink() { private int dataSourceCase_ = 0; private java.lang.Object dataSource_; - public DataSourceCase - getDataSourceCase() { - return DataSourceCase.forNumber( - dataSourceCase_); + + public DataSourceCase getDataSourceCase() { + return DataSourceCase.forNumber(dataSourceCase_); } public Builder clearDataSource() { @@ -18892,10 +21370,9 @@ public Builder clearDataSource() { private int intermediateDataLocationCase_ = 0; private java.lang.Object intermediateDataLocation_; - public IntermediateDataLocationCase - getIntermediateDataLocationCase() { - return IntermediateDataLocationCase.forNumber( - intermediateDataLocationCase_); + + public IntermediateDataLocationCase getIntermediateDataLocationCase() { + return IntermediateDataLocationCase.forNumber(intermediateDataLocationCase_); } public Builder clearIntermediateDataLocation() { @@ -18905,15 +21382,20 @@ public Builder clearIntermediateDataLocation() { return this; } - private com.google.protobuf.SingleFieldBuilderV3< - com.google.storagetransfer.v1.proto.TransferTypes.GcsData, com.google.storagetransfer.v1.proto.TransferTypes.GcsData.Builder, com.google.storagetransfer.v1.proto.TransferTypes.GcsDataOrBuilder> gcsDataSinkBuilder_; + com.google.storagetransfer.v1.proto.TransferTypes.GcsData, + com.google.storagetransfer.v1.proto.TransferTypes.GcsData.Builder, + com.google.storagetransfer.v1.proto.TransferTypes.GcsDataOrBuilder> + gcsDataSinkBuilder_; /** + * + * *
        * A Cloud Storage data sink.
        * 
* * .google.storagetransfer.v1.GcsData gcs_data_sink = 4; + * * @return Whether the gcsDataSink field is set. */ @java.lang.Override @@ -18921,11 +21403,14 @@ public boolean hasGcsDataSink() { return dataSinkCase_ == 4; } /** + * + * *
        * A Cloud Storage data sink.
        * 
* * .google.storagetransfer.v1.GcsData gcs_data_sink = 4; + * * @return The gcsDataSink. */ @java.lang.Override @@ -18943,13 +21428,16 @@ public com.google.storagetransfer.v1.proto.TransferTypes.GcsData getGcsDataSink( } } /** + * + * *
        * A Cloud Storage data sink.
        * 
* * .google.storagetransfer.v1.GcsData gcs_data_sink = 4; */ - public Builder setGcsDataSink(com.google.storagetransfer.v1.proto.TransferTypes.GcsData value) { + public Builder setGcsDataSink( + com.google.storagetransfer.v1.proto.TransferTypes.GcsData value) { if (gcsDataSinkBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -18963,6 +21451,8 @@ public Builder setGcsDataSink(com.google.storagetransfer.v1.proto.TransferTypes. return this; } /** + * + * *
        * A Cloud Storage data sink.
        * 
@@ -18981,18 +21471,26 @@ public Builder setGcsDataSink( return this; } /** + * + * *
        * A Cloud Storage data sink.
        * 
* * .google.storagetransfer.v1.GcsData gcs_data_sink = 4; */ - public Builder mergeGcsDataSink(com.google.storagetransfer.v1.proto.TransferTypes.GcsData value) { + public Builder mergeGcsDataSink( + com.google.storagetransfer.v1.proto.TransferTypes.GcsData value) { if (gcsDataSinkBuilder_ == null) { - if (dataSinkCase_ == 4 && - dataSink_ != com.google.storagetransfer.v1.proto.TransferTypes.GcsData.getDefaultInstance()) { - dataSink_ = com.google.storagetransfer.v1.proto.TransferTypes.GcsData.newBuilder((com.google.storagetransfer.v1.proto.TransferTypes.GcsData) dataSink_) - .mergeFrom(value).buildPartial(); + if (dataSinkCase_ == 4 + && dataSink_ + != com.google.storagetransfer.v1.proto.TransferTypes.GcsData + .getDefaultInstance()) { + dataSink_ = + com.google.storagetransfer.v1.proto.TransferTypes.GcsData.newBuilder( + (com.google.storagetransfer.v1.proto.TransferTypes.GcsData) dataSink_) + .mergeFrom(value) + .buildPartial(); } else { dataSink_ = value; } @@ -19008,6 +21506,8 @@ public Builder mergeGcsDataSink(com.google.storagetransfer.v1.proto.TransferType return this; } /** + * + * *
        * A Cloud Storage data sink.
        * 
@@ -19031,16 +21531,21 @@ public Builder clearGcsDataSink() { return this; } /** + * + * *
        * A Cloud Storage data sink.
        * 
* * .google.storagetransfer.v1.GcsData gcs_data_sink = 4; */ - public com.google.storagetransfer.v1.proto.TransferTypes.GcsData.Builder getGcsDataSinkBuilder() { + public com.google.storagetransfer.v1.proto.TransferTypes.GcsData.Builder + getGcsDataSinkBuilder() { return getGcsDataSinkFieldBuilder().getBuilder(); } /** + * + * *
        * A Cloud Storage data sink.
        * 
@@ -19048,7 +21553,8 @@ public com.google.storagetransfer.v1.proto.TransferTypes.GcsData.Builder getGcsD * .google.storagetransfer.v1.GcsData gcs_data_sink = 4; */ @java.lang.Override - public com.google.storagetransfer.v1.proto.TransferTypes.GcsDataOrBuilder getGcsDataSinkOrBuilder() { + public com.google.storagetransfer.v1.proto.TransferTypes.GcsDataOrBuilder + getGcsDataSinkOrBuilder() { if ((dataSinkCase_ == 4) && (gcsDataSinkBuilder_ != null)) { return gcsDataSinkBuilder_.getMessageOrBuilder(); } else { @@ -19059,6 +21565,8 @@ public com.google.storagetransfer.v1.proto.TransferTypes.GcsDataOrBuilder getGcs } } /** + * + * *
        * A Cloud Storage data sink.
        * 
@@ -19066,32 +21574,45 @@ public com.google.storagetransfer.v1.proto.TransferTypes.GcsDataOrBuilder getGcs * .google.storagetransfer.v1.GcsData gcs_data_sink = 4; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.storagetransfer.v1.proto.TransferTypes.GcsData, com.google.storagetransfer.v1.proto.TransferTypes.GcsData.Builder, com.google.storagetransfer.v1.proto.TransferTypes.GcsDataOrBuilder> + com.google.storagetransfer.v1.proto.TransferTypes.GcsData, + com.google.storagetransfer.v1.proto.TransferTypes.GcsData.Builder, + com.google.storagetransfer.v1.proto.TransferTypes.GcsDataOrBuilder> getGcsDataSinkFieldBuilder() { if (gcsDataSinkBuilder_ == null) { if (!(dataSinkCase_ == 4)) { - dataSink_ = com.google.storagetransfer.v1.proto.TransferTypes.GcsData.getDefaultInstance(); + dataSink_ = + com.google.storagetransfer.v1.proto.TransferTypes.GcsData.getDefaultInstance(); } - gcsDataSinkBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.storagetransfer.v1.proto.TransferTypes.GcsData, com.google.storagetransfer.v1.proto.TransferTypes.GcsData.Builder, com.google.storagetransfer.v1.proto.TransferTypes.GcsDataOrBuilder>( + gcsDataSinkBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.storagetransfer.v1.proto.TransferTypes.GcsData, + com.google.storagetransfer.v1.proto.TransferTypes.GcsData.Builder, + com.google.storagetransfer.v1.proto.TransferTypes.GcsDataOrBuilder>( (com.google.storagetransfer.v1.proto.TransferTypes.GcsData) dataSink_, getParentForChildren(), isClean()); dataSink_ = null; } dataSinkCase_ = 4; - onChanged();; + onChanged(); + ; return gcsDataSinkBuilder_; } private com.google.protobuf.SingleFieldBuilderV3< - com.google.storagetransfer.v1.proto.TransferTypes.PosixFilesystem, com.google.storagetransfer.v1.proto.TransferTypes.PosixFilesystem.Builder, com.google.storagetransfer.v1.proto.TransferTypes.PosixFilesystemOrBuilder> posixDataSinkBuilder_; + com.google.storagetransfer.v1.proto.TransferTypes.PosixFilesystem, + com.google.storagetransfer.v1.proto.TransferTypes.PosixFilesystem.Builder, + com.google.storagetransfer.v1.proto.TransferTypes.PosixFilesystemOrBuilder> + posixDataSinkBuilder_; /** + * + * *
        * A POSIX Filesystem data sink.
        * 
* * .google.storagetransfer.v1.PosixFilesystem posix_data_sink = 13; + * * @return Whether the posixDataSink field is set. */ @java.lang.Override @@ -19099,11 +21620,14 @@ public boolean hasPosixDataSink() { return dataSinkCase_ == 13; } /** + * + * *
        * A POSIX Filesystem data sink.
        * 
* * .google.storagetransfer.v1.PosixFilesystem posix_data_sink = 13; + * * @return The posixDataSink. */ @java.lang.Override @@ -19112,22 +21636,27 @@ public com.google.storagetransfer.v1.proto.TransferTypes.PosixFilesystem getPosi if (dataSinkCase_ == 13) { return (com.google.storagetransfer.v1.proto.TransferTypes.PosixFilesystem) dataSink_; } - return com.google.storagetransfer.v1.proto.TransferTypes.PosixFilesystem.getDefaultInstance(); + return com.google.storagetransfer.v1.proto.TransferTypes.PosixFilesystem + .getDefaultInstance(); } else { if (dataSinkCase_ == 13) { return posixDataSinkBuilder_.getMessage(); } - return com.google.storagetransfer.v1.proto.TransferTypes.PosixFilesystem.getDefaultInstance(); + return com.google.storagetransfer.v1.proto.TransferTypes.PosixFilesystem + .getDefaultInstance(); } } /** + * + * *
        * A POSIX Filesystem data sink.
        * 
* * .google.storagetransfer.v1.PosixFilesystem posix_data_sink = 13; */ - public Builder setPosixDataSink(com.google.storagetransfer.v1.proto.TransferTypes.PosixFilesystem value) { + public Builder setPosixDataSink( + com.google.storagetransfer.v1.proto.TransferTypes.PosixFilesystem value) { if (posixDataSinkBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -19141,6 +21670,8 @@ public Builder setPosixDataSink(com.google.storagetransfer.v1.proto.TransferType return this; } /** + * + * *
        * A POSIX Filesystem data sink.
        * 
@@ -19148,7 +21679,8 @@ public Builder setPosixDataSink(com.google.storagetransfer.v1.proto.TransferType * .google.storagetransfer.v1.PosixFilesystem posix_data_sink = 13; */ public Builder setPosixDataSink( - com.google.storagetransfer.v1.proto.TransferTypes.PosixFilesystem.Builder builderForValue) { + com.google.storagetransfer.v1.proto.TransferTypes.PosixFilesystem.Builder + builderForValue) { if (posixDataSinkBuilder_ == null) { dataSink_ = builderForValue.build(); onChanged(); @@ -19159,18 +21691,27 @@ public Builder setPosixDataSink( return this; } /** + * + * *
        * A POSIX Filesystem data sink.
        * 
* * .google.storagetransfer.v1.PosixFilesystem posix_data_sink = 13; */ - public Builder mergePosixDataSink(com.google.storagetransfer.v1.proto.TransferTypes.PosixFilesystem value) { + public Builder mergePosixDataSink( + com.google.storagetransfer.v1.proto.TransferTypes.PosixFilesystem value) { if (posixDataSinkBuilder_ == null) { - if (dataSinkCase_ == 13 && - dataSink_ != com.google.storagetransfer.v1.proto.TransferTypes.PosixFilesystem.getDefaultInstance()) { - dataSink_ = com.google.storagetransfer.v1.proto.TransferTypes.PosixFilesystem.newBuilder((com.google.storagetransfer.v1.proto.TransferTypes.PosixFilesystem) dataSink_) - .mergeFrom(value).buildPartial(); + if (dataSinkCase_ == 13 + && dataSink_ + != com.google.storagetransfer.v1.proto.TransferTypes.PosixFilesystem + .getDefaultInstance()) { + dataSink_ = + com.google.storagetransfer.v1.proto.TransferTypes.PosixFilesystem.newBuilder( + (com.google.storagetransfer.v1.proto.TransferTypes.PosixFilesystem) + dataSink_) + .mergeFrom(value) + .buildPartial(); } else { dataSink_ = value; } @@ -19186,6 +21727,8 @@ public Builder mergePosixDataSink(com.google.storagetransfer.v1.proto.TransferTy return this; } /** + * + * *
        * A POSIX Filesystem data sink.
        * 
@@ -19209,16 +21752,21 @@ public Builder clearPosixDataSink() { return this; } /** + * + * *
        * A POSIX Filesystem data sink.
        * 
* * .google.storagetransfer.v1.PosixFilesystem posix_data_sink = 13; */ - public com.google.storagetransfer.v1.proto.TransferTypes.PosixFilesystem.Builder getPosixDataSinkBuilder() { + public com.google.storagetransfer.v1.proto.TransferTypes.PosixFilesystem.Builder + getPosixDataSinkBuilder() { return getPosixDataSinkFieldBuilder().getBuilder(); } /** + * + * *
        * A POSIX Filesystem data sink.
        * 
@@ -19226,17 +21774,21 @@ public com.google.storagetransfer.v1.proto.TransferTypes.PosixFilesystem.Builder * .google.storagetransfer.v1.PosixFilesystem posix_data_sink = 13; */ @java.lang.Override - public com.google.storagetransfer.v1.proto.TransferTypes.PosixFilesystemOrBuilder getPosixDataSinkOrBuilder() { + public com.google.storagetransfer.v1.proto.TransferTypes.PosixFilesystemOrBuilder + getPosixDataSinkOrBuilder() { if ((dataSinkCase_ == 13) && (posixDataSinkBuilder_ != null)) { return posixDataSinkBuilder_.getMessageOrBuilder(); } else { if (dataSinkCase_ == 13) { return (com.google.storagetransfer.v1.proto.TransferTypes.PosixFilesystem) dataSink_; } - return com.google.storagetransfer.v1.proto.TransferTypes.PosixFilesystem.getDefaultInstance(); + return com.google.storagetransfer.v1.proto.TransferTypes.PosixFilesystem + .getDefaultInstance(); } } /** + * + * *
        * A POSIX Filesystem data sink.
        * 
@@ -19244,32 +21796,46 @@ public com.google.storagetransfer.v1.proto.TransferTypes.PosixFilesystemOrBuilde * .google.storagetransfer.v1.PosixFilesystem posix_data_sink = 13; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.storagetransfer.v1.proto.TransferTypes.PosixFilesystem, com.google.storagetransfer.v1.proto.TransferTypes.PosixFilesystem.Builder, com.google.storagetransfer.v1.proto.TransferTypes.PosixFilesystemOrBuilder> + com.google.storagetransfer.v1.proto.TransferTypes.PosixFilesystem, + com.google.storagetransfer.v1.proto.TransferTypes.PosixFilesystem.Builder, + com.google.storagetransfer.v1.proto.TransferTypes.PosixFilesystemOrBuilder> getPosixDataSinkFieldBuilder() { if (posixDataSinkBuilder_ == null) { if (!(dataSinkCase_ == 13)) { - dataSink_ = com.google.storagetransfer.v1.proto.TransferTypes.PosixFilesystem.getDefaultInstance(); + dataSink_ = + com.google.storagetransfer.v1.proto.TransferTypes.PosixFilesystem + .getDefaultInstance(); } - posixDataSinkBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.storagetransfer.v1.proto.TransferTypes.PosixFilesystem, com.google.storagetransfer.v1.proto.TransferTypes.PosixFilesystem.Builder, com.google.storagetransfer.v1.proto.TransferTypes.PosixFilesystemOrBuilder>( + posixDataSinkBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.storagetransfer.v1.proto.TransferTypes.PosixFilesystem, + com.google.storagetransfer.v1.proto.TransferTypes.PosixFilesystem.Builder, + com.google.storagetransfer.v1.proto.TransferTypes.PosixFilesystemOrBuilder>( (com.google.storagetransfer.v1.proto.TransferTypes.PosixFilesystem) dataSink_, getParentForChildren(), isClean()); dataSink_ = null; } dataSinkCase_ = 13; - onChanged();; + onChanged(); + ; return posixDataSinkBuilder_; } private com.google.protobuf.SingleFieldBuilderV3< - com.google.storagetransfer.v1.proto.TransferTypes.GcsData, com.google.storagetransfer.v1.proto.TransferTypes.GcsData.Builder, com.google.storagetransfer.v1.proto.TransferTypes.GcsDataOrBuilder> gcsDataSourceBuilder_; + com.google.storagetransfer.v1.proto.TransferTypes.GcsData, + com.google.storagetransfer.v1.proto.TransferTypes.GcsData.Builder, + com.google.storagetransfer.v1.proto.TransferTypes.GcsDataOrBuilder> + gcsDataSourceBuilder_; /** + * + * *
        * A Cloud Storage data source.
        * 
* * .google.storagetransfer.v1.GcsData gcs_data_source = 1; + * * @return Whether the gcsDataSource field is set. */ @java.lang.Override @@ -19277,11 +21843,14 @@ public boolean hasGcsDataSource() { return dataSourceCase_ == 1; } /** + * + * *
        * A Cloud Storage data source.
        * 
* * .google.storagetransfer.v1.GcsData gcs_data_source = 1; + * * @return The gcsDataSource. */ @java.lang.Override @@ -19299,13 +21868,16 @@ public com.google.storagetransfer.v1.proto.TransferTypes.GcsData getGcsDataSourc } } /** + * + * *
        * A Cloud Storage data source.
        * 
* * .google.storagetransfer.v1.GcsData gcs_data_source = 1; */ - public Builder setGcsDataSource(com.google.storagetransfer.v1.proto.TransferTypes.GcsData value) { + public Builder setGcsDataSource( + com.google.storagetransfer.v1.proto.TransferTypes.GcsData value) { if (gcsDataSourceBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -19319,6 +21891,8 @@ public Builder setGcsDataSource(com.google.storagetransfer.v1.proto.TransferType return this; } /** + * + * *
        * A Cloud Storage data source.
        * 
@@ -19337,18 +21911,26 @@ public Builder setGcsDataSource( return this; } /** + * + * *
        * A Cloud Storage data source.
        * 
* * .google.storagetransfer.v1.GcsData gcs_data_source = 1; */ - public Builder mergeGcsDataSource(com.google.storagetransfer.v1.proto.TransferTypes.GcsData value) { + public Builder mergeGcsDataSource( + com.google.storagetransfer.v1.proto.TransferTypes.GcsData value) { if (gcsDataSourceBuilder_ == null) { - if (dataSourceCase_ == 1 && - dataSource_ != com.google.storagetransfer.v1.proto.TransferTypes.GcsData.getDefaultInstance()) { - dataSource_ = com.google.storagetransfer.v1.proto.TransferTypes.GcsData.newBuilder((com.google.storagetransfer.v1.proto.TransferTypes.GcsData) dataSource_) - .mergeFrom(value).buildPartial(); + if (dataSourceCase_ == 1 + && dataSource_ + != com.google.storagetransfer.v1.proto.TransferTypes.GcsData + .getDefaultInstance()) { + dataSource_ = + com.google.storagetransfer.v1.proto.TransferTypes.GcsData.newBuilder( + (com.google.storagetransfer.v1.proto.TransferTypes.GcsData) dataSource_) + .mergeFrom(value) + .buildPartial(); } else { dataSource_ = value; } @@ -19364,6 +21946,8 @@ public Builder mergeGcsDataSource(com.google.storagetransfer.v1.proto.TransferTy return this; } /** + * + * *
        * A Cloud Storage data source.
        * 
@@ -19387,16 +21971,21 @@ public Builder clearGcsDataSource() { return this; } /** + * + * *
        * A Cloud Storage data source.
        * 
* * .google.storagetransfer.v1.GcsData gcs_data_source = 1; */ - public com.google.storagetransfer.v1.proto.TransferTypes.GcsData.Builder getGcsDataSourceBuilder() { + public com.google.storagetransfer.v1.proto.TransferTypes.GcsData.Builder + getGcsDataSourceBuilder() { return getGcsDataSourceFieldBuilder().getBuilder(); } /** + * + * *
        * A Cloud Storage data source.
        * 
@@ -19404,7 +21993,8 @@ public com.google.storagetransfer.v1.proto.TransferTypes.GcsData.Builder getGcsD * .google.storagetransfer.v1.GcsData gcs_data_source = 1; */ @java.lang.Override - public com.google.storagetransfer.v1.proto.TransferTypes.GcsDataOrBuilder getGcsDataSourceOrBuilder() { + public com.google.storagetransfer.v1.proto.TransferTypes.GcsDataOrBuilder + getGcsDataSourceOrBuilder() { if ((dataSourceCase_ == 1) && (gcsDataSourceBuilder_ != null)) { return gcsDataSourceBuilder_.getMessageOrBuilder(); } else { @@ -19415,6 +22005,8 @@ public com.google.storagetransfer.v1.proto.TransferTypes.GcsDataOrBuilder getGcs } } /** + * + * *
        * A Cloud Storage data source.
        * 
@@ -19422,32 +22014,45 @@ public com.google.storagetransfer.v1.proto.TransferTypes.GcsDataOrBuilder getGcs * .google.storagetransfer.v1.GcsData gcs_data_source = 1; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.storagetransfer.v1.proto.TransferTypes.GcsData, com.google.storagetransfer.v1.proto.TransferTypes.GcsData.Builder, com.google.storagetransfer.v1.proto.TransferTypes.GcsDataOrBuilder> + com.google.storagetransfer.v1.proto.TransferTypes.GcsData, + com.google.storagetransfer.v1.proto.TransferTypes.GcsData.Builder, + com.google.storagetransfer.v1.proto.TransferTypes.GcsDataOrBuilder> getGcsDataSourceFieldBuilder() { if (gcsDataSourceBuilder_ == null) { if (!(dataSourceCase_ == 1)) { - dataSource_ = com.google.storagetransfer.v1.proto.TransferTypes.GcsData.getDefaultInstance(); + dataSource_ = + com.google.storagetransfer.v1.proto.TransferTypes.GcsData.getDefaultInstance(); } - gcsDataSourceBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.storagetransfer.v1.proto.TransferTypes.GcsData, com.google.storagetransfer.v1.proto.TransferTypes.GcsData.Builder, com.google.storagetransfer.v1.proto.TransferTypes.GcsDataOrBuilder>( + gcsDataSourceBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.storagetransfer.v1.proto.TransferTypes.GcsData, + com.google.storagetransfer.v1.proto.TransferTypes.GcsData.Builder, + com.google.storagetransfer.v1.proto.TransferTypes.GcsDataOrBuilder>( (com.google.storagetransfer.v1.proto.TransferTypes.GcsData) dataSource_, getParentForChildren(), isClean()); dataSource_ = null; } dataSourceCase_ = 1; - onChanged();; + onChanged(); + ; return gcsDataSourceBuilder_; } private com.google.protobuf.SingleFieldBuilderV3< - com.google.storagetransfer.v1.proto.TransferTypes.AwsS3Data, com.google.storagetransfer.v1.proto.TransferTypes.AwsS3Data.Builder, com.google.storagetransfer.v1.proto.TransferTypes.AwsS3DataOrBuilder> awsS3DataSourceBuilder_; + com.google.storagetransfer.v1.proto.TransferTypes.AwsS3Data, + com.google.storagetransfer.v1.proto.TransferTypes.AwsS3Data.Builder, + com.google.storagetransfer.v1.proto.TransferTypes.AwsS3DataOrBuilder> + awsS3DataSourceBuilder_; /** + * + * *
        * An AWS S3 data source.
        * 
* * .google.storagetransfer.v1.AwsS3Data aws_s3_data_source = 2; + * * @return Whether the awsS3DataSource field is set. */ @java.lang.Override @@ -19455,11 +22060,14 @@ public boolean hasAwsS3DataSource() { return dataSourceCase_ == 2; } /** + * + * *
        * An AWS S3 data source.
        * 
* * .google.storagetransfer.v1.AwsS3Data aws_s3_data_source = 2; + * * @return The awsS3DataSource. */ @java.lang.Override @@ -19477,13 +22085,16 @@ public com.google.storagetransfer.v1.proto.TransferTypes.AwsS3Data getAwsS3DataS } } /** + * + * *
        * An AWS S3 data source.
        * 
* * .google.storagetransfer.v1.AwsS3Data aws_s3_data_source = 2; */ - public Builder setAwsS3DataSource(com.google.storagetransfer.v1.proto.TransferTypes.AwsS3Data value) { + public Builder setAwsS3DataSource( + com.google.storagetransfer.v1.proto.TransferTypes.AwsS3Data value) { if (awsS3DataSourceBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -19497,6 +22108,8 @@ public Builder setAwsS3DataSource(com.google.storagetransfer.v1.proto.TransferTy return this; } /** + * + * *
        * An AWS S3 data source.
        * 
@@ -19515,18 +22128,26 @@ public Builder setAwsS3DataSource( return this; } /** + * + * *
        * An AWS S3 data source.
        * 
* * .google.storagetransfer.v1.AwsS3Data aws_s3_data_source = 2; */ - public Builder mergeAwsS3DataSource(com.google.storagetransfer.v1.proto.TransferTypes.AwsS3Data value) { + public Builder mergeAwsS3DataSource( + com.google.storagetransfer.v1.proto.TransferTypes.AwsS3Data value) { if (awsS3DataSourceBuilder_ == null) { - if (dataSourceCase_ == 2 && - dataSource_ != com.google.storagetransfer.v1.proto.TransferTypes.AwsS3Data.getDefaultInstance()) { - dataSource_ = com.google.storagetransfer.v1.proto.TransferTypes.AwsS3Data.newBuilder((com.google.storagetransfer.v1.proto.TransferTypes.AwsS3Data) dataSource_) - .mergeFrom(value).buildPartial(); + if (dataSourceCase_ == 2 + && dataSource_ + != com.google.storagetransfer.v1.proto.TransferTypes.AwsS3Data + .getDefaultInstance()) { + dataSource_ = + com.google.storagetransfer.v1.proto.TransferTypes.AwsS3Data.newBuilder( + (com.google.storagetransfer.v1.proto.TransferTypes.AwsS3Data) dataSource_) + .mergeFrom(value) + .buildPartial(); } else { dataSource_ = value; } @@ -19542,6 +22163,8 @@ public Builder mergeAwsS3DataSource(com.google.storagetransfer.v1.proto.Transfer return this; } /** + * + * *
        * An AWS S3 data source.
        * 
@@ -19565,16 +22188,21 @@ public Builder clearAwsS3DataSource() { return this; } /** + * + * *
        * An AWS S3 data source.
        * 
* * .google.storagetransfer.v1.AwsS3Data aws_s3_data_source = 2; */ - public com.google.storagetransfer.v1.proto.TransferTypes.AwsS3Data.Builder getAwsS3DataSourceBuilder() { + public com.google.storagetransfer.v1.proto.TransferTypes.AwsS3Data.Builder + getAwsS3DataSourceBuilder() { return getAwsS3DataSourceFieldBuilder().getBuilder(); } /** + * + * *
        * An AWS S3 data source.
        * 
@@ -19582,7 +22210,8 @@ public com.google.storagetransfer.v1.proto.TransferTypes.AwsS3Data.Builder getAw * .google.storagetransfer.v1.AwsS3Data aws_s3_data_source = 2; */ @java.lang.Override - public com.google.storagetransfer.v1.proto.TransferTypes.AwsS3DataOrBuilder getAwsS3DataSourceOrBuilder() { + public com.google.storagetransfer.v1.proto.TransferTypes.AwsS3DataOrBuilder + getAwsS3DataSourceOrBuilder() { if ((dataSourceCase_ == 2) && (awsS3DataSourceBuilder_ != null)) { return awsS3DataSourceBuilder_.getMessageOrBuilder(); } else { @@ -19593,6 +22222,8 @@ public com.google.storagetransfer.v1.proto.TransferTypes.AwsS3DataOrBuilder getA } } /** + * + * *
        * An AWS S3 data source.
        * 
@@ -19600,32 +22231,45 @@ public com.google.storagetransfer.v1.proto.TransferTypes.AwsS3DataOrBuilder getA * .google.storagetransfer.v1.AwsS3Data aws_s3_data_source = 2; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.storagetransfer.v1.proto.TransferTypes.AwsS3Data, com.google.storagetransfer.v1.proto.TransferTypes.AwsS3Data.Builder, com.google.storagetransfer.v1.proto.TransferTypes.AwsS3DataOrBuilder> + com.google.storagetransfer.v1.proto.TransferTypes.AwsS3Data, + com.google.storagetransfer.v1.proto.TransferTypes.AwsS3Data.Builder, + com.google.storagetransfer.v1.proto.TransferTypes.AwsS3DataOrBuilder> getAwsS3DataSourceFieldBuilder() { if (awsS3DataSourceBuilder_ == null) { if (!(dataSourceCase_ == 2)) { - dataSource_ = com.google.storagetransfer.v1.proto.TransferTypes.AwsS3Data.getDefaultInstance(); + dataSource_ = + com.google.storagetransfer.v1.proto.TransferTypes.AwsS3Data.getDefaultInstance(); } - awsS3DataSourceBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.storagetransfer.v1.proto.TransferTypes.AwsS3Data, com.google.storagetransfer.v1.proto.TransferTypes.AwsS3Data.Builder, com.google.storagetransfer.v1.proto.TransferTypes.AwsS3DataOrBuilder>( + awsS3DataSourceBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.storagetransfer.v1.proto.TransferTypes.AwsS3Data, + com.google.storagetransfer.v1.proto.TransferTypes.AwsS3Data.Builder, + com.google.storagetransfer.v1.proto.TransferTypes.AwsS3DataOrBuilder>( (com.google.storagetransfer.v1.proto.TransferTypes.AwsS3Data) dataSource_, getParentForChildren(), isClean()); dataSource_ = null; } dataSourceCase_ = 2; - onChanged();; + onChanged(); + ; return awsS3DataSourceBuilder_; } private com.google.protobuf.SingleFieldBuilderV3< - com.google.storagetransfer.v1.proto.TransferTypes.HttpData, com.google.storagetransfer.v1.proto.TransferTypes.HttpData.Builder, com.google.storagetransfer.v1.proto.TransferTypes.HttpDataOrBuilder> httpDataSourceBuilder_; + com.google.storagetransfer.v1.proto.TransferTypes.HttpData, + com.google.storagetransfer.v1.proto.TransferTypes.HttpData.Builder, + com.google.storagetransfer.v1.proto.TransferTypes.HttpDataOrBuilder> + httpDataSourceBuilder_; /** + * + * *
        * An HTTP URL data source.
        * 
* * .google.storagetransfer.v1.HttpData http_data_source = 3; + * * @return Whether the httpDataSource field is set. */ @java.lang.Override @@ -19633,11 +22277,14 @@ public boolean hasHttpDataSource() { return dataSourceCase_ == 3; } /** + * + * *
        * An HTTP URL data source.
        * 
* * .google.storagetransfer.v1.HttpData http_data_source = 3; + * * @return The httpDataSource. */ @java.lang.Override @@ -19655,13 +22302,16 @@ public com.google.storagetransfer.v1.proto.TransferTypes.HttpData getHttpDataSou } } /** + * + * *
        * An HTTP URL data source.
        * 
* * .google.storagetransfer.v1.HttpData http_data_source = 3; */ - public Builder setHttpDataSource(com.google.storagetransfer.v1.proto.TransferTypes.HttpData value) { + public Builder setHttpDataSource( + com.google.storagetransfer.v1.proto.TransferTypes.HttpData value) { if (httpDataSourceBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -19675,6 +22325,8 @@ public Builder setHttpDataSource(com.google.storagetransfer.v1.proto.TransferTyp return this; } /** + * + * *
        * An HTTP URL data source.
        * 
@@ -19693,18 +22345,26 @@ public Builder setHttpDataSource( return this; } /** + * + * *
        * An HTTP URL data source.
        * 
* * .google.storagetransfer.v1.HttpData http_data_source = 3; */ - public Builder mergeHttpDataSource(com.google.storagetransfer.v1.proto.TransferTypes.HttpData value) { + public Builder mergeHttpDataSource( + com.google.storagetransfer.v1.proto.TransferTypes.HttpData value) { if (httpDataSourceBuilder_ == null) { - if (dataSourceCase_ == 3 && - dataSource_ != com.google.storagetransfer.v1.proto.TransferTypes.HttpData.getDefaultInstance()) { - dataSource_ = com.google.storagetransfer.v1.proto.TransferTypes.HttpData.newBuilder((com.google.storagetransfer.v1.proto.TransferTypes.HttpData) dataSource_) - .mergeFrom(value).buildPartial(); + if (dataSourceCase_ == 3 + && dataSource_ + != com.google.storagetransfer.v1.proto.TransferTypes.HttpData + .getDefaultInstance()) { + dataSource_ = + com.google.storagetransfer.v1.proto.TransferTypes.HttpData.newBuilder( + (com.google.storagetransfer.v1.proto.TransferTypes.HttpData) dataSource_) + .mergeFrom(value) + .buildPartial(); } else { dataSource_ = value; } @@ -19720,6 +22380,8 @@ public Builder mergeHttpDataSource(com.google.storagetransfer.v1.proto.TransferT return this; } /** + * + * *
        * An HTTP URL data source.
        * 
@@ -19743,16 +22405,21 @@ public Builder clearHttpDataSource() { return this; } /** + * + * *
        * An HTTP URL data source.
        * 
* * .google.storagetransfer.v1.HttpData http_data_source = 3; */ - public com.google.storagetransfer.v1.proto.TransferTypes.HttpData.Builder getHttpDataSourceBuilder() { + public com.google.storagetransfer.v1.proto.TransferTypes.HttpData.Builder + getHttpDataSourceBuilder() { return getHttpDataSourceFieldBuilder().getBuilder(); } /** + * + * *
        * An HTTP URL data source.
        * 
@@ -19760,7 +22427,8 @@ public com.google.storagetransfer.v1.proto.TransferTypes.HttpData.Builder getHtt * .google.storagetransfer.v1.HttpData http_data_source = 3; */ @java.lang.Override - public com.google.storagetransfer.v1.proto.TransferTypes.HttpDataOrBuilder getHttpDataSourceOrBuilder() { + public com.google.storagetransfer.v1.proto.TransferTypes.HttpDataOrBuilder + getHttpDataSourceOrBuilder() { if ((dataSourceCase_ == 3) && (httpDataSourceBuilder_ != null)) { return httpDataSourceBuilder_.getMessageOrBuilder(); } else { @@ -19771,6 +22439,8 @@ public com.google.storagetransfer.v1.proto.TransferTypes.HttpDataOrBuilder getHt } } /** + * + * *
        * An HTTP URL data source.
        * 
@@ -19778,32 +22448,45 @@ public com.google.storagetransfer.v1.proto.TransferTypes.HttpDataOrBuilder getHt * .google.storagetransfer.v1.HttpData http_data_source = 3; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.storagetransfer.v1.proto.TransferTypes.HttpData, com.google.storagetransfer.v1.proto.TransferTypes.HttpData.Builder, com.google.storagetransfer.v1.proto.TransferTypes.HttpDataOrBuilder> + com.google.storagetransfer.v1.proto.TransferTypes.HttpData, + com.google.storagetransfer.v1.proto.TransferTypes.HttpData.Builder, + com.google.storagetransfer.v1.proto.TransferTypes.HttpDataOrBuilder> getHttpDataSourceFieldBuilder() { if (httpDataSourceBuilder_ == null) { if (!(dataSourceCase_ == 3)) { - dataSource_ = com.google.storagetransfer.v1.proto.TransferTypes.HttpData.getDefaultInstance(); + dataSource_ = + com.google.storagetransfer.v1.proto.TransferTypes.HttpData.getDefaultInstance(); } - httpDataSourceBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.storagetransfer.v1.proto.TransferTypes.HttpData, com.google.storagetransfer.v1.proto.TransferTypes.HttpData.Builder, com.google.storagetransfer.v1.proto.TransferTypes.HttpDataOrBuilder>( + httpDataSourceBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.storagetransfer.v1.proto.TransferTypes.HttpData, + com.google.storagetransfer.v1.proto.TransferTypes.HttpData.Builder, + com.google.storagetransfer.v1.proto.TransferTypes.HttpDataOrBuilder>( (com.google.storagetransfer.v1.proto.TransferTypes.HttpData) dataSource_, getParentForChildren(), isClean()); dataSource_ = null; } dataSourceCase_ = 3; - onChanged();; + onChanged(); + ; return httpDataSourceBuilder_; } private com.google.protobuf.SingleFieldBuilderV3< - com.google.storagetransfer.v1.proto.TransferTypes.PosixFilesystem, com.google.storagetransfer.v1.proto.TransferTypes.PosixFilesystem.Builder, com.google.storagetransfer.v1.proto.TransferTypes.PosixFilesystemOrBuilder> posixDataSourceBuilder_; + com.google.storagetransfer.v1.proto.TransferTypes.PosixFilesystem, + com.google.storagetransfer.v1.proto.TransferTypes.PosixFilesystem.Builder, + com.google.storagetransfer.v1.proto.TransferTypes.PosixFilesystemOrBuilder> + posixDataSourceBuilder_; /** + * + * *
        * A POSIX Filesystem data source.
        * 
* * .google.storagetransfer.v1.PosixFilesystem posix_data_source = 14; + * * @return Whether the posixDataSource field is set. */ @java.lang.Override @@ -19811,35 +22494,44 @@ public boolean hasPosixDataSource() { return dataSourceCase_ == 14; } /** + * + * *
        * A POSIX Filesystem data source.
        * 
* * .google.storagetransfer.v1.PosixFilesystem posix_data_source = 14; + * * @return The posixDataSource. */ @java.lang.Override - public com.google.storagetransfer.v1.proto.TransferTypes.PosixFilesystem getPosixDataSource() { + public com.google.storagetransfer.v1.proto.TransferTypes.PosixFilesystem + getPosixDataSource() { if (posixDataSourceBuilder_ == null) { if (dataSourceCase_ == 14) { return (com.google.storagetransfer.v1.proto.TransferTypes.PosixFilesystem) dataSource_; } - return com.google.storagetransfer.v1.proto.TransferTypes.PosixFilesystem.getDefaultInstance(); + return com.google.storagetransfer.v1.proto.TransferTypes.PosixFilesystem + .getDefaultInstance(); } else { if (dataSourceCase_ == 14) { return posixDataSourceBuilder_.getMessage(); } - return com.google.storagetransfer.v1.proto.TransferTypes.PosixFilesystem.getDefaultInstance(); + return com.google.storagetransfer.v1.proto.TransferTypes.PosixFilesystem + .getDefaultInstance(); } } /** + * + * *
        * A POSIX Filesystem data source.
        * 
* * .google.storagetransfer.v1.PosixFilesystem posix_data_source = 14; */ - public Builder setPosixDataSource(com.google.storagetransfer.v1.proto.TransferTypes.PosixFilesystem value) { + public Builder setPosixDataSource( + com.google.storagetransfer.v1.proto.TransferTypes.PosixFilesystem value) { if (posixDataSourceBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -19853,6 +22545,8 @@ public Builder setPosixDataSource(com.google.storagetransfer.v1.proto.TransferTy return this; } /** + * + * *
        * A POSIX Filesystem data source.
        * 
@@ -19860,7 +22554,8 @@ public Builder setPosixDataSource(com.google.storagetransfer.v1.proto.TransferTy * .google.storagetransfer.v1.PosixFilesystem posix_data_source = 14; */ public Builder setPosixDataSource( - com.google.storagetransfer.v1.proto.TransferTypes.PosixFilesystem.Builder builderForValue) { + com.google.storagetransfer.v1.proto.TransferTypes.PosixFilesystem.Builder + builderForValue) { if (posixDataSourceBuilder_ == null) { dataSource_ = builderForValue.build(); onChanged(); @@ -19871,18 +22566,27 @@ public Builder setPosixDataSource( return this; } /** + * + * *
        * A POSIX Filesystem data source.
        * 
* * .google.storagetransfer.v1.PosixFilesystem posix_data_source = 14; */ - public Builder mergePosixDataSource(com.google.storagetransfer.v1.proto.TransferTypes.PosixFilesystem value) { + public Builder mergePosixDataSource( + com.google.storagetransfer.v1.proto.TransferTypes.PosixFilesystem value) { if (posixDataSourceBuilder_ == null) { - if (dataSourceCase_ == 14 && - dataSource_ != com.google.storagetransfer.v1.proto.TransferTypes.PosixFilesystem.getDefaultInstance()) { - dataSource_ = com.google.storagetransfer.v1.proto.TransferTypes.PosixFilesystem.newBuilder((com.google.storagetransfer.v1.proto.TransferTypes.PosixFilesystem) dataSource_) - .mergeFrom(value).buildPartial(); + if (dataSourceCase_ == 14 + && dataSource_ + != com.google.storagetransfer.v1.proto.TransferTypes.PosixFilesystem + .getDefaultInstance()) { + dataSource_ = + com.google.storagetransfer.v1.proto.TransferTypes.PosixFilesystem.newBuilder( + (com.google.storagetransfer.v1.proto.TransferTypes.PosixFilesystem) + dataSource_) + .mergeFrom(value) + .buildPartial(); } else { dataSource_ = value; } @@ -19898,6 +22602,8 @@ public Builder mergePosixDataSource(com.google.storagetransfer.v1.proto.Transfer return this; } /** + * + * *
        * A POSIX Filesystem data source.
        * 
@@ -19921,16 +22627,21 @@ public Builder clearPosixDataSource() { return this; } /** + * + * *
        * A POSIX Filesystem data source.
        * 
* * .google.storagetransfer.v1.PosixFilesystem posix_data_source = 14; */ - public com.google.storagetransfer.v1.proto.TransferTypes.PosixFilesystem.Builder getPosixDataSourceBuilder() { + public com.google.storagetransfer.v1.proto.TransferTypes.PosixFilesystem.Builder + getPosixDataSourceBuilder() { return getPosixDataSourceFieldBuilder().getBuilder(); } /** + * + * *
        * A POSIX Filesystem data source.
        * 
@@ -19938,17 +22649,21 @@ public com.google.storagetransfer.v1.proto.TransferTypes.PosixFilesystem.Builder * .google.storagetransfer.v1.PosixFilesystem posix_data_source = 14; */ @java.lang.Override - public com.google.storagetransfer.v1.proto.TransferTypes.PosixFilesystemOrBuilder getPosixDataSourceOrBuilder() { + public com.google.storagetransfer.v1.proto.TransferTypes.PosixFilesystemOrBuilder + getPosixDataSourceOrBuilder() { if ((dataSourceCase_ == 14) && (posixDataSourceBuilder_ != null)) { return posixDataSourceBuilder_.getMessageOrBuilder(); } else { if (dataSourceCase_ == 14) { return (com.google.storagetransfer.v1.proto.TransferTypes.PosixFilesystem) dataSource_; } - return com.google.storagetransfer.v1.proto.TransferTypes.PosixFilesystem.getDefaultInstance(); + return com.google.storagetransfer.v1.proto.TransferTypes.PosixFilesystem + .getDefaultInstance(); } } /** + * + * *
        * A POSIX Filesystem data source.
        * 
@@ -19956,32 +22671,47 @@ public com.google.storagetransfer.v1.proto.TransferTypes.PosixFilesystemOrBuilde * .google.storagetransfer.v1.PosixFilesystem posix_data_source = 14; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.storagetransfer.v1.proto.TransferTypes.PosixFilesystem, com.google.storagetransfer.v1.proto.TransferTypes.PosixFilesystem.Builder, com.google.storagetransfer.v1.proto.TransferTypes.PosixFilesystemOrBuilder> + com.google.storagetransfer.v1.proto.TransferTypes.PosixFilesystem, + com.google.storagetransfer.v1.proto.TransferTypes.PosixFilesystem.Builder, + com.google.storagetransfer.v1.proto.TransferTypes.PosixFilesystemOrBuilder> getPosixDataSourceFieldBuilder() { if (posixDataSourceBuilder_ == null) { if (!(dataSourceCase_ == 14)) { - dataSource_ = com.google.storagetransfer.v1.proto.TransferTypes.PosixFilesystem.getDefaultInstance(); + dataSource_ = + com.google.storagetransfer.v1.proto.TransferTypes.PosixFilesystem + .getDefaultInstance(); } - posixDataSourceBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.storagetransfer.v1.proto.TransferTypes.PosixFilesystem, com.google.storagetransfer.v1.proto.TransferTypes.PosixFilesystem.Builder, com.google.storagetransfer.v1.proto.TransferTypes.PosixFilesystemOrBuilder>( + posixDataSourceBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.storagetransfer.v1.proto.TransferTypes.PosixFilesystem, + com.google.storagetransfer.v1.proto.TransferTypes.PosixFilesystem.Builder, + com.google.storagetransfer.v1.proto.TransferTypes.PosixFilesystemOrBuilder>( (com.google.storagetransfer.v1.proto.TransferTypes.PosixFilesystem) dataSource_, getParentForChildren(), isClean()); dataSource_ = null; } dataSourceCase_ = 14; - onChanged();; + onChanged(); + ; return posixDataSourceBuilder_; } private com.google.protobuf.SingleFieldBuilderV3< - com.google.storagetransfer.v1.proto.TransferTypes.AzureBlobStorageData, com.google.storagetransfer.v1.proto.TransferTypes.AzureBlobStorageData.Builder, com.google.storagetransfer.v1.proto.TransferTypes.AzureBlobStorageDataOrBuilder> azureBlobStorageDataSourceBuilder_; + com.google.storagetransfer.v1.proto.TransferTypes.AzureBlobStorageData, + com.google.storagetransfer.v1.proto.TransferTypes.AzureBlobStorageData.Builder, + com.google.storagetransfer.v1.proto.TransferTypes.AzureBlobStorageDataOrBuilder> + azureBlobStorageDataSourceBuilder_; /** + * + * *
        * An Azure Blob Storage data source.
        * 
* - * .google.storagetransfer.v1.AzureBlobStorageData azure_blob_storage_data_source = 8; + * .google.storagetransfer.v1.AzureBlobStorageData azure_blob_storage_data_source = 8; + * + * * @return Whether the azureBlobStorageDataSource field is set. */ @java.lang.Override @@ -19989,35 +22719,47 @@ public boolean hasAzureBlobStorageDataSource() { return dataSourceCase_ == 8; } /** + * + * *
        * An Azure Blob Storage data source.
        * 
* - * .google.storagetransfer.v1.AzureBlobStorageData azure_blob_storage_data_source = 8; + * .google.storagetransfer.v1.AzureBlobStorageData azure_blob_storage_data_source = 8; + * + * * @return The azureBlobStorageDataSource. */ @java.lang.Override - public com.google.storagetransfer.v1.proto.TransferTypes.AzureBlobStorageData getAzureBlobStorageDataSource() { + public com.google.storagetransfer.v1.proto.TransferTypes.AzureBlobStorageData + getAzureBlobStorageDataSource() { if (azureBlobStorageDataSourceBuilder_ == null) { if (dataSourceCase_ == 8) { - return (com.google.storagetransfer.v1.proto.TransferTypes.AzureBlobStorageData) dataSource_; + return (com.google.storagetransfer.v1.proto.TransferTypes.AzureBlobStorageData) + dataSource_; } - return com.google.storagetransfer.v1.proto.TransferTypes.AzureBlobStorageData.getDefaultInstance(); + return com.google.storagetransfer.v1.proto.TransferTypes.AzureBlobStorageData + .getDefaultInstance(); } else { if (dataSourceCase_ == 8) { return azureBlobStorageDataSourceBuilder_.getMessage(); } - return com.google.storagetransfer.v1.proto.TransferTypes.AzureBlobStorageData.getDefaultInstance(); + return com.google.storagetransfer.v1.proto.TransferTypes.AzureBlobStorageData + .getDefaultInstance(); } } /** + * + * *
        * An Azure Blob Storage data source.
        * 
* - * .google.storagetransfer.v1.AzureBlobStorageData azure_blob_storage_data_source = 8; + * .google.storagetransfer.v1.AzureBlobStorageData azure_blob_storage_data_source = 8; + * */ - public Builder setAzureBlobStorageDataSource(com.google.storagetransfer.v1.proto.TransferTypes.AzureBlobStorageData value) { + public Builder setAzureBlobStorageDataSource( + com.google.storagetransfer.v1.proto.TransferTypes.AzureBlobStorageData value) { if (azureBlobStorageDataSourceBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -20031,14 +22773,18 @@ public Builder setAzureBlobStorageDataSource(com.google.storagetransfer.v1.proto return this; } /** + * + * *
        * An Azure Blob Storage data source.
        * 
* - * .google.storagetransfer.v1.AzureBlobStorageData azure_blob_storage_data_source = 8; + * .google.storagetransfer.v1.AzureBlobStorageData azure_blob_storage_data_source = 8; + * */ public Builder setAzureBlobStorageDataSource( - com.google.storagetransfer.v1.proto.TransferTypes.AzureBlobStorageData.Builder builderForValue) { + com.google.storagetransfer.v1.proto.TransferTypes.AzureBlobStorageData.Builder + builderForValue) { if (azureBlobStorageDataSourceBuilder_ == null) { dataSource_ = builderForValue.build(); onChanged(); @@ -20049,18 +22795,28 @@ public Builder setAzureBlobStorageDataSource( return this; } /** + * + * *
        * An Azure Blob Storage data source.
        * 
* - * .google.storagetransfer.v1.AzureBlobStorageData azure_blob_storage_data_source = 8; + * .google.storagetransfer.v1.AzureBlobStorageData azure_blob_storage_data_source = 8; + * */ - public Builder mergeAzureBlobStorageDataSource(com.google.storagetransfer.v1.proto.TransferTypes.AzureBlobStorageData value) { + public Builder mergeAzureBlobStorageDataSource( + com.google.storagetransfer.v1.proto.TransferTypes.AzureBlobStorageData value) { if (azureBlobStorageDataSourceBuilder_ == null) { - if (dataSourceCase_ == 8 && - dataSource_ != com.google.storagetransfer.v1.proto.TransferTypes.AzureBlobStorageData.getDefaultInstance()) { - dataSource_ = com.google.storagetransfer.v1.proto.TransferTypes.AzureBlobStorageData.newBuilder((com.google.storagetransfer.v1.proto.TransferTypes.AzureBlobStorageData) dataSource_) - .mergeFrom(value).buildPartial(); + if (dataSourceCase_ == 8 + && dataSource_ + != com.google.storagetransfer.v1.proto.TransferTypes.AzureBlobStorageData + .getDefaultInstance()) { + dataSource_ = + com.google.storagetransfer.v1.proto.TransferTypes.AzureBlobStorageData.newBuilder( + (com.google.storagetransfer.v1.proto.TransferTypes.AzureBlobStorageData) + dataSource_) + .mergeFrom(value) + .buildPartial(); } else { dataSource_ = value; } @@ -20076,11 +22832,14 @@ public Builder mergeAzureBlobStorageDataSource(com.google.storagetransfer.v1.pro return this; } /** + * + * *
        * An Azure Blob Storage data source.
        * 
* - * .google.storagetransfer.v1.AzureBlobStorageData azure_blob_storage_data_source = 8; + * .google.storagetransfer.v1.AzureBlobStorageData azure_blob_storage_data_source = 8; + * */ public Builder clearAzureBlobStorageDataSource() { if (azureBlobStorageDataSourceBuilder_ == null) { @@ -20099,67 +22858,96 @@ public Builder clearAzureBlobStorageDataSource() { return this; } /** + * + * *
        * An Azure Blob Storage data source.
        * 
* - * .google.storagetransfer.v1.AzureBlobStorageData azure_blob_storage_data_source = 8; + * .google.storagetransfer.v1.AzureBlobStorageData azure_blob_storage_data_source = 8; + * */ - public com.google.storagetransfer.v1.proto.TransferTypes.AzureBlobStorageData.Builder getAzureBlobStorageDataSourceBuilder() { + public com.google.storagetransfer.v1.proto.TransferTypes.AzureBlobStorageData.Builder + getAzureBlobStorageDataSourceBuilder() { return getAzureBlobStorageDataSourceFieldBuilder().getBuilder(); } /** + * + * *
        * An Azure Blob Storage data source.
        * 
* - * .google.storagetransfer.v1.AzureBlobStorageData azure_blob_storage_data_source = 8; + * .google.storagetransfer.v1.AzureBlobStorageData azure_blob_storage_data_source = 8; + * */ @java.lang.Override - public com.google.storagetransfer.v1.proto.TransferTypes.AzureBlobStorageDataOrBuilder getAzureBlobStorageDataSourceOrBuilder() { + public com.google.storagetransfer.v1.proto.TransferTypes.AzureBlobStorageDataOrBuilder + getAzureBlobStorageDataSourceOrBuilder() { if ((dataSourceCase_ == 8) && (azureBlobStorageDataSourceBuilder_ != null)) { return azureBlobStorageDataSourceBuilder_.getMessageOrBuilder(); } else { if (dataSourceCase_ == 8) { - return (com.google.storagetransfer.v1.proto.TransferTypes.AzureBlobStorageData) dataSource_; + return (com.google.storagetransfer.v1.proto.TransferTypes.AzureBlobStorageData) + dataSource_; } - return com.google.storagetransfer.v1.proto.TransferTypes.AzureBlobStorageData.getDefaultInstance(); + return com.google.storagetransfer.v1.proto.TransferTypes.AzureBlobStorageData + .getDefaultInstance(); } } /** + * + * *
        * An Azure Blob Storage data source.
        * 
* - * .google.storagetransfer.v1.AzureBlobStorageData azure_blob_storage_data_source = 8; + * .google.storagetransfer.v1.AzureBlobStorageData azure_blob_storage_data_source = 8; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.storagetransfer.v1.proto.TransferTypes.AzureBlobStorageData, com.google.storagetransfer.v1.proto.TransferTypes.AzureBlobStorageData.Builder, com.google.storagetransfer.v1.proto.TransferTypes.AzureBlobStorageDataOrBuilder> + com.google.storagetransfer.v1.proto.TransferTypes.AzureBlobStorageData, + com.google.storagetransfer.v1.proto.TransferTypes.AzureBlobStorageData.Builder, + com.google.storagetransfer.v1.proto.TransferTypes.AzureBlobStorageDataOrBuilder> getAzureBlobStorageDataSourceFieldBuilder() { if (azureBlobStorageDataSourceBuilder_ == null) { if (!(dataSourceCase_ == 8)) { - dataSource_ = com.google.storagetransfer.v1.proto.TransferTypes.AzureBlobStorageData.getDefaultInstance(); + dataSource_ = + com.google.storagetransfer.v1.proto.TransferTypes.AzureBlobStorageData + .getDefaultInstance(); } - azureBlobStorageDataSourceBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.storagetransfer.v1.proto.TransferTypes.AzureBlobStorageData, com.google.storagetransfer.v1.proto.TransferTypes.AzureBlobStorageData.Builder, com.google.storagetransfer.v1.proto.TransferTypes.AzureBlobStorageDataOrBuilder>( - (com.google.storagetransfer.v1.proto.TransferTypes.AzureBlobStorageData) dataSource_, + azureBlobStorageDataSourceBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.storagetransfer.v1.proto.TransferTypes.AzureBlobStorageData, + com.google.storagetransfer.v1.proto.TransferTypes.AzureBlobStorageData.Builder, + com.google.storagetransfer.v1.proto.TransferTypes.AzureBlobStorageDataOrBuilder>( + (com.google.storagetransfer.v1.proto.TransferTypes.AzureBlobStorageData) + dataSource_, getParentForChildren(), isClean()); dataSource_ = null; } dataSourceCase_ = 8; - onChanged();; + onChanged(); + ; return azureBlobStorageDataSourceBuilder_; } private com.google.protobuf.SingleFieldBuilderV3< - com.google.storagetransfer.v1.proto.TransferTypes.AwsS3CompatibleData, com.google.storagetransfer.v1.proto.TransferTypes.AwsS3CompatibleData.Builder, com.google.storagetransfer.v1.proto.TransferTypes.AwsS3CompatibleDataOrBuilder> awsS3CompatibleDataSourceBuilder_; + com.google.storagetransfer.v1.proto.TransferTypes.AwsS3CompatibleData, + com.google.storagetransfer.v1.proto.TransferTypes.AwsS3CompatibleData.Builder, + com.google.storagetransfer.v1.proto.TransferTypes.AwsS3CompatibleDataOrBuilder> + awsS3CompatibleDataSourceBuilder_; /** + * + * *
        * An AWS S3 compatible data source.
        * 
* - * .google.storagetransfer.v1.AwsS3CompatibleData aws_s3_compatible_data_source = 19; + * .google.storagetransfer.v1.AwsS3CompatibleData aws_s3_compatible_data_source = 19; + * + * * @return Whether the awsS3CompatibleDataSource field is set. */ @java.lang.Override @@ -20167,35 +22955,47 @@ public boolean hasAwsS3CompatibleDataSource() { return dataSourceCase_ == 19; } /** + * + * *
        * An AWS S3 compatible data source.
        * 
* - * .google.storagetransfer.v1.AwsS3CompatibleData aws_s3_compatible_data_source = 19; + * .google.storagetransfer.v1.AwsS3CompatibleData aws_s3_compatible_data_source = 19; + * + * * @return The awsS3CompatibleDataSource. */ @java.lang.Override - public com.google.storagetransfer.v1.proto.TransferTypes.AwsS3CompatibleData getAwsS3CompatibleDataSource() { + public com.google.storagetransfer.v1.proto.TransferTypes.AwsS3CompatibleData + getAwsS3CompatibleDataSource() { if (awsS3CompatibleDataSourceBuilder_ == null) { if (dataSourceCase_ == 19) { - return (com.google.storagetransfer.v1.proto.TransferTypes.AwsS3CompatibleData) dataSource_; + return (com.google.storagetransfer.v1.proto.TransferTypes.AwsS3CompatibleData) + dataSource_; } - return com.google.storagetransfer.v1.proto.TransferTypes.AwsS3CompatibleData.getDefaultInstance(); + return com.google.storagetransfer.v1.proto.TransferTypes.AwsS3CompatibleData + .getDefaultInstance(); } else { if (dataSourceCase_ == 19) { return awsS3CompatibleDataSourceBuilder_.getMessage(); } - return com.google.storagetransfer.v1.proto.TransferTypes.AwsS3CompatibleData.getDefaultInstance(); + return com.google.storagetransfer.v1.proto.TransferTypes.AwsS3CompatibleData + .getDefaultInstance(); } } /** + * + * *
        * An AWS S3 compatible data source.
        * 
* - * .google.storagetransfer.v1.AwsS3CompatibleData aws_s3_compatible_data_source = 19; + * .google.storagetransfer.v1.AwsS3CompatibleData aws_s3_compatible_data_source = 19; + * */ - public Builder setAwsS3CompatibleDataSource(com.google.storagetransfer.v1.proto.TransferTypes.AwsS3CompatibleData value) { + public Builder setAwsS3CompatibleDataSource( + com.google.storagetransfer.v1.proto.TransferTypes.AwsS3CompatibleData value) { if (awsS3CompatibleDataSourceBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -20209,14 +23009,18 @@ public Builder setAwsS3CompatibleDataSource(com.google.storagetransfer.v1.proto. return this; } /** + * + * *
        * An AWS S3 compatible data source.
        * 
* - * .google.storagetransfer.v1.AwsS3CompatibleData aws_s3_compatible_data_source = 19; + * .google.storagetransfer.v1.AwsS3CompatibleData aws_s3_compatible_data_source = 19; + * */ public Builder setAwsS3CompatibleDataSource( - com.google.storagetransfer.v1.proto.TransferTypes.AwsS3CompatibleData.Builder builderForValue) { + com.google.storagetransfer.v1.proto.TransferTypes.AwsS3CompatibleData.Builder + builderForValue) { if (awsS3CompatibleDataSourceBuilder_ == null) { dataSource_ = builderForValue.build(); onChanged(); @@ -20227,18 +23031,28 @@ public Builder setAwsS3CompatibleDataSource( return this; } /** + * + * *
        * An AWS S3 compatible data source.
        * 
* - * .google.storagetransfer.v1.AwsS3CompatibleData aws_s3_compatible_data_source = 19; + * .google.storagetransfer.v1.AwsS3CompatibleData aws_s3_compatible_data_source = 19; + * */ - public Builder mergeAwsS3CompatibleDataSource(com.google.storagetransfer.v1.proto.TransferTypes.AwsS3CompatibleData value) { + public Builder mergeAwsS3CompatibleDataSource( + com.google.storagetransfer.v1.proto.TransferTypes.AwsS3CompatibleData value) { if (awsS3CompatibleDataSourceBuilder_ == null) { - if (dataSourceCase_ == 19 && - dataSource_ != com.google.storagetransfer.v1.proto.TransferTypes.AwsS3CompatibleData.getDefaultInstance()) { - dataSource_ = com.google.storagetransfer.v1.proto.TransferTypes.AwsS3CompatibleData.newBuilder((com.google.storagetransfer.v1.proto.TransferTypes.AwsS3CompatibleData) dataSource_) - .mergeFrom(value).buildPartial(); + if (dataSourceCase_ == 19 + && dataSource_ + != com.google.storagetransfer.v1.proto.TransferTypes.AwsS3CompatibleData + .getDefaultInstance()) { + dataSource_ = + com.google.storagetransfer.v1.proto.TransferTypes.AwsS3CompatibleData.newBuilder( + (com.google.storagetransfer.v1.proto.TransferTypes.AwsS3CompatibleData) + dataSource_) + .mergeFrom(value) + .buildPartial(); } else { dataSource_ = value; } @@ -20254,11 +23068,14 @@ public Builder mergeAwsS3CompatibleDataSource(com.google.storagetransfer.v1.prot return this; } /** + * + * *
        * An AWS S3 compatible data source.
        * 
* - * .google.storagetransfer.v1.AwsS3CompatibleData aws_s3_compatible_data_source = 19; + * .google.storagetransfer.v1.AwsS3CompatibleData aws_s3_compatible_data_source = 19; + * */ public Builder clearAwsS3CompatibleDataSource() { if (awsS3CompatibleDataSourceBuilder_ == null) { @@ -20277,67 +23094,95 @@ public Builder clearAwsS3CompatibleDataSource() { return this; } /** + * + * *
        * An AWS S3 compatible data source.
        * 
* - * .google.storagetransfer.v1.AwsS3CompatibleData aws_s3_compatible_data_source = 19; + * .google.storagetransfer.v1.AwsS3CompatibleData aws_s3_compatible_data_source = 19; + * */ - public com.google.storagetransfer.v1.proto.TransferTypes.AwsS3CompatibleData.Builder getAwsS3CompatibleDataSourceBuilder() { + public com.google.storagetransfer.v1.proto.TransferTypes.AwsS3CompatibleData.Builder + getAwsS3CompatibleDataSourceBuilder() { return getAwsS3CompatibleDataSourceFieldBuilder().getBuilder(); } /** + * + * *
        * An AWS S3 compatible data source.
        * 
* - * .google.storagetransfer.v1.AwsS3CompatibleData aws_s3_compatible_data_source = 19; + * .google.storagetransfer.v1.AwsS3CompatibleData aws_s3_compatible_data_source = 19; + * */ @java.lang.Override - public com.google.storagetransfer.v1.proto.TransferTypes.AwsS3CompatibleDataOrBuilder getAwsS3CompatibleDataSourceOrBuilder() { + public com.google.storagetransfer.v1.proto.TransferTypes.AwsS3CompatibleDataOrBuilder + getAwsS3CompatibleDataSourceOrBuilder() { if ((dataSourceCase_ == 19) && (awsS3CompatibleDataSourceBuilder_ != null)) { return awsS3CompatibleDataSourceBuilder_.getMessageOrBuilder(); } else { if (dataSourceCase_ == 19) { - return (com.google.storagetransfer.v1.proto.TransferTypes.AwsS3CompatibleData) dataSource_; + return (com.google.storagetransfer.v1.proto.TransferTypes.AwsS3CompatibleData) + dataSource_; } - return com.google.storagetransfer.v1.proto.TransferTypes.AwsS3CompatibleData.getDefaultInstance(); + return com.google.storagetransfer.v1.proto.TransferTypes.AwsS3CompatibleData + .getDefaultInstance(); } } /** + * + * *
        * An AWS S3 compatible data source.
        * 
* - * .google.storagetransfer.v1.AwsS3CompatibleData aws_s3_compatible_data_source = 19; + * .google.storagetransfer.v1.AwsS3CompatibleData aws_s3_compatible_data_source = 19; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.storagetransfer.v1.proto.TransferTypes.AwsS3CompatibleData, com.google.storagetransfer.v1.proto.TransferTypes.AwsS3CompatibleData.Builder, com.google.storagetransfer.v1.proto.TransferTypes.AwsS3CompatibleDataOrBuilder> + com.google.storagetransfer.v1.proto.TransferTypes.AwsS3CompatibleData, + com.google.storagetransfer.v1.proto.TransferTypes.AwsS3CompatibleData.Builder, + com.google.storagetransfer.v1.proto.TransferTypes.AwsS3CompatibleDataOrBuilder> getAwsS3CompatibleDataSourceFieldBuilder() { if (awsS3CompatibleDataSourceBuilder_ == null) { if (!(dataSourceCase_ == 19)) { - dataSource_ = com.google.storagetransfer.v1.proto.TransferTypes.AwsS3CompatibleData.getDefaultInstance(); + dataSource_ = + com.google.storagetransfer.v1.proto.TransferTypes.AwsS3CompatibleData + .getDefaultInstance(); } - awsS3CompatibleDataSourceBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.storagetransfer.v1.proto.TransferTypes.AwsS3CompatibleData, com.google.storagetransfer.v1.proto.TransferTypes.AwsS3CompatibleData.Builder, com.google.storagetransfer.v1.proto.TransferTypes.AwsS3CompatibleDataOrBuilder>( - (com.google.storagetransfer.v1.proto.TransferTypes.AwsS3CompatibleData) dataSource_, + awsS3CompatibleDataSourceBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.storagetransfer.v1.proto.TransferTypes.AwsS3CompatibleData, + com.google.storagetransfer.v1.proto.TransferTypes.AwsS3CompatibleData.Builder, + com.google.storagetransfer.v1.proto.TransferTypes.AwsS3CompatibleDataOrBuilder>( + (com.google.storagetransfer.v1.proto.TransferTypes.AwsS3CompatibleData) + dataSource_, getParentForChildren(), isClean()); dataSource_ = null; } dataSourceCase_ = 19; - onChanged();; + onChanged(); + ; return awsS3CompatibleDataSourceBuilder_; } private com.google.protobuf.SingleFieldBuilderV3< - com.google.storagetransfer.v1.proto.TransferTypes.GcsData, com.google.storagetransfer.v1.proto.TransferTypes.GcsData.Builder, com.google.storagetransfer.v1.proto.TransferTypes.GcsDataOrBuilder> gcsIntermediateDataLocationBuilder_; + com.google.storagetransfer.v1.proto.TransferTypes.GcsData, + com.google.storagetransfer.v1.proto.TransferTypes.GcsData.Builder, + com.google.storagetransfer.v1.proto.TransferTypes.GcsDataOrBuilder> + gcsIntermediateDataLocationBuilder_; /** + * + * *
        * Cloud Storage intermediate data location.
        * 
* * .google.storagetransfer.v1.GcsData gcs_intermediate_data_location = 16; + * * @return Whether the gcsIntermediateDataLocation field is set. */ @java.lang.Override @@ -20345,18 +23190,23 @@ public boolean hasGcsIntermediateDataLocation() { return intermediateDataLocationCase_ == 16; } /** + * + * *
        * Cloud Storage intermediate data location.
        * 
* * .google.storagetransfer.v1.GcsData gcs_intermediate_data_location = 16; + * * @return The gcsIntermediateDataLocation. */ @java.lang.Override - public com.google.storagetransfer.v1.proto.TransferTypes.GcsData getGcsIntermediateDataLocation() { + public com.google.storagetransfer.v1.proto.TransferTypes.GcsData + getGcsIntermediateDataLocation() { if (gcsIntermediateDataLocationBuilder_ == null) { if (intermediateDataLocationCase_ == 16) { - return (com.google.storagetransfer.v1.proto.TransferTypes.GcsData) intermediateDataLocation_; + return (com.google.storagetransfer.v1.proto.TransferTypes.GcsData) + intermediateDataLocation_; } return com.google.storagetransfer.v1.proto.TransferTypes.GcsData.getDefaultInstance(); } else { @@ -20367,13 +23217,16 @@ public com.google.storagetransfer.v1.proto.TransferTypes.GcsData getGcsIntermedi } } /** + * + * *
        * Cloud Storage intermediate data location.
        * 
* * .google.storagetransfer.v1.GcsData gcs_intermediate_data_location = 16; */ - public Builder setGcsIntermediateDataLocation(com.google.storagetransfer.v1.proto.TransferTypes.GcsData value) { + public Builder setGcsIntermediateDataLocation( + com.google.storagetransfer.v1.proto.TransferTypes.GcsData value) { if (gcsIntermediateDataLocationBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -20387,6 +23240,8 @@ public Builder setGcsIntermediateDataLocation(com.google.storagetransfer.v1.prot return this; } /** + * + * *
        * Cloud Storage intermediate data location.
        * 
@@ -20405,18 +23260,27 @@ public Builder setGcsIntermediateDataLocation( return this; } /** + * + * *
        * Cloud Storage intermediate data location.
        * 
* * .google.storagetransfer.v1.GcsData gcs_intermediate_data_location = 16; */ - public Builder mergeGcsIntermediateDataLocation(com.google.storagetransfer.v1.proto.TransferTypes.GcsData value) { + public Builder mergeGcsIntermediateDataLocation( + com.google.storagetransfer.v1.proto.TransferTypes.GcsData value) { if (gcsIntermediateDataLocationBuilder_ == null) { - if (intermediateDataLocationCase_ == 16 && - intermediateDataLocation_ != com.google.storagetransfer.v1.proto.TransferTypes.GcsData.getDefaultInstance()) { - intermediateDataLocation_ = com.google.storagetransfer.v1.proto.TransferTypes.GcsData.newBuilder((com.google.storagetransfer.v1.proto.TransferTypes.GcsData) intermediateDataLocation_) - .mergeFrom(value).buildPartial(); + if (intermediateDataLocationCase_ == 16 + && intermediateDataLocation_ + != com.google.storagetransfer.v1.proto.TransferTypes.GcsData + .getDefaultInstance()) { + intermediateDataLocation_ = + com.google.storagetransfer.v1.proto.TransferTypes.GcsData.newBuilder( + (com.google.storagetransfer.v1.proto.TransferTypes.GcsData) + intermediateDataLocation_) + .mergeFrom(value) + .buildPartial(); } else { intermediateDataLocation_ = value; } @@ -20432,6 +23296,8 @@ public Builder mergeGcsIntermediateDataLocation(com.google.storagetransfer.v1.pr return this; } /** + * + * *
        * Cloud Storage intermediate data location.
        * 
@@ -20455,16 +23321,21 @@ public Builder clearGcsIntermediateDataLocation() { return this; } /** + * + * *
        * Cloud Storage intermediate data location.
        * 
* * .google.storagetransfer.v1.GcsData gcs_intermediate_data_location = 16; */ - public com.google.storagetransfer.v1.proto.TransferTypes.GcsData.Builder getGcsIntermediateDataLocationBuilder() { + public com.google.storagetransfer.v1.proto.TransferTypes.GcsData.Builder + getGcsIntermediateDataLocationBuilder() { return getGcsIntermediateDataLocationFieldBuilder().getBuilder(); } /** + * + * *
        * Cloud Storage intermediate data location.
        * 
@@ -20472,17 +23343,22 @@ public com.google.storagetransfer.v1.proto.TransferTypes.GcsData.Builder getGcsI * .google.storagetransfer.v1.GcsData gcs_intermediate_data_location = 16; */ @java.lang.Override - public com.google.storagetransfer.v1.proto.TransferTypes.GcsDataOrBuilder getGcsIntermediateDataLocationOrBuilder() { - if ((intermediateDataLocationCase_ == 16) && (gcsIntermediateDataLocationBuilder_ != null)) { + public com.google.storagetransfer.v1.proto.TransferTypes.GcsDataOrBuilder + getGcsIntermediateDataLocationOrBuilder() { + if ((intermediateDataLocationCase_ == 16) + && (gcsIntermediateDataLocationBuilder_ != null)) { return gcsIntermediateDataLocationBuilder_.getMessageOrBuilder(); } else { if (intermediateDataLocationCase_ == 16) { - return (com.google.storagetransfer.v1.proto.TransferTypes.GcsData) intermediateDataLocation_; + return (com.google.storagetransfer.v1.proto.TransferTypes.GcsData) + intermediateDataLocation_; } return com.google.storagetransfer.v1.proto.TransferTypes.GcsData.getDefaultInstance(); } } /** + * + * *
        * Cloud Storage intermediate data location.
        * 
@@ -20490,28 +23366,41 @@ public com.google.storagetransfer.v1.proto.TransferTypes.GcsDataOrBuilder getGcs * .google.storagetransfer.v1.GcsData gcs_intermediate_data_location = 16; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.storagetransfer.v1.proto.TransferTypes.GcsData, com.google.storagetransfer.v1.proto.TransferTypes.GcsData.Builder, com.google.storagetransfer.v1.proto.TransferTypes.GcsDataOrBuilder> + com.google.storagetransfer.v1.proto.TransferTypes.GcsData, + com.google.storagetransfer.v1.proto.TransferTypes.GcsData.Builder, + com.google.storagetransfer.v1.proto.TransferTypes.GcsDataOrBuilder> getGcsIntermediateDataLocationFieldBuilder() { if (gcsIntermediateDataLocationBuilder_ == null) { if (!(intermediateDataLocationCase_ == 16)) { - intermediateDataLocation_ = com.google.storagetransfer.v1.proto.TransferTypes.GcsData.getDefaultInstance(); + intermediateDataLocation_ = + com.google.storagetransfer.v1.proto.TransferTypes.GcsData.getDefaultInstance(); } - gcsIntermediateDataLocationBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.storagetransfer.v1.proto.TransferTypes.GcsData, com.google.storagetransfer.v1.proto.TransferTypes.GcsData.Builder, com.google.storagetransfer.v1.proto.TransferTypes.GcsDataOrBuilder>( - (com.google.storagetransfer.v1.proto.TransferTypes.GcsData) intermediateDataLocation_, + gcsIntermediateDataLocationBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.storagetransfer.v1.proto.TransferTypes.GcsData, + com.google.storagetransfer.v1.proto.TransferTypes.GcsData.Builder, + com.google.storagetransfer.v1.proto.TransferTypes.GcsDataOrBuilder>( + (com.google.storagetransfer.v1.proto.TransferTypes.GcsData) + intermediateDataLocation_, getParentForChildren(), isClean()); intermediateDataLocation_ = null; } intermediateDataLocationCase_ = 16; - onChanged();; + onChanged(); + ; return gcsIntermediateDataLocationBuilder_; } private com.google.storagetransfer.v1.proto.TransferTypes.ObjectConditions objectConditions_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.storagetransfer.v1.proto.TransferTypes.ObjectConditions, com.google.storagetransfer.v1.proto.TransferTypes.ObjectConditions.Builder, com.google.storagetransfer.v1.proto.TransferTypes.ObjectConditionsOrBuilder> objectConditionsBuilder_; + com.google.storagetransfer.v1.proto.TransferTypes.ObjectConditions, + com.google.storagetransfer.v1.proto.TransferTypes.ObjectConditions.Builder, + com.google.storagetransfer.v1.proto.TransferTypes.ObjectConditionsOrBuilder> + objectConditionsBuilder_; /** + * + * *
        * Only objects that satisfy these object conditions are included in the set
        * of data source and data sink objects.  Object conditions based on
@@ -20519,12 +23408,15 @@ public com.google.storagetransfer.v1.proto.TransferTypes.GcsDataOrBuilder getGcs
        * 
* * .google.storagetransfer.v1.ObjectConditions object_conditions = 5; + * * @return Whether the objectConditions field is set. */ public boolean hasObjectConditions() { return objectConditionsBuilder_ != null || objectConditions_ != null; } /** + * + * *
        * Only objects that satisfy these object conditions are included in the set
        * of data source and data sink objects.  Object conditions based on
@@ -20532,16 +23424,23 @@ public boolean hasObjectConditions() {
        * 
* * .google.storagetransfer.v1.ObjectConditions object_conditions = 5; + * * @return The objectConditions. */ - public com.google.storagetransfer.v1.proto.TransferTypes.ObjectConditions getObjectConditions() { + public com.google.storagetransfer.v1.proto.TransferTypes.ObjectConditions + getObjectConditions() { if (objectConditionsBuilder_ == null) { - return objectConditions_ == null ? com.google.storagetransfer.v1.proto.TransferTypes.ObjectConditions.getDefaultInstance() : objectConditions_; + return objectConditions_ == null + ? com.google.storagetransfer.v1.proto.TransferTypes.ObjectConditions + .getDefaultInstance() + : objectConditions_; } else { return objectConditionsBuilder_.getMessage(); } } /** + * + * *
        * Only objects that satisfy these object conditions are included in the set
        * of data source and data sink objects.  Object conditions based on
@@ -20550,7 +23449,8 @@ public com.google.storagetransfer.v1.proto.TransferTypes.ObjectConditions getObj
        *
        * .google.storagetransfer.v1.ObjectConditions object_conditions = 5;
        */
-      public Builder setObjectConditions(com.google.storagetransfer.v1.proto.TransferTypes.ObjectConditions value) {
+      public Builder setObjectConditions(
+          com.google.storagetransfer.v1.proto.TransferTypes.ObjectConditions value) {
         if (objectConditionsBuilder_ == null) {
           if (value == null) {
             throw new NullPointerException();
@@ -20564,6 +23464,8 @@ public Builder setObjectConditions(com.google.storagetransfer.v1.proto.TransferT
         return this;
       }
       /**
+       *
+       *
        * 
        * Only objects that satisfy these object conditions are included in the set
        * of data source and data sink objects.  Object conditions based on
@@ -20573,7 +23475,8 @@ public Builder setObjectConditions(com.google.storagetransfer.v1.proto.TransferT
        * .google.storagetransfer.v1.ObjectConditions object_conditions = 5;
        */
       public Builder setObjectConditions(
-          com.google.storagetransfer.v1.proto.TransferTypes.ObjectConditions.Builder builderForValue) {
+          com.google.storagetransfer.v1.proto.TransferTypes.ObjectConditions.Builder
+              builderForValue) {
         if (objectConditionsBuilder_ == null) {
           objectConditions_ = builderForValue.build();
           onChanged();
@@ -20584,6 +23487,8 @@ public Builder setObjectConditions(
         return this;
       }
       /**
+       *
+       *
        * 
        * Only objects that satisfy these object conditions are included in the set
        * of data source and data sink objects.  Object conditions based on
@@ -20592,11 +23497,15 @@ public Builder setObjectConditions(
        *
        * .google.storagetransfer.v1.ObjectConditions object_conditions = 5;
        */
-      public Builder mergeObjectConditions(com.google.storagetransfer.v1.proto.TransferTypes.ObjectConditions value) {
+      public Builder mergeObjectConditions(
+          com.google.storagetransfer.v1.proto.TransferTypes.ObjectConditions value) {
         if (objectConditionsBuilder_ == null) {
           if (objectConditions_ != null) {
             objectConditions_ =
-              com.google.storagetransfer.v1.proto.TransferTypes.ObjectConditions.newBuilder(objectConditions_).mergeFrom(value).buildPartial();
+                com.google.storagetransfer.v1.proto.TransferTypes.ObjectConditions.newBuilder(
+                        objectConditions_)
+                    .mergeFrom(value)
+                    .buildPartial();
           } else {
             objectConditions_ = value;
           }
@@ -20608,6 +23517,8 @@ public Builder mergeObjectConditions(com.google.storagetransfer.v1.proto.Transfe
         return this;
       }
       /**
+       *
+       *
        * 
        * Only objects that satisfy these object conditions are included in the set
        * of data source and data sink objects.  Object conditions based on
@@ -20628,6 +23539,8 @@ public Builder clearObjectConditions() {
         return this;
       }
       /**
+       *
+       *
        * 
        * Only objects that satisfy these object conditions are included in the set
        * of data source and data sink objects.  Object conditions based on
@@ -20636,12 +23549,15 @@ public Builder clearObjectConditions() {
        *
        * .google.storagetransfer.v1.ObjectConditions object_conditions = 5;
        */
-      public com.google.storagetransfer.v1.proto.TransferTypes.ObjectConditions.Builder getObjectConditionsBuilder() {
-        
+      public com.google.storagetransfer.v1.proto.TransferTypes.ObjectConditions.Builder
+          getObjectConditionsBuilder() {
+
         onChanged();
         return getObjectConditionsFieldBuilder().getBuilder();
       }
       /**
+       *
+       *
        * 
        * Only objects that satisfy these object conditions are included in the set
        * of data source and data sink objects.  Object conditions based on
@@ -20650,15 +23566,20 @@ public com.google.storagetransfer.v1.proto.TransferTypes.ObjectConditions.Builde
        *
        * .google.storagetransfer.v1.ObjectConditions object_conditions = 5;
        */
-      public com.google.storagetransfer.v1.proto.TransferTypes.ObjectConditionsOrBuilder getObjectConditionsOrBuilder() {
+      public com.google.storagetransfer.v1.proto.TransferTypes.ObjectConditionsOrBuilder
+          getObjectConditionsOrBuilder() {
         if (objectConditionsBuilder_ != null) {
           return objectConditionsBuilder_.getMessageOrBuilder();
         } else {
-          return objectConditions_ == null ?
-              com.google.storagetransfer.v1.proto.TransferTypes.ObjectConditions.getDefaultInstance() : objectConditions_;
+          return objectConditions_ == null
+              ? com.google.storagetransfer.v1.proto.TransferTypes.ObjectConditions
+                  .getDefaultInstance()
+              : objectConditions_;
         }
       }
       /**
+       *
+       *
        * 
        * Only objects that satisfy these object conditions are included in the set
        * of data source and data sink objects.  Object conditions based on
@@ -20668,14 +23589,17 @@ public com.google.storagetransfer.v1.proto.TransferTypes.ObjectConditionsOrBuild
        * .google.storagetransfer.v1.ObjectConditions object_conditions = 5;
        */
       private com.google.protobuf.SingleFieldBuilderV3<
-          com.google.storagetransfer.v1.proto.TransferTypes.ObjectConditions, com.google.storagetransfer.v1.proto.TransferTypes.ObjectConditions.Builder, com.google.storagetransfer.v1.proto.TransferTypes.ObjectConditionsOrBuilder> 
+              com.google.storagetransfer.v1.proto.TransferTypes.ObjectConditions,
+              com.google.storagetransfer.v1.proto.TransferTypes.ObjectConditions.Builder,
+              com.google.storagetransfer.v1.proto.TransferTypes.ObjectConditionsOrBuilder>
           getObjectConditionsFieldBuilder() {
         if (objectConditionsBuilder_ == null) {
-          objectConditionsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-              com.google.storagetransfer.v1.proto.TransferTypes.ObjectConditions, com.google.storagetransfer.v1.proto.TransferTypes.ObjectConditions.Builder, com.google.storagetransfer.v1.proto.TransferTypes.ObjectConditionsOrBuilder>(
-                  getObjectConditions(),
-                  getParentForChildren(),
-                  isClean());
+          objectConditionsBuilder_ =
+              new com.google.protobuf.SingleFieldBuilderV3<
+                  com.google.storagetransfer.v1.proto.TransferTypes.ObjectConditions,
+                  com.google.storagetransfer.v1.proto.TransferTypes.ObjectConditions.Builder,
+                  com.google.storagetransfer.v1.proto.TransferTypes.ObjectConditionsOrBuilder>(
+                  getObjectConditions(), getParentForChildren(), isClean());
           objectConditions_ = null;
         }
         return objectConditionsBuilder_;
@@ -20683,8 +23607,13 @@ public com.google.storagetransfer.v1.proto.TransferTypes.ObjectConditionsOrBuild
 
       private com.google.storagetransfer.v1.proto.TransferTypes.TransferOptions transferOptions_;
       private com.google.protobuf.SingleFieldBuilderV3<
-          com.google.storagetransfer.v1.proto.TransferTypes.TransferOptions, com.google.storagetransfer.v1.proto.TransferTypes.TransferOptions.Builder, com.google.storagetransfer.v1.proto.TransferTypes.TransferOptionsOrBuilder> transferOptionsBuilder_;
+              com.google.storagetransfer.v1.proto.TransferTypes.TransferOptions,
+              com.google.storagetransfer.v1.proto.TransferTypes.TransferOptions.Builder,
+              com.google.storagetransfer.v1.proto.TransferTypes.TransferOptionsOrBuilder>
+          transferOptionsBuilder_;
       /**
+       *
+       *
        * 
        * If the option
        * [delete_objects_unique_in_sink][google.storagetransfer.v1.TransferOptions.delete_objects_unique_in_sink]
@@ -20694,12 +23623,15 @@ public com.google.storagetransfer.v1.proto.TransferTypes.ObjectConditionsOrBuild
        * 
* * .google.storagetransfer.v1.TransferOptions transfer_options = 6; + * * @return Whether the transferOptions field is set. */ public boolean hasTransferOptions() { return transferOptionsBuilder_ != null || transferOptions_ != null; } /** + * + * *
        * If the option
        * [delete_objects_unique_in_sink][google.storagetransfer.v1.TransferOptions.delete_objects_unique_in_sink]
@@ -20709,16 +23641,23 @@ public boolean hasTransferOptions() {
        * 
* * .google.storagetransfer.v1.TransferOptions transfer_options = 6; + * * @return The transferOptions. */ - public com.google.storagetransfer.v1.proto.TransferTypes.TransferOptions getTransferOptions() { + public com.google.storagetransfer.v1.proto.TransferTypes.TransferOptions + getTransferOptions() { if (transferOptionsBuilder_ == null) { - return transferOptions_ == null ? com.google.storagetransfer.v1.proto.TransferTypes.TransferOptions.getDefaultInstance() : transferOptions_; + return transferOptions_ == null + ? com.google.storagetransfer.v1.proto.TransferTypes.TransferOptions + .getDefaultInstance() + : transferOptions_; } else { return transferOptionsBuilder_.getMessage(); } } /** + * + * *
        * If the option
        * [delete_objects_unique_in_sink][google.storagetransfer.v1.TransferOptions.delete_objects_unique_in_sink]
@@ -20729,7 +23668,8 @@ public com.google.storagetransfer.v1.proto.TransferTypes.TransferOptions getTran
        *
        * .google.storagetransfer.v1.TransferOptions transfer_options = 6;
        */
-      public Builder setTransferOptions(com.google.storagetransfer.v1.proto.TransferTypes.TransferOptions value) {
+      public Builder setTransferOptions(
+          com.google.storagetransfer.v1.proto.TransferTypes.TransferOptions value) {
         if (transferOptionsBuilder_ == null) {
           if (value == null) {
             throw new NullPointerException();
@@ -20743,6 +23683,8 @@ public Builder setTransferOptions(com.google.storagetransfer.v1.proto.TransferTy
         return this;
       }
       /**
+       *
+       *
        * 
        * If the option
        * [delete_objects_unique_in_sink][google.storagetransfer.v1.TransferOptions.delete_objects_unique_in_sink]
@@ -20754,7 +23696,8 @@ public Builder setTransferOptions(com.google.storagetransfer.v1.proto.TransferTy
        * .google.storagetransfer.v1.TransferOptions transfer_options = 6;
        */
       public Builder setTransferOptions(
-          com.google.storagetransfer.v1.proto.TransferTypes.TransferOptions.Builder builderForValue) {
+          com.google.storagetransfer.v1.proto.TransferTypes.TransferOptions.Builder
+              builderForValue) {
         if (transferOptionsBuilder_ == null) {
           transferOptions_ = builderForValue.build();
           onChanged();
@@ -20765,6 +23708,8 @@ public Builder setTransferOptions(
         return this;
       }
       /**
+       *
+       *
        * 
        * If the option
        * [delete_objects_unique_in_sink][google.storagetransfer.v1.TransferOptions.delete_objects_unique_in_sink]
@@ -20775,11 +23720,15 @@ public Builder setTransferOptions(
        *
        * .google.storagetransfer.v1.TransferOptions transfer_options = 6;
        */
-      public Builder mergeTransferOptions(com.google.storagetransfer.v1.proto.TransferTypes.TransferOptions value) {
+      public Builder mergeTransferOptions(
+          com.google.storagetransfer.v1.proto.TransferTypes.TransferOptions value) {
         if (transferOptionsBuilder_ == null) {
           if (transferOptions_ != null) {
             transferOptions_ =
-              com.google.storagetransfer.v1.proto.TransferTypes.TransferOptions.newBuilder(transferOptions_).mergeFrom(value).buildPartial();
+                com.google.storagetransfer.v1.proto.TransferTypes.TransferOptions.newBuilder(
+                        transferOptions_)
+                    .mergeFrom(value)
+                    .buildPartial();
           } else {
             transferOptions_ = value;
           }
@@ -20791,6 +23740,8 @@ public Builder mergeTransferOptions(com.google.storagetransfer.v1.proto.Transfer
         return this;
       }
       /**
+       *
+       *
        * 
        * If the option
        * [delete_objects_unique_in_sink][google.storagetransfer.v1.TransferOptions.delete_objects_unique_in_sink]
@@ -20813,6 +23764,8 @@ public Builder clearTransferOptions() {
         return this;
       }
       /**
+       *
+       *
        * 
        * If the option
        * [delete_objects_unique_in_sink][google.storagetransfer.v1.TransferOptions.delete_objects_unique_in_sink]
@@ -20823,12 +23776,15 @@ public Builder clearTransferOptions() {
        *
        * .google.storagetransfer.v1.TransferOptions transfer_options = 6;
        */
-      public com.google.storagetransfer.v1.proto.TransferTypes.TransferOptions.Builder getTransferOptionsBuilder() {
-        
+      public com.google.storagetransfer.v1.proto.TransferTypes.TransferOptions.Builder
+          getTransferOptionsBuilder() {
+
         onChanged();
         return getTransferOptionsFieldBuilder().getBuilder();
       }
       /**
+       *
+       *
        * 
        * If the option
        * [delete_objects_unique_in_sink][google.storagetransfer.v1.TransferOptions.delete_objects_unique_in_sink]
@@ -20839,15 +23795,20 @@ public com.google.storagetransfer.v1.proto.TransferTypes.TransferOptions.Builder
        *
        * .google.storagetransfer.v1.TransferOptions transfer_options = 6;
        */
-      public com.google.storagetransfer.v1.proto.TransferTypes.TransferOptionsOrBuilder getTransferOptionsOrBuilder() {
+      public com.google.storagetransfer.v1.proto.TransferTypes.TransferOptionsOrBuilder
+          getTransferOptionsOrBuilder() {
         if (transferOptionsBuilder_ != null) {
           return transferOptionsBuilder_.getMessageOrBuilder();
         } else {
-          return transferOptions_ == null ?
-              com.google.storagetransfer.v1.proto.TransferTypes.TransferOptions.getDefaultInstance() : transferOptions_;
+          return transferOptions_ == null
+              ? com.google.storagetransfer.v1.proto.TransferTypes.TransferOptions
+                  .getDefaultInstance()
+              : transferOptions_;
         }
       }
       /**
+       *
+       *
        * 
        * If the option
        * [delete_objects_unique_in_sink][google.storagetransfer.v1.TransferOptions.delete_objects_unique_in_sink]
@@ -20859,14 +23820,17 @@ public com.google.storagetransfer.v1.proto.TransferTypes.TransferOptionsOrBuilde
        * .google.storagetransfer.v1.TransferOptions transfer_options = 6;
        */
       private com.google.protobuf.SingleFieldBuilderV3<
-          com.google.storagetransfer.v1.proto.TransferTypes.TransferOptions, com.google.storagetransfer.v1.proto.TransferTypes.TransferOptions.Builder, com.google.storagetransfer.v1.proto.TransferTypes.TransferOptionsOrBuilder> 
+              com.google.storagetransfer.v1.proto.TransferTypes.TransferOptions,
+              com.google.storagetransfer.v1.proto.TransferTypes.TransferOptions.Builder,
+              com.google.storagetransfer.v1.proto.TransferTypes.TransferOptionsOrBuilder>
           getTransferOptionsFieldBuilder() {
         if (transferOptionsBuilder_ == null) {
-          transferOptionsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-              com.google.storagetransfer.v1.proto.TransferTypes.TransferOptions, com.google.storagetransfer.v1.proto.TransferTypes.TransferOptions.Builder, com.google.storagetransfer.v1.proto.TransferTypes.TransferOptionsOrBuilder>(
-                  getTransferOptions(),
-                  getParentForChildren(),
-                  isClean());
+          transferOptionsBuilder_ =
+              new com.google.protobuf.SingleFieldBuilderV3<
+                  com.google.storagetransfer.v1.proto.TransferTypes.TransferOptions,
+                  com.google.storagetransfer.v1.proto.TransferTypes.TransferOptions.Builder,
+                  com.google.storagetransfer.v1.proto.TransferTypes.TransferOptionsOrBuilder>(
+                  getTransferOptions(), getParentForChildren(), isClean());
           transferOptions_ = null;
         }
         return transferOptionsBuilder_;
@@ -20874,8 +23838,13 @@ public com.google.storagetransfer.v1.proto.TransferTypes.TransferOptionsOrBuilde
 
       private com.google.storagetransfer.v1.proto.TransferTypes.TransferManifest transferManifest_;
       private com.google.protobuf.SingleFieldBuilderV3<
-          com.google.storagetransfer.v1.proto.TransferTypes.TransferManifest, com.google.storagetransfer.v1.proto.TransferTypes.TransferManifest.Builder, com.google.storagetransfer.v1.proto.TransferTypes.TransferManifestOrBuilder> transferManifestBuilder_;
+              com.google.storagetransfer.v1.proto.TransferTypes.TransferManifest,
+              com.google.storagetransfer.v1.proto.TransferTypes.TransferManifest.Builder,
+              com.google.storagetransfer.v1.proto.TransferTypes.TransferManifestOrBuilder>
+          transferManifestBuilder_;
       /**
+       *
+       *
        * 
        * A manifest file provides a list of objects to be transferred from the data
        * source. This field points to the location of the manifest file.
@@ -20883,12 +23852,15 @@ public com.google.storagetransfer.v1.proto.TransferTypes.TransferOptionsOrBuilde
        * 
* * .google.storagetransfer.v1.TransferManifest transfer_manifest = 15; + * * @return Whether the transferManifest field is set. */ public boolean hasTransferManifest() { return transferManifestBuilder_ != null || transferManifest_ != null; } /** + * + * *
        * A manifest file provides a list of objects to be transferred from the data
        * source. This field points to the location of the manifest file.
@@ -20896,16 +23868,23 @@ public boolean hasTransferManifest() {
        * 
* * .google.storagetransfer.v1.TransferManifest transfer_manifest = 15; + * * @return The transferManifest. */ - public com.google.storagetransfer.v1.proto.TransferTypes.TransferManifest getTransferManifest() { + public com.google.storagetransfer.v1.proto.TransferTypes.TransferManifest + getTransferManifest() { if (transferManifestBuilder_ == null) { - return transferManifest_ == null ? com.google.storagetransfer.v1.proto.TransferTypes.TransferManifest.getDefaultInstance() : transferManifest_; + return transferManifest_ == null + ? com.google.storagetransfer.v1.proto.TransferTypes.TransferManifest + .getDefaultInstance() + : transferManifest_; } else { return transferManifestBuilder_.getMessage(); } } /** + * + * *
        * A manifest file provides a list of objects to be transferred from the data
        * source. This field points to the location of the manifest file.
@@ -20914,7 +23893,8 @@ public com.google.storagetransfer.v1.proto.TransferTypes.TransferManifest getTra
        *
        * .google.storagetransfer.v1.TransferManifest transfer_manifest = 15;
        */
-      public Builder setTransferManifest(com.google.storagetransfer.v1.proto.TransferTypes.TransferManifest value) {
+      public Builder setTransferManifest(
+          com.google.storagetransfer.v1.proto.TransferTypes.TransferManifest value) {
         if (transferManifestBuilder_ == null) {
           if (value == null) {
             throw new NullPointerException();
@@ -20928,6 +23908,8 @@ public Builder setTransferManifest(com.google.storagetransfer.v1.proto.TransferT
         return this;
       }
       /**
+       *
+       *
        * 
        * A manifest file provides a list of objects to be transferred from the data
        * source. This field points to the location of the manifest file.
@@ -20937,7 +23919,8 @@ public Builder setTransferManifest(com.google.storagetransfer.v1.proto.TransferT
        * .google.storagetransfer.v1.TransferManifest transfer_manifest = 15;
        */
       public Builder setTransferManifest(
-          com.google.storagetransfer.v1.proto.TransferTypes.TransferManifest.Builder builderForValue) {
+          com.google.storagetransfer.v1.proto.TransferTypes.TransferManifest.Builder
+              builderForValue) {
         if (transferManifestBuilder_ == null) {
           transferManifest_ = builderForValue.build();
           onChanged();
@@ -20948,6 +23931,8 @@ public Builder setTransferManifest(
         return this;
       }
       /**
+       *
+       *
        * 
        * A manifest file provides a list of objects to be transferred from the data
        * source. This field points to the location of the manifest file.
@@ -20956,11 +23941,15 @@ public Builder setTransferManifest(
        *
        * .google.storagetransfer.v1.TransferManifest transfer_manifest = 15;
        */
-      public Builder mergeTransferManifest(com.google.storagetransfer.v1.proto.TransferTypes.TransferManifest value) {
+      public Builder mergeTransferManifest(
+          com.google.storagetransfer.v1.proto.TransferTypes.TransferManifest value) {
         if (transferManifestBuilder_ == null) {
           if (transferManifest_ != null) {
             transferManifest_ =
-              com.google.storagetransfer.v1.proto.TransferTypes.TransferManifest.newBuilder(transferManifest_).mergeFrom(value).buildPartial();
+                com.google.storagetransfer.v1.proto.TransferTypes.TransferManifest.newBuilder(
+                        transferManifest_)
+                    .mergeFrom(value)
+                    .buildPartial();
           } else {
             transferManifest_ = value;
           }
@@ -20972,6 +23961,8 @@ public Builder mergeTransferManifest(com.google.storagetransfer.v1.proto.Transfe
         return this;
       }
       /**
+       *
+       *
        * 
        * A manifest file provides a list of objects to be transferred from the data
        * source. This field points to the location of the manifest file.
@@ -20992,6 +23983,8 @@ public Builder clearTransferManifest() {
         return this;
       }
       /**
+       *
+       *
        * 
        * A manifest file provides a list of objects to be transferred from the data
        * source. This field points to the location of the manifest file.
@@ -21000,12 +23993,15 @@ public Builder clearTransferManifest() {
        *
        * .google.storagetransfer.v1.TransferManifest transfer_manifest = 15;
        */
-      public com.google.storagetransfer.v1.proto.TransferTypes.TransferManifest.Builder getTransferManifestBuilder() {
-        
+      public com.google.storagetransfer.v1.proto.TransferTypes.TransferManifest.Builder
+          getTransferManifestBuilder() {
+
         onChanged();
         return getTransferManifestFieldBuilder().getBuilder();
       }
       /**
+       *
+       *
        * 
        * A manifest file provides a list of objects to be transferred from the data
        * source. This field points to the location of the manifest file.
@@ -21014,15 +24010,20 @@ public com.google.storagetransfer.v1.proto.TransferTypes.TransferManifest.Builde
        *
        * .google.storagetransfer.v1.TransferManifest transfer_manifest = 15;
        */
-      public com.google.storagetransfer.v1.proto.TransferTypes.TransferManifestOrBuilder getTransferManifestOrBuilder() {
+      public com.google.storagetransfer.v1.proto.TransferTypes.TransferManifestOrBuilder
+          getTransferManifestOrBuilder() {
         if (transferManifestBuilder_ != null) {
           return transferManifestBuilder_.getMessageOrBuilder();
         } else {
-          return transferManifest_ == null ?
-              com.google.storagetransfer.v1.proto.TransferTypes.TransferManifest.getDefaultInstance() : transferManifest_;
+          return transferManifest_ == null
+              ? com.google.storagetransfer.v1.proto.TransferTypes.TransferManifest
+                  .getDefaultInstance()
+              : transferManifest_;
         }
       }
       /**
+       *
+       *
        * 
        * A manifest file provides a list of objects to be transferred from the data
        * source. This field points to the location of the manifest file.
@@ -21032,14 +24033,17 @@ public com.google.storagetransfer.v1.proto.TransferTypes.TransferManifestOrBuild
        * .google.storagetransfer.v1.TransferManifest transfer_manifest = 15;
        */
       private com.google.protobuf.SingleFieldBuilderV3<
-          com.google.storagetransfer.v1.proto.TransferTypes.TransferManifest, com.google.storagetransfer.v1.proto.TransferTypes.TransferManifest.Builder, com.google.storagetransfer.v1.proto.TransferTypes.TransferManifestOrBuilder> 
+              com.google.storagetransfer.v1.proto.TransferTypes.TransferManifest,
+              com.google.storagetransfer.v1.proto.TransferTypes.TransferManifest.Builder,
+              com.google.storagetransfer.v1.proto.TransferTypes.TransferManifestOrBuilder>
           getTransferManifestFieldBuilder() {
         if (transferManifestBuilder_ == null) {
-          transferManifestBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-              com.google.storagetransfer.v1.proto.TransferTypes.TransferManifest, com.google.storagetransfer.v1.proto.TransferTypes.TransferManifest.Builder, com.google.storagetransfer.v1.proto.TransferTypes.TransferManifestOrBuilder>(
-                  getTransferManifest(),
-                  getParentForChildren(),
-                  isClean());
+          transferManifestBuilder_ =
+              new com.google.protobuf.SingleFieldBuilderV3<
+                  com.google.storagetransfer.v1.proto.TransferTypes.TransferManifest,
+                  com.google.storagetransfer.v1.proto.TransferTypes.TransferManifest.Builder,
+                  com.google.storagetransfer.v1.proto.TransferTypes.TransferManifestOrBuilder>(
+                  getTransferManifest(), getParentForChildren(), isClean());
           transferManifest_ = null;
         }
         return transferManifestBuilder_;
@@ -21047,19 +24051,21 @@ public com.google.storagetransfer.v1.proto.TransferTypes.TransferManifestOrBuild
 
       private java.lang.Object sourceAgentPoolName_ = "";
       /**
+       *
+       *
        * 
        * Specifies the agent pool name associated with the posix data source. When
        * unspecified, the default name is used.
        * 
* * string source_agent_pool_name = 17; + * * @return The sourceAgentPoolName. */ public java.lang.String getSourceAgentPoolName() { java.lang.Object ref = sourceAgentPoolName_; 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(); sourceAgentPoolName_ = s; return s; @@ -21068,21 +24074,22 @@ public java.lang.String getSourceAgentPoolName() { } } /** + * + * *
        * Specifies the agent pool name associated with the posix data source. When
        * unspecified, the default name is used.
        * 
* * string source_agent_pool_name = 17; + * * @return The bytes for sourceAgentPoolName. */ - public com.google.protobuf.ByteString - getSourceAgentPoolNameBytes() { + public com.google.protobuf.ByteString getSourceAgentPoolNameBytes() { java.lang.Object ref = sourceAgentPoolName_; 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); sourceAgentPoolName_ = b; return b; } else { @@ -21090,57 +24097,64 @@ public java.lang.String getSourceAgentPoolName() { } } /** + * + * *
        * Specifies the agent pool name associated with the posix data source. When
        * unspecified, the default name is used.
        * 
* * string source_agent_pool_name = 17; + * * @param value The sourceAgentPoolName to set. * @return This builder for chaining. */ - public Builder setSourceAgentPoolName( - java.lang.String value) { + public Builder setSourceAgentPoolName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + sourceAgentPoolName_ = value; onChanged(); return this; } /** + * + * *
        * Specifies the agent pool name associated with the posix data source. When
        * unspecified, the default name is used.
        * 
* * string source_agent_pool_name = 17; + * * @return This builder for chaining. */ public Builder clearSourceAgentPoolName() { - + sourceAgentPoolName_ = getDefaultInstance().getSourceAgentPoolName(); onChanged(); return this; } /** + * + * *
        * Specifies the agent pool name associated with the posix data source. When
        * unspecified, the default name is used.
        * 
* * string source_agent_pool_name = 17; + * * @param value The bytes for sourceAgentPoolName to set. * @return This builder for chaining. */ - public Builder setSourceAgentPoolNameBytes( - com.google.protobuf.ByteString value) { + public Builder setSourceAgentPoolNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + sourceAgentPoolName_ = value; onChanged(); return this; @@ -21148,19 +24162,21 @@ public Builder setSourceAgentPoolNameBytes( private java.lang.Object sinkAgentPoolName_ = ""; /** + * + * *
        * Specifies the agent pool name associated with the posix data sink. When
        * unspecified, the default name is used.
        * 
* * string sink_agent_pool_name = 18; + * * @return The sinkAgentPoolName. */ public java.lang.String getSinkAgentPoolName() { java.lang.Object ref = sinkAgentPoolName_; 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(); sinkAgentPoolName_ = s; return s; @@ -21169,21 +24185,22 @@ public java.lang.String getSinkAgentPoolName() { } } /** + * + * *
        * Specifies the agent pool name associated with the posix data sink. When
        * unspecified, the default name is used.
        * 
* * string sink_agent_pool_name = 18; + * * @return The bytes for sinkAgentPoolName. */ - public com.google.protobuf.ByteString - getSinkAgentPoolNameBytes() { + public com.google.protobuf.ByteString getSinkAgentPoolNameBytes() { java.lang.Object ref = sinkAgentPoolName_; 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); sinkAgentPoolName_ = b; return b; } else { @@ -21191,61 +24208,69 @@ public java.lang.String getSinkAgentPoolName() { } } /** + * + * *
        * Specifies the agent pool name associated with the posix data sink. When
        * unspecified, the default name is used.
        * 
* * string sink_agent_pool_name = 18; + * * @param value The sinkAgentPoolName to set. * @return This builder for chaining. */ - public Builder setSinkAgentPoolName( - java.lang.String value) { + public Builder setSinkAgentPoolName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + sinkAgentPoolName_ = value; onChanged(); return this; } /** + * + * *
        * Specifies the agent pool name associated with the posix data sink. When
        * unspecified, the default name is used.
        * 
* * string sink_agent_pool_name = 18; + * * @return This builder for chaining. */ public Builder clearSinkAgentPoolName() { - + sinkAgentPoolName_ = getDefaultInstance().getSinkAgentPoolName(); onChanged(); return this; } /** + * + * *
        * Specifies the agent pool name associated with the posix data sink. When
        * unspecified, the default name is used.
        * 
* * string sink_agent_pool_name = 18; + * * @param value The bytes for sinkAgentPoolName to set. * @return This builder for chaining. */ - public Builder setSinkAgentPoolNameBytes( - com.google.protobuf.ByteString value) { + public Builder setSinkAgentPoolNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + sinkAgentPoolName_ = value; onChanged(); return this; } + @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -21258,30 +24283,32 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.storagetransfer.v1.TransferSpec) } // @@protoc_insertion_point(class_scope:google.storagetransfer.v1.TransferSpec) - private static final com.google.storagetransfer.v1.proto.TransferTypes.TransferSpec DEFAULT_INSTANCE; + private static final com.google.storagetransfer.v1.proto.TransferTypes.TransferSpec + DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.storagetransfer.v1.proto.TransferTypes.TransferSpec(); } - public static com.google.storagetransfer.v1.proto.TransferTypes.TransferSpec getDefaultInstance() { + public static com.google.storagetransfer.v1.proto.TransferTypes.TransferSpec + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public TransferSpec parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new TransferSpec(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public TransferSpec parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new TransferSpec(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -21293,17 +24320,20 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.storagetransfer.v1.proto.TransferTypes.TransferSpec getDefaultInstanceForType() { + public com.google.storagetransfer.v1.proto.TransferTypes.TransferSpec + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - public interface MetadataOptionsOrBuilder extends + public interface MetadataOptionsOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.storagetransfer.v1.MetadataOptions) com.google.protobuf.MessageOrBuilder { /** + * + * *
      * Specifies how symlinks should be handled by the transfer. By default,
      * symlinks are not preserved. Only applicable to transfers involving
@@ -21311,10 +24341,13 @@ public interface MetadataOptionsOrBuilder extends
      * 
* * .google.storagetransfer.v1.MetadataOptions.Symlink symlink = 1; + * * @return The enum numeric value on the wire for symlink. */ int getSymlinkValue(); /** + * + * *
      * Specifies how symlinks should be handled by the transfer. By default,
      * symlinks are not preserved. Only applicable to transfers involving
@@ -21322,11 +24355,14 @@ public interface MetadataOptionsOrBuilder extends
      * 
* * .google.storagetransfer.v1.MetadataOptions.Symlink symlink = 1; + * * @return The symlink. */ com.google.storagetransfer.v1.proto.TransferTypes.MetadataOptions.Symlink getSymlink(); /** + * + * *
      * Specifies how each file's mode attribute should be handled by the transfer.
      * By default, mode is not preserved. Only applicable to transfers involving
@@ -21334,10 +24370,13 @@ public interface MetadataOptionsOrBuilder extends
      * 
* * .google.storagetransfer.v1.MetadataOptions.Mode mode = 2; + * * @return The enum numeric value on the wire for mode. */ int getModeValue(); /** + * + * *
      * Specifies how each file's mode attribute should be handled by the transfer.
      * By default, mode is not preserved. Only applicable to transfers involving
@@ -21345,11 +24384,14 @@ public interface MetadataOptionsOrBuilder extends
      * 
* * .google.storagetransfer.v1.MetadataOptions.Mode mode = 2; + * * @return The mode. */ com.google.storagetransfer.v1.proto.TransferTypes.MetadataOptions.Mode getMode(); /** + * + * *
      * Specifies how each file's POSIX group ID (GID) attribute should be handled
      * by the transfer. By default, GID is not preserved. Only applicable to
@@ -21357,10 +24399,13 @@ public interface MetadataOptionsOrBuilder extends
      * 
* * .google.storagetransfer.v1.MetadataOptions.GID gid = 3; + * * @return The enum numeric value on the wire for gid. */ int getGidValue(); /** + * + * *
      * Specifies how each file's POSIX group ID (GID) attribute should be handled
      * by the transfer. By default, GID is not preserved. Only applicable to
@@ -21368,11 +24413,14 @@ public interface MetadataOptionsOrBuilder extends
      * 
* * .google.storagetransfer.v1.MetadataOptions.GID gid = 3; + * * @return The gid. */ com.google.storagetransfer.v1.proto.TransferTypes.MetadataOptions.GID getGid(); /** + * + * *
      * Specifies how each file's POSIX user ID (UID) attribute should be handled
      * by the transfer. By default, UID is not preserved. Only applicable to
@@ -21380,10 +24428,13 @@ public interface MetadataOptionsOrBuilder extends
      * 
* * .google.storagetransfer.v1.MetadataOptions.UID uid = 4; + * * @return The enum numeric value on the wire for uid. */ int getUidValue(); /** + * + * *
      * Specifies how each file's POSIX user ID (UID) attribute should be handled
      * by the transfer. By default, UID is not preserved. Only applicable to
@@ -21391,11 +24442,14 @@ public interface MetadataOptionsOrBuilder extends
      * 
* * .google.storagetransfer.v1.MetadataOptions.UID uid = 4; + * * @return The uid. */ com.google.storagetransfer.v1.proto.TransferTypes.MetadataOptions.UID getUid(); /** + * + * *
      * Specifies how each object's ACLs should be preserved for transfers between
      * Google Cloud Storage buckets. If unspecified, the default behavior is the
@@ -21403,10 +24457,13 @@ public interface MetadataOptionsOrBuilder extends
      * 
* * .google.storagetransfer.v1.MetadataOptions.Acl acl = 5; + * * @return The enum numeric value on the wire for acl. */ int getAclValue(); /** + * + * *
      * Specifies how each object's ACLs should be preserved for transfers between
      * Google Cloud Storage buckets. If unspecified, the default behavior is the
@@ -21414,11 +24471,14 @@ public interface MetadataOptionsOrBuilder extends
      * 
* * .google.storagetransfer.v1.MetadataOptions.Acl acl = 5; + * * @return The acl. */ com.google.storagetransfer.v1.proto.TransferTypes.MetadataOptions.Acl getAcl(); /** + * + * *
      * Specifies the storage class to set on objects being transferred to Google
      * Cloud Storage buckets.  If unspecified, the default behavior is the same as
@@ -21426,10 +24486,13 @@ public interface MetadataOptionsOrBuilder extends
      * 
* * .google.storagetransfer.v1.MetadataOptions.StorageClass storage_class = 6; + * * @return The enum numeric value on the wire for storageClass. */ int getStorageClassValue(); /** + * + * *
      * Specifies the storage class to set on objects being transferred to Google
      * Cloud Storage buckets.  If unspecified, the default behavior is the same as
@@ -21437,11 +24500,15 @@ public interface MetadataOptionsOrBuilder extends
      * 
* * .google.storagetransfer.v1.MetadataOptions.StorageClass storage_class = 6; + * * @return The storageClass. */ - com.google.storagetransfer.v1.proto.TransferTypes.MetadataOptions.StorageClass getStorageClass(); + com.google.storagetransfer.v1.proto.TransferTypes.MetadataOptions.StorageClass + getStorageClass(); /** + * + * *
      * Specifies how each object's temporary hold status should be preserved for
      * transfers between Google Cloud Storage buckets.  If unspecified, the
@@ -21450,10 +24517,13 @@ public interface MetadataOptionsOrBuilder extends
      * 
* * .google.storagetransfer.v1.MetadataOptions.TemporaryHold temporary_hold = 7; + * * @return The enum numeric value on the wire for temporaryHold. */ int getTemporaryHoldValue(); /** + * + * *
      * Specifies how each object's temporary hold status should be preserved for
      * transfers between Google Cloud Storage buckets.  If unspecified, the
@@ -21462,11 +24532,15 @@ public interface MetadataOptionsOrBuilder extends
      * 
* * .google.storagetransfer.v1.MetadataOptions.TemporaryHold temporary_hold = 7; + * * @return The temporaryHold. */ - com.google.storagetransfer.v1.proto.TransferTypes.MetadataOptions.TemporaryHold getTemporaryHold(); + com.google.storagetransfer.v1.proto.TransferTypes.MetadataOptions.TemporaryHold + getTemporaryHold(); /** + * + * *
      * Specifies how each object's Cloud KMS customer-managed encryption key
      * (CMEK) is preserved for transfers between Google Cloud Storage buckets.  If
@@ -21475,10 +24549,13 @@ public interface MetadataOptionsOrBuilder extends
      * 
* * .google.storagetransfer.v1.MetadataOptions.KmsKey kms_key = 8; + * * @return The enum numeric value on the wire for kmsKey. */ int getKmsKeyValue(); /** + * + * *
      * Specifies how each object's Cloud KMS customer-managed encryption key
      * (CMEK) is preserved for transfers between Google Cloud Storage buckets.  If
@@ -21487,11 +24564,14 @@ public interface MetadataOptionsOrBuilder extends
      * 
* * .google.storagetransfer.v1.MetadataOptions.KmsKey kms_key = 8; + * * @return The kmsKey. */ com.google.storagetransfer.v1.proto.TransferTypes.MetadataOptions.KmsKey getKmsKey(); /** + * + * *
      * Specifies how each object's `timeCreated` metadata is preserved for
      * transfers between Google Cloud Storage buckets.  If unspecified, the
@@ -21500,10 +24580,13 @@ public interface MetadataOptionsOrBuilder extends
      * 
* * .google.storagetransfer.v1.MetadataOptions.TimeCreated time_created = 9; + * * @return The enum numeric value on the wire for timeCreated. */ int getTimeCreatedValue(); /** + * + * *
      * Specifies how each object's `timeCreated` metadata is preserved for
      * transfers between Google Cloud Storage buckets.  If unspecified, the
@@ -21512,26 +24595,30 @@ public interface MetadataOptionsOrBuilder extends
      * 
* * .google.storagetransfer.v1.MetadataOptions.TimeCreated time_created = 9; + * * @return The timeCreated. */ com.google.storagetransfer.v1.proto.TransferTypes.MetadataOptions.TimeCreated getTimeCreated(); } /** + * + * *
    * Specifies the metadata options for running a transfer.
    * 
* * Protobuf type {@code google.storagetransfer.v1.MetadataOptions} */ - public static final class MetadataOptions extends - com.google.protobuf.GeneratedMessageV3 implements + public static final class MetadataOptions extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.storagetransfer.v1.MetadataOptions) MetadataOptionsOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use MetadataOptions.newBuilder() to construct. private MetadataOptions(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private MetadataOptions() { symlink_ = 0; mode_ = 0; @@ -21546,16 +24633,15 @@ private MetadataOptions() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new MetadataOptions(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private MetadataOptions( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -21574,67 +24660,76 @@ private MetadataOptions( case 0: done = true; break; - case 8: { - int rawValue = input.readEnum(); + case 8: + { + int rawValue = input.readEnum(); - symlink_ = rawValue; - break; - } - case 16: { - int rawValue = input.readEnum(); + symlink_ = rawValue; + break; + } + case 16: + { + int rawValue = input.readEnum(); - mode_ = rawValue; - break; - } - case 24: { - int rawValue = input.readEnum(); + mode_ = rawValue; + break; + } + case 24: + { + int rawValue = input.readEnum(); - gid_ = rawValue; - break; - } - case 32: { - int rawValue = input.readEnum(); + gid_ = rawValue; + break; + } + case 32: + { + int rawValue = input.readEnum(); - uid_ = rawValue; - break; - } - case 40: { - int rawValue = input.readEnum(); + uid_ = rawValue; + break; + } + case 40: + { + int rawValue = input.readEnum(); - acl_ = rawValue; - break; - } - case 48: { - int rawValue = input.readEnum(); + acl_ = rawValue; + break; + } + case 48: + { + int rawValue = input.readEnum(); - storageClass_ = rawValue; - break; - } - case 56: { - int rawValue = input.readEnum(); + storageClass_ = rawValue; + break; + } + case 56: + { + int rawValue = input.readEnum(); - temporaryHold_ = rawValue; - break; - } - case 64: { - int rawValue = input.readEnum(); + temporaryHold_ = rawValue; + break; + } + case 64: + { + int rawValue = input.readEnum(); - kmsKey_ = rawValue; - break; - } - case 72: { - int rawValue = input.readEnum(); + kmsKey_ = rawValue; + break; + } + case 72: + { + int rawValue = input.readEnum(); - timeCreated_ = rawValue; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + timeCreated_ = rawValue; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -21642,36 +24737,41 @@ private MetadataOptions( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.storagetransfer.v1.proto.TransferTypes.internal_static_google_storagetransfer_v1_MetadataOptions_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.storagetransfer.v1.proto.TransferTypes + .internal_static_google_storagetransfer_v1_MetadataOptions_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.storagetransfer.v1.proto.TransferTypes.internal_static_google_storagetransfer_v1_MetadataOptions_fieldAccessorTable + return com.google.storagetransfer.v1.proto.TransferTypes + .internal_static_google_storagetransfer_v1_MetadataOptions_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.storagetransfer.v1.proto.TransferTypes.MetadataOptions.class, com.google.storagetransfer.v1.proto.TransferTypes.MetadataOptions.Builder.class); + com.google.storagetransfer.v1.proto.TransferTypes.MetadataOptions.class, + com.google.storagetransfer.v1.proto.TransferTypes.MetadataOptions.Builder.class); } /** + * + * *
      * Whether symlinks should be skipped or preserved during a transfer job.
      * 
* * Protobuf enum {@code google.storagetransfer.v1.MetadataOptions.Symlink} */ - public enum Symlink - implements com.google.protobuf.ProtocolMessageEnum { + public enum Symlink implements com.google.protobuf.ProtocolMessageEnum { /** + * + * *
        * Symlink behavior is unspecified.
        * 
@@ -21680,6 +24780,8 @@ public enum Symlink */ SYMLINK_UNSPECIFIED(0), /** + * + * *
        * Do not preserve symlinks during a transfer job.
        * 
@@ -21688,6 +24790,8 @@ public enum Symlink */ SYMLINK_SKIP(1), /** + * + * *
        * Preserve symlinks during a transfer job.
        * 
@@ -21699,6 +24803,8 @@ public enum Symlink ; /** + * + * *
        * Symlink behavior is unspecified.
        * 
@@ -21707,6 +24813,8 @@ public enum Symlink */ public static final int SYMLINK_UNSPECIFIED_VALUE = 0; /** + * + * *
        * Do not preserve symlinks during a transfer job.
        * 
@@ -21715,6 +24823,8 @@ public enum Symlink */ public static final int SYMLINK_SKIP_VALUE = 1; /** + * + * *
        * Preserve symlinks during a transfer job.
        * 
@@ -21723,7 +24833,6 @@ public enum Symlink */ public static final int SYMLINK_PRESERVE_VALUE = 2; - public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -21748,49 +24857,51 @@ public static Symlink valueOf(int value) { */ public static Symlink forNumber(int value) { switch (value) { - case 0: return SYMLINK_UNSPECIFIED; - case 1: return SYMLINK_SKIP; - case 2: return SYMLINK_PRESERVE; - default: return null; + case 0: + return SYMLINK_UNSPECIFIED; + case 1: + return SYMLINK_SKIP; + case 2: + return SYMLINK_PRESERVE; + default: + return null; } } - public static com.google.protobuf.Internal.EnumLiteMap - internalGetValueMap() { + public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() { return internalValueMap; } - private static final com.google.protobuf.Internal.EnumLiteMap< - Symlink> internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public Symlink findValueByNumber(int number) { - return Symlink.forNumber(number); - } - }; - public final com.google.protobuf.Descriptors.EnumValueDescriptor - getValueDescriptor() { + private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap() { + public Symlink findValueByNumber(int number) { + return Symlink.forNumber(number); + } + }; + + public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalStateException( "Can't get the descriptor of an unrecognized enum value."); } return getDescriptor().getValues().get(ordinal()); } - public final com.google.protobuf.Descriptors.EnumDescriptor - getDescriptorForType() { + + public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() { return getDescriptor(); } - public static final com.google.protobuf.Descriptors.EnumDescriptor - getDescriptor() { - return com.google.storagetransfer.v1.proto.TransferTypes.MetadataOptions.getDescriptor().getEnumTypes().get(0); + + public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { + return com.google.storagetransfer.v1.proto.TransferTypes.MetadataOptions.getDescriptor() + .getEnumTypes() + .get(0); } private static final Symlink[] VALUES = values(); - public static Symlink valueOf( - com.google.protobuf.Descriptors.EnumValueDescriptor desc) { + public static Symlink valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) { if (desc.getType() != getDescriptor()) { - throw new java.lang.IllegalArgumentException( - "EnumValueDescriptor is not for this type."); + throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type."); } if (desc.getIndex() == -1) { return UNRECOGNIZED; @@ -21808,15 +24919,18 @@ private Symlink(int value) { } /** + * + * *
      * Options for handling file mode attribute.
      * 
* * Protobuf enum {@code google.storagetransfer.v1.MetadataOptions.Mode} */ - public enum Mode - implements com.google.protobuf.ProtocolMessageEnum { + public enum Mode implements com.google.protobuf.ProtocolMessageEnum { /** + * + * *
        * Mode behavior is unspecified.
        * 
@@ -21825,6 +24939,8 @@ public enum Mode */ MODE_UNSPECIFIED(0), /** + * + * *
        * Do not preserve mode during a transfer job.
        * 
@@ -21833,6 +24949,8 @@ public enum Mode */ MODE_SKIP(1), /** + * + * *
        * Preserve mode during a transfer job.
        * 
@@ -21844,6 +24962,8 @@ public enum Mode ; /** + * + * *
        * Mode behavior is unspecified.
        * 
@@ -21852,6 +24972,8 @@ public enum Mode */ public static final int MODE_UNSPECIFIED_VALUE = 0; /** + * + * *
        * Do not preserve mode during a transfer job.
        * 
@@ -21860,6 +24982,8 @@ public enum Mode */ public static final int MODE_SKIP_VALUE = 1; /** + * + * *
        * Preserve mode during a transfer job.
        * 
@@ -21868,7 +24992,6 @@ public enum Mode */ public static final int MODE_PRESERVE_VALUE = 2; - public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -21893,49 +25016,51 @@ public static Mode valueOf(int value) { */ public static Mode forNumber(int value) { switch (value) { - case 0: return MODE_UNSPECIFIED; - case 1: return MODE_SKIP; - case 2: return MODE_PRESERVE; - default: return null; + case 0: + return MODE_UNSPECIFIED; + case 1: + return MODE_SKIP; + case 2: + return MODE_PRESERVE; + default: + return null; } } - public static com.google.protobuf.Internal.EnumLiteMap - internalGetValueMap() { + public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() { return internalValueMap; } - private static final com.google.protobuf.Internal.EnumLiteMap< - Mode> internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public Mode findValueByNumber(int number) { - return Mode.forNumber(number); - } - }; - public final com.google.protobuf.Descriptors.EnumValueDescriptor - getValueDescriptor() { + private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap() { + public Mode findValueByNumber(int number) { + return Mode.forNumber(number); + } + }; + + public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalStateException( "Can't get the descriptor of an unrecognized enum value."); } return getDescriptor().getValues().get(ordinal()); } - public final com.google.protobuf.Descriptors.EnumDescriptor - getDescriptorForType() { + + public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() { return getDescriptor(); } - public static final com.google.protobuf.Descriptors.EnumDescriptor - getDescriptor() { - return com.google.storagetransfer.v1.proto.TransferTypes.MetadataOptions.getDescriptor().getEnumTypes().get(1); + + public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { + return com.google.storagetransfer.v1.proto.TransferTypes.MetadataOptions.getDescriptor() + .getEnumTypes() + .get(1); } private static final Mode[] VALUES = values(); - public static Mode valueOf( - com.google.protobuf.Descriptors.EnumValueDescriptor desc) { + public static Mode valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) { if (desc.getType() != getDescriptor()) { - throw new java.lang.IllegalArgumentException( - "EnumValueDescriptor is not for this type."); + throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type."); } if (desc.getIndex() == -1) { return UNRECOGNIZED; @@ -21953,15 +25078,18 @@ private Mode(int value) { } /** + * + * *
      * Options for handling file GID attribute.
      * 
* * Protobuf enum {@code google.storagetransfer.v1.MetadataOptions.GID} */ - public enum GID - implements com.google.protobuf.ProtocolMessageEnum { + public enum GID implements com.google.protobuf.ProtocolMessageEnum { /** + * + * *
        * GID behavior is unspecified.
        * 
@@ -21970,6 +25098,8 @@ public enum GID */ GID_UNSPECIFIED(0), /** + * + * *
        * Do not preserve GID during a transfer job.
        * 
@@ -21978,6 +25108,8 @@ public enum GID */ GID_SKIP(1), /** + * + * *
        * Preserve GID during a transfer job.
        * 
@@ -21989,6 +25121,8 @@ public enum GID ; /** + * + * *
        * GID behavior is unspecified.
        * 
@@ -21997,6 +25131,8 @@ public enum GID */ public static final int GID_UNSPECIFIED_VALUE = 0; /** + * + * *
        * Do not preserve GID during a transfer job.
        * 
@@ -22005,6 +25141,8 @@ public enum GID */ public static final int GID_SKIP_VALUE = 1; /** + * + * *
        * Preserve GID during a transfer job.
        * 
@@ -22013,7 +25151,6 @@ public enum GID */ public static final int GID_NUMBER_VALUE = 2; - public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -22038,49 +25175,51 @@ public static GID valueOf(int value) { */ public static GID forNumber(int value) { switch (value) { - case 0: return GID_UNSPECIFIED; - case 1: return GID_SKIP; - case 2: return GID_NUMBER; - default: return null; + case 0: + return GID_UNSPECIFIED; + case 1: + return GID_SKIP; + case 2: + return GID_NUMBER; + default: + return null; } } - public static com.google.protobuf.Internal.EnumLiteMap - internalGetValueMap() { + public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() { return internalValueMap; } - private static final com.google.protobuf.Internal.EnumLiteMap< - GID> internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public GID findValueByNumber(int number) { - return GID.forNumber(number); - } - }; - public final com.google.protobuf.Descriptors.EnumValueDescriptor - getValueDescriptor() { + private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap() { + public GID findValueByNumber(int number) { + return GID.forNumber(number); + } + }; + + public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalStateException( "Can't get the descriptor of an unrecognized enum value."); } return getDescriptor().getValues().get(ordinal()); } - public final com.google.protobuf.Descriptors.EnumDescriptor - getDescriptorForType() { + + public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() { return getDescriptor(); } - public static final com.google.protobuf.Descriptors.EnumDescriptor - getDescriptor() { - return com.google.storagetransfer.v1.proto.TransferTypes.MetadataOptions.getDescriptor().getEnumTypes().get(2); + + public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { + return com.google.storagetransfer.v1.proto.TransferTypes.MetadataOptions.getDescriptor() + .getEnumTypes() + .get(2); } private static final GID[] VALUES = values(); - public static GID valueOf( - com.google.protobuf.Descriptors.EnumValueDescriptor desc) { + public static GID valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) { if (desc.getType() != getDescriptor()) { - throw new java.lang.IllegalArgumentException( - "EnumValueDescriptor is not for this type."); + throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type."); } if (desc.getIndex() == -1) { return UNRECOGNIZED; @@ -22098,15 +25237,18 @@ private GID(int value) { } /** + * + * *
      * Options for handling file UID attribute.
      * 
* * Protobuf enum {@code google.storagetransfer.v1.MetadataOptions.UID} */ - public enum UID - implements com.google.protobuf.ProtocolMessageEnum { + public enum UID implements com.google.protobuf.ProtocolMessageEnum { /** + * + * *
        * UID behavior is unspecified.
        * 
@@ -22115,6 +25257,8 @@ public enum UID */ UID_UNSPECIFIED(0), /** + * + * *
        * Do not preserve UID during a transfer job.
        * 
@@ -22123,6 +25267,8 @@ public enum UID */ UID_SKIP(1), /** + * + * *
        * Preserve UID during a transfer job.
        * 
@@ -22134,6 +25280,8 @@ public enum UID ; /** + * + * *
        * UID behavior is unspecified.
        * 
@@ -22142,6 +25290,8 @@ public enum UID */ public static final int UID_UNSPECIFIED_VALUE = 0; /** + * + * *
        * Do not preserve UID during a transfer job.
        * 
@@ -22150,6 +25300,8 @@ public enum UID */ public static final int UID_SKIP_VALUE = 1; /** + * + * *
        * Preserve UID during a transfer job.
        * 
@@ -22158,7 +25310,6 @@ public enum UID */ public static final int UID_NUMBER_VALUE = 2; - public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -22183,49 +25334,51 @@ public static UID valueOf(int value) { */ public static UID forNumber(int value) { switch (value) { - case 0: return UID_UNSPECIFIED; - case 1: return UID_SKIP; - case 2: return UID_NUMBER; - default: return null; + case 0: + return UID_UNSPECIFIED; + case 1: + return UID_SKIP; + case 2: + return UID_NUMBER; + default: + return null; } } - public static com.google.protobuf.Internal.EnumLiteMap - internalGetValueMap() { + public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() { return internalValueMap; } - private static final com.google.protobuf.Internal.EnumLiteMap< - UID> internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public UID findValueByNumber(int number) { - return UID.forNumber(number); - } - }; - public final com.google.protobuf.Descriptors.EnumValueDescriptor - getValueDescriptor() { + private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap() { + public UID findValueByNumber(int number) { + return UID.forNumber(number); + } + }; + + public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalStateException( "Can't get the descriptor of an unrecognized enum value."); } return getDescriptor().getValues().get(ordinal()); } - public final com.google.protobuf.Descriptors.EnumDescriptor - getDescriptorForType() { + + public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() { return getDescriptor(); } - public static final com.google.protobuf.Descriptors.EnumDescriptor - getDescriptor() { - return com.google.storagetransfer.v1.proto.TransferTypes.MetadataOptions.getDescriptor().getEnumTypes().get(3); + + public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { + return com.google.storagetransfer.v1.proto.TransferTypes.MetadataOptions.getDescriptor() + .getEnumTypes() + .get(3); } private static final UID[] VALUES = values(); - public static UID valueOf( - com.google.protobuf.Descriptors.EnumValueDescriptor desc) { + public static UID valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) { if (desc.getType() != getDescriptor()) { - throw new java.lang.IllegalArgumentException( - "EnumValueDescriptor is not for this type."); + throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type."); } if (desc.getIndex() == -1) { return UNRECOGNIZED; @@ -22243,15 +25396,18 @@ private UID(int value) { } /** + * + * *
      * Options for handling Cloud Storage object ACLs.
      * 
* * Protobuf enum {@code google.storagetransfer.v1.MetadataOptions.Acl} */ - public enum Acl - implements com.google.protobuf.ProtocolMessageEnum { + public enum Acl implements com.google.protobuf.ProtocolMessageEnum { /** + * + * *
        * ACL behavior is unspecified.
        * 
@@ -22260,6 +25416,8 @@ public enum Acl */ ACL_UNSPECIFIED(0), /** + * + * *
        * Use the destination bucket's default object ACLS, if applicable.
        * 
@@ -22268,6 +25426,8 @@ public enum Acl */ ACL_DESTINATION_BUCKET_DEFAULT(1), /** + * + * *
        * Preserve the object's original ACLs. This requires the service account
        * to have `storage.objects.getIamPolicy` permission for the source object.
@@ -22283,6 +25443,8 @@ public enum Acl
       ;
 
       /**
+       *
+       *
        * 
        * ACL behavior is unspecified.
        * 
@@ -22291,6 +25453,8 @@ public enum Acl */ public static final int ACL_UNSPECIFIED_VALUE = 0; /** + * + * *
        * Use the destination bucket's default object ACLS, if applicable.
        * 
@@ -22299,6 +25463,8 @@ public enum Acl */ public static final int ACL_DESTINATION_BUCKET_DEFAULT_VALUE = 1; /** + * + * *
        * Preserve the object's original ACLs. This requires the service account
        * to have `storage.objects.getIamPolicy` permission for the source object.
@@ -22311,7 +25477,6 @@ public enum Acl
        */
       public static final int ACL_PRESERVE_VALUE = 2;
 
-
       public final int getNumber() {
         if (this == UNRECOGNIZED) {
           throw new java.lang.IllegalArgumentException(
@@ -22336,49 +25501,51 @@ public static Acl valueOf(int value) {
        */
       public static Acl forNumber(int value) {
         switch (value) {
-          case 0: return ACL_UNSPECIFIED;
-          case 1: return ACL_DESTINATION_BUCKET_DEFAULT;
-          case 2: return ACL_PRESERVE;
-          default: return null;
+          case 0:
+            return ACL_UNSPECIFIED;
+          case 1:
+            return ACL_DESTINATION_BUCKET_DEFAULT;
+          case 2:
+            return ACL_PRESERVE;
+          default:
+            return null;
         }
       }
 
-      public static com.google.protobuf.Internal.EnumLiteMap
-          internalGetValueMap() {
+      public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() {
         return internalValueMap;
       }
-      private static final com.google.protobuf.Internal.EnumLiteMap<
-          Acl> internalValueMap =
-            new com.google.protobuf.Internal.EnumLiteMap() {
-              public Acl findValueByNumber(int number) {
-                return Acl.forNumber(number);
-              }
-            };
 
-      public final com.google.protobuf.Descriptors.EnumValueDescriptor
-          getValueDescriptor() {
+      private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap =
+          new com.google.protobuf.Internal.EnumLiteMap() {
+            public Acl findValueByNumber(int number) {
+              return Acl.forNumber(number);
+            }
+          };
+
+      public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() {
         if (this == UNRECOGNIZED) {
           throw new java.lang.IllegalStateException(
               "Can't get the descriptor of an unrecognized enum value.");
         }
         return getDescriptor().getValues().get(ordinal());
       }
-      public final com.google.protobuf.Descriptors.EnumDescriptor
-          getDescriptorForType() {
+
+      public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() {
         return getDescriptor();
       }
-      public static final com.google.protobuf.Descriptors.EnumDescriptor
-          getDescriptor() {
-        return com.google.storagetransfer.v1.proto.TransferTypes.MetadataOptions.getDescriptor().getEnumTypes().get(4);
+
+      public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() {
+        return com.google.storagetransfer.v1.proto.TransferTypes.MetadataOptions.getDescriptor()
+            .getEnumTypes()
+            .get(4);
       }
 
       private static final Acl[] VALUES = values();
 
-      public static Acl valueOf(
-          com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
+      public static Acl valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
         if (desc.getType() != getDescriptor()) {
-          throw new java.lang.IllegalArgumentException(
-            "EnumValueDescriptor is not for this type.");
+          throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type.");
         }
         if (desc.getIndex() == -1) {
           return UNRECOGNIZED;
@@ -22396,15 +25563,18 @@ private Acl(int value) {
     }
 
     /**
+     *
+     *
      * 
      * Options for handling Google Cloud Storage object storage class.
      * 
* * Protobuf enum {@code google.storagetransfer.v1.MetadataOptions.StorageClass} */ - public enum StorageClass - implements com.google.protobuf.ProtocolMessageEnum { + public enum StorageClass implements com.google.protobuf.ProtocolMessageEnum { /** + * + * *
        * Storage class behavior is unspecified.
        * 
@@ -22413,6 +25583,8 @@ public enum StorageClass */ STORAGE_CLASS_UNSPECIFIED(0), /** + * + * *
        * Use the destination bucket's default storage class.
        * 
@@ -22421,6 +25593,8 @@ public enum StorageClass */ STORAGE_CLASS_DESTINATION_BUCKET_DEFAULT(1), /** + * + * *
        * Preserve the object's original storage class. This is only supported for
        * transfers from Google Cloud Storage buckets.
@@ -22430,6 +25604,8 @@ public enum StorageClass
        */
       STORAGE_CLASS_PRESERVE(2),
       /**
+       *
+       *
        * 
        * Set the storage class to STANDARD.
        * 
@@ -22438,6 +25614,8 @@ public enum StorageClass */ STORAGE_CLASS_STANDARD(3), /** + * + * *
        * Set the storage class to NEARLINE.
        * 
@@ -22446,6 +25624,8 @@ public enum StorageClass */ STORAGE_CLASS_NEARLINE(4), /** + * + * *
        * Set the storage class to COLDLINE.
        * 
@@ -22454,6 +25634,8 @@ public enum StorageClass */ STORAGE_CLASS_COLDLINE(5), /** + * + * *
        * Set the storage class to ARCHIVE.
        * 
@@ -22465,6 +25647,8 @@ public enum StorageClass ; /** + * + * *
        * Storage class behavior is unspecified.
        * 
@@ -22473,6 +25657,8 @@ public enum StorageClass */ public static final int STORAGE_CLASS_UNSPECIFIED_VALUE = 0; /** + * + * *
        * Use the destination bucket's default storage class.
        * 
@@ -22481,6 +25667,8 @@ public enum StorageClass */ public static final int STORAGE_CLASS_DESTINATION_BUCKET_DEFAULT_VALUE = 1; /** + * + * *
        * Preserve the object's original storage class. This is only supported for
        * transfers from Google Cloud Storage buckets.
@@ -22490,6 +25678,8 @@ public enum StorageClass
        */
       public static final int STORAGE_CLASS_PRESERVE_VALUE = 2;
       /**
+       *
+       *
        * 
        * Set the storage class to STANDARD.
        * 
@@ -22498,6 +25688,8 @@ public enum StorageClass */ public static final int STORAGE_CLASS_STANDARD_VALUE = 3; /** + * + * *
        * Set the storage class to NEARLINE.
        * 
@@ -22506,6 +25698,8 @@ public enum StorageClass */ public static final int STORAGE_CLASS_NEARLINE_VALUE = 4; /** + * + * *
        * Set the storage class to COLDLINE.
        * 
@@ -22514,6 +25708,8 @@ public enum StorageClass */ public static final int STORAGE_CLASS_COLDLINE_VALUE = 5; /** + * + * *
        * Set the storage class to ARCHIVE.
        * 
@@ -22522,7 +25718,6 @@ public enum StorageClass */ public static final int STORAGE_CLASS_ARCHIVE_VALUE = 6; - public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -22547,53 +25742,59 @@ public static StorageClass valueOf(int value) { */ public static StorageClass forNumber(int value) { switch (value) { - case 0: return STORAGE_CLASS_UNSPECIFIED; - case 1: return STORAGE_CLASS_DESTINATION_BUCKET_DEFAULT; - case 2: return STORAGE_CLASS_PRESERVE; - case 3: return STORAGE_CLASS_STANDARD; - case 4: return STORAGE_CLASS_NEARLINE; - case 5: return STORAGE_CLASS_COLDLINE; - case 6: return STORAGE_CLASS_ARCHIVE; - default: return null; - } - } - - public static com.google.protobuf.Internal.EnumLiteMap - internalGetValueMap() { + case 0: + return STORAGE_CLASS_UNSPECIFIED; + case 1: + return STORAGE_CLASS_DESTINATION_BUCKET_DEFAULT; + case 2: + return STORAGE_CLASS_PRESERVE; + case 3: + return STORAGE_CLASS_STANDARD; + case 4: + return STORAGE_CLASS_NEARLINE; + case 5: + return STORAGE_CLASS_COLDLINE; + case 6: + return STORAGE_CLASS_ARCHIVE; + default: + return null; + } + } + + public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() { return internalValueMap; } - private static final com.google.protobuf.Internal.EnumLiteMap< - StorageClass> internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public StorageClass findValueByNumber(int number) { - return StorageClass.forNumber(number); - } - }; - public final com.google.protobuf.Descriptors.EnumValueDescriptor - getValueDescriptor() { + private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap() { + public StorageClass findValueByNumber(int number) { + return StorageClass.forNumber(number); + } + }; + + public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalStateException( "Can't get the descriptor of an unrecognized enum value."); } return getDescriptor().getValues().get(ordinal()); } - public final com.google.protobuf.Descriptors.EnumDescriptor - getDescriptorForType() { + + public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() { return getDescriptor(); } - public static final com.google.protobuf.Descriptors.EnumDescriptor - getDescriptor() { - return com.google.storagetransfer.v1.proto.TransferTypes.MetadataOptions.getDescriptor().getEnumTypes().get(5); + + public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { + return com.google.storagetransfer.v1.proto.TransferTypes.MetadataOptions.getDescriptor() + .getEnumTypes() + .get(5); } private static final StorageClass[] VALUES = values(); - public static StorageClass valueOf( - com.google.protobuf.Descriptors.EnumValueDescriptor desc) { + public static StorageClass valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) { if (desc.getType() != getDescriptor()) { - throw new java.lang.IllegalArgumentException( - "EnumValueDescriptor is not for this type."); + throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type."); } if (desc.getIndex() == -1) { return UNRECOGNIZED; @@ -22611,15 +25812,18 @@ private StorageClass(int value) { } /** + * + * *
      * Options for handling temporary holds for Google Cloud Storage objects.
      * 
* * Protobuf enum {@code google.storagetransfer.v1.MetadataOptions.TemporaryHold} */ - public enum TemporaryHold - implements com.google.protobuf.ProtocolMessageEnum { + public enum TemporaryHold implements com.google.protobuf.ProtocolMessageEnum { /** + * + * *
        * Temporary hold behavior is unspecified.
        * 
@@ -22628,6 +25832,8 @@ public enum TemporaryHold */ TEMPORARY_HOLD_UNSPECIFIED(0), /** + * + * *
        * Do not set a temporary hold on the destination object.
        * 
@@ -22636,6 +25842,8 @@ public enum TemporaryHold */ TEMPORARY_HOLD_SKIP(1), /** + * + * *
        * Preserve the object's original temporary hold status.
        * 
@@ -22647,6 +25855,8 @@ public enum TemporaryHold ; /** + * + * *
        * Temporary hold behavior is unspecified.
        * 
@@ -22655,6 +25865,8 @@ public enum TemporaryHold */ public static final int TEMPORARY_HOLD_UNSPECIFIED_VALUE = 0; /** + * + * *
        * Do not set a temporary hold on the destination object.
        * 
@@ -22663,6 +25875,8 @@ public enum TemporaryHold */ public static final int TEMPORARY_HOLD_SKIP_VALUE = 1; /** + * + * *
        * Preserve the object's original temporary hold status.
        * 
@@ -22671,7 +25885,6 @@ public enum TemporaryHold */ public static final int TEMPORARY_HOLD_PRESERVE_VALUE = 2; - public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -22696,40 +25909,45 @@ public static TemporaryHold valueOf(int value) { */ public static TemporaryHold forNumber(int value) { switch (value) { - case 0: return TEMPORARY_HOLD_UNSPECIFIED; - case 1: return TEMPORARY_HOLD_SKIP; - case 2: return TEMPORARY_HOLD_PRESERVE; - default: return null; + case 0: + return TEMPORARY_HOLD_UNSPECIFIED; + case 1: + return TEMPORARY_HOLD_SKIP; + case 2: + return TEMPORARY_HOLD_PRESERVE; + default: + return null; } } - public static com.google.protobuf.Internal.EnumLiteMap - internalGetValueMap() { + public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() { return internalValueMap; } - private static final com.google.protobuf.Internal.EnumLiteMap< - TemporaryHold> internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public TemporaryHold findValueByNumber(int number) { - return TemporaryHold.forNumber(number); - } - }; - public final com.google.protobuf.Descriptors.EnumValueDescriptor - getValueDescriptor() { + private static final com.google.protobuf.Internal.EnumLiteMap + internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap() { + public TemporaryHold findValueByNumber(int number) { + return TemporaryHold.forNumber(number); + } + }; + + public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalStateException( "Can't get the descriptor of an unrecognized enum value."); } return getDescriptor().getValues().get(ordinal()); } - public final com.google.protobuf.Descriptors.EnumDescriptor - getDescriptorForType() { + + public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() { return getDescriptor(); } - public static final com.google.protobuf.Descriptors.EnumDescriptor - getDescriptor() { - return com.google.storagetransfer.v1.proto.TransferTypes.MetadataOptions.getDescriptor().getEnumTypes().get(6); + + public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { + return com.google.storagetransfer.v1.proto.TransferTypes.MetadataOptions.getDescriptor() + .getEnumTypes() + .get(6); } private static final TemporaryHold[] VALUES = values(); @@ -22737,8 +25955,7 @@ public TemporaryHold findValueByNumber(int number) { public static TemporaryHold valueOf( com.google.protobuf.Descriptors.EnumValueDescriptor desc) { if (desc.getType() != getDescriptor()) { - throw new java.lang.IllegalArgumentException( - "EnumValueDescriptor is not for this type."); + throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type."); } if (desc.getIndex() == -1) { return UNRECOGNIZED; @@ -22756,15 +25973,18 @@ private TemporaryHold(int value) { } /** + * + * *
      * Options for handling the KmsKey setting for Google Cloud Storage objects.
      * 
* * Protobuf enum {@code google.storagetransfer.v1.MetadataOptions.KmsKey} */ - public enum KmsKey - implements com.google.protobuf.ProtocolMessageEnum { + public enum KmsKey implements com.google.protobuf.ProtocolMessageEnum { /** + * + * *
        * KmsKey behavior is unspecified.
        * 
@@ -22773,6 +25993,8 @@ public enum KmsKey */ KMS_KEY_UNSPECIFIED(0), /** + * + * *
        * Use the destination bucket's default encryption settings.
        * 
@@ -22781,6 +26003,8 @@ public enum KmsKey */ KMS_KEY_DESTINATION_BUCKET_DEFAULT(1), /** + * + * *
        * Preserve the object's original Cloud KMS customer-managed encryption key
        * (CMEK) if present. Objects that do not use a Cloud KMS encryption key
@@ -22794,6 +26018,8 @@ public enum KmsKey
       ;
 
       /**
+       *
+       *
        * 
        * KmsKey behavior is unspecified.
        * 
@@ -22802,6 +26028,8 @@ public enum KmsKey */ public static final int KMS_KEY_UNSPECIFIED_VALUE = 0; /** + * + * *
        * Use the destination bucket's default encryption settings.
        * 
@@ -22810,6 +26038,8 @@ public enum KmsKey */ public static final int KMS_KEY_DESTINATION_BUCKET_DEFAULT_VALUE = 1; /** + * + * *
        * Preserve the object's original Cloud KMS customer-managed encryption key
        * (CMEK) if present. Objects that do not use a Cloud KMS encryption key
@@ -22820,7 +26050,6 @@ public enum KmsKey
        */
       public static final int KMS_KEY_PRESERVE_VALUE = 2;
 
-
       public final int getNumber() {
         if (this == UNRECOGNIZED) {
           throw new java.lang.IllegalArgumentException(
@@ -22845,49 +26074,51 @@ public static KmsKey valueOf(int value) {
        */
       public static KmsKey forNumber(int value) {
         switch (value) {
-          case 0: return KMS_KEY_UNSPECIFIED;
-          case 1: return KMS_KEY_DESTINATION_BUCKET_DEFAULT;
-          case 2: return KMS_KEY_PRESERVE;
-          default: return null;
+          case 0:
+            return KMS_KEY_UNSPECIFIED;
+          case 1:
+            return KMS_KEY_DESTINATION_BUCKET_DEFAULT;
+          case 2:
+            return KMS_KEY_PRESERVE;
+          default:
+            return null;
         }
       }
 
-      public static com.google.protobuf.Internal.EnumLiteMap
-          internalGetValueMap() {
+      public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() {
         return internalValueMap;
       }
-      private static final com.google.protobuf.Internal.EnumLiteMap<
-          KmsKey> internalValueMap =
-            new com.google.protobuf.Internal.EnumLiteMap() {
-              public KmsKey findValueByNumber(int number) {
-                return KmsKey.forNumber(number);
-              }
-            };
 
-      public final com.google.protobuf.Descriptors.EnumValueDescriptor
-          getValueDescriptor() {
+      private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap =
+          new com.google.protobuf.Internal.EnumLiteMap() {
+            public KmsKey findValueByNumber(int number) {
+              return KmsKey.forNumber(number);
+            }
+          };
+
+      public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() {
         if (this == UNRECOGNIZED) {
           throw new java.lang.IllegalStateException(
               "Can't get the descriptor of an unrecognized enum value.");
         }
         return getDescriptor().getValues().get(ordinal());
       }
-      public final com.google.protobuf.Descriptors.EnumDescriptor
-          getDescriptorForType() {
+
+      public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() {
         return getDescriptor();
       }
-      public static final com.google.protobuf.Descriptors.EnumDescriptor
-          getDescriptor() {
-        return com.google.storagetransfer.v1.proto.TransferTypes.MetadataOptions.getDescriptor().getEnumTypes().get(7);
+
+      public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() {
+        return com.google.storagetransfer.v1.proto.TransferTypes.MetadataOptions.getDescriptor()
+            .getEnumTypes()
+            .get(7);
       }
 
       private static final KmsKey[] VALUES = values();
 
-      public static KmsKey valueOf(
-          com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
+      public static KmsKey valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
         if (desc.getType() != getDescriptor()) {
-          throw new java.lang.IllegalArgumentException(
-            "EnumValueDescriptor is not for this type.");
+          throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type.");
         }
         if (desc.getIndex() == -1) {
           return UNRECOGNIZED;
@@ -22905,6 +26136,8 @@ private KmsKey(int value) {
     }
 
     /**
+     *
+     *
      * 
      * Options for handling `timeCreated` metadata for Google Cloud Storage
      * objects.
@@ -22912,9 +26145,10 @@ private KmsKey(int value) {
      *
      * Protobuf enum {@code google.storagetransfer.v1.MetadataOptions.TimeCreated}
      */
-    public enum TimeCreated
-        implements com.google.protobuf.ProtocolMessageEnum {
+    public enum TimeCreated implements com.google.protobuf.ProtocolMessageEnum {
       /**
+       *
+       *
        * 
        * TimeCreated behavior is unspecified.
        * 
@@ -22923,6 +26157,8 @@ public enum TimeCreated */ TIME_CREATED_UNSPECIFIED(0), /** + * + * *
        * Do not preserve the `timeCreated` metadata from the source object.
        * 
@@ -22931,6 +26167,8 @@ public enum TimeCreated */ TIME_CREATED_SKIP(1), /** + * + * *
        * Preserves the source object's `timeCreated` metadata in the `customTime`
        * field in the destination object.  Note that any value stored in the
@@ -22945,6 +26183,8 @@ public enum TimeCreated
       ;
 
       /**
+       *
+       *
        * 
        * TimeCreated behavior is unspecified.
        * 
@@ -22953,6 +26193,8 @@ public enum TimeCreated */ public static final int TIME_CREATED_UNSPECIFIED_VALUE = 0; /** + * + * *
        * Do not preserve the `timeCreated` metadata from the source object.
        * 
@@ -22961,6 +26203,8 @@ public enum TimeCreated */ public static final int TIME_CREATED_SKIP_VALUE = 1; /** + * + * *
        * Preserves the source object's `timeCreated` metadata in the `customTime`
        * field in the destination object.  Note that any value stored in the
@@ -22972,7 +26216,6 @@ public enum TimeCreated
        */
       public static final int TIME_CREATED_PRESERVE_AS_CUSTOM_TIME_VALUE = 2;
 
-
       public final int getNumber() {
         if (this == UNRECOGNIZED) {
           throw new java.lang.IllegalArgumentException(
@@ -22997,49 +26240,51 @@ public static TimeCreated valueOf(int value) {
        */
       public static TimeCreated forNumber(int value) {
         switch (value) {
-          case 0: return TIME_CREATED_UNSPECIFIED;
-          case 1: return TIME_CREATED_SKIP;
-          case 2: return TIME_CREATED_PRESERVE_AS_CUSTOM_TIME;
-          default: return null;
+          case 0:
+            return TIME_CREATED_UNSPECIFIED;
+          case 1:
+            return TIME_CREATED_SKIP;
+          case 2:
+            return TIME_CREATED_PRESERVE_AS_CUSTOM_TIME;
+          default:
+            return null;
         }
       }
 
-      public static com.google.protobuf.Internal.EnumLiteMap
-          internalGetValueMap() {
+      public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() {
         return internalValueMap;
       }
-      private static final com.google.protobuf.Internal.EnumLiteMap<
-          TimeCreated> internalValueMap =
-            new com.google.protobuf.Internal.EnumLiteMap() {
-              public TimeCreated findValueByNumber(int number) {
-                return TimeCreated.forNumber(number);
-              }
-            };
 
-      public final com.google.protobuf.Descriptors.EnumValueDescriptor
-          getValueDescriptor() {
+      private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap =
+          new com.google.protobuf.Internal.EnumLiteMap() {
+            public TimeCreated findValueByNumber(int number) {
+              return TimeCreated.forNumber(number);
+            }
+          };
+
+      public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() {
         if (this == UNRECOGNIZED) {
           throw new java.lang.IllegalStateException(
               "Can't get the descriptor of an unrecognized enum value.");
         }
         return getDescriptor().getValues().get(ordinal());
       }
-      public final com.google.protobuf.Descriptors.EnumDescriptor
-          getDescriptorForType() {
+
+      public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() {
         return getDescriptor();
       }
-      public static final com.google.protobuf.Descriptors.EnumDescriptor
-          getDescriptor() {
-        return com.google.storagetransfer.v1.proto.TransferTypes.MetadataOptions.getDescriptor().getEnumTypes().get(8);
+
+      public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() {
+        return com.google.storagetransfer.v1.proto.TransferTypes.MetadataOptions.getDescriptor()
+            .getEnumTypes()
+            .get(8);
       }
 
       private static final TimeCreated[] VALUES = values();
 
-      public static TimeCreated valueOf(
-          com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
+      public static TimeCreated valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
         if (desc.getType() != getDescriptor()) {
-          throw new java.lang.IllegalArgumentException(
-            "EnumValueDescriptor is not for this type.");
+          throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type.");
         }
         if (desc.getIndex() == -1) {
           return UNRECOGNIZED;
@@ -23059,6 +26304,8 @@ private TimeCreated(int value) {
     public static final int SYMLINK_FIELD_NUMBER = 1;
     private int symlink_;
     /**
+     *
+     *
      * 
      * Specifies how symlinks should be handled by the transfer. By default,
      * symlinks are not preserved. Only applicable to transfers involving
@@ -23066,12 +26313,16 @@ private TimeCreated(int value) {
      * 
* * .google.storagetransfer.v1.MetadataOptions.Symlink symlink = 1; + * * @return The enum numeric value on the wire for symlink. */ - @java.lang.Override public int getSymlinkValue() { + @java.lang.Override + public int getSymlinkValue() { return symlink_; } /** + * + * *
      * Specifies how symlinks should be handled by the transfer. By default,
      * symlinks are not preserved. Only applicable to transfers involving
@@ -23079,17 +26330,25 @@ private TimeCreated(int value) {
      * 
* * .google.storagetransfer.v1.MetadataOptions.Symlink symlink = 1; + * * @return The symlink. */ - @java.lang.Override public com.google.storagetransfer.v1.proto.TransferTypes.MetadataOptions.Symlink getSymlink() { + @java.lang.Override + public com.google.storagetransfer.v1.proto.TransferTypes.MetadataOptions.Symlink getSymlink() { @SuppressWarnings("deprecation") - com.google.storagetransfer.v1.proto.TransferTypes.MetadataOptions.Symlink result = com.google.storagetransfer.v1.proto.TransferTypes.MetadataOptions.Symlink.valueOf(symlink_); - return result == null ? com.google.storagetransfer.v1.proto.TransferTypes.MetadataOptions.Symlink.UNRECOGNIZED : result; + com.google.storagetransfer.v1.proto.TransferTypes.MetadataOptions.Symlink result = + com.google.storagetransfer.v1.proto.TransferTypes.MetadataOptions.Symlink.valueOf( + symlink_); + return result == null + ? com.google.storagetransfer.v1.proto.TransferTypes.MetadataOptions.Symlink.UNRECOGNIZED + : result; } public static final int MODE_FIELD_NUMBER = 2; private int mode_; /** + * + * *
      * Specifies how each file's mode attribute should be handled by the transfer.
      * By default, mode is not preserved. Only applicable to transfers involving
@@ -23097,12 +26356,16 @@ private TimeCreated(int value) {
      * 
* * .google.storagetransfer.v1.MetadataOptions.Mode mode = 2; + * * @return The enum numeric value on the wire for mode. */ - @java.lang.Override public int getModeValue() { + @java.lang.Override + public int getModeValue() { return mode_; } /** + * + * *
      * Specifies how each file's mode attribute should be handled by the transfer.
      * By default, mode is not preserved. Only applicable to transfers involving
@@ -23110,17 +26373,24 @@ private TimeCreated(int value) {
      * 
* * .google.storagetransfer.v1.MetadataOptions.Mode mode = 2; + * * @return The mode. */ - @java.lang.Override public com.google.storagetransfer.v1.proto.TransferTypes.MetadataOptions.Mode getMode() { + @java.lang.Override + public com.google.storagetransfer.v1.proto.TransferTypes.MetadataOptions.Mode getMode() { @SuppressWarnings("deprecation") - com.google.storagetransfer.v1.proto.TransferTypes.MetadataOptions.Mode result = com.google.storagetransfer.v1.proto.TransferTypes.MetadataOptions.Mode.valueOf(mode_); - return result == null ? com.google.storagetransfer.v1.proto.TransferTypes.MetadataOptions.Mode.UNRECOGNIZED : result; + com.google.storagetransfer.v1.proto.TransferTypes.MetadataOptions.Mode result = + com.google.storagetransfer.v1.proto.TransferTypes.MetadataOptions.Mode.valueOf(mode_); + return result == null + ? com.google.storagetransfer.v1.proto.TransferTypes.MetadataOptions.Mode.UNRECOGNIZED + : result; } public static final int GID_FIELD_NUMBER = 3; private int gid_; /** + * + * *
      * Specifies how each file's POSIX group ID (GID) attribute should be handled
      * by the transfer. By default, GID is not preserved. Only applicable to
@@ -23128,12 +26398,16 @@ private TimeCreated(int value) {
      * 
* * .google.storagetransfer.v1.MetadataOptions.GID gid = 3; + * * @return The enum numeric value on the wire for gid. */ - @java.lang.Override public int getGidValue() { + @java.lang.Override + public int getGidValue() { return gid_; } /** + * + * *
      * Specifies how each file's POSIX group ID (GID) attribute should be handled
      * by the transfer. By default, GID is not preserved. Only applicable to
@@ -23141,17 +26415,24 @@ private TimeCreated(int value) {
      * 
* * .google.storagetransfer.v1.MetadataOptions.GID gid = 3; + * * @return The gid. */ - @java.lang.Override public com.google.storagetransfer.v1.proto.TransferTypes.MetadataOptions.GID getGid() { + @java.lang.Override + public com.google.storagetransfer.v1.proto.TransferTypes.MetadataOptions.GID getGid() { @SuppressWarnings("deprecation") - com.google.storagetransfer.v1.proto.TransferTypes.MetadataOptions.GID result = com.google.storagetransfer.v1.proto.TransferTypes.MetadataOptions.GID.valueOf(gid_); - return result == null ? com.google.storagetransfer.v1.proto.TransferTypes.MetadataOptions.GID.UNRECOGNIZED : result; + com.google.storagetransfer.v1.proto.TransferTypes.MetadataOptions.GID result = + com.google.storagetransfer.v1.proto.TransferTypes.MetadataOptions.GID.valueOf(gid_); + return result == null + ? com.google.storagetransfer.v1.proto.TransferTypes.MetadataOptions.GID.UNRECOGNIZED + : result; } public static final int UID_FIELD_NUMBER = 4; private int uid_; /** + * + * *
      * Specifies how each file's POSIX user ID (UID) attribute should be handled
      * by the transfer. By default, UID is not preserved. Only applicable to
@@ -23159,12 +26440,16 @@ private TimeCreated(int value) {
      * 
* * .google.storagetransfer.v1.MetadataOptions.UID uid = 4; + * * @return The enum numeric value on the wire for uid. */ - @java.lang.Override public int getUidValue() { + @java.lang.Override + public int getUidValue() { return uid_; } /** + * + * *
      * Specifies how each file's POSIX user ID (UID) attribute should be handled
      * by the transfer. By default, UID is not preserved. Only applicable to
@@ -23172,17 +26457,24 @@ private TimeCreated(int value) {
      * 
* * .google.storagetransfer.v1.MetadataOptions.UID uid = 4; + * * @return The uid. */ - @java.lang.Override public com.google.storagetransfer.v1.proto.TransferTypes.MetadataOptions.UID getUid() { + @java.lang.Override + public com.google.storagetransfer.v1.proto.TransferTypes.MetadataOptions.UID getUid() { @SuppressWarnings("deprecation") - com.google.storagetransfer.v1.proto.TransferTypes.MetadataOptions.UID result = com.google.storagetransfer.v1.proto.TransferTypes.MetadataOptions.UID.valueOf(uid_); - return result == null ? com.google.storagetransfer.v1.proto.TransferTypes.MetadataOptions.UID.UNRECOGNIZED : result; + com.google.storagetransfer.v1.proto.TransferTypes.MetadataOptions.UID result = + com.google.storagetransfer.v1.proto.TransferTypes.MetadataOptions.UID.valueOf(uid_); + return result == null + ? com.google.storagetransfer.v1.proto.TransferTypes.MetadataOptions.UID.UNRECOGNIZED + : result; } public static final int ACL_FIELD_NUMBER = 5; private int acl_; /** + * + * *
      * Specifies how each object's ACLs should be preserved for transfers between
      * Google Cloud Storage buckets. If unspecified, the default behavior is the
@@ -23190,12 +26482,16 @@ private TimeCreated(int value) {
      * 
* * .google.storagetransfer.v1.MetadataOptions.Acl acl = 5; + * * @return The enum numeric value on the wire for acl. */ - @java.lang.Override public int getAclValue() { + @java.lang.Override + public int getAclValue() { return acl_; } /** + * + * *
      * Specifies how each object's ACLs should be preserved for transfers between
      * Google Cloud Storage buckets. If unspecified, the default behavior is the
@@ -23203,17 +26499,24 @@ private TimeCreated(int value) {
      * 
* * .google.storagetransfer.v1.MetadataOptions.Acl acl = 5; + * * @return The acl. */ - @java.lang.Override public com.google.storagetransfer.v1.proto.TransferTypes.MetadataOptions.Acl getAcl() { + @java.lang.Override + public com.google.storagetransfer.v1.proto.TransferTypes.MetadataOptions.Acl getAcl() { @SuppressWarnings("deprecation") - com.google.storagetransfer.v1.proto.TransferTypes.MetadataOptions.Acl result = com.google.storagetransfer.v1.proto.TransferTypes.MetadataOptions.Acl.valueOf(acl_); - return result == null ? com.google.storagetransfer.v1.proto.TransferTypes.MetadataOptions.Acl.UNRECOGNIZED : result; + com.google.storagetransfer.v1.proto.TransferTypes.MetadataOptions.Acl result = + com.google.storagetransfer.v1.proto.TransferTypes.MetadataOptions.Acl.valueOf(acl_); + return result == null + ? com.google.storagetransfer.v1.proto.TransferTypes.MetadataOptions.Acl.UNRECOGNIZED + : result; } public static final int STORAGE_CLASS_FIELD_NUMBER = 6; private int storageClass_; /** + * + * *
      * Specifies the storage class to set on objects being transferred to Google
      * Cloud Storage buckets.  If unspecified, the default behavior is the same as
@@ -23221,12 +26524,16 @@ private TimeCreated(int value) {
      * 
* * .google.storagetransfer.v1.MetadataOptions.StorageClass storage_class = 6; + * * @return The enum numeric value on the wire for storageClass. */ - @java.lang.Override public int getStorageClassValue() { + @java.lang.Override + public int getStorageClassValue() { return storageClass_; } /** + * + * *
      * Specifies the storage class to set on objects being transferred to Google
      * Cloud Storage buckets.  If unspecified, the default behavior is the same as
@@ -23234,17 +26541,27 @@ private TimeCreated(int value) {
      * 
* * .google.storagetransfer.v1.MetadataOptions.StorageClass storage_class = 6; + * * @return The storageClass. */ - @java.lang.Override public com.google.storagetransfer.v1.proto.TransferTypes.MetadataOptions.StorageClass getStorageClass() { + @java.lang.Override + public com.google.storagetransfer.v1.proto.TransferTypes.MetadataOptions.StorageClass + getStorageClass() { @SuppressWarnings("deprecation") - com.google.storagetransfer.v1.proto.TransferTypes.MetadataOptions.StorageClass result = com.google.storagetransfer.v1.proto.TransferTypes.MetadataOptions.StorageClass.valueOf(storageClass_); - return result == null ? com.google.storagetransfer.v1.proto.TransferTypes.MetadataOptions.StorageClass.UNRECOGNIZED : result; + com.google.storagetransfer.v1.proto.TransferTypes.MetadataOptions.StorageClass result = + com.google.storagetransfer.v1.proto.TransferTypes.MetadataOptions.StorageClass.valueOf( + storageClass_); + return result == null + ? com.google.storagetransfer.v1.proto.TransferTypes.MetadataOptions.StorageClass + .UNRECOGNIZED + : result; } public static final int TEMPORARY_HOLD_FIELD_NUMBER = 7; private int temporaryHold_; /** + * + * *
      * Specifies how each object's temporary hold status should be preserved for
      * transfers between Google Cloud Storage buckets.  If unspecified, the
@@ -23253,12 +26570,16 @@ private TimeCreated(int value) {
      * 
* * .google.storagetransfer.v1.MetadataOptions.TemporaryHold temporary_hold = 7; + * * @return The enum numeric value on the wire for temporaryHold. */ - @java.lang.Override public int getTemporaryHoldValue() { + @java.lang.Override + public int getTemporaryHoldValue() { return temporaryHold_; } /** + * + * *
      * Specifies how each object's temporary hold status should be preserved for
      * transfers between Google Cloud Storage buckets.  If unspecified, the
@@ -23267,17 +26588,27 @@ private TimeCreated(int value) {
      * 
* * .google.storagetransfer.v1.MetadataOptions.TemporaryHold temporary_hold = 7; + * * @return The temporaryHold. */ - @java.lang.Override public com.google.storagetransfer.v1.proto.TransferTypes.MetadataOptions.TemporaryHold getTemporaryHold() { + @java.lang.Override + public com.google.storagetransfer.v1.proto.TransferTypes.MetadataOptions.TemporaryHold + getTemporaryHold() { @SuppressWarnings("deprecation") - com.google.storagetransfer.v1.proto.TransferTypes.MetadataOptions.TemporaryHold result = com.google.storagetransfer.v1.proto.TransferTypes.MetadataOptions.TemporaryHold.valueOf(temporaryHold_); - return result == null ? com.google.storagetransfer.v1.proto.TransferTypes.MetadataOptions.TemporaryHold.UNRECOGNIZED : result; + com.google.storagetransfer.v1.proto.TransferTypes.MetadataOptions.TemporaryHold result = + com.google.storagetransfer.v1.proto.TransferTypes.MetadataOptions.TemporaryHold.valueOf( + temporaryHold_); + return result == null + ? com.google.storagetransfer.v1.proto.TransferTypes.MetadataOptions.TemporaryHold + .UNRECOGNIZED + : result; } public static final int KMS_KEY_FIELD_NUMBER = 8; private int kmsKey_; /** + * + * *
      * Specifies how each object's Cloud KMS customer-managed encryption key
      * (CMEK) is preserved for transfers between Google Cloud Storage buckets.  If
@@ -23286,12 +26617,16 @@ private TimeCreated(int value) {
      * 
* * .google.storagetransfer.v1.MetadataOptions.KmsKey kms_key = 8; + * * @return The enum numeric value on the wire for kmsKey. */ - @java.lang.Override public int getKmsKeyValue() { + @java.lang.Override + public int getKmsKeyValue() { return kmsKey_; } /** + * + * *
      * Specifies how each object's Cloud KMS customer-managed encryption key
      * (CMEK) is preserved for transfers between Google Cloud Storage buckets.  If
@@ -23300,17 +26635,24 @@ private TimeCreated(int value) {
      * 
* * .google.storagetransfer.v1.MetadataOptions.KmsKey kms_key = 8; + * * @return The kmsKey. */ - @java.lang.Override public com.google.storagetransfer.v1.proto.TransferTypes.MetadataOptions.KmsKey getKmsKey() { + @java.lang.Override + public com.google.storagetransfer.v1.proto.TransferTypes.MetadataOptions.KmsKey getKmsKey() { @SuppressWarnings("deprecation") - com.google.storagetransfer.v1.proto.TransferTypes.MetadataOptions.KmsKey result = com.google.storagetransfer.v1.proto.TransferTypes.MetadataOptions.KmsKey.valueOf(kmsKey_); - return result == null ? com.google.storagetransfer.v1.proto.TransferTypes.MetadataOptions.KmsKey.UNRECOGNIZED : result; + com.google.storagetransfer.v1.proto.TransferTypes.MetadataOptions.KmsKey result = + com.google.storagetransfer.v1.proto.TransferTypes.MetadataOptions.KmsKey.valueOf(kmsKey_); + return result == null + ? com.google.storagetransfer.v1.proto.TransferTypes.MetadataOptions.KmsKey.UNRECOGNIZED + : result; } public static final int TIME_CREATED_FIELD_NUMBER = 9; private int timeCreated_; /** + * + * *
      * Specifies how each object's `timeCreated` metadata is preserved for
      * transfers between Google Cloud Storage buckets.  If unspecified, the
@@ -23319,12 +26661,16 @@ private TimeCreated(int value) {
      * 
* * .google.storagetransfer.v1.MetadataOptions.TimeCreated time_created = 9; + * * @return The enum numeric value on the wire for timeCreated. */ - @java.lang.Override public int getTimeCreatedValue() { + @java.lang.Override + public int getTimeCreatedValue() { return timeCreated_; } /** + * + * *
      * Specifies how each object's `timeCreated` metadata is preserved for
      * transfers between Google Cloud Storage buckets.  If unspecified, the
@@ -23333,15 +26679,24 @@ private TimeCreated(int value) {
      * 
* * .google.storagetransfer.v1.MetadataOptions.TimeCreated time_created = 9; + * * @return The timeCreated. */ - @java.lang.Override public com.google.storagetransfer.v1.proto.TransferTypes.MetadataOptions.TimeCreated getTimeCreated() { + @java.lang.Override + public com.google.storagetransfer.v1.proto.TransferTypes.MetadataOptions.TimeCreated + getTimeCreated() { @SuppressWarnings("deprecation") - com.google.storagetransfer.v1.proto.TransferTypes.MetadataOptions.TimeCreated result = com.google.storagetransfer.v1.proto.TransferTypes.MetadataOptions.TimeCreated.valueOf(timeCreated_); - return result == null ? com.google.storagetransfer.v1.proto.TransferTypes.MetadataOptions.TimeCreated.UNRECOGNIZED : result; + com.google.storagetransfer.v1.proto.TransferTypes.MetadataOptions.TimeCreated result = + com.google.storagetransfer.v1.proto.TransferTypes.MetadataOptions.TimeCreated.valueOf( + timeCreated_); + return result == null + ? com.google.storagetransfer.v1.proto.TransferTypes.MetadataOptions.TimeCreated + .UNRECOGNIZED + : result; } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -23353,33 +26708,55 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { - if (symlink_ != com.google.storagetransfer.v1.proto.TransferTypes.MetadataOptions.Symlink.SYMLINK_UNSPECIFIED.getNumber()) { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + if (symlink_ + != com.google.storagetransfer.v1.proto.TransferTypes.MetadataOptions.Symlink + .SYMLINK_UNSPECIFIED + .getNumber()) { output.writeEnum(1, symlink_); } - if (mode_ != com.google.storagetransfer.v1.proto.TransferTypes.MetadataOptions.Mode.MODE_UNSPECIFIED.getNumber()) { + if (mode_ + != com.google.storagetransfer.v1.proto.TransferTypes.MetadataOptions.Mode.MODE_UNSPECIFIED + .getNumber()) { output.writeEnum(2, mode_); } - if (gid_ != com.google.storagetransfer.v1.proto.TransferTypes.MetadataOptions.GID.GID_UNSPECIFIED.getNumber()) { + if (gid_ + != com.google.storagetransfer.v1.proto.TransferTypes.MetadataOptions.GID.GID_UNSPECIFIED + .getNumber()) { output.writeEnum(3, gid_); } - if (uid_ != com.google.storagetransfer.v1.proto.TransferTypes.MetadataOptions.UID.UID_UNSPECIFIED.getNumber()) { + if (uid_ + != com.google.storagetransfer.v1.proto.TransferTypes.MetadataOptions.UID.UID_UNSPECIFIED + .getNumber()) { output.writeEnum(4, uid_); } - if (acl_ != com.google.storagetransfer.v1.proto.TransferTypes.MetadataOptions.Acl.ACL_UNSPECIFIED.getNumber()) { + if (acl_ + != com.google.storagetransfer.v1.proto.TransferTypes.MetadataOptions.Acl.ACL_UNSPECIFIED + .getNumber()) { output.writeEnum(5, acl_); } - if (storageClass_ != com.google.storagetransfer.v1.proto.TransferTypes.MetadataOptions.StorageClass.STORAGE_CLASS_UNSPECIFIED.getNumber()) { + if (storageClass_ + != com.google.storagetransfer.v1.proto.TransferTypes.MetadataOptions.StorageClass + .STORAGE_CLASS_UNSPECIFIED + .getNumber()) { output.writeEnum(6, storageClass_); } - if (temporaryHold_ != com.google.storagetransfer.v1.proto.TransferTypes.MetadataOptions.TemporaryHold.TEMPORARY_HOLD_UNSPECIFIED.getNumber()) { + if (temporaryHold_ + != com.google.storagetransfer.v1.proto.TransferTypes.MetadataOptions.TemporaryHold + .TEMPORARY_HOLD_UNSPECIFIED + .getNumber()) { output.writeEnum(7, temporaryHold_); } - if (kmsKey_ != com.google.storagetransfer.v1.proto.TransferTypes.MetadataOptions.KmsKey.KMS_KEY_UNSPECIFIED.getNumber()) { + if (kmsKey_ + != com.google.storagetransfer.v1.proto.TransferTypes.MetadataOptions.KmsKey + .KMS_KEY_UNSPECIFIED + .getNumber()) { output.writeEnum(8, kmsKey_); } - if (timeCreated_ != com.google.storagetransfer.v1.proto.TransferTypes.MetadataOptions.TimeCreated.TIME_CREATED_UNSPECIFIED.getNumber()) { + if (timeCreated_ + != com.google.storagetransfer.v1.proto.TransferTypes.MetadataOptions.TimeCreated + .TIME_CREATED_UNSPECIFIED + .getNumber()) { output.writeEnum(9, timeCreated_); } unknownFields.writeTo(output); @@ -23391,41 +26768,55 @@ public int getSerializedSize() { if (size != -1) return size; size = 0; - if (symlink_ != com.google.storagetransfer.v1.proto.TransferTypes.MetadataOptions.Symlink.SYMLINK_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(1, symlink_); - } - if (mode_ != com.google.storagetransfer.v1.proto.TransferTypes.MetadataOptions.Mode.MODE_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(2, mode_); - } - if (gid_ != com.google.storagetransfer.v1.proto.TransferTypes.MetadataOptions.GID.GID_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(3, gid_); - } - if (uid_ != com.google.storagetransfer.v1.proto.TransferTypes.MetadataOptions.UID.UID_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(4, uid_); - } - if (acl_ != com.google.storagetransfer.v1.proto.TransferTypes.MetadataOptions.Acl.ACL_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(5, acl_); - } - if (storageClass_ != com.google.storagetransfer.v1.proto.TransferTypes.MetadataOptions.StorageClass.STORAGE_CLASS_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(6, storageClass_); - } - if (temporaryHold_ != com.google.storagetransfer.v1.proto.TransferTypes.MetadataOptions.TemporaryHold.TEMPORARY_HOLD_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(7, temporaryHold_); - } - if (kmsKey_ != com.google.storagetransfer.v1.proto.TransferTypes.MetadataOptions.KmsKey.KMS_KEY_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(8, kmsKey_); - } - if (timeCreated_ != com.google.storagetransfer.v1.proto.TransferTypes.MetadataOptions.TimeCreated.TIME_CREATED_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(9, timeCreated_); + if (symlink_ + != com.google.storagetransfer.v1.proto.TransferTypes.MetadataOptions.Symlink + .SYMLINK_UNSPECIFIED + .getNumber()) { + size += com.google.protobuf.CodedOutputStream.computeEnumSize(1, symlink_); + } + if (mode_ + != com.google.storagetransfer.v1.proto.TransferTypes.MetadataOptions.Mode.MODE_UNSPECIFIED + .getNumber()) { + size += com.google.protobuf.CodedOutputStream.computeEnumSize(2, mode_); + } + if (gid_ + != com.google.storagetransfer.v1.proto.TransferTypes.MetadataOptions.GID.GID_UNSPECIFIED + .getNumber()) { + size += com.google.protobuf.CodedOutputStream.computeEnumSize(3, gid_); + } + if (uid_ + != com.google.storagetransfer.v1.proto.TransferTypes.MetadataOptions.UID.UID_UNSPECIFIED + .getNumber()) { + size += com.google.protobuf.CodedOutputStream.computeEnumSize(4, uid_); + } + if (acl_ + != com.google.storagetransfer.v1.proto.TransferTypes.MetadataOptions.Acl.ACL_UNSPECIFIED + .getNumber()) { + size += com.google.protobuf.CodedOutputStream.computeEnumSize(5, acl_); + } + if (storageClass_ + != com.google.storagetransfer.v1.proto.TransferTypes.MetadataOptions.StorageClass + .STORAGE_CLASS_UNSPECIFIED + .getNumber()) { + size += com.google.protobuf.CodedOutputStream.computeEnumSize(6, storageClass_); + } + if (temporaryHold_ + != com.google.storagetransfer.v1.proto.TransferTypes.MetadataOptions.TemporaryHold + .TEMPORARY_HOLD_UNSPECIFIED + .getNumber()) { + size += com.google.protobuf.CodedOutputStream.computeEnumSize(7, temporaryHold_); + } + if (kmsKey_ + != com.google.storagetransfer.v1.proto.TransferTypes.MetadataOptions.KmsKey + .KMS_KEY_UNSPECIFIED + .getNumber()) { + size += com.google.protobuf.CodedOutputStream.computeEnumSize(8, kmsKey_); + } + if (timeCreated_ + != com.google.storagetransfer.v1.proto.TransferTypes.MetadataOptions.TimeCreated + .TIME_CREATED_UNSPECIFIED + .getNumber()) { + size += com.google.protobuf.CodedOutputStream.computeEnumSize(9, timeCreated_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -23435,12 +26826,13 @@ 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.storagetransfer.v1.proto.TransferTypes.MetadataOptions)) { return super.equals(obj); } - com.google.storagetransfer.v1.proto.TransferTypes.MetadataOptions other = (com.google.storagetransfer.v1.proto.TransferTypes.MetadataOptions) obj; + com.google.storagetransfer.v1.proto.TransferTypes.MetadataOptions other = + (com.google.storagetransfer.v1.proto.TransferTypes.MetadataOptions) obj; if (symlink_ != other.symlink_) return false; if (mode_ != other.mode_) return false; @@ -23486,87 +26878,95 @@ public int hashCode() { } public static com.google.storagetransfer.v1.proto.TransferTypes.MetadataOptions parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.storagetransfer.v1.proto.TransferTypes.MetadataOptions 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.storagetransfer.v1.proto.TransferTypes.MetadataOptions parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.storagetransfer.v1.proto.TransferTypes.MetadataOptions 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.storagetransfer.v1.proto.TransferTypes.MetadataOptions parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.storagetransfer.v1.proto.TransferTypes.MetadataOptions parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.storagetransfer.v1.proto.TransferTypes.MetadataOptions 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.storagetransfer.v1.proto.TransferTypes.MetadataOptions parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.storagetransfer.v1.proto.TransferTypes.MetadataOptions parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.storagetransfer.v1.proto.TransferTypes.MetadataOptions 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.storagetransfer.v1.proto.TransferTypes.MetadataOptions parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.storagetransfer.v1.proto.TransferTypes.MetadataOptions + parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } - public static com.google.storagetransfer.v1.proto.TransferTypes.MetadataOptions parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + + public static com.google.storagetransfer.v1.proto.TransferTypes.MetadataOptions + parseDelimitedFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.storagetransfer.v1.proto.TransferTypes.MetadataOptions 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.storagetransfer.v1.proto.TransferTypes.MetadataOptions 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.storagetransfer.v1.proto.TransferTypes.MetadataOptions prototype) { + + public static Builder newBuilder( + com.google.storagetransfer.v1.proto.TransferTypes.MetadataOptions 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 @@ -23576,44 +26976,49 @@ protected Builder newBuilderForType( return builder; } /** + * + * *
      * Specifies the metadata options for running a transfer.
      * 
* * Protobuf type {@code google.storagetransfer.v1.MetadataOptions} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder + extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.storagetransfer.v1.MetadataOptions) com.google.storagetransfer.v1.proto.TransferTypes.MetadataOptionsOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.storagetransfer.v1.proto.TransferTypes.internal_static_google_storagetransfer_v1_MetadataOptions_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.storagetransfer.v1.proto.TransferTypes + .internal_static_google_storagetransfer_v1_MetadataOptions_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.storagetransfer.v1.proto.TransferTypes.internal_static_google_storagetransfer_v1_MetadataOptions_fieldAccessorTable + return com.google.storagetransfer.v1.proto.TransferTypes + .internal_static_google_storagetransfer_v1_MetadataOptions_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.storagetransfer.v1.proto.TransferTypes.MetadataOptions.class, com.google.storagetransfer.v1.proto.TransferTypes.MetadataOptions.Builder.class); + com.google.storagetransfer.v1.proto.TransferTypes.MetadataOptions.class, + com.google.storagetransfer.v1.proto.TransferTypes.MetadataOptions.Builder.class); } - // Construct using com.google.storagetransfer.v1.proto.TransferTypes.MetadataOptions.newBuilder() + // Construct using + // com.google.storagetransfer.v1.proto.TransferTypes.MetadataOptions.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -23639,14 +27044,16 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.storagetransfer.v1.proto.TransferTypes.internal_static_google_storagetransfer_v1_MetadataOptions_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.storagetransfer.v1.proto.TransferTypes + .internal_static_google_storagetransfer_v1_MetadataOptions_descriptor; } @java.lang.Override - public com.google.storagetransfer.v1.proto.TransferTypes.MetadataOptions getDefaultInstanceForType() { - return com.google.storagetransfer.v1.proto.TransferTypes.MetadataOptions.getDefaultInstance(); + public com.google.storagetransfer.v1.proto.TransferTypes.MetadataOptions + getDefaultInstanceForType() { + return com.google.storagetransfer.v1.proto.TransferTypes.MetadataOptions + .getDefaultInstance(); } @java.lang.Override @@ -23660,7 +27067,8 @@ public com.google.storagetransfer.v1.proto.TransferTypes.MetadataOptions build() @java.lang.Override public com.google.storagetransfer.v1.proto.TransferTypes.MetadataOptions buildPartial() { - com.google.storagetransfer.v1.proto.TransferTypes.MetadataOptions result = new com.google.storagetransfer.v1.proto.TransferTypes.MetadataOptions(this); + com.google.storagetransfer.v1.proto.TransferTypes.MetadataOptions result = + new com.google.storagetransfer.v1.proto.TransferTypes.MetadataOptions(this); result.symlink_ = symlink_; result.mode_ = mode_; result.gid_ = gid_; @@ -23678,46 +27086,53 @@ public com.google.storagetransfer.v1.proto.TransferTypes.MetadataOptions buildPa public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + int index, + java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.storagetransfer.v1.proto.TransferTypes.MetadataOptions) { - return mergeFrom((com.google.storagetransfer.v1.proto.TransferTypes.MetadataOptions)other); + return mergeFrom( + (com.google.storagetransfer.v1.proto.TransferTypes.MetadataOptions) other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.google.storagetransfer.v1.proto.TransferTypes.MetadataOptions other) { - if (other == com.google.storagetransfer.v1.proto.TransferTypes.MetadataOptions.getDefaultInstance()) return this; + public Builder mergeFrom( + com.google.storagetransfer.v1.proto.TransferTypes.MetadataOptions other) { + if (other + == com.google.storagetransfer.v1.proto.TransferTypes.MetadataOptions + .getDefaultInstance()) return this; if (other.symlink_ != 0) { setSymlinkValue(other.getSymlinkValue()); } @@ -23764,7 +27179,9 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.storagetransfer.v1.proto.TransferTypes.MetadataOptions) e.getUnfinishedMessage(); + parsedMessage = + (com.google.storagetransfer.v1.proto.TransferTypes.MetadataOptions) + e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -23776,6 +27193,8 @@ public Builder mergeFrom( private int symlink_ = 0; /** + * + * *
        * Specifies how symlinks should be handled by the transfer. By default,
        * symlinks are not preserved. Only applicable to transfers involving
@@ -23783,12 +27202,16 @@ public Builder mergeFrom(
        * 
* * .google.storagetransfer.v1.MetadataOptions.Symlink symlink = 1; + * * @return The enum numeric value on the wire for symlink. */ - @java.lang.Override public int getSymlinkValue() { + @java.lang.Override + public int getSymlinkValue() { return symlink_; } /** + * + * *
        * Specifies how symlinks should be handled by the transfer. By default,
        * symlinks are not preserved. Only applicable to transfers involving
@@ -23796,16 +27219,19 @@ public Builder mergeFrom(
        * 
* * .google.storagetransfer.v1.MetadataOptions.Symlink symlink = 1; + * * @param value The enum numeric value on the wire for symlink to set. * @return This builder for chaining. */ public Builder setSymlinkValue(int value) { - + symlink_ = value; onChanged(); return this; } /** + * + * *
        * Specifies how symlinks should be handled by the transfer. By default,
        * symlinks are not preserved. Only applicable to transfers involving
@@ -23813,15 +27239,23 @@ public Builder setSymlinkValue(int value) {
        * 
* * .google.storagetransfer.v1.MetadataOptions.Symlink symlink = 1; + * * @return The symlink. */ @java.lang.Override - public com.google.storagetransfer.v1.proto.TransferTypes.MetadataOptions.Symlink getSymlink() { + public com.google.storagetransfer.v1.proto.TransferTypes.MetadataOptions.Symlink + getSymlink() { @SuppressWarnings("deprecation") - com.google.storagetransfer.v1.proto.TransferTypes.MetadataOptions.Symlink result = com.google.storagetransfer.v1.proto.TransferTypes.MetadataOptions.Symlink.valueOf(symlink_); - return result == null ? com.google.storagetransfer.v1.proto.TransferTypes.MetadataOptions.Symlink.UNRECOGNIZED : result; + com.google.storagetransfer.v1.proto.TransferTypes.MetadataOptions.Symlink result = + com.google.storagetransfer.v1.proto.TransferTypes.MetadataOptions.Symlink.valueOf( + symlink_); + return result == null + ? com.google.storagetransfer.v1.proto.TransferTypes.MetadataOptions.Symlink.UNRECOGNIZED + : result; } /** + * + * *
        * Specifies how symlinks should be handled by the transfer. By default,
        * symlinks are not preserved. Only applicable to transfers involving
@@ -23829,19 +27263,23 @@ public com.google.storagetransfer.v1.proto.TransferTypes.MetadataOptions.Symlink
        * 
* * .google.storagetransfer.v1.MetadataOptions.Symlink symlink = 1; + * * @param value The symlink to set. * @return This builder for chaining. */ - public Builder setSymlink(com.google.storagetransfer.v1.proto.TransferTypes.MetadataOptions.Symlink value) { + public Builder setSymlink( + com.google.storagetransfer.v1.proto.TransferTypes.MetadataOptions.Symlink value) { if (value == null) { throw new NullPointerException(); } - + symlink_ = value.getNumber(); onChanged(); return this; } /** + * + * *
        * Specifies how symlinks should be handled by the transfer. By default,
        * symlinks are not preserved. Only applicable to transfers involving
@@ -23849,10 +27287,11 @@ public Builder setSymlink(com.google.storagetransfer.v1.proto.TransferTypes.Meta
        * 
* * .google.storagetransfer.v1.MetadataOptions.Symlink symlink = 1; + * * @return This builder for chaining. */ public Builder clearSymlink() { - + symlink_ = 0; onChanged(); return this; @@ -23860,6 +27299,8 @@ public Builder clearSymlink() { private int mode_ = 0; /** + * + * *
        * Specifies how each file's mode attribute should be handled by the transfer.
        * By default, mode is not preserved. Only applicable to transfers involving
@@ -23867,12 +27308,16 @@ public Builder clearSymlink() {
        * 
* * .google.storagetransfer.v1.MetadataOptions.Mode mode = 2; + * * @return The enum numeric value on the wire for mode. */ - @java.lang.Override public int getModeValue() { + @java.lang.Override + public int getModeValue() { return mode_; } /** + * + * *
        * Specifies how each file's mode attribute should be handled by the transfer.
        * By default, mode is not preserved. Only applicable to transfers involving
@@ -23880,16 +27325,19 @@ public Builder clearSymlink() {
        * 
* * .google.storagetransfer.v1.MetadataOptions.Mode mode = 2; + * * @param value The enum numeric value on the wire for mode to set. * @return This builder for chaining. */ public Builder setModeValue(int value) { - + mode_ = value; onChanged(); return this; } /** + * + * *
        * Specifies how each file's mode attribute should be handled by the transfer.
        * By default, mode is not preserved. Only applicable to transfers involving
@@ -23897,15 +27345,21 @@ public Builder setModeValue(int value) {
        * 
* * .google.storagetransfer.v1.MetadataOptions.Mode mode = 2; + * * @return The mode. */ @java.lang.Override public com.google.storagetransfer.v1.proto.TransferTypes.MetadataOptions.Mode getMode() { @SuppressWarnings("deprecation") - com.google.storagetransfer.v1.proto.TransferTypes.MetadataOptions.Mode result = com.google.storagetransfer.v1.proto.TransferTypes.MetadataOptions.Mode.valueOf(mode_); - return result == null ? com.google.storagetransfer.v1.proto.TransferTypes.MetadataOptions.Mode.UNRECOGNIZED : result; + com.google.storagetransfer.v1.proto.TransferTypes.MetadataOptions.Mode result = + com.google.storagetransfer.v1.proto.TransferTypes.MetadataOptions.Mode.valueOf(mode_); + return result == null + ? com.google.storagetransfer.v1.proto.TransferTypes.MetadataOptions.Mode.UNRECOGNIZED + : result; } /** + * + * *
        * Specifies how each file's mode attribute should be handled by the transfer.
        * By default, mode is not preserved. Only applicable to transfers involving
@@ -23913,19 +27367,23 @@ public com.google.storagetransfer.v1.proto.TransferTypes.MetadataOptions.Mode ge
        * 
* * .google.storagetransfer.v1.MetadataOptions.Mode mode = 2; + * * @param value The mode to set. * @return This builder for chaining. */ - public Builder setMode(com.google.storagetransfer.v1.proto.TransferTypes.MetadataOptions.Mode value) { + public Builder setMode( + com.google.storagetransfer.v1.proto.TransferTypes.MetadataOptions.Mode value) { if (value == null) { throw new NullPointerException(); } - + mode_ = value.getNumber(); onChanged(); return this; } /** + * + * *
        * Specifies how each file's mode attribute should be handled by the transfer.
        * By default, mode is not preserved. Only applicable to transfers involving
@@ -23933,10 +27391,11 @@ public Builder setMode(com.google.storagetransfer.v1.proto.TransferTypes.Metadat
        * 
* * .google.storagetransfer.v1.MetadataOptions.Mode mode = 2; + * * @return This builder for chaining. */ public Builder clearMode() { - + mode_ = 0; onChanged(); return this; @@ -23944,6 +27403,8 @@ public Builder clearMode() { private int gid_ = 0; /** + * + * *
        * Specifies how each file's POSIX group ID (GID) attribute should be handled
        * by the transfer. By default, GID is not preserved. Only applicable to
@@ -23951,12 +27412,16 @@ public Builder clearMode() {
        * 
* * .google.storagetransfer.v1.MetadataOptions.GID gid = 3; + * * @return The enum numeric value on the wire for gid. */ - @java.lang.Override public int getGidValue() { + @java.lang.Override + public int getGidValue() { return gid_; } /** + * + * *
        * Specifies how each file's POSIX group ID (GID) attribute should be handled
        * by the transfer. By default, GID is not preserved. Only applicable to
@@ -23964,16 +27429,19 @@ public Builder clearMode() {
        * 
* * .google.storagetransfer.v1.MetadataOptions.GID gid = 3; + * * @param value The enum numeric value on the wire for gid to set. * @return This builder for chaining. */ public Builder setGidValue(int value) { - + gid_ = value; onChanged(); return this; } /** + * + * *
        * Specifies how each file's POSIX group ID (GID) attribute should be handled
        * by the transfer. By default, GID is not preserved. Only applicable to
@@ -23981,15 +27449,21 @@ public Builder setGidValue(int value) {
        * 
* * .google.storagetransfer.v1.MetadataOptions.GID gid = 3; + * * @return The gid. */ @java.lang.Override public com.google.storagetransfer.v1.proto.TransferTypes.MetadataOptions.GID getGid() { @SuppressWarnings("deprecation") - com.google.storagetransfer.v1.proto.TransferTypes.MetadataOptions.GID result = com.google.storagetransfer.v1.proto.TransferTypes.MetadataOptions.GID.valueOf(gid_); - return result == null ? com.google.storagetransfer.v1.proto.TransferTypes.MetadataOptions.GID.UNRECOGNIZED : result; + com.google.storagetransfer.v1.proto.TransferTypes.MetadataOptions.GID result = + com.google.storagetransfer.v1.proto.TransferTypes.MetadataOptions.GID.valueOf(gid_); + return result == null + ? com.google.storagetransfer.v1.proto.TransferTypes.MetadataOptions.GID.UNRECOGNIZED + : result; } /** + * + * *
        * Specifies how each file's POSIX group ID (GID) attribute should be handled
        * by the transfer. By default, GID is not preserved. Only applicable to
@@ -23997,19 +27471,23 @@ public com.google.storagetransfer.v1.proto.TransferTypes.MetadataOptions.GID get
        * 
* * .google.storagetransfer.v1.MetadataOptions.GID gid = 3; + * * @param value The gid to set. * @return This builder for chaining. */ - public Builder setGid(com.google.storagetransfer.v1.proto.TransferTypes.MetadataOptions.GID value) { + public Builder setGid( + com.google.storagetransfer.v1.proto.TransferTypes.MetadataOptions.GID value) { if (value == null) { throw new NullPointerException(); } - + gid_ = value.getNumber(); onChanged(); return this; } /** + * + * *
        * Specifies how each file's POSIX group ID (GID) attribute should be handled
        * by the transfer. By default, GID is not preserved. Only applicable to
@@ -24017,10 +27495,11 @@ public Builder setGid(com.google.storagetransfer.v1.proto.TransferTypes.Metadata
        * 
* * .google.storagetransfer.v1.MetadataOptions.GID gid = 3; + * * @return This builder for chaining. */ public Builder clearGid() { - + gid_ = 0; onChanged(); return this; @@ -24028,6 +27507,8 @@ public Builder clearGid() { private int uid_ = 0; /** + * + * *
        * Specifies how each file's POSIX user ID (UID) attribute should be handled
        * by the transfer. By default, UID is not preserved. Only applicable to
@@ -24035,12 +27516,16 @@ public Builder clearGid() {
        * 
* * .google.storagetransfer.v1.MetadataOptions.UID uid = 4; + * * @return The enum numeric value on the wire for uid. */ - @java.lang.Override public int getUidValue() { + @java.lang.Override + public int getUidValue() { return uid_; } /** + * + * *
        * Specifies how each file's POSIX user ID (UID) attribute should be handled
        * by the transfer. By default, UID is not preserved. Only applicable to
@@ -24048,16 +27533,19 @@ public Builder clearGid() {
        * 
* * .google.storagetransfer.v1.MetadataOptions.UID uid = 4; + * * @param value The enum numeric value on the wire for uid to set. * @return This builder for chaining. */ public Builder setUidValue(int value) { - + uid_ = value; onChanged(); return this; } /** + * + * *
        * Specifies how each file's POSIX user ID (UID) attribute should be handled
        * by the transfer. By default, UID is not preserved. Only applicable to
@@ -24065,15 +27553,21 @@ public Builder setUidValue(int value) {
        * 
* * .google.storagetransfer.v1.MetadataOptions.UID uid = 4; + * * @return The uid. */ @java.lang.Override public com.google.storagetransfer.v1.proto.TransferTypes.MetadataOptions.UID getUid() { @SuppressWarnings("deprecation") - com.google.storagetransfer.v1.proto.TransferTypes.MetadataOptions.UID result = com.google.storagetransfer.v1.proto.TransferTypes.MetadataOptions.UID.valueOf(uid_); - return result == null ? com.google.storagetransfer.v1.proto.TransferTypes.MetadataOptions.UID.UNRECOGNIZED : result; + com.google.storagetransfer.v1.proto.TransferTypes.MetadataOptions.UID result = + com.google.storagetransfer.v1.proto.TransferTypes.MetadataOptions.UID.valueOf(uid_); + return result == null + ? com.google.storagetransfer.v1.proto.TransferTypes.MetadataOptions.UID.UNRECOGNIZED + : result; } /** + * + * *
        * Specifies how each file's POSIX user ID (UID) attribute should be handled
        * by the transfer. By default, UID is not preserved. Only applicable to
@@ -24081,19 +27575,23 @@ public com.google.storagetransfer.v1.proto.TransferTypes.MetadataOptions.UID get
        * 
* * .google.storagetransfer.v1.MetadataOptions.UID uid = 4; + * * @param value The uid to set. * @return This builder for chaining. */ - public Builder setUid(com.google.storagetransfer.v1.proto.TransferTypes.MetadataOptions.UID value) { + public Builder setUid( + com.google.storagetransfer.v1.proto.TransferTypes.MetadataOptions.UID value) { if (value == null) { throw new NullPointerException(); } - + uid_ = value.getNumber(); onChanged(); return this; } /** + * + * *
        * Specifies how each file's POSIX user ID (UID) attribute should be handled
        * by the transfer. By default, UID is not preserved. Only applicable to
@@ -24101,10 +27599,11 @@ public Builder setUid(com.google.storagetransfer.v1.proto.TransferTypes.Metadata
        * 
* * .google.storagetransfer.v1.MetadataOptions.UID uid = 4; + * * @return This builder for chaining. */ public Builder clearUid() { - + uid_ = 0; onChanged(); return this; @@ -24112,6 +27611,8 @@ public Builder clearUid() { private int acl_ = 0; /** + * + * *
        * Specifies how each object's ACLs should be preserved for transfers between
        * Google Cloud Storage buckets. If unspecified, the default behavior is the
@@ -24119,12 +27620,16 @@ public Builder clearUid() {
        * 
* * .google.storagetransfer.v1.MetadataOptions.Acl acl = 5; + * * @return The enum numeric value on the wire for acl. */ - @java.lang.Override public int getAclValue() { + @java.lang.Override + public int getAclValue() { return acl_; } /** + * + * *
        * Specifies how each object's ACLs should be preserved for transfers between
        * Google Cloud Storage buckets. If unspecified, the default behavior is the
@@ -24132,16 +27637,19 @@ public Builder clearUid() {
        * 
* * .google.storagetransfer.v1.MetadataOptions.Acl acl = 5; + * * @param value The enum numeric value on the wire for acl to set. * @return This builder for chaining. */ public Builder setAclValue(int value) { - + acl_ = value; onChanged(); return this; } /** + * + * *
        * Specifies how each object's ACLs should be preserved for transfers between
        * Google Cloud Storage buckets. If unspecified, the default behavior is the
@@ -24149,15 +27657,21 @@ public Builder setAclValue(int value) {
        * 
* * .google.storagetransfer.v1.MetadataOptions.Acl acl = 5; + * * @return The acl. */ @java.lang.Override public com.google.storagetransfer.v1.proto.TransferTypes.MetadataOptions.Acl getAcl() { @SuppressWarnings("deprecation") - com.google.storagetransfer.v1.proto.TransferTypes.MetadataOptions.Acl result = com.google.storagetransfer.v1.proto.TransferTypes.MetadataOptions.Acl.valueOf(acl_); - return result == null ? com.google.storagetransfer.v1.proto.TransferTypes.MetadataOptions.Acl.UNRECOGNIZED : result; + com.google.storagetransfer.v1.proto.TransferTypes.MetadataOptions.Acl result = + com.google.storagetransfer.v1.proto.TransferTypes.MetadataOptions.Acl.valueOf(acl_); + return result == null + ? com.google.storagetransfer.v1.proto.TransferTypes.MetadataOptions.Acl.UNRECOGNIZED + : result; } /** + * + * *
        * Specifies how each object's ACLs should be preserved for transfers between
        * Google Cloud Storage buckets. If unspecified, the default behavior is the
@@ -24165,19 +27679,23 @@ public com.google.storagetransfer.v1.proto.TransferTypes.MetadataOptions.Acl get
        * 
* * .google.storagetransfer.v1.MetadataOptions.Acl acl = 5; + * * @param value The acl to set. * @return This builder for chaining. */ - public Builder setAcl(com.google.storagetransfer.v1.proto.TransferTypes.MetadataOptions.Acl value) { + public Builder setAcl( + com.google.storagetransfer.v1.proto.TransferTypes.MetadataOptions.Acl value) { if (value == null) { throw new NullPointerException(); } - + acl_ = value.getNumber(); onChanged(); return this; } /** + * + * *
        * Specifies how each object's ACLs should be preserved for transfers between
        * Google Cloud Storage buckets. If unspecified, the default behavior is the
@@ -24185,10 +27703,11 @@ public Builder setAcl(com.google.storagetransfer.v1.proto.TransferTypes.Metadata
        * 
* * .google.storagetransfer.v1.MetadataOptions.Acl acl = 5; + * * @return This builder for chaining. */ public Builder clearAcl() { - + acl_ = 0; onChanged(); return this; @@ -24196,6 +27715,8 @@ public Builder clearAcl() { private int storageClass_ = 0; /** + * + * *
        * Specifies the storage class to set on objects being transferred to Google
        * Cloud Storage buckets.  If unspecified, the default behavior is the same as
@@ -24203,12 +27724,16 @@ public Builder clearAcl() {
        * 
* * .google.storagetransfer.v1.MetadataOptions.StorageClass storage_class = 6; + * * @return The enum numeric value on the wire for storageClass. */ - @java.lang.Override public int getStorageClassValue() { + @java.lang.Override + public int getStorageClassValue() { return storageClass_; } /** + * + * *
        * Specifies the storage class to set on objects being transferred to Google
        * Cloud Storage buckets.  If unspecified, the default behavior is the same as
@@ -24216,16 +27741,19 @@ public Builder clearAcl() {
        * 
* * .google.storagetransfer.v1.MetadataOptions.StorageClass storage_class = 6; + * * @param value The enum numeric value on the wire for storageClass to set. * @return This builder for chaining. */ public Builder setStorageClassValue(int value) { - + storageClass_ = value; onChanged(); return this; } /** + * + * *
        * Specifies the storage class to set on objects being transferred to Google
        * Cloud Storage buckets.  If unspecified, the default behavior is the same as
@@ -24233,15 +27761,24 @@ public Builder setStorageClassValue(int value) {
        * 
* * .google.storagetransfer.v1.MetadataOptions.StorageClass storage_class = 6; + * * @return The storageClass. */ @java.lang.Override - public com.google.storagetransfer.v1.proto.TransferTypes.MetadataOptions.StorageClass getStorageClass() { + public com.google.storagetransfer.v1.proto.TransferTypes.MetadataOptions.StorageClass + getStorageClass() { @SuppressWarnings("deprecation") - com.google.storagetransfer.v1.proto.TransferTypes.MetadataOptions.StorageClass result = com.google.storagetransfer.v1.proto.TransferTypes.MetadataOptions.StorageClass.valueOf(storageClass_); - return result == null ? com.google.storagetransfer.v1.proto.TransferTypes.MetadataOptions.StorageClass.UNRECOGNIZED : result; + com.google.storagetransfer.v1.proto.TransferTypes.MetadataOptions.StorageClass result = + com.google.storagetransfer.v1.proto.TransferTypes.MetadataOptions.StorageClass.valueOf( + storageClass_); + return result == null + ? com.google.storagetransfer.v1.proto.TransferTypes.MetadataOptions.StorageClass + .UNRECOGNIZED + : result; } /** + * + * *
        * Specifies the storage class to set on objects being transferred to Google
        * Cloud Storage buckets.  If unspecified, the default behavior is the same as
@@ -24249,19 +27786,23 @@ public com.google.storagetransfer.v1.proto.TransferTypes.MetadataOptions.Storage
        * 
* * .google.storagetransfer.v1.MetadataOptions.StorageClass storage_class = 6; + * * @param value The storageClass to set. * @return This builder for chaining. */ - public Builder setStorageClass(com.google.storagetransfer.v1.proto.TransferTypes.MetadataOptions.StorageClass value) { + public Builder setStorageClass( + com.google.storagetransfer.v1.proto.TransferTypes.MetadataOptions.StorageClass value) { if (value == null) { throw new NullPointerException(); } - + storageClass_ = value.getNumber(); onChanged(); return this; } /** + * + * *
        * Specifies the storage class to set on objects being transferred to Google
        * Cloud Storage buckets.  If unspecified, the default behavior is the same as
@@ -24269,10 +27810,11 @@ public Builder setStorageClass(com.google.storagetransfer.v1.proto.TransferTypes
        * 
* * .google.storagetransfer.v1.MetadataOptions.StorageClass storage_class = 6; + * * @return This builder for chaining. */ public Builder clearStorageClass() { - + storageClass_ = 0; onChanged(); return this; @@ -24280,6 +27822,8 @@ public Builder clearStorageClass() { private int temporaryHold_ = 0; /** + * + * *
        * Specifies how each object's temporary hold status should be preserved for
        * transfers between Google Cloud Storage buckets.  If unspecified, the
@@ -24288,12 +27832,16 @@ public Builder clearStorageClass() {
        * 
* * .google.storagetransfer.v1.MetadataOptions.TemporaryHold temporary_hold = 7; + * * @return The enum numeric value on the wire for temporaryHold. */ - @java.lang.Override public int getTemporaryHoldValue() { + @java.lang.Override + public int getTemporaryHoldValue() { return temporaryHold_; } /** + * + * *
        * Specifies how each object's temporary hold status should be preserved for
        * transfers between Google Cloud Storage buckets.  If unspecified, the
@@ -24302,16 +27850,19 @@ public Builder clearStorageClass() {
        * 
* * .google.storagetransfer.v1.MetadataOptions.TemporaryHold temporary_hold = 7; + * * @param value The enum numeric value on the wire for temporaryHold to set. * @return This builder for chaining. */ public Builder setTemporaryHoldValue(int value) { - + temporaryHold_ = value; onChanged(); return this; } /** + * + * *
        * Specifies how each object's temporary hold status should be preserved for
        * transfers between Google Cloud Storage buckets.  If unspecified, the
@@ -24320,15 +27871,24 @@ public Builder setTemporaryHoldValue(int value) {
        * 
* * .google.storagetransfer.v1.MetadataOptions.TemporaryHold temporary_hold = 7; + * * @return The temporaryHold. */ @java.lang.Override - public com.google.storagetransfer.v1.proto.TransferTypes.MetadataOptions.TemporaryHold getTemporaryHold() { + public com.google.storagetransfer.v1.proto.TransferTypes.MetadataOptions.TemporaryHold + getTemporaryHold() { @SuppressWarnings("deprecation") - com.google.storagetransfer.v1.proto.TransferTypes.MetadataOptions.TemporaryHold result = com.google.storagetransfer.v1.proto.TransferTypes.MetadataOptions.TemporaryHold.valueOf(temporaryHold_); - return result == null ? com.google.storagetransfer.v1.proto.TransferTypes.MetadataOptions.TemporaryHold.UNRECOGNIZED : result; + com.google.storagetransfer.v1.proto.TransferTypes.MetadataOptions.TemporaryHold result = + com.google.storagetransfer.v1.proto.TransferTypes.MetadataOptions.TemporaryHold.valueOf( + temporaryHold_); + return result == null + ? com.google.storagetransfer.v1.proto.TransferTypes.MetadataOptions.TemporaryHold + .UNRECOGNIZED + : result; } /** + * + * *
        * Specifies how each object's temporary hold status should be preserved for
        * transfers between Google Cloud Storage buckets.  If unspecified, the
@@ -24337,19 +27897,23 @@ public com.google.storagetransfer.v1.proto.TransferTypes.MetadataOptions.Tempora
        * 
* * .google.storagetransfer.v1.MetadataOptions.TemporaryHold temporary_hold = 7; + * * @param value The temporaryHold to set. * @return This builder for chaining. */ - public Builder setTemporaryHold(com.google.storagetransfer.v1.proto.TransferTypes.MetadataOptions.TemporaryHold value) { + public Builder setTemporaryHold( + com.google.storagetransfer.v1.proto.TransferTypes.MetadataOptions.TemporaryHold value) { if (value == null) { throw new NullPointerException(); } - + temporaryHold_ = value.getNumber(); onChanged(); return this; } /** + * + * *
        * Specifies how each object's temporary hold status should be preserved for
        * transfers between Google Cloud Storage buckets.  If unspecified, the
@@ -24358,10 +27922,11 @@ public Builder setTemporaryHold(com.google.storagetransfer.v1.proto.TransferType
        * 
* * .google.storagetransfer.v1.MetadataOptions.TemporaryHold temporary_hold = 7; + * * @return This builder for chaining. */ public Builder clearTemporaryHold() { - + temporaryHold_ = 0; onChanged(); return this; @@ -24369,6 +27934,8 @@ public Builder clearTemporaryHold() { private int kmsKey_ = 0; /** + * + * *
        * Specifies how each object's Cloud KMS customer-managed encryption key
        * (CMEK) is preserved for transfers between Google Cloud Storage buckets.  If
@@ -24377,12 +27944,16 @@ public Builder clearTemporaryHold() {
        * 
* * .google.storagetransfer.v1.MetadataOptions.KmsKey kms_key = 8; + * * @return The enum numeric value on the wire for kmsKey. */ - @java.lang.Override public int getKmsKeyValue() { + @java.lang.Override + public int getKmsKeyValue() { return kmsKey_; } /** + * + * *
        * Specifies how each object's Cloud KMS customer-managed encryption key
        * (CMEK) is preserved for transfers between Google Cloud Storage buckets.  If
@@ -24391,16 +27962,19 @@ public Builder clearTemporaryHold() {
        * 
* * .google.storagetransfer.v1.MetadataOptions.KmsKey kms_key = 8; + * * @param value The enum numeric value on the wire for kmsKey to set. * @return This builder for chaining. */ public Builder setKmsKeyValue(int value) { - + kmsKey_ = value; onChanged(); return this; } /** + * + * *
        * Specifies how each object's Cloud KMS customer-managed encryption key
        * (CMEK) is preserved for transfers between Google Cloud Storage buckets.  If
@@ -24409,15 +27983,22 @@ public Builder setKmsKeyValue(int value) {
        * 
* * .google.storagetransfer.v1.MetadataOptions.KmsKey kms_key = 8; + * * @return The kmsKey. */ @java.lang.Override public com.google.storagetransfer.v1.proto.TransferTypes.MetadataOptions.KmsKey getKmsKey() { @SuppressWarnings("deprecation") - com.google.storagetransfer.v1.proto.TransferTypes.MetadataOptions.KmsKey result = com.google.storagetransfer.v1.proto.TransferTypes.MetadataOptions.KmsKey.valueOf(kmsKey_); - return result == null ? com.google.storagetransfer.v1.proto.TransferTypes.MetadataOptions.KmsKey.UNRECOGNIZED : result; + com.google.storagetransfer.v1.proto.TransferTypes.MetadataOptions.KmsKey result = + com.google.storagetransfer.v1.proto.TransferTypes.MetadataOptions.KmsKey.valueOf( + kmsKey_); + return result == null + ? com.google.storagetransfer.v1.proto.TransferTypes.MetadataOptions.KmsKey.UNRECOGNIZED + : result; } /** + * + * *
        * Specifies how each object's Cloud KMS customer-managed encryption key
        * (CMEK) is preserved for transfers between Google Cloud Storage buckets.  If
@@ -24426,19 +28007,23 @@ public com.google.storagetransfer.v1.proto.TransferTypes.MetadataOptions.KmsKey
        * 
* * .google.storagetransfer.v1.MetadataOptions.KmsKey kms_key = 8; + * * @param value The kmsKey to set. * @return This builder for chaining. */ - public Builder setKmsKey(com.google.storagetransfer.v1.proto.TransferTypes.MetadataOptions.KmsKey value) { + public Builder setKmsKey( + com.google.storagetransfer.v1.proto.TransferTypes.MetadataOptions.KmsKey value) { if (value == null) { throw new NullPointerException(); } - + kmsKey_ = value.getNumber(); onChanged(); return this; } /** + * + * *
        * Specifies how each object's Cloud KMS customer-managed encryption key
        * (CMEK) is preserved for transfers between Google Cloud Storage buckets.  If
@@ -24447,10 +28032,11 @@ public Builder setKmsKey(com.google.storagetransfer.v1.proto.TransferTypes.Metad
        * 
* * .google.storagetransfer.v1.MetadataOptions.KmsKey kms_key = 8; + * * @return This builder for chaining. */ public Builder clearKmsKey() { - + kmsKey_ = 0; onChanged(); return this; @@ -24458,6 +28044,8 @@ public Builder clearKmsKey() { private int timeCreated_ = 0; /** + * + * *
        * Specifies how each object's `timeCreated` metadata is preserved for
        * transfers between Google Cloud Storage buckets.  If unspecified, the
@@ -24466,12 +28054,16 @@ public Builder clearKmsKey() {
        * 
* * .google.storagetransfer.v1.MetadataOptions.TimeCreated time_created = 9; + * * @return The enum numeric value on the wire for timeCreated. */ - @java.lang.Override public int getTimeCreatedValue() { + @java.lang.Override + public int getTimeCreatedValue() { return timeCreated_; } /** + * + * *
        * Specifies how each object's `timeCreated` metadata is preserved for
        * transfers between Google Cloud Storage buckets.  If unspecified, the
@@ -24480,16 +28072,19 @@ public Builder clearKmsKey() {
        * 
* * .google.storagetransfer.v1.MetadataOptions.TimeCreated time_created = 9; + * * @param value The enum numeric value on the wire for timeCreated to set. * @return This builder for chaining. */ public Builder setTimeCreatedValue(int value) { - + timeCreated_ = value; onChanged(); return this; } /** + * + * *
        * Specifies how each object's `timeCreated` metadata is preserved for
        * transfers between Google Cloud Storage buckets.  If unspecified, the
@@ -24498,15 +28093,24 @@ public Builder setTimeCreatedValue(int value) {
        * 
* * .google.storagetransfer.v1.MetadataOptions.TimeCreated time_created = 9; + * * @return The timeCreated. */ @java.lang.Override - public com.google.storagetransfer.v1.proto.TransferTypes.MetadataOptions.TimeCreated getTimeCreated() { + public com.google.storagetransfer.v1.proto.TransferTypes.MetadataOptions.TimeCreated + getTimeCreated() { @SuppressWarnings("deprecation") - com.google.storagetransfer.v1.proto.TransferTypes.MetadataOptions.TimeCreated result = com.google.storagetransfer.v1.proto.TransferTypes.MetadataOptions.TimeCreated.valueOf(timeCreated_); - return result == null ? com.google.storagetransfer.v1.proto.TransferTypes.MetadataOptions.TimeCreated.UNRECOGNIZED : result; + com.google.storagetransfer.v1.proto.TransferTypes.MetadataOptions.TimeCreated result = + com.google.storagetransfer.v1.proto.TransferTypes.MetadataOptions.TimeCreated.valueOf( + timeCreated_); + return result == null + ? com.google.storagetransfer.v1.proto.TransferTypes.MetadataOptions.TimeCreated + .UNRECOGNIZED + : result; } /** + * + * *
        * Specifies how each object's `timeCreated` metadata is preserved for
        * transfers between Google Cloud Storage buckets.  If unspecified, the
@@ -24515,19 +28119,23 @@ public com.google.storagetransfer.v1.proto.TransferTypes.MetadataOptions.TimeCre
        * 
* * .google.storagetransfer.v1.MetadataOptions.TimeCreated time_created = 9; + * * @param value The timeCreated to set. * @return This builder for chaining. */ - public Builder setTimeCreated(com.google.storagetransfer.v1.proto.TransferTypes.MetadataOptions.TimeCreated value) { + public Builder setTimeCreated( + com.google.storagetransfer.v1.proto.TransferTypes.MetadataOptions.TimeCreated value) { if (value == null) { throw new NullPointerException(); } - + timeCreated_ = value.getNumber(); onChanged(); return this; } /** + * + * *
        * Specifies how each object's `timeCreated` metadata is preserved for
        * transfers between Google Cloud Storage buckets.  If unspecified, the
@@ -24536,14 +28144,16 @@ public Builder setTimeCreated(com.google.storagetransfer.v1.proto.TransferTypes.
        * 
* * .google.storagetransfer.v1.MetadataOptions.TimeCreated time_created = 9; + * * @return This builder for chaining. */ public Builder clearTimeCreated() { - + timeCreated_ = 0; onChanged(); return this; } + @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -24556,30 +28166,32 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.storagetransfer.v1.MetadataOptions) } // @@protoc_insertion_point(class_scope:google.storagetransfer.v1.MetadataOptions) - private static final com.google.storagetransfer.v1.proto.TransferTypes.MetadataOptions DEFAULT_INSTANCE; + private static final com.google.storagetransfer.v1.proto.TransferTypes.MetadataOptions + DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.storagetransfer.v1.proto.TransferTypes.MetadataOptions(); } - public static com.google.storagetransfer.v1.proto.TransferTypes.MetadataOptions getDefaultInstance() { + public static com.google.storagetransfer.v1.proto.TransferTypes.MetadataOptions + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public MetadataOptions parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new MetadataOptions(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public MetadataOptions parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new MetadataOptions(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -24591,17 +28203,20 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.storagetransfer.v1.proto.TransferTypes.MetadataOptions getDefaultInstanceForType() { + public com.google.storagetransfer.v1.proto.TransferTypes.MetadataOptions + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - public interface TransferManifestOrBuilder extends + public interface TransferManifestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.storagetransfer.v1.TransferManifest) com.google.protobuf.MessageOrBuilder { /** + * + * *
      * Specifies the path to the manifest in Cloud Storage. The Google-managed
      * service account for the transfer must have `storage.objects.get`
@@ -24610,10 +28225,13 @@ public interface TransferManifestOrBuilder extends
      * 
* * string location = 1; + * * @return The location. */ java.lang.String getLocation(); /** + * + * *
      * Specifies the path to the manifest in Cloud Storage. The Google-managed
      * service account for the transfer must have `storage.objects.get`
@@ -24622,43 +28240,45 @@ public interface TransferManifestOrBuilder extends
      * 
* * string location = 1; + * * @return The bytes for location. */ - com.google.protobuf.ByteString - getLocationBytes(); + com.google.protobuf.ByteString getLocationBytes(); } /** + * + * *
    * Specifies where the manifest is located.
    * 
* * Protobuf type {@code google.storagetransfer.v1.TransferManifest} */ - public static final class TransferManifest extends - com.google.protobuf.GeneratedMessageV3 implements + public static final class TransferManifest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.storagetransfer.v1.TransferManifest) TransferManifestOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use TransferManifest.newBuilder() to construct. private TransferManifest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private TransferManifest() { location_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new TransferManifest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private TransferManifest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -24677,19 +28297,20 @@ private TransferManifest( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - location_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + location_ = s; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -24697,29 +28318,33 @@ private TransferManifest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.storagetransfer.v1.proto.TransferTypes.internal_static_google_storagetransfer_v1_TransferManifest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.storagetransfer.v1.proto.TransferTypes + .internal_static_google_storagetransfer_v1_TransferManifest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.storagetransfer.v1.proto.TransferTypes.internal_static_google_storagetransfer_v1_TransferManifest_fieldAccessorTable + return com.google.storagetransfer.v1.proto.TransferTypes + .internal_static_google_storagetransfer_v1_TransferManifest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.storagetransfer.v1.proto.TransferTypes.TransferManifest.class, com.google.storagetransfer.v1.proto.TransferTypes.TransferManifest.Builder.class); + com.google.storagetransfer.v1.proto.TransferTypes.TransferManifest.class, + com.google.storagetransfer.v1.proto.TransferTypes.TransferManifest.Builder.class); } public static final int LOCATION_FIELD_NUMBER = 1; private volatile java.lang.Object location_; /** + * + * *
      * Specifies the path to the manifest in Cloud Storage. The Google-managed
      * service account for the transfer must have `storage.objects.get`
@@ -24728,6 +28353,7 @@ private TransferManifest(
      * 
* * string location = 1; + * * @return The location. */ @java.lang.Override @@ -24736,14 +28362,15 @@ public java.lang.String getLocation() { 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(); location_ = s; return s; } } /** + * + * *
      * Specifies the path to the manifest in Cloud Storage. The Google-managed
      * service account for the transfer must have `storage.objects.get`
@@ -24752,16 +28379,15 @@ public java.lang.String getLocation() {
      * 
* * string location = 1; + * * @return The bytes for location. */ @java.lang.Override - public com.google.protobuf.ByteString - getLocationBytes() { + public com.google.protobuf.ByteString getLocationBytes() { java.lang.Object ref = location_; 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); location_ = b; return b; } else { @@ -24770,6 +28396,7 @@ public java.lang.String getLocation() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -24781,8 +28408,7 @@ 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 (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(location_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, location_); } @@ -24806,15 +28432,15 @@ 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.storagetransfer.v1.proto.TransferTypes.TransferManifest)) { return super.equals(obj); } - com.google.storagetransfer.v1.proto.TransferTypes.TransferManifest other = (com.google.storagetransfer.v1.proto.TransferTypes.TransferManifest) obj; + com.google.storagetransfer.v1.proto.TransferTypes.TransferManifest other = + (com.google.storagetransfer.v1.proto.TransferTypes.TransferManifest) obj; - if (!getLocation() - .equals(other.getLocation())) return false; + if (!getLocation().equals(other.getLocation())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -24834,87 +28460,95 @@ public int hashCode() { } public static com.google.storagetransfer.v1.proto.TransferTypes.TransferManifest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.storagetransfer.v1.proto.TransferTypes.TransferManifest 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.storagetransfer.v1.proto.TransferTypes.TransferManifest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.storagetransfer.v1.proto.TransferTypes.TransferManifest 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.storagetransfer.v1.proto.TransferTypes.TransferManifest parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.storagetransfer.v1.proto.TransferTypes.TransferManifest parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.storagetransfer.v1.proto.TransferTypes.TransferManifest 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.storagetransfer.v1.proto.TransferTypes.TransferManifest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.storagetransfer.v1.proto.TransferTypes.TransferManifest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.storagetransfer.v1.proto.TransferTypes.TransferManifest 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.storagetransfer.v1.proto.TransferTypes.TransferManifest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.storagetransfer.v1.proto.TransferTypes.TransferManifest + parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } - public static com.google.storagetransfer.v1.proto.TransferTypes.TransferManifest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + + public static com.google.storagetransfer.v1.proto.TransferTypes.TransferManifest + parseDelimitedFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.storagetransfer.v1.proto.TransferTypes.TransferManifest 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.storagetransfer.v1.proto.TransferTypes.TransferManifest 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.storagetransfer.v1.proto.TransferTypes.TransferManifest prototype) { + + public static Builder newBuilder( + com.google.storagetransfer.v1.proto.TransferTypes.TransferManifest 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 @@ -24924,44 +28558,49 @@ protected Builder newBuilderForType( return builder; } /** + * + * *
      * Specifies where the manifest is located.
      * 
* * Protobuf type {@code google.storagetransfer.v1.TransferManifest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder + extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.storagetransfer.v1.TransferManifest) com.google.storagetransfer.v1.proto.TransferTypes.TransferManifestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.storagetransfer.v1.proto.TransferTypes.internal_static_google_storagetransfer_v1_TransferManifest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.storagetransfer.v1.proto.TransferTypes + .internal_static_google_storagetransfer_v1_TransferManifest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.storagetransfer.v1.proto.TransferTypes.internal_static_google_storagetransfer_v1_TransferManifest_fieldAccessorTable + return com.google.storagetransfer.v1.proto.TransferTypes + .internal_static_google_storagetransfer_v1_TransferManifest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.storagetransfer.v1.proto.TransferTypes.TransferManifest.class, com.google.storagetransfer.v1.proto.TransferTypes.TransferManifest.Builder.class); + com.google.storagetransfer.v1.proto.TransferTypes.TransferManifest.class, + com.google.storagetransfer.v1.proto.TransferTypes.TransferManifest.Builder.class); } - // Construct using com.google.storagetransfer.v1.proto.TransferTypes.TransferManifest.newBuilder() + // Construct using + // com.google.storagetransfer.v1.proto.TransferTypes.TransferManifest.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -24971,14 +28610,16 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.storagetransfer.v1.proto.TransferTypes.internal_static_google_storagetransfer_v1_TransferManifest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.storagetransfer.v1.proto.TransferTypes + .internal_static_google_storagetransfer_v1_TransferManifest_descriptor; } @java.lang.Override - public com.google.storagetransfer.v1.proto.TransferTypes.TransferManifest getDefaultInstanceForType() { - return com.google.storagetransfer.v1.proto.TransferTypes.TransferManifest.getDefaultInstance(); + public com.google.storagetransfer.v1.proto.TransferTypes.TransferManifest + getDefaultInstanceForType() { + return com.google.storagetransfer.v1.proto.TransferTypes.TransferManifest + .getDefaultInstance(); } @java.lang.Override @@ -24992,7 +28633,8 @@ public com.google.storagetransfer.v1.proto.TransferTypes.TransferManifest build( @java.lang.Override public com.google.storagetransfer.v1.proto.TransferTypes.TransferManifest buildPartial() { - com.google.storagetransfer.v1.proto.TransferTypes.TransferManifest result = new com.google.storagetransfer.v1.proto.TransferTypes.TransferManifest(this); + com.google.storagetransfer.v1.proto.TransferTypes.TransferManifest result = + new com.google.storagetransfer.v1.proto.TransferTypes.TransferManifest(this); result.location_ = location_; onBuilt(); return result; @@ -25002,46 +28644,53 @@ public com.google.storagetransfer.v1.proto.TransferTypes.TransferManifest buildP public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + int index, + java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.storagetransfer.v1.proto.TransferTypes.TransferManifest) { - return mergeFrom((com.google.storagetransfer.v1.proto.TransferTypes.TransferManifest)other); + return mergeFrom( + (com.google.storagetransfer.v1.proto.TransferTypes.TransferManifest) other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.google.storagetransfer.v1.proto.TransferTypes.TransferManifest other) { - if (other == com.google.storagetransfer.v1.proto.TransferTypes.TransferManifest.getDefaultInstance()) return this; + public Builder mergeFrom( + com.google.storagetransfer.v1.proto.TransferTypes.TransferManifest other) { + if (other + == com.google.storagetransfer.v1.proto.TransferTypes.TransferManifest + .getDefaultInstance()) return this; if (!other.getLocation().isEmpty()) { location_ = other.location_; onChanged(); @@ -25065,7 +28714,9 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.storagetransfer.v1.proto.TransferTypes.TransferManifest) e.getUnfinishedMessage(); + parsedMessage = + (com.google.storagetransfer.v1.proto.TransferTypes.TransferManifest) + e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -25077,6 +28728,8 @@ public Builder mergeFrom( private java.lang.Object location_ = ""; /** + * + * *
        * Specifies the path to the manifest in Cloud Storage. The Google-managed
        * service account for the transfer must have `storage.objects.get`
@@ -25085,13 +28738,13 @@ public Builder mergeFrom(
        * 
* * string location = 1; + * * @return The location. */ public java.lang.String getLocation() { java.lang.Object ref = location_; 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(); location_ = s; return s; @@ -25100,6 +28753,8 @@ public java.lang.String getLocation() { } } /** + * + * *
        * Specifies the path to the manifest in Cloud Storage. The Google-managed
        * service account for the transfer must have `storage.objects.get`
@@ -25108,15 +28763,14 @@ public java.lang.String getLocation() {
        * 
* * string location = 1; + * * @return The bytes for location. */ - public com.google.protobuf.ByteString - getLocationBytes() { + public com.google.protobuf.ByteString getLocationBytes() { java.lang.Object ref = location_; 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); location_ = b; return b; } else { @@ -25124,6 +28778,8 @@ public java.lang.String getLocation() { } } /** + * + * *
        * Specifies the path to the manifest in Cloud Storage. The Google-managed
        * service account for the transfer must have `storage.objects.get`
@@ -25132,20 +28788,22 @@ public java.lang.String getLocation() {
        * 
* * string location = 1; + * * @param value The location to set. * @return This builder for chaining. */ - public Builder setLocation( - java.lang.String value) { + public Builder setLocation(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + location_ = value; onChanged(); return this; } /** + * + * *
        * Specifies the path to the manifest in Cloud Storage. The Google-managed
        * service account for the transfer must have `storage.objects.get`
@@ -25154,15 +28812,18 @@ public Builder setLocation(
        * 
* * string location = 1; + * * @return This builder for chaining. */ public Builder clearLocation() { - + location_ = getDefaultInstance().getLocation(); onChanged(); return this; } /** + * + * *
        * Specifies the path to the manifest in Cloud Storage. The Google-managed
        * service account for the transfer must have `storage.objects.get`
@@ -25171,20 +28832,21 @@ public Builder clearLocation() {
        * 
* * string location = 1; + * * @param value The bytes for location to set. * @return This builder for chaining. */ - public Builder setLocationBytes( - com.google.protobuf.ByteString value) { + public Builder setLocationBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + location_ = value; onChanged(); return this; } + @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -25197,30 +28859,32 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.storagetransfer.v1.TransferManifest) } // @@protoc_insertion_point(class_scope:google.storagetransfer.v1.TransferManifest) - private static final com.google.storagetransfer.v1.proto.TransferTypes.TransferManifest DEFAULT_INSTANCE; + private static final com.google.storagetransfer.v1.proto.TransferTypes.TransferManifest + DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.storagetransfer.v1.proto.TransferTypes.TransferManifest(); } - public static com.google.storagetransfer.v1.proto.TransferTypes.TransferManifest getDefaultInstance() { + public static com.google.storagetransfer.v1.proto.TransferTypes.TransferManifest + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public TransferManifest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new TransferManifest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public TransferManifest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new TransferManifest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -25232,17 +28896,20 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.storagetransfer.v1.proto.TransferTypes.TransferManifest getDefaultInstanceForType() { + public com.google.storagetransfer.v1.proto.TransferTypes.TransferManifest + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - public interface ScheduleOrBuilder extends + public interface ScheduleOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.storagetransfer.v1.Schedule) com.google.protobuf.MessageOrBuilder { /** + * + * *
      * Required. The start date of a transfer. Date boundaries are determined
      * relative to UTC time. If `schedule_start_date` and [start_time_of_day][google.storagetransfer.v1.Schedule.start_time_of_day]
@@ -25257,11 +28924,15 @@ public interface ScheduleOrBuilder extends
      * [TransferOperation][google.storagetransfer.v1.TransferOperation] takes place on June 3 at midnight UTC.
      * 
* - * .google.type.Date schedule_start_date = 1 [(.google.api.field_behavior) = REQUIRED]; + * .google.type.Date schedule_start_date = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the scheduleStartDate field is set. */ boolean hasScheduleStartDate(); /** + * + * *
      * Required. The start date of a transfer. Date boundaries are determined
      * relative to UTC time. If `schedule_start_date` and [start_time_of_day][google.storagetransfer.v1.Schedule.start_time_of_day]
@@ -25276,11 +28947,15 @@ public interface ScheduleOrBuilder extends
      * [TransferOperation][google.storagetransfer.v1.TransferOperation] takes place on June 3 at midnight UTC.
      * 
* - * .google.type.Date schedule_start_date = 1 [(.google.api.field_behavior) = REQUIRED]; + * .google.type.Date schedule_start_date = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The scheduleStartDate. */ com.google.type.Date getScheduleStartDate(); /** + * + * *
      * Required. The start date of a transfer. Date boundaries are determined
      * relative to UTC time. If `schedule_start_date` and [start_time_of_day][google.storagetransfer.v1.Schedule.start_time_of_day]
@@ -25295,11 +28970,14 @@ public interface ScheduleOrBuilder extends
      * [TransferOperation][google.storagetransfer.v1.TransferOperation] takes place on June 3 at midnight UTC.
      * 
* - * .google.type.Date schedule_start_date = 1 [(.google.api.field_behavior) = REQUIRED]; + * .google.type.Date schedule_start_date = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ com.google.type.DateOrBuilder getScheduleStartDateOrBuilder(); /** + * + * *
      * The last day a transfer runs. Date boundaries are determined relative to
      * UTC time. A job runs once per 24 hours within the following guidelines:
@@ -25311,10 +28989,13 @@ public interface ScheduleOrBuilder extends
      * 
* * .google.type.Date schedule_end_date = 2; + * * @return Whether the scheduleEndDate field is set. */ boolean hasScheduleEndDate(); /** + * + * *
      * The last day a transfer runs. Date boundaries are determined relative to
      * UTC time. A job runs once per 24 hours within the following guidelines:
@@ -25326,10 +29007,13 @@ public interface ScheduleOrBuilder extends
      * 
* * .google.type.Date schedule_end_date = 2; + * * @return The scheduleEndDate. */ com.google.type.Date getScheduleEndDate(); /** + * + * *
      * The last day a transfer runs. Date boundaries are determined relative to
      * UTC time. A job runs once per 24 hours within the following guidelines:
@@ -25345,6 +29029,8 @@ public interface ScheduleOrBuilder extends
     com.google.type.DateOrBuilder getScheduleEndDateOrBuilder();
 
     /**
+     *
+     *
      * 
      * The time in UTC that a transfer job is scheduled to run. Transfers may
      * start later than this time.
@@ -25359,10 +29045,13 @@ public interface ScheduleOrBuilder extends
      * 
* * .google.type.TimeOfDay start_time_of_day = 3; + * * @return Whether the startTimeOfDay field is set. */ boolean hasStartTimeOfDay(); /** + * + * *
      * The time in UTC that a transfer job is scheduled to run. Transfers may
      * start later than this time.
@@ -25377,10 +29066,13 @@ public interface ScheduleOrBuilder extends
      * 
* * .google.type.TimeOfDay start_time_of_day = 3; + * * @return The startTimeOfDay. */ com.google.type.TimeOfDay getStartTimeOfDay(); /** + * + * *
      * The time in UTC that a transfer job is scheduled to run. Transfers may
      * start later than this time.
@@ -25399,6 +29091,8 @@ public interface ScheduleOrBuilder extends
     com.google.type.TimeOfDayOrBuilder getStartTimeOfDayOrBuilder();
 
     /**
+     *
+     *
      * 
      * The time in UTC that no further transfer operations are scheduled. Combined
      * with [schedule_end_date][google.storagetransfer.v1.Schedule.schedule_end_date], `end_time_of_day` specifies the end date and
@@ -25413,10 +29107,13 @@ public interface ScheduleOrBuilder extends
      * 
* * .google.type.TimeOfDay end_time_of_day = 4; + * * @return Whether the endTimeOfDay field is set. */ boolean hasEndTimeOfDay(); /** + * + * *
      * The time in UTC that no further transfer operations are scheduled. Combined
      * with [schedule_end_date][google.storagetransfer.v1.Schedule.schedule_end_date], `end_time_of_day` specifies the end date and
@@ -25431,10 +29128,13 @@ public interface ScheduleOrBuilder extends
      * 
* * .google.type.TimeOfDay end_time_of_day = 4; + * * @return The endTimeOfDay. */ com.google.type.TimeOfDay getEndTimeOfDay(); /** + * + * *
      * The time in UTC that no further transfer operations are scheduled. Combined
      * with [schedule_end_date][google.storagetransfer.v1.Schedule.schedule_end_date], `end_time_of_day` specifies the end date and
@@ -25453,6 +29153,8 @@ public interface ScheduleOrBuilder extends
     com.google.type.TimeOfDayOrBuilder getEndTimeOfDayOrBuilder();
 
     /**
+     *
+     *
      * 
      * Interval between the start of each scheduled TransferOperation. If
      * unspecified, the default value is 24 hours. This value may not be less than
@@ -25460,10 +29162,13 @@ public interface ScheduleOrBuilder extends
      * 
* * .google.protobuf.Duration repeat_interval = 5; + * * @return Whether the repeatInterval field is set. */ boolean hasRepeatInterval(); /** + * + * *
      * Interval between the start of each scheduled TransferOperation. If
      * unspecified, the default value is 24 hours. This value may not be less than
@@ -25471,10 +29176,13 @@ public interface ScheduleOrBuilder extends
      * 
* * .google.protobuf.Duration repeat_interval = 5; + * * @return The repeatInterval. */ com.google.protobuf.Duration getRepeatInterval(); /** + * + * *
      * Interval between the start of each scheduled TransferOperation. If
      * unspecified, the default value is 24 hours. This value may not be less than
@@ -25486,36 +29194,37 @@ public interface ScheduleOrBuilder extends
     com.google.protobuf.DurationOrBuilder getRepeatIntervalOrBuilder();
   }
   /**
+   *
+   *
    * 
    * Transfers can be scheduled to recur or to run just once.
    * 
* * Protobuf type {@code google.storagetransfer.v1.Schedule} */ - public static final class Schedule extends - com.google.protobuf.GeneratedMessageV3 implements + public static final class Schedule extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.storagetransfer.v1.Schedule) ScheduleOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use Schedule.newBuilder() to construct. private Schedule(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private Schedule() { - } + + private Schedule() {} @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new Schedule(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private Schedule( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -25534,78 +29243,88 @@ private Schedule( case 0: done = true; break; - case 10: { - com.google.type.Date.Builder subBuilder = null; - if (scheduleStartDate_ != null) { - subBuilder = scheduleStartDate_.toBuilder(); - } - scheduleStartDate_ = input.readMessage(com.google.type.Date.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(scheduleStartDate_); - scheduleStartDate_ = subBuilder.buildPartial(); - } + case 10: + { + com.google.type.Date.Builder subBuilder = null; + if (scheduleStartDate_ != null) { + subBuilder = scheduleStartDate_.toBuilder(); + } + scheduleStartDate_ = + input.readMessage(com.google.type.Date.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(scheduleStartDate_); + scheduleStartDate_ = subBuilder.buildPartial(); + } - break; - } - case 18: { - com.google.type.Date.Builder subBuilder = null; - if (scheduleEndDate_ != null) { - subBuilder = scheduleEndDate_.toBuilder(); - } - scheduleEndDate_ = input.readMessage(com.google.type.Date.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(scheduleEndDate_); - scheduleEndDate_ = subBuilder.buildPartial(); + break; } + case 18: + { + com.google.type.Date.Builder subBuilder = null; + if (scheduleEndDate_ != null) { + subBuilder = scheduleEndDate_.toBuilder(); + } + scheduleEndDate_ = + input.readMessage(com.google.type.Date.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(scheduleEndDate_); + scheduleEndDate_ = subBuilder.buildPartial(); + } - break; - } - case 26: { - com.google.type.TimeOfDay.Builder subBuilder = null; - if (startTimeOfDay_ != null) { - subBuilder = startTimeOfDay_.toBuilder(); - } - startTimeOfDay_ = input.readMessage(com.google.type.TimeOfDay.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(startTimeOfDay_); - startTimeOfDay_ = subBuilder.buildPartial(); + break; } + case 26: + { + com.google.type.TimeOfDay.Builder subBuilder = null; + if (startTimeOfDay_ != null) { + subBuilder = startTimeOfDay_.toBuilder(); + } + startTimeOfDay_ = + input.readMessage(com.google.type.TimeOfDay.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(startTimeOfDay_); + startTimeOfDay_ = subBuilder.buildPartial(); + } - break; - } - case 34: { - com.google.type.TimeOfDay.Builder subBuilder = null; - if (endTimeOfDay_ != null) { - subBuilder = endTimeOfDay_.toBuilder(); - } - endTimeOfDay_ = input.readMessage(com.google.type.TimeOfDay.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(endTimeOfDay_); - endTimeOfDay_ = subBuilder.buildPartial(); + break; } + case 34: + { + com.google.type.TimeOfDay.Builder subBuilder = null; + if (endTimeOfDay_ != null) { + subBuilder = endTimeOfDay_.toBuilder(); + } + endTimeOfDay_ = + input.readMessage(com.google.type.TimeOfDay.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(endTimeOfDay_); + endTimeOfDay_ = subBuilder.buildPartial(); + } - break; - } - case 42: { - com.google.protobuf.Duration.Builder subBuilder = null; - if (repeatInterval_ != null) { - subBuilder = repeatInterval_.toBuilder(); - } - repeatInterval_ = input.readMessage(com.google.protobuf.Duration.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(repeatInterval_); - repeatInterval_ = subBuilder.buildPartial(); + break; } + case 42: + { + com.google.protobuf.Duration.Builder subBuilder = null; + if (repeatInterval_ != null) { + subBuilder = repeatInterval_.toBuilder(); + } + repeatInterval_ = + input.readMessage(com.google.protobuf.Duration.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(repeatInterval_); + repeatInterval_ = subBuilder.buildPartial(); + } - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -25613,29 +29332,33 @@ private Schedule( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.storagetransfer.v1.proto.TransferTypes.internal_static_google_storagetransfer_v1_Schedule_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.storagetransfer.v1.proto.TransferTypes + .internal_static_google_storagetransfer_v1_Schedule_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.storagetransfer.v1.proto.TransferTypes.internal_static_google_storagetransfer_v1_Schedule_fieldAccessorTable + return com.google.storagetransfer.v1.proto.TransferTypes + .internal_static_google_storagetransfer_v1_Schedule_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.storagetransfer.v1.proto.TransferTypes.Schedule.class, com.google.storagetransfer.v1.proto.TransferTypes.Schedule.Builder.class); + com.google.storagetransfer.v1.proto.TransferTypes.Schedule.class, + com.google.storagetransfer.v1.proto.TransferTypes.Schedule.Builder.class); } public static final int SCHEDULE_START_DATE_FIELD_NUMBER = 1; private com.google.type.Date scheduleStartDate_; /** + * + * *
      * Required. The start date of a transfer. Date boundaries are determined
      * relative to UTC time. If `schedule_start_date` and [start_time_of_day][google.storagetransfer.v1.Schedule.start_time_of_day]
@@ -25650,7 +29373,9 @@ private Schedule(
      * [TransferOperation][google.storagetransfer.v1.TransferOperation] takes place on June 3 at midnight UTC.
      * 
* - * .google.type.Date schedule_start_date = 1 [(.google.api.field_behavior) = REQUIRED]; + * .google.type.Date schedule_start_date = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the scheduleStartDate field is set. */ @java.lang.Override @@ -25658,6 +29383,8 @@ public boolean hasScheduleStartDate() { return scheduleStartDate_ != null; } /** + * + * *
      * Required. The start date of a transfer. Date boundaries are determined
      * relative to UTC time. If `schedule_start_date` and [start_time_of_day][google.storagetransfer.v1.Schedule.start_time_of_day]
@@ -25672,14 +29399,20 @@ public boolean hasScheduleStartDate() {
      * [TransferOperation][google.storagetransfer.v1.TransferOperation] takes place on June 3 at midnight UTC.
      * 
* - * .google.type.Date schedule_start_date = 1 [(.google.api.field_behavior) = REQUIRED]; + * .google.type.Date schedule_start_date = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The scheduleStartDate. */ @java.lang.Override public com.google.type.Date getScheduleStartDate() { - return scheduleStartDate_ == null ? com.google.type.Date.getDefaultInstance() : scheduleStartDate_; + return scheduleStartDate_ == null + ? com.google.type.Date.getDefaultInstance() + : scheduleStartDate_; } /** + * + * *
      * Required. The start date of a transfer. Date boundaries are determined
      * relative to UTC time. If `schedule_start_date` and [start_time_of_day][google.storagetransfer.v1.Schedule.start_time_of_day]
@@ -25694,7 +29427,8 @@ public com.google.type.Date getScheduleStartDate() {
      * [TransferOperation][google.storagetransfer.v1.TransferOperation] takes place on June 3 at midnight UTC.
      * 
* - * .google.type.Date schedule_start_date = 1 [(.google.api.field_behavior) = REQUIRED]; + * .google.type.Date schedule_start_date = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ @java.lang.Override public com.google.type.DateOrBuilder getScheduleStartDateOrBuilder() { @@ -25704,6 +29438,8 @@ public com.google.type.DateOrBuilder getScheduleStartDateOrBuilder() { public static final int SCHEDULE_END_DATE_FIELD_NUMBER = 2; private com.google.type.Date scheduleEndDate_; /** + * + * *
      * The last day a transfer runs. Date boundaries are determined relative to
      * UTC time. A job runs once per 24 hours within the following guidelines:
@@ -25715,6 +29451,7 @@ public com.google.type.DateOrBuilder getScheduleStartDateOrBuilder() {
      * 
* * .google.type.Date schedule_end_date = 2; + * * @return Whether the scheduleEndDate field is set. */ @java.lang.Override @@ -25722,6 +29459,8 @@ public boolean hasScheduleEndDate() { return scheduleEndDate_ != null; } /** + * + * *
      * The last day a transfer runs. Date boundaries are determined relative to
      * UTC time. A job runs once per 24 hours within the following guidelines:
@@ -25733,13 +29472,18 @@ public boolean hasScheduleEndDate() {
      * 
* * .google.type.Date schedule_end_date = 2; + * * @return The scheduleEndDate. */ @java.lang.Override public com.google.type.Date getScheduleEndDate() { - return scheduleEndDate_ == null ? com.google.type.Date.getDefaultInstance() : scheduleEndDate_; + return scheduleEndDate_ == null + ? com.google.type.Date.getDefaultInstance() + : scheduleEndDate_; } /** + * + * *
      * The last day a transfer runs. Date boundaries are determined relative to
      * UTC time. A job runs once per 24 hours within the following guidelines:
@@ -25760,6 +29504,8 @@ public com.google.type.DateOrBuilder getScheduleEndDateOrBuilder() {
     public static final int START_TIME_OF_DAY_FIELD_NUMBER = 3;
     private com.google.type.TimeOfDay startTimeOfDay_;
     /**
+     *
+     *
      * 
      * The time in UTC that a transfer job is scheduled to run. Transfers may
      * start later than this time.
@@ -25774,6 +29520,7 @@ public com.google.type.DateOrBuilder getScheduleEndDateOrBuilder() {
      * 
* * .google.type.TimeOfDay start_time_of_day = 3; + * * @return Whether the startTimeOfDay field is set. */ @java.lang.Override @@ -25781,6 +29528,8 @@ public boolean hasStartTimeOfDay() { return startTimeOfDay_ != null; } /** + * + * *
      * The time in UTC that a transfer job is scheduled to run. Transfers may
      * start later than this time.
@@ -25795,13 +29544,18 @@ public boolean hasStartTimeOfDay() {
      * 
* * .google.type.TimeOfDay start_time_of_day = 3; + * * @return The startTimeOfDay. */ @java.lang.Override public com.google.type.TimeOfDay getStartTimeOfDay() { - return startTimeOfDay_ == null ? com.google.type.TimeOfDay.getDefaultInstance() : startTimeOfDay_; + return startTimeOfDay_ == null + ? com.google.type.TimeOfDay.getDefaultInstance() + : startTimeOfDay_; } /** + * + * *
      * The time in UTC that a transfer job is scheduled to run. Transfers may
      * start later than this time.
@@ -25825,6 +29579,8 @@ public com.google.type.TimeOfDayOrBuilder getStartTimeOfDayOrBuilder() {
     public static final int END_TIME_OF_DAY_FIELD_NUMBER = 4;
     private com.google.type.TimeOfDay endTimeOfDay_;
     /**
+     *
+     *
      * 
      * The time in UTC that no further transfer operations are scheduled. Combined
      * with [schedule_end_date][google.storagetransfer.v1.Schedule.schedule_end_date], `end_time_of_day` specifies the end date and
@@ -25839,6 +29595,7 @@ public com.google.type.TimeOfDayOrBuilder getStartTimeOfDayOrBuilder() {
      * 
* * .google.type.TimeOfDay end_time_of_day = 4; + * * @return Whether the endTimeOfDay field is set. */ @java.lang.Override @@ -25846,6 +29603,8 @@ public boolean hasEndTimeOfDay() { return endTimeOfDay_ != null; } /** + * + * *
      * The time in UTC that no further transfer operations are scheduled. Combined
      * with [schedule_end_date][google.storagetransfer.v1.Schedule.schedule_end_date], `end_time_of_day` specifies the end date and
@@ -25860,6 +29619,7 @@ public boolean hasEndTimeOfDay() {
      * 
* * .google.type.TimeOfDay end_time_of_day = 4; + * * @return The endTimeOfDay. */ @java.lang.Override @@ -25867,6 +29627,8 @@ public com.google.type.TimeOfDay getEndTimeOfDay() { return endTimeOfDay_ == null ? com.google.type.TimeOfDay.getDefaultInstance() : endTimeOfDay_; } /** + * + * *
      * The time in UTC that no further transfer operations are scheduled. Combined
      * with [schedule_end_date][google.storagetransfer.v1.Schedule.schedule_end_date], `end_time_of_day` specifies the end date and
@@ -25890,6 +29652,8 @@ public com.google.type.TimeOfDayOrBuilder getEndTimeOfDayOrBuilder() {
     public static final int REPEAT_INTERVAL_FIELD_NUMBER = 5;
     private com.google.protobuf.Duration repeatInterval_;
     /**
+     *
+     *
      * 
      * Interval between the start of each scheduled TransferOperation. If
      * unspecified, the default value is 24 hours. This value may not be less than
@@ -25897,6 +29661,7 @@ public com.google.type.TimeOfDayOrBuilder getEndTimeOfDayOrBuilder() {
      * 
* * .google.protobuf.Duration repeat_interval = 5; + * * @return Whether the repeatInterval field is set. */ @java.lang.Override @@ -25904,6 +29669,8 @@ public boolean hasRepeatInterval() { return repeatInterval_ != null; } /** + * + * *
      * Interval between the start of each scheduled TransferOperation. If
      * unspecified, the default value is 24 hours. This value may not be less than
@@ -25911,13 +29678,18 @@ public boolean hasRepeatInterval() {
      * 
* * .google.protobuf.Duration repeat_interval = 5; + * * @return The repeatInterval. */ @java.lang.Override public com.google.protobuf.Duration getRepeatInterval() { - return repeatInterval_ == null ? com.google.protobuf.Duration.getDefaultInstance() : repeatInterval_; + return repeatInterval_ == null + ? com.google.protobuf.Duration.getDefaultInstance() + : repeatInterval_; } /** + * + * *
      * Interval between the start of each scheduled TransferOperation. If
      * unspecified, the default value is 24 hours. This value may not be less than
@@ -25932,6 +29704,7 @@ public com.google.protobuf.DurationOrBuilder getRepeatIntervalOrBuilder() {
     }
 
     private byte memoizedIsInitialized = -1;
+
     @java.lang.Override
     public final boolean isInitialized() {
       byte isInitialized = memoizedIsInitialized;
@@ -25943,8 +29716,7 @@ 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 (scheduleStartDate_ != null) {
         output.writeMessage(1, getScheduleStartDate());
       }
@@ -25970,24 +29742,19 @@ public int getSerializedSize() {
 
       size = 0;
       if (scheduleStartDate_ != null) {
-        size += com.google.protobuf.CodedOutputStream
-          .computeMessageSize(1, getScheduleStartDate());
+        size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getScheduleStartDate());
       }
       if (scheduleEndDate_ != null) {
-        size += com.google.protobuf.CodedOutputStream
-          .computeMessageSize(2, getScheduleEndDate());
+        size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getScheduleEndDate());
       }
       if (startTimeOfDay_ != null) {
-        size += com.google.protobuf.CodedOutputStream
-          .computeMessageSize(3, getStartTimeOfDay());
+        size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getStartTimeOfDay());
       }
       if (endTimeOfDay_ != null) {
-        size += com.google.protobuf.CodedOutputStream
-          .computeMessageSize(4, getEndTimeOfDay());
+        size += com.google.protobuf.CodedOutputStream.computeMessageSize(4, getEndTimeOfDay());
       }
       if (repeatInterval_ != null) {
-        size += com.google.protobuf.CodedOutputStream
-          .computeMessageSize(5, getRepeatInterval());
+        size += com.google.protobuf.CodedOutputStream.computeMessageSize(5, getRepeatInterval());
       }
       size += unknownFields.getSerializedSize();
       memoizedSize = size;
@@ -25997,37 +29764,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.storagetransfer.v1.proto.TransferTypes.Schedule)) {
         return super.equals(obj);
       }
-      com.google.storagetransfer.v1.proto.TransferTypes.Schedule other = (com.google.storagetransfer.v1.proto.TransferTypes.Schedule) obj;
+      com.google.storagetransfer.v1.proto.TransferTypes.Schedule other =
+          (com.google.storagetransfer.v1.proto.TransferTypes.Schedule) obj;
 
       if (hasScheduleStartDate() != other.hasScheduleStartDate()) return false;
       if (hasScheduleStartDate()) {
-        if (!getScheduleStartDate()
-            .equals(other.getScheduleStartDate())) return false;
+        if (!getScheduleStartDate().equals(other.getScheduleStartDate())) return false;
       }
       if (hasScheduleEndDate() != other.hasScheduleEndDate()) return false;
       if (hasScheduleEndDate()) {
-        if (!getScheduleEndDate()
-            .equals(other.getScheduleEndDate())) return false;
+        if (!getScheduleEndDate().equals(other.getScheduleEndDate())) return false;
       }
       if (hasStartTimeOfDay() != other.hasStartTimeOfDay()) return false;
       if (hasStartTimeOfDay()) {
-        if (!getStartTimeOfDay()
-            .equals(other.getStartTimeOfDay())) return false;
+        if (!getStartTimeOfDay().equals(other.getStartTimeOfDay())) return false;
       }
       if (hasEndTimeOfDay() != other.hasEndTimeOfDay()) return false;
       if (hasEndTimeOfDay()) {
-        if (!getEndTimeOfDay()
-            .equals(other.getEndTimeOfDay())) return false;
+        if (!getEndTimeOfDay().equals(other.getEndTimeOfDay())) return false;
       }
       if (hasRepeatInterval() != other.hasRepeatInterval()) return false;
       if (hasRepeatInterval()) {
-        if (!getRepeatInterval()
-            .equals(other.getRepeatInterval())) return false;
+        if (!getRepeatInterval().equals(other.getRepeatInterval())) return false;
       }
       if (!unknownFields.equals(other.unknownFields)) return false;
       return true;
@@ -26066,87 +29829,94 @@ public int hashCode() {
     }
 
     public static com.google.storagetransfer.v1.proto.TransferTypes.Schedule parseFrom(
-        java.nio.ByteBuffer data)
-        throws com.google.protobuf.InvalidProtocolBufferException {
+        java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data);
     }
+
     public static com.google.storagetransfer.v1.proto.TransferTypes.Schedule 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.storagetransfer.v1.proto.TransferTypes.Schedule parseFrom(
         com.google.protobuf.ByteString data)
         throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data);
     }
+
     public static com.google.storagetransfer.v1.proto.TransferTypes.Schedule 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.storagetransfer.v1.proto.TransferTypes.Schedule parseFrom(byte[] data)
         throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data);
     }
+
     public static com.google.storagetransfer.v1.proto.TransferTypes.Schedule 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.storagetransfer.v1.proto.TransferTypes.Schedule parseFrom(java.io.InputStream input)
-        throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3
-          .parseWithIOException(PARSER, input);
+
+    public static com.google.storagetransfer.v1.proto.TransferTypes.Schedule parseFrom(
+        java.io.InputStream input) throws java.io.IOException {
+      return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
     }
+
     public static com.google.storagetransfer.v1.proto.TransferTypes.Schedule 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.storagetransfer.v1.proto.TransferTypes.Schedule parseDelimitedFrom(java.io.InputStream input)
-        throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3
-          .parseDelimitedWithIOException(PARSER, input);
+
+    public static com.google.storagetransfer.v1.proto.TransferTypes.Schedule parseDelimitedFrom(
+        java.io.InputStream input) throws java.io.IOException {
+      return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
     }
+
     public static com.google.storagetransfer.v1.proto.TransferTypes.Schedule 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.storagetransfer.v1.proto.TransferTypes.Schedule 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.storagetransfer.v1.proto.TransferTypes.Schedule 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.storagetransfer.v1.proto.TransferTypes.Schedule prototype) {
+
+    public static Builder newBuilder(
+        com.google.storagetransfer.v1.proto.TransferTypes.Schedule 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
@@ -26156,27 +29926,32 @@ protected Builder newBuilderForType(
       return builder;
     }
     /**
+     *
+     *
      * 
      * Transfers can be scheduled to recur or to run just once.
      * 
* * Protobuf type {@code google.storagetransfer.v1.Schedule} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder + extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.storagetransfer.v1.Schedule) com.google.storagetransfer.v1.proto.TransferTypes.ScheduleOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.storagetransfer.v1.proto.TransferTypes.internal_static_google_storagetransfer_v1_Schedule_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.storagetransfer.v1.proto.TransferTypes + .internal_static_google_storagetransfer_v1_Schedule_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.storagetransfer.v1.proto.TransferTypes.internal_static_google_storagetransfer_v1_Schedule_fieldAccessorTable + return com.google.storagetransfer.v1.proto.TransferTypes + .internal_static_google_storagetransfer_v1_Schedule_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.storagetransfer.v1.proto.TransferTypes.Schedule.class, com.google.storagetransfer.v1.proto.TransferTypes.Schedule.Builder.class); + com.google.storagetransfer.v1.proto.TransferTypes.Schedule.class, + com.google.storagetransfer.v1.proto.TransferTypes.Schedule.Builder.class); } // Construct using com.google.storagetransfer.v1.proto.TransferTypes.Schedule.newBuilder() @@ -26184,16 +29959,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -26231,13 +30005,14 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.storagetransfer.v1.proto.TransferTypes.internal_static_google_storagetransfer_v1_Schedule_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.storagetransfer.v1.proto.TransferTypes + .internal_static_google_storagetransfer_v1_Schedule_descriptor; } @java.lang.Override - public com.google.storagetransfer.v1.proto.TransferTypes.Schedule getDefaultInstanceForType() { + public com.google.storagetransfer.v1.proto.TransferTypes.Schedule + getDefaultInstanceForType() { return com.google.storagetransfer.v1.proto.TransferTypes.Schedule.getDefaultInstance(); } @@ -26252,7 +30027,8 @@ public com.google.storagetransfer.v1.proto.TransferTypes.Schedule build() { @java.lang.Override public com.google.storagetransfer.v1.proto.TransferTypes.Schedule buildPartial() { - com.google.storagetransfer.v1.proto.TransferTypes.Schedule result = new com.google.storagetransfer.v1.proto.TransferTypes.Schedule(this); + com.google.storagetransfer.v1.proto.TransferTypes.Schedule result = + new com.google.storagetransfer.v1.proto.TransferTypes.Schedule(this); if (scheduleStartDateBuilder_ == null) { result.scheduleStartDate_ = scheduleStartDate_; } else { @@ -26286,38 +30062,41 @@ public com.google.storagetransfer.v1.proto.TransferTypes.Schedule buildPartial() public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + int index, + java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.storagetransfer.v1.proto.TransferTypes.Schedule) { - return mergeFrom((com.google.storagetransfer.v1.proto.TransferTypes.Schedule)other); + return mergeFrom((com.google.storagetransfer.v1.proto.TransferTypes.Schedule) other); } else { super.mergeFrom(other); return this; @@ -26325,7 +30104,9 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.storagetransfer.v1.proto.TransferTypes.Schedule other) { - if (other == com.google.storagetransfer.v1.proto.TransferTypes.Schedule.getDefaultInstance()) return this; + if (other + == com.google.storagetransfer.v1.proto.TransferTypes.Schedule.getDefaultInstance()) + return this; if (other.hasScheduleStartDate()) { mergeScheduleStartDate(other.getScheduleStartDate()); } @@ -26360,7 +30141,8 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.storagetransfer.v1.proto.TransferTypes.Schedule) e.getUnfinishedMessage(); + parsedMessage = + (com.google.storagetransfer.v1.proto.TransferTypes.Schedule) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -26372,8 +30154,11 @@ public Builder mergeFrom( private com.google.type.Date scheduleStartDate_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.type.Date, com.google.type.Date.Builder, com.google.type.DateOrBuilder> scheduleStartDateBuilder_; + com.google.type.Date, com.google.type.Date.Builder, com.google.type.DateOrBuilder> + scheduleStartDateBuilder_; /** + * + * *
        * Required. The start date of a transfer. Date boundaries are determined
        * relative to UTC time. If `schedule_start_date` and [start_time_of_day][google.storagetransfer.v1.Schedule.start_time_of_day]
@@ -26388,13 +30173,17 @@ public Builder mergeFrom(
        * [TransferOperation][google.storagetransfer.v1.TransferOperation] takes place on June 3 at midnight UTC.
        * 
* - * .google.type.Date schedule_start_date = 1 [(.google.api.field_behavior) = REQUIRED]; + * .google.type.Date schedule_start_date = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the scheduleStartDate field is set. */ public boolean hasScheduleStartDate() { return scheduleStartDateBuilder_ != null || scheduleStartDate_ != null; } /** + * + * *
        * Required. The start date of a transfer. Date boundaries are determined
        * relative to UTC time. If `schedule_start_date` and [start_time_of_day][google.storagetransfer.v1.Schedule.start_time_of_day]
@@ -26409,17 +30198,23 @@ public boolean hasScheduleStartDate() {
        * [TransferOperation][google.storagetransfer.v1.TransferOperation] takes place on June 3 at midnight UTC.
        * 
* - * .google.type.Date schedule_start_date = 1 [(.google.api.field_behavior) = REQUIRED]; + * .google.type.Date schedule_start_date = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The scheduleStartDate. */ public com.google.type.Date getScheduleStartDate() { if (scheduleStartDateBuilder_ == null) { - return scheduleStartDate_ == null ? com.google.type.Date.getDefaultInstance() : scheduleStartDate_; + return scheduleStartDate_ == null + ? com.google.type.Date.getDefaultInstance() + : scheduleStartDate_; } else { return scheduleStartDateBuilder_.getMessage(); } } /** + * + * *
        * Required. The start date of a transfer. Date boundaries are determined
        * relative to UTC time. If `schedule_start_date` and [start_time_of_day][google.storagetransfer.v1.Schedule.start_time_of_day]
@@ -26434,7 +30229,8 @@ public com.google.type.Date getScheduleStartDate() {
        * [TransferOperation][google.storagetransfer.v1.TransferOperation] takes place on June 3 at midnight UTC.
        * 
* - * .google.type.Date schedule_start_date = 1 [(.google.api.field_behavior) = REQUIRED]; + * .google.type.Date schedule_start_date = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder setScheduleStartDate(com.google.type.Date value) { if (scheduleStartDateBuilder_ == null) { @@ -26450,6 +30246,8 @@ public Builder setScheduleStartDate(com.google.type.Date value) { return this; } /** + * + * *
        * Required. The start date of a transfer. Date boundaries are determined
        * relative to UTC time. If `schedule_start_date` and [start_time_of_day][google.storagetransfer.v1.Schedule.start_time_of_day]
@@ -26464,10 +30262,10 @@ public Builder setScheduleStartDate(com.google.type.Date value) {
        * [TransferOperation][google.storagetransfer.v1.TransferOperation] takes place on June 3 at midnight UTC.
        * 
* - * .google.type.Date schedule_start_date = 1 [(.google.api.field_behavior) = REQUIRED]; + * .google.type.Date schedule_start_date = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ - public Builder setScheduleStartDate( - com.google.type.Date.Builder builderForValue) { + public Builder setScheduleStartDate(com.google.type.Date.Builder builderForValue) { if (scheduleStartDateBuilder_ == null) { scheduleStartDate_ = builderForValue.build(); onChanged(); @@ -26478,6 +30276,8 @@ public Builder setScheduleStartDate( return this; } /** + * + * *
        * Required. The start date of a transfer. Date boundaries are determined
        * relative to UTC time. If `schedule_start_date` and [start_time_of_day][google.storagetransfer.v1.Schedule.start_time_of_day]
@@ -26492,13 +30292,14 @@ public Builder setScheduleStartDate(
        * [TransferOperation][google.storagetransfer.v1.TransferOperation] takes place on June 3 at midnight UTC.
        * 
* - * .google.type.Date schedule_start_date = 1 [(.google.api.field_behavior) = REQUIRED]; + * .google.type.Date schedule_start_date = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder mergeScheduleStartDate(com.google.type.Date value) { if (scheduleStartDateBuilder_ == null) { if (scheduleStartDate_ != null) { scheduleStartDate_ = - com.google.type.Date.newBuilder(scheduleStartDate_).mergeFrom(value).buildPartial(); + com.google.type.Date.newBuilder(scheduleStartDate_).mergeFrom(value).buildPartial(); } else { scheduleStartDate_ = value; } @@ -26510,6 +30311,8 @@ public Builder mergeScheduleStartDate(com.google.type.Date value) { return this; } /** + * + * *
        * Required. The start date of a transfer. Date boundaries are determined
        * relative to UTC time. If `schedule_start_date` and [start_time_of_day][google.storagetransfer.v1.Schedule.start_time_of_day]
@@ -26524,7 +30327,8 @@ public Builder mergeScheduleStartDate(com.google.type.Date value) {
        * [TransferOperation][google.storagetransfer.v1.TransferOperation] takes place on June 3 at midnight UTC.
        * 
* - * .google.type.Date schedule_start_date = 1 [(.google.api.field_behavior) = REQUIRED]; + * .google.type.Date schedule_start_date = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder clearScheduleStartDate() { if (scheduleStartDateBuilder_ == null) { @@ -26538,6 +30342,8 @@ public Builder clearScheduleStartDate() { return this; } /** + * + * *
        * Required. The start date of a transfer. Date boundaries are determined
        * relative to UTC time. If `schedule_start_date` and [start_time_of_day][google.storagetransfer.v1.Schedule.start_time_of_day]
@@ -26552,14 +30358,17 @@ public Builder clearScheduleStartDate() {
        * [TransferOperation][google.storagetransfer.v1.TransferOperation] takes place on June 3 at midnight UTC.
        * 
* - * .google.type.Date schedule_start_date = 1 [(.google.api.field_behavior) = REQUIRED]; + * .google.type.Date schedule_start_date = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.type.Date.Builder getScheduleStartDateBuilder() { - + onChanged(); return getScheduleStartDateFieldBuilder().getBuilder(); } /** + * + * *
        * Required. The start date of a transfer. Date boundaries are determined
        * relative to UTC time. If `schedule_start_date` and [start_time_of_day][google.storagetransfer.v1.Schedule.start_time_of_day]
@@ -26574,17 +30383,21 @@ public com.google.type.Date.Builder getScheduleStartDateBuilder() {
        * [TransferOperation][google.storagetransfer.v1.TransferOperation] takes place on June 3 at midnight UTC.
        * 
* - * .google.type.Date schedule_start_date = 1 [(.google.api.field_behavior) = REQUIRED]; + * .google.type.Date schedule_start_date = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.type.DateOrBuilder getScheduleStartDateOrBuilder() { if (scheduleStartDateBuilder_ != null) { return scheduleStartDateBuilder_.getMessageOrBuilder(); } else { - return scheduleStartDate_ == null ? - com.google.type.Date.getDefaultInstance() : scheduleStartDate_; + return scheduleStartDate_ == null + ? com.google.type.Date.getDefaultInstance() + : scheduleStartDate_; } } /** + * + * *
        * Required. The start date of a transfer. Date boundaries are determined
        * relative to UTC time. If `schedule_start_date` and [start_time_of_day][google.storagetransfer.v1.Schedule.start_time_of_day]
@@ -26599,17 +30412,19 @@ public com.google.type.DateOrBuilder getScheduleStartDateOrBuilder() {
        * [TransferOperation][google.storagetransfer.v1.TransferOperation] takes place on June 3 at midnight UTC.
        * 
* - * .google.type.Date schedule_start_date = 1 [(.google.api.field_behavior) = REQUIRED]; + * .google.type.Date schedule_start_date = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.type.Date, com.google.type.Date.Builder, com.google.type.DateOrBuilder> + com.google.type.Date, com.google.type.Date.Builder, com.google.type.DateOrBuilder> getScheduleStartDateFieldBuilder() { if (scheduleStartDateBuilder_ == null) { - scheduleStartDateBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.type.Date, com.google.type.Date.Builder, com.google.type.DateOrBuilder>( - getScheduleStartDate(), - getParentForChildren(), - isClean()); + scheduleStartDateBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.type.Date, + com.google.type.Date.Builder, + com.google.type.DateOrBuilder>( + getScheduleStartDate(), getParentForChildren(), isClean()); scheduleStartDate_ = null; } return scheduleStartDateBuilder_; @@ -26617,8 +30432,11 @@ public com.google.type.DateOrBuilder getScheduleStartDateOrBuilder() { private com.google.type.Date scheduleEndDate_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.type.Date, com.google.type.Date.Builder, com.google.type.DateOrBuilder> scheduleEndDateBuilder_; + com.google.type.Date, com.google.type.Date.Builder, com.google.type.DateOrBuilder> + scheduleEndDateBuilder_; /** + * + * *
        * The last day a transfer runs. Date boundaries are determined relative to
        * UTC time. A job runs once per 24 hours within the following guidelines:
@@ -26630,12 +30448,15 @@ public com.google.type.DateOrBuilder getScheduleStartDateOrBuilder() {
        * 
* * .google.type.Date schedule_end_date = 2; + * * @return Whether the scheduleEndDate field is set. */ public boolean hasScheduleEndDate() { return scheduleEndDateBuilder_ != null || scheduleEndDate_ != null; } /** + * + * *
        * The last day a transfer runs. Date boundaries are determined relative to
        * UTC time. A job runs once per 24 hours within the following guidelines:
@@ -26647,16 +30468,21 @@ public boolean hasScheduleEndDate() {
        * 
* * .google.type.Date schedule_end_date = 2; + * * @return The scheduleEndDate. */ public com.google.type.Date getScheduleEndDate() { if (scheduleEndDateBuilder_ == null) { - return scheduleEndDate_ == null ? com.google.type.Date.getDefaultInstance() : scheduleEndDate_; + return scheduleEndDate_ == null + ? com.google.type.Date.getDefaultInstance() + : scheduleEndDate_; } else { return scheduleEndDateBuilder_.getMessage(); } } /** + * + * *
        * The last day a transfer runs. Date boundaries are determined relative to
        * UTC time. A job runs once per 24 hours within the following guidelines:
@@ -26683,6 +30509,8 @@ public Builder setScheduleEndDate(com.google.type.Date value) {
         return this;
       }
       /**
+       *
+       *
        * 
        * The last day a transfer runs. Date boundaries are determined relative to
        * UTC time. A job runs once per 24 hours within the following guidelines:
@@ -26695,8 +30523,7 @@ public Builder setScheduleEndDate(com.google.type.Date value) {
        *
        * .google.type.Date schedule_end_date = 2;
        */
-      public Builder setScheduleEndDate(
-          com.google.type.Date.Builder builderForValue) {
+      public Builder setScheduleEndDate(com.google.type.Date.Builder builderForValue) {
         if (scheduleEndDateBuilder_ == null) {
           scheduleEndDate_ = builderForValue.build();
           onChanged();
@@ -26707,6 +30534,8 @@ public Builder setScheduleEndDate(
         return this;
       }
       /**
+       *
+       *
        * 
        * The last day a transfer runs. Date boundaries are determined relative to
        * UTC time. A job runs once per 24 hours within the following guidelines:
@@ -26723,7 +30552,7 @@ public Builder mergeScheduleEndDate(com.google.type.Date value) {
         if (scheduleEndDateBuilder_ == null) {
           if (scheduleEndDate_ != null) {
             scheduleEndDate_ =
-              com.google.type.Date.newBuilder(scheduleEndDate_).mergeFrom(value).buildPartial();
+                com.google.type.Date.newBuilder(scheduleEndDate_).mergeFrom(value).buildPartial();
           } else {
             scheduleEndDate_ = value;
           }
@@ -26735,6 +30564,8 @@ public Builder mergeScheduleEndDate(com.google.type.Date value) {
         return this;
       }
       /**
+       *
+       *
        * 
        * The last day a transfer runs. Date boundaries are determined relative to
        * UTC time. A job runs once per 24 hours within the following guidelines:
@@ -26759,6 +30590,8 @@ public Builder clearScheduleEndDate() {
         return this;
       }
       /**
+       *
+       *
        * 
        * The last day a transfer runs. Date boundaries are determined relative to
        * UTC time. A job runs once per 24 hours within the following guidelines:
@@ -26772,11 +30605,13 @@ public Builder clearScheduleEndDate() {
        * .google.type.Date schedule_end_date = 2;
        */
       public com.google.type.Date.Builder getScheduleEndDateBuilder() {
-        
+
         onChanged();
         return getScheduleEndDateFieldBuilder().getBuilder();
       }
       /**
+       *
+       *
        * 
        * The last day a transfer runs. Date boundaries are determined relative to
        * UTC time. A job runs once per 24 hours within the following guidelines:
@@ -26793,11 +30628,14 @@ public com.google.type.DateOrBuilder getScheduleEndDateOrBuilder() {
         if (scheduleEndDateBuilder_ != null) {
           return scheduleEndDateBuilder_.getMessageOrBuilder();
         } else {
-          return scheduleEndDate_ == null ?
-              com.google.type.Date.getDefaultInstance() : scheduleEndDate_;
+          return scheduleEndDate_ == null
+              ? com.google.type.Date.getDefaultInstance()
+              : scheduleEndDate_;
         }
       }
       /**
+       *
+       *
        * 
        * The last day a transfer runs. Date boundaries are determined relative to
        * UTC time. A job runs once per 24 hours within the following guidelines:
@@ -26811,14 +30649,15 @@ public com.google.type.DateOrBuilder getScheduleEndDateOrBuilder() {
        * .google.type.Date schedule_end_date = 2;
        */
       private com.google.protobuf.SingleFieldBuilderV3<
-          com.google.type.Date, com.google.type.Date.Builder, com.google.type.DateOrBuilder> 
+              com.google.type.Date, com.google.type.Date.Builder, com.google.type.DateOrBuilder>
           getScheduleEndDateFieldBuilder() {
         if (scheduleEndDateBuilder_ == null) {
-          scheduleEndDateBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-              com.google.type.Date, com.google.type.Date.Builder, com.google.type.DateOrBuilder>(
-                  getScheduleEndDate(),
-                  getParentForChildren(),
-                  isClean());
+          scheduleEndDateBuilder_ =
+              new com.google.protobuf.SingleFieldBuilderV3<
+                  com.google.type.Date,
+                  com.google.type.Date.Builder,
+                  com.google.type.DateOrBuilder>(
+                  getScheduleEndDate(), getParentForChildren(), isClean());
           scheduleEndDate_ = null;
         }
         return scheduleEndDateBuilder_;
@@ -26826,8 +30665,13 @@ public com.google.type.DateOrBuilder getScheduleEndDateOrBuilder() {
 
       private com.google.type.TimeOfDay startTimeOfDay_;
       private com.google.protobuf.SingleFieldBuilderV3<
-          com.google.type.TimeOfDay, com.google.type.TimeOfDay.Builder, com.google.type.TimeOfDayOrBuilder> startTimeOfDayBuilder_;
+              com.google.type.TimeOfDay,
+              com.google.type.TimeOfDay.Builder,
+              com.google.type.TimeOfDayOrBuilder>
+          startTimeOfDayBuilder_;
       /**
+       *
+       *
        * 
        * The time in UTC that a transfer job is scheduled to run. Transfers may
        * start later than this time.
@@ -26842,12 +30686,15 @@ public com.google.type.DateOrBuilder getScheduleEndDateOrBuilder() {
        * 
* * .google.type.TimeOfDay start_time_of_day = 3; + * * @return Whether the startTimeOfDay field is set. */ public boolean hasStartTimeOfDay() { return startTimeOfDayBuilder_ != null || startTimeOfDay_ != null; } /** + * + * *
        * The time in UTC that a transfer job is scheduled to run. Transfers may
        * start later than this time.
@@ -26862,16 +30709,21 @@ public boolean hasStartTimeOfDay() {
        * 
* * .google.type.TimeOfDay start_time_of_day = 3; + * * @return The startTimeOfDay. */ public com.google.type.TimeOfDay getStartTimeOfDay() { if (startTimeOfDayBuilder_ == null) { - return startTimeOfDay_ == null ? com.google.type.TimeOfDay.getDefaultInstance() : startTimeOfDay_; + return startTimeOfDay_ == null + ? com.google.type.TimeOfDay.getDefaultInstance() + : startTimeOfDay_; } else { return startTimeOfDayBuilder_.getMessage(); } } /** + * + * *
        * The time in UTC that a transfer job is scheduled to run. Transfers may
        * start later than this time.
@@ -26901,6 +30753,8 @@ public Builder setStartTimeOfDay(com.google.type.TimeOfDay value) {
         return this;
       }
       /**
+       *
+       *
        * 
        * The time in UTC that a transfer job is scheduled to run. Transfers may
        * start later than this time.
@@ -26916,8 +30770,7 @@ public Builder setStartTimeOfDay(com.google.type.TimeOfDay value) {
        *
        * .google.type.TimeOfDay start_time_of_day = 3;
        */
-      public Builder setStartTimeOfDay(
-          com.google.type.TimeOfDay.Builder builderForValue) {
+      public Builder setStartTimeOfDay(com.google.type.TimeOfDay.Builder builderForValue) {
         if (startTimeOfDayBuilder_ == null) {
           startTimeOfDay_ = builderForValue.build();
           onChanged();
@@ -26928,6 +30781,8 @@ public Builder setStartTimeOfDay(
         return this;
       }
       /**
+       *
+       *
        * 
        * The time in UTC that a transfer job is scheduled to run. Transfers may
        * start later than this time.
@@ -26947,7 +30802,9 @@ public Builder mergeStartTimeOfDay(com.google.type.TimeOfDay value) {
         if (startTimeOfDayBuilder_ == null) {
           if (startTimeOfDay_ != null) {
             startTimeOfDay_ =
-              com.google.type.TimeOfDay.newBuilder(startTimeOfDay_).mergeFrom(value).buildPartial();
+                com.google.type.TimeOfDay.newBuilder(startTimeOfDay_)
+                    .mergeFrom(value)
+                    .buildPartial();
           } else {
             startTimeOfDay_ = value;
           }
@@ -26959,6 +30816,8 @@ public Builder mergeStartTimeOfDay(com.google.type.TimeOfDay value) {
         return this;
       }
       /**
+       *
+       *
        * 
        * The time in UTC that a transfer job is scheduled to run. Transfers may
        * start later than this time.
@@ -26986,6 +30845,8 @@ public Builder clearStartTimeOfDay() {
         return this;
       }
       /**
+       *
+       *
        * 
        * The time in UTC that a transfer job is scheduled to run. Transfers may
        * start later than this time.
@@ -27002,11 +30863,13 @@ public Builder clearStartTimeOfDay() {
        * .google.type.TimeOfDay start_time_of_day = 3;
        */
       public com.google.type.TimeOfDay.Builder getStartTimeOfDayBuilder() {
-        
+
         onChanged();
         return getStartTimeOfDayFieldBuilder().getBuilder();
       }
       /**
+       *
+       *
        * 
        * The time in UTC that a transfer job is scheduled to run. Transfers may
        * start later than this time.
@@ -27026,11 +30889,14 @@ public com.google.type.TimeOfDayOrBuilder getStartTimeOfDayOrBuilder() {
         if (startTimeOfDayBuilder_ != null) {
           return startTimeOfDayBuilder_.getMessageOrBuilder();
         } else {
-          return startTimeOfDay_ == null ?
-              com.google.type.TimeOfDay.getDefaultInstance() : startTimeOfDay_;
+          return startTimeOfDay_ == null
+              ? com.google.type.TimeOfDay.getDefaultInstance()
+              : startTimeOfDay_;
         }
       }
       /**
+       *
+       *
        * 
        * The time in UTC that a transfer job is scheduled to run. Transfers may
        * start later than this time.
@@ -27047,14 +30913,17 @@ public com.google.type.TimeOfDayOrBuilder getStartTimeOfDayOrBuilder() {
        * .google.type.TimeOfDay start_time_of_day = 3;
        */
       private com.google.protobuf.SingleFieldBuilderV3<
-          com.google.type.TimeOfDay, com.google.type.TimeOfDay.Builder, com.google.type.TimeOfDayOrBuilder> 
+              com.google.type.TimeOfDay,
+              com.google.type.TimeOfDay.Builder,
+              com.google.type.TimeOfDayOrBuilder>
           getStartTimeOfDayFieldBuilder() {
         if (startTimeOfDayBuilder_ == null) {
-          startTimeOfDayBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-              com.google.type.TimeOfDay, com.google.type.TimeOfDay.Builder, com.google.type.TimeOfDayOrBuilder>(
-                  getStartTimeOfDay(),
-                  getParentForChildren(),
-                  isClean());
+          startTimeOfDayBuilder_ =
+              new com.google.protobuf.SingleFieldBuilderV3<
+                  com.google.type.TimeOfDay,
+                  com.google.type.TimeOfDay.Builder,
+                  com.google.type.TimeOfDayOrBuilder>(
+                  getStartTimeOfDay(), getParentForChildren(), isClean());
           startTimeOfDay_ = null;
         }
         return startTimeOfDayBuilder_;
@@ -27062,8 +30931,13 @@ public com.google.type.TimeOfDayOrBuilder getStartTimeOfDayOrBuilder() {
 
       private com.google.type.TimeOfDay endTimeOfDay_;
       private com.google.protobuf.SingleFieldBuilderV3<
-          com.google.type.TimeOfDay, com.google.type.TimeOfDay.Builder, com.google.type.TimeOfDayOrBuilder> endTimeOfDayBuilder_;
+              com.google.type.TimeOfDay,
+              com.google.type.TimeOfDay.Builder,
+              com.google.type.TimeOfDayOrBuilder>
+          endTimeOfDayBuilder_;
       /**
+       *
+       *
        * 
        * The time in UTC that no further transfer operations are scheduled. Combined
        * with [schedule_end_date][google.storagetransfer.v1.Schedule.schedule_end_date], `end_time_of_day` specifies the end date and
@@ -27078,12 +30952,15 @@ public com.google.type.TimeOfDayOrBuilder getStartTimeOfDayOrBuilder() {
        * 
* * .google.type.TimeOfDay end_time_of_day = 4; + * * @return Whether the endTimeOfDay field is set. */ public boolean hasEndTimeOfDay() { return endTimeOfDayBuilder_ != null || endTimeOfDay_ != null; } /** + * + * *
        * The time in UTC that no further transfer operations are scheduled. Combined
        * with [schedule_end_date][google.storagetransfer.v1.Schedule.schedule_end_date], `end_time_of_day` specifies the end date and
@@ -27098,16 +30975,21 @@ public boolean hasEndTimeOfDay() {
        * 
* * .google.type.TimeOfDay end_time_of_day = 4; + * * @return The endTimeOfDay. */ public com.google.type.TimeOfDay getEndTimeOfDay() { if (endTimeOfDayBuilder_ == null) { - return endTimeOfDay_ == null ? com.google.type.TimeOfDay.getDefaultInstance() : endTimeOfDay_; + return endTimeOfDay_ == null + ? com.google.type.TimeOfDay.getDefaultInstance() + : endTimeOfDay_; } else { return endTimeOfDayBuilder_.getMessage(); } } /** + * + * *
        * The time in UTC that no further transfer operations are scheduled. Combined
        * with [schedule_end_date][google.storagetransfer.v1.Schedule.schedule_end_date], `end_time_of_day` specifies the end date and
@@ -27137,6 +31019,8 @@ public Builder setEndTimeOfDay(com.google.type.TimeOfDay value) {
         return this;
       }
       /**
+       *
+       *
        * 
        * The time in UTC that no further transfer operations are scheduled. Combined
        * with [schedule_end_date][google.storagetransfer.v1.Schedule.schedule_end_date], `end_time_of_day` specifies the end date and
@@ -27152,8 +31036,7 @@ public Builder setEndTimeOfDay(com.google.type.TimeOfDay value) {
        *
        * .google.type.TimeOfDay end_time_of_day = 4;
        */
-      public Builder setEndTimeOfDay(
-          com.google.type.TimeOfDay.Builder builderForValue) {
+      public Builder setEndTimeOfDay(com.google.type.TimeOfDay.Builder builderForValue) {
         if (endTimeOfDayBuilder_ == null) {
           endTimeOfDay_ = builderForValue.build();
           onChanged();
@@ -27164,6 +31047,8 @@ public Builder setEndTimeOfDay(
         return this;
       }
       /**
+       *
+       *
        * 
        * The time in UTC that no further transfer operations are scheduled. Combined
        * with [schedule_end_date][google.storagetransfer.v1.Schedule.schedule_end_date], `end_time_of_day` specifies the end date and
@@ -27183,7 +31068,7 @@ public Builder mergeEndTimeOfDay(com.google.type.TimeOfDay value) {
         if (endTimeOfDayBuilder_ == null) {
           if (endTimeOfDay_ != null) {
             endTimeOfDay_ =
-              com.google.type.TimeOfDay.newBuilder(endTimeOfDay_).mergeFrom(value).buildPartial();
+                com.google.type.TimeOfDay.newBuilder(endTimeOfDay_).mergeFrom(value).buildPartial();
           } else {
             endTimeOfDay_ = value;
           }
@@ -27195,6 +31080,8 @@ public Builder mergeEndTimeOfDay(com.google.type.TimeOfDay value) {
         return this;
       }
       /**
+       *
+       *
        * 
        * The time in UTC that no further transfer operations are scheduled. Combined
        * with [schedule_end_date][google.storagetransfer.v1.Schedule.schedule_end_date], `end_time_of_day` specifies the end date and
@@ -27222,6 +31109,8 @@ public Builder clearEndTimeOfDay() {
         return this;
       }
       /**
+       *
+       *
        * 
        * The time in UTC that no further transfer operations are scheduled. Combined
        * with [schedule_end_date][google.storagetransfer.v1.Schedule.schedule_end_date], `end_time_of_day` specifies the end date and
@@ -27238,11 +31127,13 @@ public Builder clearEndTimeOfDay() {
        * .google.type.TimeOfDay end_time_of_day = 4;
        */
       public com.google.type.TimeOfDay.Builder getEndTimeOfDayBuilder() {
-        
+
         onChanged();
         return getEndTimeOfDayFieldBuilder().getBuilder();
       }
       /**
+       *
+       *
        * 
        * The time in UTC that no further transfer operations are scheduled. Combined
        * with [schedule_end_date][google.storagetransfer.v1.Schedule.schedule_end_date], `end_time_of_day` specifies the end date and
@@ -27262,11 +31153,14 @@ public com.google.type.TimeOfDayOrBuilder getEndTimeOfDayOrBuilder() {
         if (endTimeOfDayBuilder_ != null) {
           return endTimeOfDayBuilder_.getMessageOrBuilder();
         } else {
-          return endTimeOfDay_ == null ?
-              com.google.type.TimeOfDay.getDefaultInstance() : endTimeOfDay_;
+          return endTimeOfDay_ == null
+              ? com.google.type.TimeOfDay.getDefaultInstance()
+              : endTimeOfDay_;
         }
       }
       /**
+       *
+       *
        * 
        * The time in UTC that no further transfer operations are scheduled. Combined
        * with [schedule_end_date][google.storagetransfer.v1.Schedule.schedule_end_date], `end_time_of_day` specifies the end date and
@@ -27283,14 +31177,17 @@ public com.google.type.TimeOfDayOrBuilder getEndTimeOfDayOrBuilder() {
        * .google.type.TimeOfDay end_time_of_day = 4;
        */
       private com.google.protobuf.SingleFieldBuilderV3<
-          com.google.type.TimeOfDay, com.google.type.TimeOfDay.Builder, com.google.type.TimeOfDayOrBuilder> 
+              com.google.type.TimeOfDay,
+              com.google.type.TimeOfDay.Builder,
+              com.google.type.TimeOfDayOrBuilder>
           getEndTimeOfDayFieldBuilder() {
         if (endTimeOfDayBuilder_ == null) {
-          endTimeOfDayBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-              com.google.type.TimeOfDay, com.google.type.TimeOfDay.Builder, com.google.type.TimeOfDayOrBuilder>(
-                  getEndTimeOfDay(),
-                  getParentForChildren(),
-                  isClean());
+          endTimeOfDayBuilder_ =
+              new com.google.protobuf.SingleFieldBuilderV3<
+                  com.google.type.TimeOfDay,
+                  com.google.type.TimeOfDay.Builder,
+                  com.google.type.TimeOfDayOrBuilder>(
+                  getEndTimeOfDay(), getParentForChildren(), isClean());
           endTimeOfDay_ = null;
         }
         return endTimeOfDayBuilder_;
@@ -27298,8 +31195,13 @@ public com.google.type.TimeOfDayOrBuilder getEndTimeOfDayOrBuilder() {
 
       private com.google.protobuf.Duration repeatInterval_;
       private com.google.protobuf.SingleFieldBuilderV3<
-          com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder> repeatIntervalBuilder_;
+              com.google.protobuf.Duration,
+              com.google.protobuf.Duration.Builder,
+              com.google.protobuf.DurationOrBuilder>
+          repeatIntervalBuilder_;
       /**
+       *
+       *
        * 
        * Interval between the start of each scheduled TransferOperation. If
        * unspecified, the default value is 24 hours. This value may not be less than
@@ -27307,12 +31209,15 @@ public com.google.type.TimeOfDayOrBuilder getEndTimeOfDayOrBuilder() {
        * 
* * .google.protobuf.Duration repeat_interval = 5; + * * @return Whether the repeatInterval field is set. */ public boolean hasRepeatInterval() { return repeatIntervalBuilder_ != null || repeatInterval_ != null; } /** + * + * *
        * Interval between the start of each scheduled TransferOperation. If
        * unspecified, the default value is 24 hours. This value may not be less than
@@ -27320,16 +31225,21 @@ public boolean hasRepeatInterval() {
        * 
* * .google.protobuf.Duration repeat_interval = 5; + * * @return The repeatInterval. */ public com.google.protobuf.Duration getRepeatInterval() { if (repeatIntervalBuilder_ == null) { - return repeatInterval_ == null ? com.google.protobuf.Duration.getDefaultInstance() : repeatInterval_; + return repeatInterval_ == null + ? com.google.protobuf.Duration.getDefaultInstance() + : repeatInterval_; } else { return repeatIntervalBuilder_.getMessage(); } } /** + * + * *
        * Interval between the start of each scheduled TransferOperation. If
        * unspecified, the default value is 24 hours. This value may not be less than
@@ -27352,6 +31262,8 @@ public Builder setRepeatInterval(com.google.protobuf.Duration value) {
         return this;
       }
       /**
+       *
+       *
        * 
        * Interval between the start of each scheduled TransferOperation. If
        * unspecified, the default value is 24 hours. This value may not be less than
@@ -27360,8 +31272,7 @@ public Builder setRepeatInterval(com.google.protobuf.Duration value) {
        *
        * .google.protobuf.Duration repeat_interval = 5;
        */
-      public Builder setRepeatInterval(
-          com.google.protobuf.Duration.Builder builderForValue) {
+      public Builder setRepeatInterval(com.google.protobuf.Duration.Builder builderForValue) {
         if (repeatIntervalBuilder_ == null) {
           repeatInterval_ = builderForValue.build();
           onChanged();
@@ -27372,6 +31283,8 @@ public Builder setRepeatInterval(
         return this;
       }
       /**
+       *
+       *
        * 
        * Interval between the start of each scheduled TransferOperation. If
        * unspecified, the default value is 24 hours. This value may not be less than
@@ -27384,7 +31297,9 @@ public Builder mergeRepeatInterval(com.google.protobuf.Duration value) {
         if (repeatIntervalBuilder_ == null) {
           if (repeatInterval_ != null) {
             repeatInterval_ =
-              com.google.protobuf.Duration.newBuilder(repeatInterval_).mergeFrom(value).buildPartial();
+                com.google.protobuf.Duration.newBuilder(repeatInterval_)
+                    .mergeFrom(value)
+                    .buildPartial();
           } else {
             repeatInterval_ = value;
           }
@@ -27396,6 +31311,8 @@ public Builder mergeRepeatInterval(com.google.protobuf.Duration value) {
         return this;
       }
       /**
+       *
+       *
        * 
        * Interval between the start of each scheduled TransferOperation. If
        * unspecified, the default value is 24 hours. This value may not be less than
@@ -27416,6 +31333,8 @@ public Builder clearRepeatInterval() {
         return this;
       }
       /**
+       *
+       *
        * 
        * Interval between the start of each scheduled TransferOperation. If
        * unspecified, the default value is 24 hours. This value may not be less than
@@ -27425,11 +31344,13 @@ public Builder clearRepeatInterval() {
        * .google.protobuf.Duration repeat_interval = 5;
        */
       public com.google.protobuf.Duration.Builder getRepeatIntervalBuilder() {
-        
+
         onChanged();
         return getRepeatIntervalFieldBuilder().getBuilder();
       }
       /**
+       *
+       *
        * 
        * Interval between the start of each scheduled TransferOperation. If
        * unspecified, the default value is 24 hours. This value may not be less than
@@ -27442,11 +31363,14 @@ public com.google.protobuf.DurationOrBuilder getRepeatIntervalOrBuilder() {
         if (repeatIntervalBuilder_ != null) {
           return repeatIntervalBuilder_.getMessageOrBuilder();
         } else {
-          return repeatInterval_ == null ?
-              com.google.protobuf.Duration.getDefaultInstance() : repeatInterval_;
+          return repeatInterval_ == null
+              ? com.google.protobuf.Duration.getDefaultInstance()
+              : repeatInterval_;
         }
       }
       /**
+       *
+       *
        * 
        * Interval between the start of each scheduled TransferOperation. If
        * unspecified, the default value is 24 hours. This value may not be less than
@@ -27456,18 +31380,22 @@ public com.google.protobuf.DurationOrBuilder getRepeatIntervalOrBuilder() {
        * .google.protobuf.Duration repeat_interval = 5;
        */
       private com.google.protobuf.SingleFieldBuilderV3<
-          com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder> 
+              com.google.protobuf.Duration,
+              com.google.protobuf.Duration.Builder,
+              com.google.protobuf.DurationOrBuilder>
           getRepeatIntervalFieldBuilder() {
         if (repeatIntervalBuilder_ == null) {
-          repeatIntervalBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-              com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder>(
-                  getRepeatInterval(),
-                  getParentForChildren(),
-                  isClean());
+          repeatIntervalBuilder_ =
+              new com.google.protobuf.SingleFieldBuilderV3<
+                  com.google.protobuf.Duration,
+                  com.google.protobuf.Duration.Builder,
+                  com.google.protobuf.DurationOrBuilder>(
+                  getRepeatInterval(), getParentForChildren(), isClean());
           repeatInterval_ = null;
         }
         return repeatIntervalBuilder_;
       }
+
       @java.lang.Override
       public final Builder setUnknownFields(
           final com.google.protobuf.UnknownFieldSet unknownFields) {
@@ -27480,12 +31408,13 @@ public final Builder mergeUnknownFields(
         return super.mergeUnknownFields(unknownFields);
       }
 
-
       // @@protoc_insertion_point(builder_scope:google.storagetransfer.v1.Schedule)
     }
 
     // @@protoc_insertion_point(class_scope:google.storagetransfer.v1.Schedule)
-    private static final com.google.storagetransfer.v1.proto.TransferTypes.Schedule DEFAULT_INSTANCE;
+    private static final com.google.storagetransfer.v1.proto.TransferTypes.Schedule
+        DEFAULT_INSTANCE;
+
     static {
       DEFAULT_INSTANCE = new com.google.storagetransfer.v1.proto.TransferTypes.Schedule();
     }
@@ -27494,16 +31423,16 @@ public static com.google.storagetransfer.v1.proto.TransferTypes.Schedule getDefa
       return DEFAULT_INSTANCE;
     }
 
-    private static final com.google.protobuf.Parser
-        PARSER = new com.google.protobuf.AbstractParser() {
-      @java.lang.Override
-      public Schedule parsePartialFrom(
-          com.google.protobuf.CodedInputStream input,
-          com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-          throws com.google.protobuf.InvalidProtocolBufferException {
-        return new Schedule(input, extensionRegistry);
-      }
-    };
+    private static final com.google.protobuf.Parser PARSER =
+        new com.google.protobuf.AbstractParser() {
+          @java.lang.Override
+          public Schedule parsePartialFrom(
+              com.google.protobuf.CodedInputStream input,
+              com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+              throws com.google.protobuf.InvalidProtocolBufferException {
+            return new Schedule(input, extensionRegistry);
+          }
+        };
 
     public static com.google.protobuf.Parser parser() {
       return PARSER;
@@ -27518,14 +31447,16 @@ public com.google.protobuf.Parser getParserForType() {
     public com.google.storagetransfer.v1.proto.TransferTypes.Schedule getDefaultInstanceForType() {
       return DEFAULT_INSTANCE;
     }
-
   }
 
-  public interface TransferJobOrBuilder extends
+  public interface TransferJobOrBuilder
+      extends
       // @@protoc_insertion_point(interface_extends:google.storagetransfer.v1.TransferJob)
       com.google.protobuf.MessageOrBuilder {
 
     /**
+     *
+     *
      * 
      * A unique name (within the transfer project) assigned when the job is
      * created.  If this field is empty in a CreateTransferJobRequest, Storage
@@ -27549,10 +31480,13 @@ public interface TransferJobOrBuilder extends
      * 
* * string name = 1; + * * @return The name. */ java.lang.String getName(); /** + * + * *
      * A unique name (within the transfer project) assigned when the job is
      * created.  If this field is empty in a CreateTransferJobRequest, Storage
@@ -27576,101 +31510,128 @@ public interface TransferJobOrBuilder extends
      * 
* * string name = 1; + * * @return The bytes for name. */ - com.google.protobuf.ByteString - getNameBytes(); + com.google.protobuf.ByteString getNameBytes(); /** + * + * *
      * A description provided by the user for the job. Its max length is 1024
      * bytes when Unicode-encoded.
      * 
* * string description = 2; + * * @return The description. */ java.lang.String getDescription(); /** + * + * *
      * A description provided by the user for the job. Its max length is 1024
      * bytes when Unicode-encoded.
      * 
* * string description = 2; + * * @return The bytes for description. */ - com.google.protobuf.ByteString - getDescriptionBytes(); + com.google.protobuf.ByteString getDescriptionBytes(); /** + * + * *
      * The ID of the Google Cloud project that owns the job.
      * 
* * string project_id = 3; + * * @return The projectId. */ java.lang.String getProjectId(); /** + * + * *
      * The ID of the Google Cloud project that owns the job.
      * 
* * string project_id = 3; + * * @return The bytes for projectId. */ - com.google.protobuf.ByteString - getProjectIdBytes(); + com.google.protobuf.ByteString getProjectIdBytes(); /** + * + * *
      * Transfer specification.
      * 
* * .google.storagetransfer.v1.TransferSpec transfer_spec = 4; + * * @return Whether the transferSpec field is set. */ boolean hasTransferSpec(); /** + * + * *
      * Transfer specification.
      * 
* * .google.storagetransfer.v1.TransferSpec transfer_spec = 4; + * * @return The transferSpec. */ com.google.storagetransfer.v1.proto.TransferTypes.TransferSpec getTransferSpec(); /** + * + * *
      * Transfer specification.
      * 
* * .google.storagetransfer.v1.TransferSpec transfer_spec = 4; */ - com.google.storagetransfer.v1.proto.TransferTypes.TransferSpecOrBuilder getTransferSpecOrBuilder(); + com.google.storagetransfer.v1.proto.TransferTypes.TransferSpecOrBuilder + getTransferSpecOrBuilder(); /** + * + * *
      * Notification configuration. This is not supported for transfers involving
      * PosixFilesystem.
      * 
* * .google.storagetransfer.v1.NotificationConfig notification_config = 11; + * * @return Whether the notificationConfig field is set. */ boolean hasNotificationConfig(); /** + * + * *
      * Notification configuration. This is not supported for transfers involving
      * PosixFilesystem.
      * 
* * .google.storagetransfer.v1.NotificationConfig notification_config = 11; + * * @return The notificationConfig. */ com.google.storagetransfer.v1.proto.TransferTypes.NotificationConfig getNotificationConfig(); /** + * + * *
      * Notification configuration. This is not supported for transfers involving
      * PosixFilesystem.
@@ -27678,36 +31639,48 @@ public interface TransferJobOrBuilder extends
      *
      * .google.storagetransfer.v1.NotificationConfig notification_config = 11;
      */
-    com.google.storagetransfer.v1.proto.TransferTypes.NotificationConfigOrBuilder getNotificationConfigOrBuilder();
+    com.google.storagetransfer.v1.proto.TransferTypes.NotificationConfigOrBuilder
+        getNotificationConfigOrBuilder();
 
     /**
+     *
+     *
      * 
      * Logging configuration.
      * 
* * .google.storagetransfer.v1.LoggingConfig logging_config = 14; + * * @return Whether the loggingConfig field is set. */ boolean hasLoggingConfig(); /** + * + * *
      * Logging configuration.
      * 
* * .google.storagetransfer.v1.LoggingConfig logging_config = 14; + * * @return The loggingConfig. */ com.google.storagetransfer.v1.proto.TransferTypes.LoggingConfig getLoggingConfig(); /** + * + * *
      * Logging configuration.
      * 
* * .google.storagetransfer.v1.LoggingConfig logging_config = 14; */ - com.google.storagetransfer.v1.proto.TransferTypes.LoggingConfigOrBuilder getLoggingConfigOrBuilder(); + com.google.storagetransfer.v1.proto.TransferTypes.LoggingConfigOrBuilder + getLoggingConfigOrBuilder(); /** + * + * *
      * Specifies schedule for the transfer job.
      * This is an optional field. When the field is not set, the job never
@@ -27716,10 +31689,13 @@ public interface TransferJobOrBuilder extends
      * 
* * .google.storagetransfer.v1.Schedule schedule = 5; + * * @return Whether the schedule field is set. */ boolean hasSchedule(); /** + * + * *
      * Specifies schedule for the transfer job.
      * This is an optional field. When the field is not set, the job never
@@ -27728,10 +31704,13 @@ public interface TransferJobOrBuilder extends
      * 
* * .google.storagetransfer.v1.Schedule schedule = 5; + * * @return The schedule. */ com.google.storagetransfer.v1.proto.TransferTypes.Schedule getSchedule(); /** + * + * *
      * Specifies schedule for the transfer job.
      * This is an optional field. When the field is not set, the job never
@@ -27744,6 +31723,8 @@ public interface TransferJobOrBuilder extends
     com.google.storagetransfer.v1.proto.TransferTypes.ScheduleOrBuilder getScheduleOrBuilder();
 
     /**
+     *
+     *
      * 
      * Status of the job. This value MUST be specified for
      * `CreateTransferJobRequests`.
@@ -27755,10 +31736,13 @@ public interface TransferJobOrBuilder extends
      * 
* * .google.storagetransfer.v1.TransferJob.Status status = 6; + * * @return The enum numeric value on the wire for status. */ int getStatusValue(); /** + * + * *
      * Status of the job. This value MUST be specified for
      * `CreateTransferJobRequests`.
@@ -27770,114 +31754,164 @@ public interface TransferJobOrBuilder extends
      * 
* * .google.storagetransfer.v1.TransferJob.Status status = 6; + * * @return The status. */ com.google.storagetransfer.v1.proto.TransferTypes.TransferJob.Status getStatus(); /** + * + * *
      * Output only. The time that the transfer job was created.
      * 
* - * .google.protobuf.Timestamp creation_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp creation_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the creationTime field is set. */ boolean hasCreationTime(); /** + * + * *
      * Output only. The time that the transfer job was created.
      * 
* - * .google.protobuf.Timestamp creation_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp creation_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The creationTime. */ com.google.protobuf.Timestamp getCreationTime(); /** + * + * *
      * Output only. The time that the transfer job was created.
      * 
* - * .google.protobuf.Timestamp creation_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp creation_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ com.google.protobuf.TimestampOrBuilder getCreationTimeOrBuilder(); /** + * + * *
      * Output only. The time that the transfer job was last modified.
      * 
* - * .google.protobuf.Timestamp last_modification_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp last_modification_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the lastModificationTime field is set. */ boolean hasLastModificationTime(); /** + * + * *
      * Output only. The time that the transfer job was last modified.
      * 
* - * .google.protobuf.Timestamp last_modification_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp last_modification_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The lastModificationTime. */ com.google.protobuf.Timestamp getLastModificationTime(); /** + * + * *
      * Output only. The time that the transfer job was last modified.
      * 
* - * .google.protobuf.Timestamp last_modification_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp last_modification_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ com.google.protobuf.TimestampOrBuilder getLastModificationTimeOrBuilder(); /** + * + * *
      * Output only. The time that the transfer job was deleted.
      * 
* - * .google.protobuf.Timestamp deletion_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp deletion_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the deletionTime field is set. */ boolean hasDeletionTime(); /** + * + * *
      * Output only. The time that the transfer job was deleted.
      * 
* - * .google.protobuf.Timestamp deletion_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp deletion_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The deletionTime. */ com.google.protobuf.Timestamp getDeletionTime(); /** + * + * *
      * Output only. The time that the transfer job was deleted.
      * 
* - * .google.protobuf.Timestamp deletion_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp deletion_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ com.google.protobuf.TimestampOrBuilder getDeletionTimeOrBuilder(); /** + * + * *
      * The name of the most recently started TransferOperation of this JobConfig.
      * Present if a TransferOperation has been created for this JobConfig.
      * 
* * string latest_operation_name = 12; + * * @return The latestOperationName. */ java.lang.String getLatestOperationName(); /** + * + * *
      * The name of the most recently started TransferOperation of this JobConfig.
      * Present if a TransferOperation has been created for this JobConfig.
      * 
* * string latest_operation_name = 12; + * * @return The bytes for latestOperationName. */ - com.google.protobuf.ByteString - getLatestOperationNameBytes(); + com.google.protobuf.ByteString getLatestOperationNameBytes(); } /** + * + * *
    * This resource represents the configuration of a transfer job that runs
    * periodically.
@@ -27885,15 +31919,16 @@ public interface TransferJobOrBuilder extends
    *
    * Protobuf type {@code google.storagetransfer.v1.TransferJob}
    */
-  public static final class TransferJob extends
-      com.google.protobuf.GeneratedMessageV3 implements
+  public static final class TransferJob extends com.google.protobuf.GeneratedMessageV3
+      implements
       // @@protoc_insertion_point(message_implements:google.storagetransfer.v1.TransferJob)
       TransferJobOrBuilder {
-  private static final long serialVersionUID = 0L;
+    private static final long serialVersionUID = 0L;
     // Use TransferJob.newBuilder() to construct.
     private TransferJob(com.google.protobuf.GeneratedMessageV3.Builder builder) {
       super(builder);
     }
+
     private TransferJob() {
       name_ = "";
       description_ = "";
@@ -27904,16 +31939,15 @@ private TransferJob() {
 
     @java.lang.Override
     @SuppressWarnings({"unused"})
-    protected java.lang.Object newInstance(
-        UnusedPrivateParameter unused) {
+    protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
       return new TransferJob();
     }
 
     @java.lang.Override
-    public final com.google.protobuf.UnknownFieldSet
-    getUnknownFields() {
+    public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
       return this.unknownFields;
     }
+
     private TransferJob(
         com.google.protobuf.CodedInputStream input,
         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -27932,134 +31966,166 @@ private TransferJob(
             case 0:
               done = true;
               break;
-            case 10: {
-              java.lang.String s = input.readStringRequireUtf8();
-
-              name_ = s;
-              break;
-            }
-            case 18: {
-              java.lang.String s = input.readStringRequireUtf8();
-
-              description_ = s;
-              break;
-            }
-            case 26: {
-              java.lang.String s = input.readStringRequireUtf8();
+            case 10:
+              {
+                java.lang.String s = input.readStringRequireUtf8();
 
-              projectId_ = s;
-              break;
-            }
-            case 34: {
-              com.google.storagetransfer.v1.proto.TransferTypes.TransferSpec.Builder subBuilder = null;
-              if (transferSpec_ != null) {
-                subBuilder = transferSpec_.toBuilder();
-              }
-              transferSpec_ = input.readMessage(com.google.storagetransfer.v1.proto.TransferTypes.TransferSpec.parser(), extensionRegistry);
-              if (subBuilder != null) {
-                subBuilder.mergeFrom(transferSpec_);
-                transferSpec_ = subBuilder.buildPartial();
+                name_ = s;
+                break;
               }
+            case 18:
+              {
+                java.lang.String s = input.readStringRequireUtf8();
 
-              break;
-            }
-            case 42: {
-              com.google.storagetransfer.v1.proto.TransferTypes.Schedule.Builder subBuilder = null;
-              if (schedule_ != null) {
-                subBuilder = schedule_.toBuilder();
-              }
-              schedule_ = input.readMessage(com.google.storagetransfer.v1.proto.TransferTypes.Schedule.parser(), extensionRegistry);
-              if (subBuilder != null) {
-                subBuilder.mergeFrom(schedule_);
-                schedule_ = subBuilder.buildPartial();
+                description_ = s;
+                break;
               }
+            case 26:
+              {
+                java.lang.String s = input.readStringRequireUtf8();
 
-              break;
-            }
-            case 48: {
-              int rawValue = input.readEnum();
-
-              status_ = rawValue;
-              break;
-            }
-            case 58: {
-              com.google.protobuf.Timestamp.Builder subBuilder = null;
-              if (creationTime_ != null) {
-                subBuilder = creationTime_.toBuilder();
-              }
-              creationTime_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry);
-              if (subBuilder != null) {
-                subBuilder.mergeFrom(creationTime_);
-                creationTime_ = subBuilder.buildPartial();
+                projectId_ = s;
+                break;
               }
+            case 34:
+              {
+                com.google.storagetransfer.v1.proto.TransferTypes.TransferSpec.Builder subBuilder =
+                    null;
+                if (transferSpec_ != null) {
+                  subBuilder = transferSpec_.toBuilder();
+                }
+                transferSpec_ =
+                    input.readMessage(
+                        com.google.storagetransfer.v1.proto.TransferTypes.TransferSpec.parser(),
+                        extensionRegistry);
+                if (subBuilder != null) {
+                  subBuilder.mergeFrom(transferSpec_);
+                  transferSpec_ = subBuilder.buildPartial();
+                }
 
-              break;
-            }
-            case 66: {
-              com.google.protobuf.Timestamp.Builder subBuilder = null;
-              if (lastModificationTime_ != null) {
-                subBuilder = lastModificationTime_.toBuilder();
-              }
-              lastModificationTime_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry);
-              if (subBuilder != null) {
-                subBuilder.mergeFrom(lastModificationTime_);
-                lastModificationTime_ = subBuilder.buildPartial();
+                break;
               }
+            case 42:
+              {
+                com.google.storagetransfer.v1.proto.TransferTypes.Schedule.Builder subBuilder =
+                    null;
+                if (schedule_ != null) {
+                  subBuilder = schedule_.toBuilder();
+                }
+                schedule_ =
+                    input.readMessage(
+                        com.google.storagetransfer.v1.proto.TransferTypes.Schedule.parser(),
+                        extensionRegistry);
+                if (subBuilder != null) {
+                  subBuilder.mergeFrom(schedule_);
+                  schedule_ = subBuilder.buildPartial();
+                }
 
-              break;
-            }
-            case 74: {
-              com.google.protobuf.Timestamp.Builder subBuilder = null;
-              if (deletionTime_ != null) {
-                subBuilder = deletionTime_.toBuilder();
+                break;
               }
-              deletionTime_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry);
-              if (subBuilder != null) {
-                subBuilder.mergeFrom(deletionTime_);
-                deletionTime_ = subBuilder.buildPartial();
+            case 48:
+              {
+                int rawValue = input.readEnum();
+
+                status_ = rawValue;
+                break;
               }
+            case 58:
+              {
+                com.google.protobuf.Timestamp.Builder subBuilder = null;
+                if (creationTime_ != null) {
+                  subBuilder = creationTime_.toBuilder();
+                }
+                creationTime_ =
+                    input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry);
+                if (subBuilder != null) {
+                  subBuilder.mergeFrom(creationTime_);
+                  creationTime_ = subBuilder.buildPartial();
+                }
 
-              break;
-            }
-            case 90: {
-              com.google.storagetransfer.v1.proto.TransferTypes.NotificationConfig.Builder subBuilder = null;
-              if (notificationConfig_ != null) {
-                subBuilder = notificationConfig_.toBuilder();
+                break;
               }
-              notificationConfig_ = input.readMessage(com.google.storagetransfer.v1.proto.TransferTypes.NotificationConfig.parser(), extensionRegistry);
-              if (subBuilder != null) {
-                subBuilder.mergeFrom(notificationConfig_);
-                notificationConfig_ = subBuilder.buildPartial();
+            case 66:
+              {
+                com.google.protobuf.Timestamp.Builder subBuilder = null;
+                if (lastModificationTime_ != null) {
+                  subBuilder = lastModificationTime_.toBuilder();
+                }
+                lastModificationTime_ =
+                    input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry);
+                if (subBuilder != null) {
+                  subBuilder.mergeFrom(lastModificationTime_);
+                  lastModificationTime_ = subBuilder.buildPartial();
+                }
+
+                break;
               }
+            case 74:
+              {
+                com.google.protobuf.Timestamp.Builder subBuilder = null;
+                if (deletionTime_ != null) {
+                  subBuilder = deletionTime_.toBuilder();
+                }
+                deletionTime_ =
+                    input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry);
+                if (subBuilder != null) {
+                  subBuilder.mergeFrom(deletionTime_);
+                  deletionTime_ = subBuilder.buildPartial();
+                }
 
-              break;
-            }
-            case 98: {
-              java.lang.String s = input.readStringRequireUtf8();
+                break;
+              }
+            case 90:
+              {
+                com.google.storagetransfer.v1.proto.TransferTypes.NotificationConfig.Builder
+                    subBuilder = null;
+                if (notificationConfig_ != null) {
+                  subBuilder = notificationConfig_.toBuilder();
+                }
+                notificationConfig_ =
+                    input.readMessage(
+                        com.google.storagetransfer.v1.proto.TransferTypes.NotificationConfig
+                            .parser(),
+                        extensionRegistry);
+                if (subBuilder != null) {
+                  subBuilder.mergeFrom(notificationConfig_);
+                  notificationConfig_ = subBuilder.buildPartial();
+                }
 
-              latestOperationName_ = s;
-              break;
-            }
-            case 114: {
-              com.google.storagetransfer.v1.proto.TransferTypes.LoggingConfig.Builder subBuilder = null;
-              if (loggingConfig_ != null) {
-                subBuilder = loggingConfig_.toBuilder();
+                break;
               }
-              loggingConfig_ = input.readMessage(com.google.storagetransfer.v1.proto.TransferTypes.LoggingConfig.parser(), extensionRegistry);
-              if (subBuilder != null) {
-                subBuilder.mergeFrom(loggingConfig_);
-                loggingConfig_ = subBuilder.buildPartial();
+            case 98:
+              {
+                java.lang.String s = input.readStringRequireUtf8();
+
+                latestOperationName_ = s;
+                break;
               }
+            case 114:
+              {
+                com.google.storagetransfer.v1.proto.TransferTypes.LoggingConfig.Builder subBuilder =
+                    null;
+                if (loggingConfig_ != null) {
+                  subBuilder = loggingConfig_.toBuilder();
+                }
+                loggingConfig_ =
+                    input.readMessage(
+                        com.google.storagetransfer.v1.proto.TransferTypes.LoggingConfig.parser(),
+                        extensionRegistry);
+                if (subBuilder != null) {
+                  subBuilder.mergeFrom(loggingConfig_);
+                  loggingConfig_ = subBuilder.buildPartial();
+                }
 
-              break;
-            }
-            default: {
-              if (!parseUnknownField(
-                  input, unknownFields, extensionRegistry, tag)) {
-                done = true;
+                break;
+              }
+            default:
+              {
+                if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
+                  done = true;
+                }
+                break;
               }
-              break;
-            }
           }
         }
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -28067,36 +32133,41 @@ private TransferJob(
       } catch (com.google.protobuf.UninitializedMessageException e) {
         throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
       } catch (java.io.IOException e) {
-        throw new com.google.protobuf.InvalidProtocolBufferException(
-            e).setUnfinishedMessage(this);
+        throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
       } finally {
         this.unknownFields = unknownFields.build();
         makeExtensionsImmutable();
       }
     }
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.storagetransfer.v1.proto.TransferTypes.internal_static_google_storagetransfer_v1_TransferJob_descriptor;
+
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.storagetransfer.v1.proto.TransferTypes
+          .internal_static_google_storagetransfer_v1_TransferJob_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.storagetransfer.v1.proto.TransferTypes.internal_static_google_storagetransfer_v1_TransferJob_fieldAccessorTable
+      return com.google.storagetransfer.v1.proto.TransferTypes
+          .internal_static_google_storagetransfer_v1_TransferJob_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.storagetransfer.v1.proto.TransferTypes.TransferJob.class, com.google.storagetransfer.v1.proto.TransferTypes.TransferJob.Builder.class);
+              com.google.storagetransfer.v1.proto.TransferTypes.TransferJob.class,
+              com.google.storagetransfer.v1.proto.TransferTypes.TransferJob.Builder.class);
     }
 
     /**
+     *
+     *
      * 
      * The status of the transfer job.
      * 
* * Protobuf enum {@code google.storagetransfer.v1.TransferJob.Status} */ - public enum Status - implements com.google.protobuf.ProtocolMessageEnum { + public enum Status implements com.google.protobuf.ProtocolMessageEnum { /** + * + * *
        * Zero is an illegal value.
        * 
@@ -28105,6 +32176,8 @@ public enum Status */ STATUS_UNSPECIFIED(0), /** + * + * *
        * New transfers are performed based on the schedule.
        * 
@@ -28113,6 +32186,8 @@ public enum Status */ ENABLED(1), /** + * + * *
        * New transfers are not scheduled.
        * 
@@ -28121,6 +32196,8 @@ public enum Status */ DISABLED(2), /** + * + * *
        * This is a soft delete state. After a transfer job is set to this
        * state, the job and all the transfer executions are subject to
@@ -28135,6 +32212,8 @@ public enum Status
       ;
 
       /**
+       *
+       *
        * 
        * Zero is an illegal value.
        * 
@@ -28143,6 +32222,8 @@ public enum Status */ public static final int STATUS_UNSPECIFIED_VALUE = 0; /** + * + * *
        * New transfers are performed based on the schedule.
        * 
@@ -28151,6 +32232,8 @@ public enum Status */ public static final int ENABLED_VALUE = 1; /** + * + * *
        * New transfers are not scheduled.
        * 
@@ -28159,6 +32242,8 @@ public enum Status */ public static final int DISABLED_VALUE = 2; /** + * + * *
        * This is a soft delete state. After a transfer job is set to this
        * state, the job and all the transfer executions are subject to
@@ -28170,7 +32255,6 @@ public enum Status
        */
       public static final int DELETED_VALUE = 3;
 
-
       public final int getNumber() {
         if (this == UNRECOGNIZED) {
           throw new java.lang.IllegalArgumentException(
@@ -28195,50 +32279,53 @@ public static Status valueOf(int value) {
        */
       public static Status forNumber(int value) {
         switch (value) {
-          case 0: return STATUS_UNSPECIFIED;
-          case 1: return ENABLED;
-          case 2: return DISABLED;
-          case 3: return DELETED;
-          default: return null;
+          case 0:
+            return STATUS_UNSPECIFIED;
+          case 1:
+            return ENABLED;
+          case 2:
+            return DISABLED;
+          case 3:
+            return DELETED;
+          default:
+            return null;
         }
       }
 
-      public static com.google.protobuf.Internal.EnumLiteMap
-          internalGetValueMap() {
+      public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() {
         return internalValueMap;
       }
-      private static final com.google.protobuf.Internal.EnumLiteMap<
-          Status> internalValueMap =
-            new com.google.protobuf.Internal.EnumLiteMap() {
-              public Status findValueByNumber(int number) {
-                return Status.forNumber(number);
-              }
-            };
 
-      public final com.google.protobuf.Descriptors.EnumValueDescriptor
-          getValueDescriptor() {
+      private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap =
+          new com.google.protobuf.Internal.EnumLiteMap() {
+            public Status findValueByNumber(int number) {
+              return Status.forNumber(number);
+            }
+          };
+
+      public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() {
         if (this == UNRECOGNIZED) {
           throw new java.lang.IllegalStateException(
               "Can't get the descriptor of an unrecognized enum value.");
         }
         return getDescriptor().getValues().get(ordinal());
       }
-      public final com.google.protobuf.Descriptors.EnumDescriptor
-          getDescriptorForType() {
+
+      public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() {
         return getDescriptor();
       }
-      public static final com.google.protobuf.Descriptors.EnumDescriptor
-          getDescriptor() {
-        return com.google.storagetransfer.v1.proto.TransferTypes.TransferJob.getDescriptor().getEnumTypes().get(0);
+
+      public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() {
+        return com.google.storagetransfer.v1.proto.TransferTypes.TransferJob.getDescriptor()
+            .getEnumTypes()
+            .get(0);
       }
 
       private static final Status[] VALUES = values();
 
-      public static Status valueOf(
-          com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
+      public static Status valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
         if (desc.getType() != getDescriptor()) {
-          throw new java.lang.IllegalArgumentException(
-            "EnumValueDescriptor is not for this type.");
+          throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type.");
         }
         if (desc.getIndex() == -1) {
           return UNRECOGNIZED;
@@ -28258,6 +32345,49 @@ private Status(int value) {
     public static final int NAME_FIELD_NUMBER = 1;
     private volatile java.lang.Object name_;
     /**
+     *
+     *
+     * 
+     * A unique name (within the transfer project) assigned when the job is
+     * created.  If this field is empty in a CreateTransferJobRequest, Storage
+     * Transfer Service assigns a unique name. Otherwise, the specified name
+     * is used as the unique name for this job.
+     * If the specified name is in use by a job, the creation request fails with
+     * an [ALREADY_EXISTS][google.rpc.Code.ALREADY_EXISTS] error.
+     * This name must start with `"transferJobs/"` prefix and end with a letter or
+     * a number, and should be no more than 128 characters. For transfers
+     * involving PosixFilesystem, this name must start with `transferJobs/OPI`
+     * specifically. For all other transfer types, this name must not start with
+     * `transferJobs/OPI`.
+     * Non-PosixFilesystem example:
+     * `"transferJobs/^(?!OPI)[A-Za-z0-9-._~]*[A-Za-z0-9]$"`
+     * PosixFilesystem example:
+     * `"transferJobs/OPI^[A-Za-z0-9-._~]*[A-Za-z0-9]$"`
+     * Applications must not rely on the enforcement of naming requirements
+     * involving OPI.
+     * Invalid job names fail with an
+     * [INVALID_ARGUMENT][google.rpc.Code.INVALID_ARGUMENT] error.
+     * 
+ * + * string name = 1; + * + * @return The name. + */ + @java.lang.Override + public java.lang.String getName() { + java.lang.Object ref = name_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + name_ = s; + return s; + } + } + /** + * + * *
      * A unique name (within the transfer project) assigned when the job is
      * created.  If this field is empty in a CreateTransferJobRequest, Storage
@@ -28281,55 +32411,15 @@ private Status(int value) {
      * 
* * string name = 1; - * @return The name. - */ - @java.lang.Override - public java.lang.String getName() { - java.lang.Object ref = name_; - if (ref instanceof java.lang.String) { - return (java.lang.String) ref; - } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - name_ = s; - return s; - } - } - /** - *
-     * A unique name (within the transfer project) assigned when the job is
-     * created.  If this field is empty in a CreateTransferJobRequest, Storage
-     * Transfer Service assigns a unique name. Otherwise, the specified name
-     * is used as the unique name for this job.
-     * If the specified name is in use by a job, the creation request fails with
-     * an [ALREADY_EXISTS][google.rpc.Code.ALREADY_EXISTS] error.
-     * This name must start with `"transferJobs/"` prefix and end with a letter or
-     * a number, and should be no more than 128 characters. For transfers
-     * involving PosixFilesystem, this name must start with `transferJobs/OPI`
-     * specifically. For all other transfer types, this name must not start with
-     * `transferJobs/OPI`.
-     * Non-PosixFilesystem example:
-     * `"transferJobs/^(?!OPI)[A-Za-z0-9-._~]*[A-Za-z0-9]$"`
-     * PosixFilesystem example:
-     * `"transferJobs/OPI^[A-Za-z0-9-._~]*[A-Za-z0-9]$"`
-     * Applications must not rely on the enforcement of naming requirements
-     * involving OPI.
-     * Invalid job names fail with an
-     * [INVALID_ARGUMENT][google.rpc.Code.INVALID_ARGUMENT] error.
-     * 
* - * string name = 1; * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; 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); name_ = b; return b; } else { @@ -28340,12 +32430,15 @@ public java.lang.String getName() { public static final int DESCRIPTION_FIELD_NUMBER = 2; private volatile java.lang.Object description_; /** + * + * *
      * A description provided by the user for the job. Its max length is 1024
      * bytes when Unicode-encoded.
      * 
* * string description = 2; + * * @return The description. */ @java.lang.Override @@ -28354,30 +32447,30 @@ public java.lang.String getDescription() { 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(); description_ = s; return s; } } /** + * + * *
      * A description provided by the user for the job. Its max length is 1024
      * bytes when Unicode-encoded.
      * 
* * string description = 2; + * * @return The bytes for description. */ @java.lang.Override - public com.google.protobuf.ByteString - getDescriptionBytes() { + public com.google.protobuf.ByteString getDescriptionBytes() { java.lang.Object ref = description_; 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); description_ = b; return b; } else { @@ -28388,11 +32481,14 @@ public java.lang.String getDescription() { public static final int PROJECT_ID_FIELD_NUMBER = 3; private volatile java.lang.Object projectId_; /** + * + * *
      * The ID of the Google Cloud project that owns the job.
      * 
* * string project_id = 3; + * * @return The projectId. */ @java.lang.Override @@ -28401,29 +32497,29 @@ public java.lang.String getProjectId() { 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(); projectId_ = s; return s; } } /** + * + * *
      * The ID of the Google Cloud project that owns the job.
      * 
* * string project_id = 3; + * * @return The bytes for projectId. */ @java.lang.Override - public com.google.protobuf.ByteString - getProjectIdBytes() { + public com.google.protobuf.ByteString getProjectIdBytes() { java.lang.Object ref = projectId_; 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); projectId_ = b; return b; } else { @@ -28434,11 +32530,14 @@ public java.lang.String getProjectId() { public static final int TRANSFER_SPEC_FIELD_NUMBER = 4; private com.google.storagetransfer.v1.proto.TransferTypes.TransferSpec transferSpec_; /** + * + * *
      * Transfer specification.
      * 
* * .google.storagetransfer.v1.TransferSpec transfer_spec = 4; + * * @return Whether the transferSpec field is set. */ @java.lang.Override @@ -28446,18 +32545,25 @@ public boolean hasTransferSpec() { return transferSpec_ != null; } /** + * + * *
      * Transfer specification.
      * 
* * .google.storagetransfer.v1.TransferSpec transfer_spec = 4; + * * @return The transferSpec. */ @java.lang.Override public com.google.storagetransfer.v1.proto.TransferTypes.TransferSpec getTransferSpec() { - return transferSpec_ == null ? com.google.storagetransfer.v1.proto.TransferTypes.TransferSpec.getDefaultInstance() : transferSpec_; + return transferSpec_ == null + ? com.google.storagetransfer.v1.proto.TransferTypes.TransferSpec.getDefaultInstance() + : transferSpec_; } /** + * + * *
      * Transfer specification.
      * 
@@ -28465,19 +32571,24 @@ public com.google.storagetransfer.v1.proto.TransferTypes.TransferSpec getTransfe * .google.storagetransfer.v1.TransferSpec transfer_spec = 4; */ @java.lang.Override - public com.google.storagetransfer.v1.proto.TransferTypes.TransferSpecOrBuilder getTransferSpecOrBuilder() { + public com.google.storagetransfer.v1.proto.TransferTypes.TransferSpecOrBuilder + getTransferSpecOrBuilder() { return getTransferSpec(); } public static final int NOTIFICATION_CONFIG_FIELD_NUMBER = 11; - private com.google.storagetransfer.v1.proto.TransferTypes.NotificationConfig notificationConfig_; + private com.google.storagetransfer.v1.proto.TransferTypes.NotificationConfig + notificationConfig_; /** + * + * *
      * Notification configuration. This is not supported for transfers involving
      * PosixFilesystem.
      * 
* * .google.storagetransfer.v1.NotificationConfig notification_config = 11; + * * @return Whether the notificationConfig field is set. */ @java.lang.Override @@ -28485,19 +32596,28 @@ public boolean hasNotificationConfig() { return notificationConfig_ != null; } /** + * + * *
      * Notification configuration. This is not supported for transfers involving
      * PosixFilesystem.
      * 
* * .google.storagetransfer.v1.NotificationConfig notification_config = 11; + * * @return The notificationConfig. */ @java.lang.Override - public com.google.storagetransfer.v1.proto.TransferTypes.NotificationConfig getNotificationConfig() { - return notificationConfig_ == null ? com.google.storagetransfer.v1.proto.TransferTypes.NotificationConfig.getDefaultInstance() : notificationConfig_; + public com.google.storagetransfer.v1.proto.TransferTypes.NotificationConfig + getNotificationConfig() { + return notificationConfig_ == null + ? com.google.storagetransfer.v1.proto.TransferTypes.NotificationConfig + .getDefaultInstance() + : notificationConfig_; } /** + * + * *
      * Notification configuration. This is not supported for transfers involving
      * PosixFilesystem.
@@ -28506,18 +32626,22 @@ public com.google.storagetransfer.v1.proto.TransferTypes.NotificationConfig getN
      * .google.storagetransfer.v1.NotificationConfig notification_config = 11;
      */
     @java.lang.Override
-    public com.google.storagetransfer.v1.proto.TransferTypes.NotificationConfigOrBuilder getNotificationConfigOrBuilder() {
+    public com.google.storagetransfer.v1.proto.TransferTypes.NotificationConfigOrBuilder
+        getNotificationConfigOrBuilder() {
       return getNotificationConfig();
     }
 
     public static final int LOGGING_CONFIG_FIELD_NUMBER = 14;
     private com.google.storagetransfer.v1.proto.TransferTypes.LoggingConfig loggingConfig_;
     /**
+     *
+     *
      * 
      * Logging configuration.
      * 
* * .google.storagetransfer.v1.LoggingConfig logging_config = 14; + * * @return Whether the loggingConfig field is set. */ @java.lang.Override @@ -28525,18 +32649,25 @@ public boolean hasLoggingConfig() { return loggingConfig_ != null; } /** + * + * *
      * Logging configuration.
      * 
* * .google.storagetransfer.v1.LoggingConfig logging_config = 14; + * * @return The loggingConfig. */ @java.lang.Override public com.google.storagetransfer.v1.proto.TransferTypes.LoggingConfig getLoggingConfig() { - return loggingConfig_ == null ? com.google.storagetransfer.v1.proto.TransferTypes.LoggingConfig.getDefaultInstance() : loggingConfig_; + return loggingConfig_ == null + ? com.google.storagetransfer.v1.proto.TransferTypes.LoggingConfig.getDefaultInstance() + : loggingConfig_; } /** + * + * *
      * Logging configuration.
      * 
@@ -28544,13 +32675,16 @@ public com.google.storagetransfer.v1.proto.TransferTypes.LoggingConfig getLoggin * .google.storagetransfer.v1.LoggingConfig logging_config = 14; */ @java.lang.Override - public com.google.storagetransfer.v1.proto.TransferTypes.LoggingConfigOrBuilder getLoggingConfigOrBuilder() { + public com.google.storagetransfer.v1.proto.TransferTypes.LoggingConfigOrBuilder + getLoggingConfigOrBuilder() { return getLoggingConfig(); } public static final int SCHEDULE_FIELD_NUMBER = 5; private com.google.storagetransfer.v1.proto.TransferTypes.Schedule schedule_; /** + * + * *
      * Specifies schedule for the transfer job.
      * This is an optional field. When the field is not set, the job never
@@ -28559,6 +32693,7 @@ public com.google.storagetransfer.v1.proto.TransferTypes.LoggingConfigOrBuilder
      * 
* * .google.storagetransfer.v1.Schedule schedule = 5; + * * @return Whether the schedule field is set. */ @java.lang.Override @@ -28566,6 +32701,8 @@ public boolean hasSchedule() { return schedule_ != null; } /** + * + * *
      * Specifies schedule for the transfer job.
      * This is an optional field. When the field is not set, the job never
@@ -28574,13 +32711,18 @@ public boolean hasSchedule() {
      * 
* * .google.storagetransfer.v1.Schedule schedule = 5; + * * @return The schedule. */ @java.lang.Override public com.google.storagetransfer.v1.proto.TransferTypes.Schedule getSchedule() { - return schedule_ == null ? com.google.storagetransfer.v1.proto.TransferTypes.Schedule.getDefaultInstance() : schedule_; + return schedule_ == null + ? com.google.storagetransfer.v1.proto.TransferTypes.Schedule.getDefaultInstance() + : schedule_; } /** + * + * *
      * Specifies schedule for the transfer job.
      * This is an optional field. When the field is not set, the job never
@@ -28591,13 +32733,16 @@ public com.google.storagetransfer.v1.proto.TransferTypes.Schedule getSchedule()
      * .google.storagetransfer.v1.Schedule schedule = 5;
      */
     @java.lang.Override
-    public com.google.storagetransfer.v1.proto.TransferTypes.ScheduleOrBuilder getScheduleOrBuilder() {
+    public com.google.storagetransfer.v1.proto.TransferTypes.ScheduleOrBuilder
+        getScheduleOrBuilder() {
       return getSchedule();
     }
 
     public static final int STATUS_FIELD_NUMBER = 6;
     private int status_;
     /**
+     *
+     *
      * 
      * Status of the job. This value MUST be specified for
      * `CreateTransferJobRequests`.
@@ -28609,12 +32754,16 @@ public com.google.storagetransfer.v1.proto.TransferTypes.ScheduleOrBuilder getSc
      * 
* * .google.storagetransfer.v1.TransferJob.Status status = 6; + * * @return The enum numeric value on the wire for status. */ - @java.lang.Override public int getStatusValue() { + @java.lang.Override + public int getStatusValue() { return status_; } /** + * + * *
      * Status of the job. This value MUST be specified for
      * `CreateTransferJobRequests`.
@@ -28626,22 +32775,32 @@ public com.google.storagetransfer.v1.proto.TransferTypes.ScheduleOrBuilder getSc
      * 
* * .google.storagetransfer.v1.TransferJob.Status status = 6; + * * @return The status. */ - @java.lang.Override public com.google.storagetransfer.v1.proto.TransferTypes.TransferJob.Status getStatus() { + @java.lang.Override + public com.google.storagetransfer.v1.proto.TransferTypes.TransferJob.Status getStatus() { @SuppressWarnings("deprecation") - com.google.storagetransfer.v1.proto.TransferTypes.TransferJob.Status result = com.google.storagetransfer.v1.proto.TransferTypes.TransferJob.Status.valueOf(status_); - return result == null ? com.google.storagetransfer.v1.proto.TransferTypes.TransferJob.Status.UNRECOGNIZED : result; + com.google.storagetransfer.v1.proto.TransferTypes.TransferJob.Status result = + com.google.storagetransfer.v1.proto.TransferTypes.TransferJob.Status.valueOf(status_); + return result == null + ? com.google.storagetransfer.v1.proto.TransferTypes.TransferJob.Status.UNRECOGNIZED + : result; } public static final int CREATION_TIME_FIELD_NUMBER = 7; private com.google.protobuf.Timestamp creationTime_; /** + * + * *
      * Output only. The time that the transfer job was created.
      * 
* - * .google.protobuf.Timestamp creation_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp creation_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the creationTime field is set. */ @java.lang.Override @@ -28649,23 +32808,34 @@ public boolean hasCreationTime() { return creationTime_ != null; } /** + * + * *
      * Output only. The time that the transfer job was created.
      * 
* - * .google.protobuf.Timestamp creation_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp creation_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The creationTime. */ @java.lang.Override public com.google.protobuf.Timestamp getCreationTime() { - return creationTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : creationTime_; + return creationTime_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : creationTime_; } /** + * + * *
      * Output only. The time that the transfer job was created.
      * 
* - * .google.protobuf.Timestamp creation_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp creation_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ @java.lang.Override public com.google.protobuf.TimestampOrBuilder getCreationTimeOrBuilder() { @@ -28675,11 +32845,16 @@ public com.google.protobuf.TimestampOrBuilder getCreationTimeOrBuilder() { public static final int LAST_MODIFICATION_TIME_FIELD_NUMBER = 8; private com.google.protobuf.Timestamp lastModificationTime_; /** + * + * *
      * Output only. The time that the transfer job was last modified.
      * 
* - * .google.protobuf.Timestamp last_modification_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp last_modification_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the lastModificationTime field is set. */ @java.lang.Override @@ -28687,23 +32862,34 @@ public boolean hasLastModificationTime() { return lastModificationTime_ != null; } /** + * + * *
      * Output only. The time that the transfer job was last modified.
      * 
* - * .google.protobuf.Timestamp last_modification_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp last_modification_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The lastModificationTime. */ @java.lang.Override public com.google.protobuf.Timestamp getLastModificationTime() { - return lastModificationTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : lastModificationTime_; + return lastModificationTime_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : lastModificationTime_; } /** + * + * *
      * Output only. The time that the transfer job was last modified.
      * 
* - * .google.protobuf.Timestamp last_modification_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp last_modification_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ @java.lang.Override public com.google.protobuf.TimestampOrBuilder getLastModificationTimeOrBuilder() { @@ -28713,11 +32899,16 @@ public com.google.protobuf.TimestampOrBuilder getLastModificationTimeOrBuilder() public static final int DELETION_TIME_FIELD_NUMBER = 9; private com.google.protobuf.Timestamp deletionTime_; /** + * + * *
      * Output only. The time that the transfer job was deleted.
      * 
* - * .google.protobuf.Timestamp deletion_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp deletion_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the deletionTime field is set. */ @java.lang.Override @@ -28725,23 +32916,34 @@ public boolean hasDeletionTime() { return deletionTime_ != null; } /** + * + * *
      * Output only. The time that the transfer job was deleted.
      * 
* - * .google.protobuf.Timestamp deletion_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp deletion_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The deletionTime. */ @java.lang.Override public com.google.protobuf.Timestamp getDeletionTime() { - return deletionTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : deletionTime_; + return deletionTime_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : deletionTime_; } /** + * + * *
      * Output only. The time that the transfer job was deleted.
      * 
* - * .google.protobuf.Timestamp deletion_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp deletion_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ @java.lang.Override public com.google.protobuf.TimestampOrBuilder getDeletionTimeOrBuilder() { @@ -28751,12 +32953,15 @@ public com.google.protobuf.TimestampOrBuilder getDeletionTimeOrBuilder() { public static final int LATEST_OPERATION_NAME_FIELD_NUMBER = 12; private volatile java.lang.Object latestOperationName_; /** + * + * *
      * The name of the most recently started TransferOperation of this JobConfig.
      * Present if a TransferOperation has been created for this JobConfig.
      * 
* * string latest_operation_name = 12; + * * @return The latestOperationName. */ @java.lang.Override @@ -28765,30 +32970,30 @@ public java.lang.String getLatestOperationName() { 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(); latestOperationName_ = s; return s; } } /** + * + * *
      * The name of the most recently started TransferOperation of this JobConfig.
      * Present if a TransferOperation has been created for this JobConfig.
      * 
* * string latest_operation_name = 12; + * * @return The bytes for latestOperationName. */ @java.lang.Override - public com.google.protobuf.ByteString - getLatestOperationNameBytes() { + public com.google.protobuf.ByteString getLatestOperationNameBytes() { java.lang.Object ref = latestOperationName_; 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); latestOperationName_ = b; return b; } else { @@ -28797,6 +33002,7 @@ public java.lang.String getLatestOperationName() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -28808,8 +33014,7 @@ 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 (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -28825,7 +33030,9 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) if (schedule_ != null) { output.writeMessage(5, getSchedule()); } - if (status_ != com.google.storagetransfer.v1.proto.TransferTypes.TransferJob.Status.STATUS_UNSPECIFIED.getNumber()) { + if (status_ + != com.google.storagetransfer.v1.proto.TransferTypes.TransferJob.Status.STATUS_UNSPECIFIED + .getNumber()) { output.writeEnum(6, status_); } if (creationTime_ != null) { @@ -28865,39 +33072,35 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, projectId_); } if (transferSpec_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(4, getTransferSpec()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(4, getTransferSpec()); } if (schedule_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(5, getSchedule()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(5, getSchedule()); } - if (status_ != com.google.storagetransfer.v1.proto.TransferTypes.TransferJob.Status.STATUS_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(6, status_); + if (status_ + != com.google.storagetransfer.v1.proto.TransferTypes.TransferJob.Status.STATUS_UNSPECIFIED + .getNumber()) { + size += com.google.protobuf.CodedOutputStream.computeEnumSize(6, status_); } if (creationTime_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(7, getCreationTime()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(7, getCreationTime()); } if (lastModificationTime_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(8, getLastModificationTime()); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize(8, getLastModificationTime()); } if (deletionTime_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(9, getDeletionTime()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(9, getDeletionTime()); } if (notificationConfig_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(11, getNotificationConfig()); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize(11, getNotificationConfig()); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(latestOperationName_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(12, latestOperationName_); } if (loggingConfig_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(14, getLoggingConfig()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(14, getLoggingConfig()); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -28907,57 +33110,47 @@ 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.storagetransfer.v1.proto.TransferTypes.TransferJob)) { return super.equals(obj); } - com.google.storagetransfer.v1.proto.TransferTypes.TransferJob other = (com.google.storagetransfer.v1.proto.TransferTypes.TransferJob) obj; + com.google.storagetransfer.v1.proto.TransferTypes.TransferJob other = + (com.google.storagetransfer.v1.proto.TransferTypes.TransferJob) obj; - if (!getName() - .equals(other.getName())) return false; - if (!getDescription() - .equals(other.getDescription())) return false; - if (!getProjectId() - .equals(other.getProjectId())) return false; + if (!getName().equals(other.getName())) return false; + if (!getDescription().equals(other.getDescription())) return false; + if (!getProjectId().equals(other.getProjectId())) return false; if (hasTransferSpec() != other.hasTransferSpec()) return false; if (hasTransferSpec()) { - if (!getTransferSpec() - .equals(other.getTransferSpec())) return false; + if (!getTransferSpec().equals(other.getTransferSpec())) return false; } if (hasNotificationConfig() != other.hasNotificationConfig()) return false; if (hasNotificationConfig()) { - if (!getNotificationConfig() - .equals(other.getNotificationConfig())) return false; + if (!getNotificationConfig().equals(other.getNotificationConfig())) return false; } if (hasLoggingConfig() != other.hasLoggingConfig()) return false; if (hasLoggingConfig()) { - if (!getLoggingConfig() - .equals(other.getLoggingConfig())) return false; + if (!getLoggingConfig().equals(other.getLoggingConfig())) return false; } if (hasSchedule() != other.hasSchedule()) return false; if (hasSchedule()) { - if (!getSchedule() - .equals(other.getSchedule())) return false; + if (!getSchedule().equals(other.getSchedule())) return false; } if (status_ != other.status_) return false; if (hasCreationTime() != other.hasCreationTime()) return false; if (hasCreationTime()) { - if (!getCreationTime() - .equals(other.getCreationTime())) return false; + if (!getCreationTime().equals(other.getCreationTime())) return false; } if (hasLastModificationTime() != other.hasLastModificationTime()) return false; if (hasLastModificationTime()) { - if (!getLastModificationTime() - .equals(other.getLastModificationTime())) return false; + if (!getLastModificationTime().equals(other.getLastModificationTime())) return false; } if (hasDeletionTime() != other.hasDeletionTime()) return false; if (hasDeletionTime()) { - if (!getDeletionTime() - .equals(other.getDeletionTime())) return false; + if (!getDeletionTime().equals(other.getDeletionTime())) return false; } - if (!getLatestOperationName() - .equals(other.getLatestOperationName())) return false; + if (!getLatestOperationName().equals(other.getLatestOperationName())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -29013,87 +33206,94 @@ public int hashCode() { } public static com.google.storagetransfer.v1.proto.TransferTypes.TransferJob parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.storagetransfer.v1.proto.TransferTypes.TransferJob 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.storagetransfer.v1.proto.TransferTypes.TransferJob parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.storagetransfer.v1.proto.TransferTypes.TransferJob 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.storagetransfer.v1.proto.TransferTypes.TransferJob parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.storagetransfer.v1.proto.TransferTypes.TransferJob parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.storagetransfer.v1.proto.TransferTypes.TransferJob 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.storagetransfer.v1.proto.TransferTypes.TransferJob parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.storagetransfer.v1.proto.TransferTypes.TransferJob parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.storagetransfer.v1.proto.TransferTypes.TransferJob 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.storagetransfer.v1.proto.TransferTypes.TransferJob parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.storagetransfer.v1.proto.TransferTypes.TransferJob parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.storagetransfer.v1.proto.TransferTypes.TransferJob 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.storagetransfer.v1.proto.TransferTypes.TransferJob 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.storagetransfer.v1.proto.TransferTypes.TransferJob 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.storagetransfer.v1.proto.TransferTypes.TransferJob prototype) { + + public static Builder newBuilder( + com.google.storagetransfer.v1.proto.TransferTypes.TransferJob 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 @@ -29103,6 +33303,8 @@ protected Builder newBuilderForType( return builder; } /** + * + * *
      * This resource represents the configuration of a transfer job that runs
      * periodically.
@@ -29110,21 +33312,24 @@ protected Builder newBuilderForType(
      *
      * Protobuf type {@code google.storagetransfer.v1.TransferJob}
      */
-    public static final class Builder extends
-        com.google.protobuf.GeneratedMessageV3.Builder implements
+    public static final class Builder
+        extends com.google.protobuf.GeneratedMessageV3.Builder
+        implements
         // @@protoc_insertion_point(builder_implements:google.storagetransfer.v1.TransferJob)
         com.google.storagetransfer.v1.proto.TransferTypes.TransferJobOrBuilder {
-      public static final com.google.protobuf.Descriptors.Descriptor
-          getDescriptor() {
-        return com.google.storagetransfer.v1.proto.TransferTypes.internal_static_google_storagetransfer_v1_TransferJob_descriptor;
+      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+        return com.google.storagetransfer.v1.proto.TransferTypes
+            .internal_static_google_storagetransfer_v1_TransferJob_descriptor;
       }
 
       @java.lang.Override
       protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
           internalGetFieldAccessorTable() {
-        return com.google.storagetransfer.v1.proto.TransferTypes.internal_static_google_storagetransfer_v1_TransferJob_fieldAccessorTable
+        return com.google.storagetransfer.v1.proto.TransferTypes
+            .internal_static_google_storagetransfer_v1_TransferJob_fieldAccessorTable
             .ensureFieldAccessorsInitialized(
-                com.google.storagetransfer.v1.proto.TransferTypes.TransferJob.class, com.google.storagetransfer.v1.proto.TransferTypes.TransferJob.Builder.class);
+                com.google.storagetransfer.v1.proto.TransferTypes.TransferJob.class,
+                com.google.storagetransfer.v1.proto.TransferTypes.TransferJob.Builder.class);
       }
 
       // Construct using com.google.storagetransfer.v1.proto.TransferTypes.TransferJob.newBuilder()
@@ -29132,16 +33337,15 @@ private Builder() {
         maybeForceBuilderInitialization();
       }
 
-      private Builder(
-          com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+      private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
         super(parent);
         maybeForceBuilderInitialization();
       }
+
       private void maybeForceBuilderInitialization() {
-        if (com.google.protobuf.GeneratedMessageV3
-                .alwaysUseFieldBuilders) {
-        }
+        if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {}
       }
+
       @java.lang.Override
       public Builder clear() {
         super.clear();
@@ -29201,13 +33405,14 @@ public Builder clear() {
       }
 
       @java.lang.Override
-      public com.google.protobuf.Descriptors.Descriptor
-          getDescriptorForType() {
-        return com.google.storagetransfer.v1.proto.TransferTypes.internal_static_google_storagetransfer_v1_TransferJob_descriptor;
+      public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+        return com.google.storagetransfer.v1.proto.TransferTypes
+            .internal_static_google_storagetransfer_v1_TransferJob_descriptor;
       }
 
       @java.lang.Override
-      public com.google.storagetransfer.v1.proto.TransferTypes.TransferJob getDefaultInstanceForType() {
+      public com.google.storagetransfer.v1.proto.TransferTypes.TransferJob
+          getDefaultInstanceForType() {
         return com.google.storagetransfer.v1.proto.TransferTypes.TransferJob.getDefaultInstance();
       }
 
@@ -29222,7 +33427,8 @@ public com.google.storagetransfer.v1.proto.TransferTypes.TransferJob build() {
 
       @java.lang.Override
       public com.google.storagetransfer.v1.proto.TransferTypes.TransferJob buildPartial() {
-        com.google.storagetransfer.v1.proto.TransferTypes.TransferJob result = new com.google.storagetransfer.v1.proto.TransferTypes.TransferJob(this);
+        com.google.storagetransfer.v1.proto.TransferTypes.TransferJob result =
+            new com.google.storagetransfer.v1.proto.TransferTypes.TransferJob(this);
         result.name_ = name_;
         result.description_ = description_;
         result.projectId_ = projectId_;
@@ -29271,46 +33477,52 @@ public com.google.storagetransfer.v1.proto.TransferTypes.TransferJob buildPartia
       public Builder clone() {
         return super.clone();
       }
+
       @java.lang.Override
       public Builder setField(
-          com.google.protobuf.Descriptors.FieldDescriptor field,
-          java.lang.Object value) {
+          com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
         return super.setField(field, value);
       }
+
       @java.lang.Override
-      public Builder clearField(
-          com.google.protobuf.Descriptors.FieldDescriptor field) {
+      public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
         return super.clearField(field);
       }
+
       @java.lang.Override
-      public Builder clearOneof(
-          com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+      public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
         return super.clearOneof(oneof);
       }
+
       @java.lang.Override
       public Builder setRepeatedField(
           com.google.protobuf.Descriptors.FieldDescriptor field,
-          int index, java.lang.Object value) {
+          int index,
+          java.lang.Object value) {
         return super.setRepeatedField(field, index, value);
       }
+
       @java.lang.Override
       public Builder addRepeatedField(
-          com.google.protobuf.Descriptors.FieldDescriptor field,
-          java.lang.Object value) {
+          com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
         return super.addRepeatedField(field, value);
       }
+
       @java.lang.Override
       public Builder mergeFrom(com.google.protobuf.Message other) {
         if (other instanceof com.google.storagetransfer.v1.proto.TransferTypes.TransferJob) {
-          return mergeFrom((com.google.storagetransfer.v1.proto.TransferTypes.TransferJob)other);
+          return mergeFrom((com.google.storagetransfer.v1.proto.TransferTypes.TransferJob) other);
         } else {
           super.mergeFrom(other);
           return this;
         }
       }
 
-      public Builder mergeFrom(com.google.storagetransfer.v1.proto.TransferTypes.TransferJob other) {
-        if (other == com.google.storagetransfer.v1.proto.TransferTypes.TransferJob.getDefaultInstance()) return this;
+      public Builder mergeFrom(
+          com.google.storagetransfer.v1.proto.TransferTypes.TransferJob other) {
+        if (other
+            == com.google.storagetransfer.v1.proto.TransferTypes.TransferJob.getDefaultInstance())
+          return this;
         if (!other.getName().isEmpty()) {
           name_ = other.name_;
           onChanged();
@@ -29370,7 +33582,9 @@ public Builder mergeFrom(
         try {
           parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
         } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-          parsedMessage = (com.google.storagetransfer.v1.proto.TransferTypes.TransferJob) e.getUnfinishedMessage();
+          parsedMessage =
+              (com.google.storagetransfer.v1.proto.TransferTypes.TransferJob)
+                  e.getUnfinishedMessage();
           throw e.unwrapIOException();
         } finally {
           if (parsedMessage != null) {
@@ -29382,6 +33596,8 @@ public Builder mergeFrom(
 
       private java.lang.Object name_ = "";
       /**
+       *
+       *
        * 
        * A unique name (within the transfer project) assigned when the job is
        * created.  If this field is empty in a CreateTransferJobRequest, Storage
@@ -29405,13 +33621,13 @@ public Builder mergeFrom(
        * 
* * string name = 1; + * * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; 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(); name_ = s; return s; @@ -29420,6 +33636,8 @@ public java.lang.String getName() { } } /** + * + * *
        * A unique name (within the transfer project) assigned when the job is
        * created.  If this field is empty in a CreateTransferJobRequest, Storage
@@ -29443,15 +33661,14 @@ public java.lang.String getName() {
        * 
* * string name = 1; + * * @return The bytes for name. */ - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; 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); name_ = b; return b; } else { @@ -29459,6 +33676,8 @@ public java.lang.String getName() { } } /** + * + * *
        * A unique name (within the transfer project) assigned when the job is
        * created.  If this field is empty in a CreateTransferJobRequest, Storage
@@ -29482,20 +33701,22 @@ public java.lang.String getName() {
        * 
* * string name = 1; + * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName( - java.lang.String value) { + public Builder setName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** + * + * *
        * A unique name (within the transfer project) assigned when the job is
        * created.  If this field is empty in a CreateTransferJobRequest, Storage
@@ -29519,15 +33740,18 @@ public Builder setName(
        * 
* * string name = 1; + * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** + * + * *
        * A unique name (within the transfer project) assigned when the job is
        * created.  If this field is empty in a CreateTransferJobRequest, Storage
@@ -29551,16 +33775,16 @@ public Builder clearName() {
        * 
* * string name = 1; + * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes( - com.google.protobuf.ByteString value) { + public Builder setNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; @@ -29568,19 +33792,21 @@ public Builder setNameBytes( private java.lang.Object description_ = ""; /** + * + * *
        * A description provided by the user for the job. Its max length is 1024
        * bytes when Unicode-encoded.
        * 
* * string description = 2; + * * @return The description. */ public java.lang.String getDescription() { java.lang.Object ref = description_; 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(); description_ = s; return s; @@ -29589,21 +33815,22 @@ public java.lang.String getDescription() { } } /** + * + * *
        * A description provided by the user for the job. Its max length is 1024
        * bytes when Unicode-encoded.
        * 
* * string description = 2; + * * @return The bytes for description. */ - public com.google.protobuf.ByteString - getDescriptionBytes() { + public com.google.protobuf.ByteString getDescriptionBytes() { java.lang.Object ref = description_; 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); description_ = b; return b; } else { @@ -29611,57 +33838,64 @@ public java.lang.String getDescription() { } } /** + * + * *
        * A description provided by the user for the job. Its max length is 1024
        * bytes when Unicode-encoded.
        * 
* * string description = 2; + * * @param value The description to set. * @return This builder for chaining. */ - public Builder setDescription( - java.lang.String value) { + public Builder setDescription(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + description_ = value; onChanged(); return this; } /** + * + * *
        * A description provided by the user for the job. Its max length is 1024
        * bytes when Unicode-encoded.
        * 
* * string description = 2; + * * @return This builder for chaining. */ public Builder clearDescription() { - + description_ = getDefaultInstance().getDescription(); onChanged(); return this; } /** + * + * *
        * A description provided by the user for the job. Its max length is 1024
        * bytes when Unicode-encoded.
        * 
* * string description = 2; + * * @param value The bytes for description to set. * @return This builder for chaining. */ - public Builder setDescriptionBytes( - com.google.protobuf.ByteString value) { + public Builder setDescriptionBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + description_ = value; onChanged(); return this; @@ -29669,18 +33903,20 @@ public Builder setDescriptionBytes( private java.lang.Object projectId_ = ""; /** + * + * *
        * The ID of the Google Cloud project that owns the job.
        * 
* * string project_id = 3; + * * @return The projectId. */ public java.lang.String getProjectId() { java.lang.Object ref = projectId_; 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(); projectId_ = s; return s; @@ -29689,20 +33925,21 @@ public java.lang.String getProjectId() { } } /** + * + * *
        * The ID of the Google Cloud project that owns the job.
        * 
* * string project_id = 3; + * * @return The bytes for projectId. */ - public com.google.protobuf.ByteString - getProjectIdBytes() { + public com.google.protobuf.ByteString getProjectIdBytes() { java.lang.Object ref = projectId_; 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); projectId_ = b; return b; } else { @@ -29710,54 +33947,61 @@ public java.lang.String getProjectId() { } } /** + * + * *
        * The ID of the Google Cloud project that owns the job.
        * 
* * string project_id = 3; + * * @param value The projectId to set. * @return This builder for chaining. */ - public Builder setProjectId( - java.lang.String value) { + public Builder setProjectId(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + projectId_ = value; onChanged(); return this; } /** + * + * *
        * The ID of the Google Cloud project that owns the job.
        * 
* * string project_id = 3; + * * @return This builder for chaining. */ public Builder clearProjectId() { - + projectId_ = getDefaultInstance().getProjectId(); onChanged(); return this; } /** + * + * *
        * The ID of the Google Cloud project that owns the job.
        * 
* * string project_id = 3; + * * @param value The bytes for projectId to set. * @return This builder for chaining. */ - public Builder setProjectIdBytes( - com.google.protobuf.ByteString value) { + public Builder setProjectIdBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + projectId_ = value; onChanged(); return this; @@ -29765,41 +34009,55 @@ public Builder setProjectIdBytes( private com.google.storagetransfer.v1.proto.TransferTypes.TransferSpec transferSpec_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.storagetransfer.v1.proto.TransferTypes.TransferSpec, com.google.storagetransfer.v1.proto.TransferTypes.TransferSpec.Builder, com.google.storagetransfer.v1.proto.TransferTypes.TransferSpecOrBuilder> transferSpecBuilder_; + com.google.storagetransfer.v1.proto.TransferTypes.TransferSpec, + com.google.storagetransfer.v1.proto.TransferTypes.TransferSpec.Builder, + com.google.storagetransfer.v1.proto.TransferTypes.TransferSpecOrBuilder> + transferSpecBuilder_; /** + * + * *
        * Transfer specification.
        * 
* * .google.storagetransfer.v1.TransferSpec transfer_spec = 4; + * * @return Whether the transferSpec field is set. */ public boolean hasTransferSpec() { return transferSpecBuilder_ != null || transferSpec_ != null; } /** + * + * *
        * Transfer specification.
        * 
* * .google.storagetransfer.v1.TransferSpec transfer_spec = 4; + * * @return The transferSpec. */ public com.google.storagetransfer.v1.proto.TransferTypes.TransferSpec getTransferSpec() { if (transferSpecBuilder_ == null) { - return transferSpec_ == null ? com.google.storagetransfer.v1.proto.TransferTypes.TransferSpec.getDefaultInstance() : transferSpec_; + return transferSpec_ == null + ? com.google.storagetransfer.v1.proto.TransferTypes.TransferSpec.getDefaultInstance() + : transferSpec_; } else { return transferSpecBuilder_.getMessage(); } } /** + * + * *
        * Transfer specification.
        * 
* * .google.storagetransfer.v1.TransferSpec transfer_spec = 4; */ - public Builder setTransferSpec(com.google.storagetransfer.v1.proto.TransferTypes.TransferSpec value) { + public Builder setTransferSpec( + com.google.storagetransfer.v1.proto.TransferTypes.TransferSpec value) { if (transferSpecBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -29813,6 +34071,8 @@ public Builder setTransferSpec(com.google.storagetransfer.v1.proto.TransferTypes return this; } /** + * + * *
        * Transfer specification.
        * 
@@ -29831,17 +34091,23 @@ public Builder setTransferSpec( return this; } /** + * + * *
        * Transfer specification.
        * 
* * .google.storagetransfer.v1.TransferSpec transfer_spec = 4; */ - public Builder mergeTransferSpec(com.google.storagetransfer.v1.proto.TransferTypes.TransferSpec value) { + public Builder mergeTransferSpec( + com.google.storagetransfer.v1.proto.TransferTypes.TransferSpec value) { if (transferSpecBuilder_ == null) { if (transferSpec_ != null) { transferSpec_ = - com.google.storagetransfer.v1.proto.TransferTypes.TransferSpec.newBuilder(transferSpec_).mergeFrom(value).buildPartial(); + com.google.storagetransfer.v1.proto.TransferTypes.TransferSpec.newBuilder( + transferSpec_) + .mergeFrom(value) + .buildPartial(); } else { transferSpec_ = value; } @@ -29853,6 +34119,8 @@ public Builder mergeTransferSpec(com.google.storagetransfer.v1.proto.TransferTyp return this; } /** + * + * *
        * Transfer specification.
        * 
@@ -29871,33 +34139,42 @@ public Builder clearTransferSpec() { return this; } /** + * + * *
        * Transfer specification.
        * 
* * .google.storagetransfer.v1.TransferSpec transfer_spec = 4; */ - public com.google.storagetransfer.v1.proto.TransferTypes.TransferSpec.Builder getTransferSpecBuilder() { - + public com.google.storagetransfer.v1.proto.TransferTypes.TransferSpec.Builder + getTransferSpecBuilder() { + onChanged(); return getTransferSpecFieldBuilder().getBuilder(); } /** + * + * *
        * Transfer specification.
        * 
* * .google.storagetransfer.v1.TransferSpec transfer_spec = 4; */ - public com.google.storagetransfer.v1.proto.TransferTypes.TransferSpecOrBuilder getTransferSpecOrBuilder() { + public com.google.storagetransfer.v1.proto.TransferTypes.TransferSpecOrBuilder + getTransferSpecOrBuilder() { if (transferSpecBuilder_ != null) { return transferSpecBuilder_.getMessageOrBuilder(); } else { - return transferSpec_ == null ? - com.google.storagetransfer.v1.proto.TransferTypes.TransferSpec.getDefaultInstance() : transferSpec_; + return transferSpec_ == null + ? com.google.storagetransfer.v1.proto.TransferTypes.TransferSpec.getDefaultInstance() + : transferSpec_; } } /** + * + * *
        * Transfer specification.
        * 
@@ -29905,51 +34182,70 @@ public com.google.storagetransfer.v1.proto.TransferTypes.TransferSpecOrBuilder g * .google.storagetransfer.v1.TransferSpec transfer_spec = 4; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.storagetransfer.v1.proto.TransferTypes.TransferSpec, com.google.storagetransfer.v1.proto.TransferTypes.TransferSpec.Builder, com.google.storagetransfer.v1.proto.TransferTypes.TransferSpecOrBuilder> + com.google.storagetransfer.v1.proto.TransferTypes.TransferSpec, + com.google.storagetransfer.v1.proto.TransferTypes.TransferSpec.Builder, + com.google.storagetransfer.v1.proto.TransferTypes.TransferSpecOrBuilder> getTransferSpecFieldBuilder() { if (transferSpecBuilder_ == null) { - transferSpecBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.storagetransfer.v1.proto.TransferTypes.TransferSpec, com.google.storagetransfer.v1.proto.TransferTypes.TransferSpec.Builder, com.google.storagetransfer.v1.proto.TransferTypes.TransferSpecOrBuilder>( - getTransferSpec(), - getParentForChildren(), - isClean()); + transferSpecBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.storagetransfer.v1.proto.TransferTypes.TransferSpec, + com.google.storagetransfer.v1.proto.TransferTypes.TransferSpec.Builder, + com.google.storagetransfer.v1.proto.TransferTypes.TransferSpecOrBuilder>( + getTransferSpec(), getParentForChildren(), isClean()); transferSpec_ = null; } return transferSpecBuilder_; } - private com.google.storagetransfer.v1.proto.TransferTypes.NotificationConfig notificationConfig_; + private com.google.storagetransfer.v1.proto.TransferTypes.NotificationConfig + notificationConfig_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.storagetransfer.v1.proto.TransferTypes.NotificationConfig, com.google.storagetransfer.v1.proto.TransferTypes.NotificationConfig.Builder, com.google.storagetransfer.v1.proto.TransferTypes.NotificationConfigOrBuilder> notificationConfigBuilder_; + com.google.storagetransfer.v1.proto.TransferTypes.NotificationConfig, + com.google.storagetransfer.v1.proto.TransferTypes.NotificationConfig.Builder, + com.google.storagetransfer.v1.proto.TransferTypes.NotificationConfigOrBuilder> + notificationConfigBuilder_; /** + * + * *
        * Notification configuration. This is not supported for transfers involving
        * PosixFilesystem.
        * 
* * .google.storagetransfer.v1.NotificationConfig notification_config = 11; + * * @return Whether the notificationConfig field is set. */ public boolean hasNotificationConfig() { return notificationConfigBuilder_ != null || notificationConfig_ != null; } /** + * + * *
        * Notification configuration. This is not supported for transfers involving
        * PosixFilesystem.
        * 
* * .google.storagetransfer.v1.NotificationConfig notification_config = 11; + * * @return The notificationConfig. */ - public com.google.storagetransfer.v1.proto.TransferTypes.NotificationConfig getNotificationConfig() { + public com.google.storagetransfer.v1.proto.TransferTypes.NotificationConfig + getNotificationConfig() { if (notificationConfigBuilder_ == null) { - return notificationConfig_ == null ? com.google.storagetransfer.v1.proto.TransferTypes.NotificationConfig.getDefaultInstance() : notificationConfig_; + return notificationConfig_ == null + ? com.google.storagetransfer.v1.proto.TransferTypes.NotificationConfig + .getDefaultInstance() + : notificationConfig_; } else { return notificationConfigBuilder_.getMessage(); } } /** + * + * *
        * Notification configuration. This is not supported for transfers involving
        * PosixFilesystem.
@@ -29957,7 +34253,8 @@ public com.google.storagetransfer.v1.proto.TransferTypes.NotificationConfig getN
        *
        * .google.storagetransfer.v1.NotificationConfig notification_config = 11;
        */
-      public Builder setNotificationConfig(com.google.storagetransfer.v1.proto.TransferTypes.NotificationConfig value) {
+      public Builder setNotificationConfig(
+          com.google.storagetransfer.v1.proto.TransferTypes.NotificationConfig value) {
         if (notificationConfigBuilder_ == null) {
           if (value == null) {
             throw new NullPointerException();
@@ -29971,6 +34268,8 @@ public Builder setNotificationConfig(com.google.storagetransfer.v1.proto.Transfe
         return this;
       }
       /**
+       *
+       *
        * 
        * Notification configuration. This is not supported for transfers involving
        * PosixFilesystem.
@@ -29979,7 +34278,8 @@ public Builder setNotificationConfig(com.google.storagetransfer.v1.proto.Transfe
        * .google.storagetransfer.v1.NotificationConfig notification_config = 11;
        */
       public Builder setNotificationConfig(
-          com.google.storagetransfer.v1.proto.TransferTypes.NotificationConfig.Builder builderForValue) {
+          com.google.storagetransfer.v1.proto.TransferTypes.NotificationConfig.Builder
+              builderForValue) {
         if (notificationConfigBuilder_ == null) {
           notificationConfig_ = builderForValue.build();
           onChanged();
@@ -29990,6 +34290,8 @@ public Builder setNotificationConfig(
         return this;
       }
       /**
+       *
+       *
        * 
        * Notification configuration. This is not supported for transfers involving
        * PosixFilesystem.
@@ -29997,11 +34299,15 @@ public Builder setNotificationConfig(
        *
        * .google.storagetransfer.v1.NotificationConfig notification_config = 11;
        */
-      public Builder mergeNotificationConfig(com.google.storagetransfer.v1.proto.TransferTypes.NotificationConfig value) {
+      public Builder mergeNotificationConfig(
+          com.google.storagetransfer.v1.proto.TransferTypes.NotificationConfig value) {
         if (notificationConfigBuilder_ == null) {
           if (notificationConfig_ != null) {
             notificationConfig_ =
-              com.google.storagetransfer.v1.proto.TransferTypes.NotificationConfig.newBuilder(notificationConfig_).mergeFrom(value).buildPartial();
+                com.google.storagetransfer.v1.proto.TransferTypes.NotificationConfig.newBuilder(
+                        notificationConfig_)
+                    .mergeFrom(value)
+                    .buildPartial();
           } else {
             notificationConfig_ = value;
           }
@@ -30013,6 +34319,8 @@ public Builder mergeNotificationConfig(com.google.storagetransfer.v1.proto.Trans
         return this;
       }
       /**
+       *
+       *
        * 
        * Notification configuration. This is not supported for transfers involving
        * PosixFilesystem.
@@ -30032,6 +34340,8 @@ public Builder clearNotificationConfig() {
         return this;
       }
       /**
+       *
+       *
        * 
        * Notification configuration. This is not supported for transfers involving
        * PosixFilesystem.
@@ -30039,12 +34349,15 @@ public Builder clearNotificationConfig() {
        *
        * .google.storagetransfer.v1.NotificationConfig notification_config = 11;
        */
-      public com.google.storagetransfer.v1.proto.TransferTypes.NotificationConfig.Builder getNotificationConfigBuilder() {
-        
+      public com.google.storagetransfer.v1.proto.TransferTypes.NotificationConfig.Builder
+          getNotificationConfigBuilder() {
+
         onChanged();
         return getNotificationConfigFieldBuilder().getBuilder();
       }
       /**
+       *
+       *
        * 
        * Notification configuration. This is not supported for transfers involving
        * PosixFilesystem.
@@ -30052,15 +34365,20 @@ public com.google.storagetransfer.v1.proto.TransferTypes.NotificationConfig.Buil
        *
        * .google.storagetransfer.v1.NotificationConfig notification_config = 11;
        */
-      public com.google.storagetransfer.v1.proto.TransferTypes.NotificationConfigOrBuilder getNotificationConfigOrBuilder() {
+      public com.google.storagetransfer.v1.proto.TransferTypes.NotificationConfigOrBuilder
+          getNotificationConfigOrBuilder() {
         if (notificationConfigBuilder_ != null) {
           return notificationConfigBuilder_.getMessageOrBuilder();
         } else {
-          return notificationConfig_ == null ?
-              com.google.storagetransfer.v1.proto.TransferTypes.NotificationConfig.getDefaultInstance() : notificationConfig_;
+          return notificationConfig_ == null
+              ? com.google.storagetransfer.v1.proto.TransferTypes.NotificationConfig
+                  .getDefaultInstance()
+              : notificationConfig_;
         }
       }
       /**
+       *
+       *
        * 
        * Notification configuration. This is not supported for transfers involving
        * PosixFilesystem.
@@ -30069,14 +34387,17 @@ public com.google.storagetransfer.v1.proto.TransferTypes.NotificationConfigOrBui
        * .google.storagetransfer.v1.NotificationConfig notification_config = 11;
        */
       private com.google.protobuf.SingleFieldBuilderV3<
-          com.google.storagetransfer.v1.proto.TransferTypes.NotificationConfig, com.google.storagetransfer.v1.proto.TransferTypes.NotificationConfig.Builder, com.google.storagetransfer.v1.proto.TransferTypes.NotificationConfigOrBuilder> 
+              com.google.storagetransfer.v1.proto.TransferTypes.NotificationConfig,
+              com.google.storagetransfer.v1.proto.TransferTypes.NotificationConfig.Builder,
+              com.google.storagetransfer.v1.proto.TransferTypes.NotificationConfigOrBuilder>
           getNotificationConfigFieldBuilder() {
         if (notificationConfigBuilder_ == null) {
-          notificationConfigBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-              com.google.storagetransfer.v1.proto.TransferTypes.NotificationConfig, com.google.storagetransfer.v1.proto.TransferTypes.NotificationConfig.Builder, com.google.storagetransfer.v1.proto.TransferTypes.NotificationConfigOrBuilder>(
-                  getNotificationConfig(),
-                  getParentForChildren(),
-                  isClean());
+          notificationConfigBuilder_ =
+              new com.google.protobuf.SingleFieldBuilderV3<
+                  com.google.storagetransfer.v1.proto.TransferTypes.NotificationConfig,
+                  com.google.storagetransfer.v1.proto.TransferTypes.NotificationConfig.Builder,
+                  com.google.storagetransfer.v1.proto.TransferTypes.NotificationConfigOrBuilder>(
+                  getNotificationConfig(), getParentForChildren(), isClean());
           notificationConfig_ = null;
         }
         return notificationConfigBuilder_;
@@ -30084,41 +34405,55 @@ public com.google.storagetransfer.v1.proto.TransferTypes.NotificationConfigOrBui
 
       private com.google.storagetransfer.v1.proto.TransferTypes.LoggingConfig loggingConfig_;
       private com.google.protobuf.SingleFieldBuilderV3<
-          com.google.storagetransfer.v1.proto.TransferTypes.LoggingConfig, com.google.storagetransfer.v1.proto.TransferTypes.LoggingConfig.Builder, com.google.storagetransfer.v1.proto.TransferTypes.LoggingConfigOrBuilder> loggingConfigBuilder_;
+              com.google.storagetransfer.v1.proto.TransferTypes.LoggingConfig,
+              com.google.storagetransfer.v1.proto.TransferTypes.LoggingConfig.Builder,
+              com.google.storagetransfer.v1.proto.TransferTypes.LoggingConfigOrBuilder>
+          loggingConfigBuilder_;
       /**
+       *
+       *
        * 
        * Logging configuration.
        * 
* * .google.storagetransfer.v1.LoggingConfig logging_config = 14; + * * @return Whether the loggingConfig field is set. */ public boolean hasLoggingConfig() { return loggingConfigBuilder_ != null || loggingConfig_ != null; } /** + * + * *
        * Logging configuration.
        * 
* * .google.storagetransfer.v1.LoggingConfig logging_config = 14; + * * @return The loggingConfig. */ public com.google.storagetransfer.v1.proto.TransferTypes.LoggingConfig getLoggingConfig() { if (loggingConfigBuilder_ == null) { - return loggingConfig_ == null ? com.google.storagetransfer.v1.proto.TransferTypes.LoggingConfig.getDefaultInstance() : loggingConfig_; + return loggingConfig_ == null + ? com.google.storagetransfer.v1.proto.TransferTypes.LoggingConfig.getDefaultInstance() + : loggingConfig_; } else { return loggingConfigBuilder_.getMessage(); } } /** + * + * *
        * Logging configuration.
        * 
* * .google.storagetransfer.v1.LoggingConfig logging_config = 14; */ - public Builder setLoggingConfig(com.google.storagetransfer.v1.proto.TransferTypes.LoggingConfig value) { + public Builder setLoggingConfig( + com.google.storagetransfer.v1.proto.TransferTypes.LoggingConfig value) { if (loggingConfigBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -30132,6 +34467,8 @@ public Builder setLoggingConfig(com.google.storagetransfer.v1.proto.TransferType return this; } /** + * + * *
        * Logging configuration.
        * 
@@ -30150,17 +34487,23 @@ public Builder setLoggingConfig( return this; } /** + * + * *
        * Logging configuration.
        * 
* * .google.storagetransfer.v1.LoggingConfig logging_config = 14; */ - public Builder mergeLoggingConfig(com.google.storagetransfer.v1.proto.TransferTypes.LoggingConfig value) { + public Builder mergeLoggingConfig( + com.google.storagetransfer.v1.proto.TransferTypes.LoggingConfig value) { if (loggingConfigBuilder_ == null) { if (loggingConfig_ != null) { loggingConfig_ = - com.google.storagetransfer.v1.proto.TransferTypes.LoggingConfig.newBuilder(loggingConfig_).mergeFrom(value).buildPartial(); + com.google.storagetransfer.v1.proto.TransferTypes.LoggingConfig.newBuilder( + loggingConfig_) + .mergeFrom(value) + .buildPartial(); } else { loggingConfig_ = value; } @@ -30172,6 +34515,8 @@ public Builder mergeLoggingConfig(com.google.storagetransfer.v1.proto.TransferTy return this; } /** + * + * *
        * Logging configuration.
        * 
@@ -30190,33 +34535,42 @@ public Builder clearLoggingConfig() { return this; } /** + * + * *
        * Logging configuration.
        * 
* * .google.storagetransfer.v1.LoggingConfig logging_config = 14; */ - public com.google.storagetransfer.v1.proto.TransferTypes.LoggingConfig.Builder getLoggingConfigBuilder() { - + public com.google.storagetransfer.v1.proto.TransferTypes.LoggingConfig.Builder + getLoggingConfigBuilder() { + onChanged(); return getLoggingConfigFieldBuilder().getBuilder(); } /** + * + * *
        * Logging configuration.
        * 
* * .google.storagetransfer.v1.LoggingConfig logging_config = 14; */ - public com.google.storagetransfer.v1.proto.TransferTypes.LoggingConfigOrBuilder getLoggingConfigOrBuilder() { + public com.google.storagetransfer.v1.proto.TransferTypes.LoggingConfigOrBuilder + getLoggingConfigOrBuilder() { if (loggingConfigBuilder_ != null) { return loggingConfigBuilder_.getMessageOrBuilder(); } else { - return loggingConfig_ == null ? - com.google.storagetransfer.v1.proto.TransferTypes.LoggingConfig.getDefaultInstance() : loggingConfig_; + return loggingConfig_ == null + ? com.google.storagetransfer.v1.proto.TransferTypes.LoggingConfig.getDefaultInstance() + : loggingConfig_; } } /** + * + * *
        * Logging configuration.
        * 
@@ -30224,14 +34578,17 @@ public com.google.storagetransfer.v1.proto.TransferTypes.LoggingConfigOrBuilder * .google.storagetransfer.v1.LoggingConfig logging_config = 14; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.storagetransfer.v1.proto.TransferTypes.LoggingConfig, com.google.storagetransfer.v1.proto.TransferTypes.LoggingConfig.Builder, com.google.storagetransfer.v1.proto.TransferTypes.LoggingConfigOrBuilder> + com.google.storagetransfer.v1.proto.TransferTypes.LoggingConfig, + com.google.storagetransfer.v1.proto.TransferTypes.LoggingConfig.Builder, + com.google.storagetransfer.v1.proto.TransferTypes.LoggingConfigOrBuilder> getLoggingConfigFieldBuilder() { if (loggingConfigBuilder_ == null) { - loggingConfigBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.storagetransfer.v1.proto.TransferTypes.LoggingConfig, com.google.storagetransfer.v1.proto.TransferTypes.LoggingConfig.Builder, com.google.storagetransfer.v1.proto.TransferTypes.LoggingConfigOrBuilder>( - getLoggingConfig(), - getParentForChildren(), - isClean()); + loggingConfigBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.storagetransfer.v1.proto.TransferTypes.LoggingConfig, + com.google.storagetransfer.v1.proto.TransferTypes.LoggingConfig.Builder, + com.google.storagetransfer.v1.proto.TransferTypes.LoggingConfigOrBuilder>( + getLoggingConfig(), getParentForChildren(), isClean()); loggingConfig_ = null; } return loggingConfigBuilder_; @@ -30239,8 +34596,13 @@ public com.google.storagetransfer.v1.proto.TransferTypes.LoggingConfigOrBuilder private com.google.storagetransfer.v1.proto.TransferTypes.Schedule schedule_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.storagetransfer.v1.proto.TransferTypes.Schedule, com.google.storagetransfer.v1.proto.TransferTypes.Schedule.Builder, com.google.storagetransfer.v1.proto.TransferTypes.ScheduleOrBuilder> scheduleBuilder_; + com.google.storagetransfer.v1.proto.TransferTypes.Schedule, + com.google.storagetransfer.v1.proto.TransferTypes.Schedule.Builder, + com.google.storagetransfer.v1.proto.TransferTypes.ScheduleOrBuilder> + scheduleBuilder_; /** + * + * *
        * Specifies schedule for the transfer job.
        * This is an optional field. When the field is not set, the job never
@@ -30249,12 +34611,15 @@ public com.google.storagetransfer.v1.proto.TransferTypes.LoggingConfigOrBuilder
        * 
* * .google.storagetransfer.v1.Schedule schedule = 5; + * * @return Whether the schedule field is set. */ public boolean hasSchedule() { return scheduleBuilder_ != null || schedule_ != null; } /** + * + * *
        * Specifies schedule for the transfer job.
        * This is an optional field. When the field is not set, the job never
@@ -30263,16 +34628,21 @@ public boolean hasSchedule() {
        * 
* * .google.storagetransfer.v1.Schedule schedule = 5; + * * @return The schedule. */ public com.google.storagetransfer.v1.proto.TransferTypes.Schedule getSchedule() { if (scheduleBuilder_ == null) { - return schedule_ == null ? com.google.storagetransfer.v1.proto.TransferTypes.Schedule.getDefaultInstance() : schedule_; + return schedule_ == null + ? com.google.storagetransfer.v1.proto.TransferTypes.Schedule.getDefaultInstance() + : schedule_; } else { return scheduleBuilder_.getMessage(); } } /** + * + * *
        * Specifies schedule for the transfer job.
        * This is an optional field. When the field is not set, the job never
@@ -30296,6 +34666,8 @@ public Builder setSchedule(com.google.storagetransfer.v1.proto.TransferTypes.Sch
         return this;
       }
       /**
+       *
+       *
        * 
        * Specifies schedule for the transfer job.
        * This is an optional field. When the field is not set, the job never
@@ -30317,6 +34689,8 @@ public Builder setSchedule(
         return this;
       }
       /**
+       *
+       *
        * 
        * Specifies schedule for the transfer job.
        * This is an optional field. When the field is not set, the job never
@@ -30326,11 +34700,14 @@ public Builder setSchedule(
        *
        * .google.storagetransfer.v1.Schedule schedule = 5;
        */
-      public Builder mergeSchedule(com.google.storagetransfer.v1.proto.TransferTypes.Schedule value) {
+      public Builder mergeSchedule(
+          com.google.storagetransfer.v1.proto.TransferTypes.Schedule value) {
         if (scheduleBuilder_ == null) {
           if (schedule_ != null) {
             schedule_ =
-              com.google.storagetransfer.v1.proto.TransferTypes.Schedule.newBuilder(schedule_).mergeFrom(value).buildPartial();
+                com.google.storagetransfer.v1.proto.TransferTypes.Schedule.newBuilder(schedule_)
+                    .mergeFrom(value)
+                    .buildPartial();
           } else {
             schedule_ = value;
           }
@@ -30342,6 +34719,8 @@ public Builder mergeSchedule(com.google.storagetransfer.v1.proto.TransferTypes.S
         return this;
       }
       /**
+       *
+       *
        * 
        * Specifies schedule for the transfer job.
        * This is an optional field. When the field is not set, the job never
@@ -30363,6 +34742,8 @@ public Builder clearSchedule() {
         return this;
       }
       /**
+       *
+       *
        * 
        * Specifies schedule for the transfer job.
        * This is an optional field. When the field is not set, the job never
@@ -30372,12 +34753,15 @@ public Builder clearSchedule() {
        *
        * .google.storagetransfer.v1.Schedule schedule = 5;
        */
-      public com.google.storagetransfer.v1.proto.TransferTypes.Schedule.Builder getScheduleBuilder() {
-        
+      public com.google.storagetransfer.v1.proto.TransferTypes.Schedule.Builder
+          getScheduleBuilder() {
+
         onChanged();
         return getScheduleFieldBuilder().getBuilder();
       }
       /**
+       *
+       *
        * 
        * Specifies schedule for the transfer job.
        * This is an optional field. When the field is not set, the job never
@@ -30387,15 +34771,19 @@ public com.google.storagetransfer.v1.proto.TransferTypes.Schedule.Builder getSch
        *
        * .google.storagetransfer.v1.Schedule schedule = 5;
        */
-      public com.google.storagetransfer.v1.proto.TransferTypes.ScheduleOrBuilder getScheduleOrBuilder() {
+      public com.google.storagetransfer.v1.proto.TransferTypes.ScheduleOrBuilder
+          getScheduleOrBuilder() {
         if (scheduleBuilder_ != null) {
           return scheduleBuilder_.getMessageOrBuilder();
         } else {
-          return schedule_ == null ?
-              com.google.storagetransfer.v1.proto.TransferTypes.Schedule.getDefaultInstance() : schedule_;
+          return schedule_ == null
+              ? com.google.storagetransfer.v1.proto.TransferTypes.Schedule.getDefaultInstance()
+              : schedule_;
         }
       }
       /**
+       *
+       *
        * 
        * Specifies schedule for the transfer job.
        * This is an optional field. When the field is not set, the job never
@@ -30406,14 +34794,17 @@ public com.google.storagetransfer.v1.proto.TransferTypes.ScheduleOrBuilder getSc
        * .google.storagetransfer.v1.Schedule schedule = 5;
        */
       private com.google.protobuf.SingleFieldBuilderV3<
-          com.google.storagetransfer.v1.proto.TransferTypes.Schedule, com.google.storagetransfer.v1.proto.TransferTypes.Schedule.Builder, com.google.storagetransfer.v1.proto.TransferTypes.ScheduleOrBuilder> 
+              com.google.storagetransfer.v1.proto.TransferTypes.Schedule,
+              com.google.storagetransfer.v1.proto.TransferTypes.Schedule.Builder,
+              com.google.storagetransfer.v1.proto.TransferTypes.ScheduleOrBuilder>
           getScheduleFieldBuilder() {
         if (scheduleBuilder_ == null) {
-          scheduleBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-              com.google.storagetransfer.v1.proto.TransferTypes.Schedule, com.google.storagetransfer.v1.proto.TransferTypes.Schedule.Builder, com.google.storagetransfer.v1.proto.TransferTypes.ScheduleOrBuilder>(
-                  getSchedule(),
-                  getParentForChildren(),
-                  isClean());
+          scheduleBuilder_ =
+              new com.google.protobuf.SingleFieldBuilderV3<
+                  com.google.storagetransfer.v1.proto.TransferTypes.Schedule,
+                  com.google.storagetransfer.v1.proto.TransferTypes.Schedule.Builder,
+                  com.google.storagetransfer.v1.proto.TransferTypes.ScheduleOrBuilder>(
+                  getSchedule(), getParentForChildren(), isClean());
           schedule_ = null;
         }
         return scheduleBuilder_;
@@ -30421,6 +34812,8 @@ public com.google.storagetransfer.v1.proto.TransferTypes.ScheduleOrBuilder getSc
 
       private int status_ = 0;
       /**
+       *
+       *
        * 
        * Status of the job. This value MUST be specified for
        * `CreateTransferJobRequests`.
@@ -30432,12 +34825,16 @@ public com.google.storagetransfer.v1.proto.TransferTypes.ScheduleOrBuilder getSc
        * 
* * .google.storagetransfer.v1.TransferJob.Status status = 6; + * * @return The enum numeric value on the wire for status. */ - @java.lang.Override public int getStatusValue() { + @java.lang.Override + public int getStatusValue() { return status_; } /** + * + * *
        * Status of the job. This value MUST be specified for
        * `CreateTransferJobRequests`.
@@ -30449,16 +34846,19 @@ public com.google.storagetransfer.v1.proto.TransferTypes.ScheduleOrBuilder getSc
        * 
* * .google.storagetransfer.v1.TransferJob.Status status = 6; + * * @param value The enum numeric value on the wire for status to set. * @return This builder for chaining. */ public Builder setStatusValue(int value) { - + status_ = value; onChanged(); return this; } /** + * + * *
        * Status of the job. This value MUST be specified for
        * `CreateTransferJobRequests`.
@@ -30470,15 +34870,21 @@ public Builder setStatusValue(int value) {
        * 
* * .google.storagetransfer.v1.TransferJob.Status status = 6; + * * @return The status. */ @java.lang.Override public com.google.storagetransfer.v1.proto.TransferTypes.TransferJob.Status getStatus() { @SuppressWarnings("deprecation") - com.google.storagetransfer.v1.proto.TransferTypes.TransferJob.Status result = com.google.storagetransfer.v1.proto.TransferTypes.TransferJob.Status.valueOf(status_); - return result == null ? com.google.storagetransfer.v1.proto.TransferTypes.TransferJob.Status.UNRECOGNIZED : result; + com.google.storagetransfer.v1.proto.TransferTypes.TransferJob.Status result = + com.google.storagetransfer.v1.proto.TransferTypes.TransferJob.Status.valueOf(status_); + return result == null + ? com.google.storagetransfer.v1.proto.TransferTypes.TransferJob.Status.UNRECOGNIZED + : result; } /** + * + * *
        * Status of the job. This value MUST be specified for
        * `CreateTransferJobRequests`.
@@ -30490,19 +34896,23 @@ public com.google.storagetransfer.v1.proto.TransferTypes.TransferJob.Status getS
        * 
* * .google.storagetransfer.v1.TransferJob.Status status = 6; + * * @param value The status to set. * @return This builder for chaining. */ - public Builder setStatus(com.google.storagetransfer.v1.proto.TransferTypes.TransferJob.Status value) { + public Builder setStatus( + com.google.storagetransfer.v1.proto.TransferTypes.TransferJob.Status value) { if (value == null) { throw new NullPointerException(); } - + status_ = value.getNumber(); onChanged(); return this; } /** + * + * *
        * Status of the job. This value MUST be specified for
        * `CreateTransferJobRequests`.
@@ -30514,10 +34924,11 @@ public Builder setStatus(com.google.storagetransfer.v1.proto.TransferTypes.Trans
        * 
* * .google.storagetransfer.v1.TransferJob.Status status = 6; + * * @return This builder for chaining. */ public Builder clearStatus() { - + status_ = 0; onChanged(); return this; @@ -30525,39 +34936,58 @@ public Builder clearStatus() { private com.google.protobuf.Timestamp creationTime_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> creationTimeBuilder_; + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder> + creationTimeBuilder_; /** + * + * *
        * Output only. The time that the transfer job was created.
        * 
* - * .google.protobuf.Timestamp creation_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp creation_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the creationTime field is set. */ public boolean hasCreationTime() { return creationTimeBuilder_ != null || creationTime_ != null; } /** + * + * *
        * Output only. The time that the transfer job was created.
        * 
* - * .google.protobuf.Timestamp creation_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp creation_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The creationTime. */ public com.google.protobuf.Timestamp getCreationTime() { if (creationTimeBuilder_ == null) { - return creationTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : creationTime_; + return creationTime_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : creationTime_; } else { return creationTimeBuilder_.getMessage(); } } /** + * + * *
        * Output only. The time that the transfer job was created.
        * 
* - * .google.protobuf.Timestamp creation_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp creation_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder setCreationTime(com.google.protobuf.Timestamp value) { if (creationTimeBuilder_ == null) { @@ -30573,14 +35003,17 @@ public Builder setCreationTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
        * Output only. The time that the transfer job was created.
        * 
* - * .google.protobuf.Timestamp creation_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp creation_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - public Builder setCreationTime( - com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setCreationTime(com.google.protobuf.Timestamp.Builder builderForValue) { if (creationTimeBuilder_ == null) { creationTime_ = builderForValue.build(); onChanged(); @@ -30591,17 +35024,23 @@ public Builder setCreationTime( return this; } /** + * + * *
        * Output only. The time that the transfer job was created.
        * 
* - * .google.protobuf.Timestamp creation_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp creation_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder mergeCreationTime(com.google.protobuf.Timestamp value) { if (creationTimeBuilder_ == null) { if (creationTime_ != null) { creationTime_ = - com.google.protobuf.Timestamp.newBuilder(creationTime_).mergeFrom(value).buildPartial(); + com.google.protobuf.Timestamp.newBuilder(creationTime_) + .mergeFrom(value) + .buildPartial(); } else { creationTime_ = value; } @@ -30613,11 +35052,15 @@ public Builder mergeCreationTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
        * Output only. The time that the transfer job was created.
        * 
* - * .google.protobuf.Timestamp creation_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp creation_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder clearCreationTime() { if (creationTimeBuilder_ == null) { @@ -30631,48 +35074,64 @@ public Builder clearCreationTime() { return this; } /** + * + * *
        * Output only. The time that the transfer job was created.
        * 
* - * .google.protobuf.Timestamp creation_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp creation_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public com.google.protobuf.Timestamp.Builder getCreationTimeBuilder() { - + onChanged(); return getCreationTimeFieldBuilder().getBuilder(); } /** + * + * *
        * Output only. The time that the transfer job was created.
        * 
* - * .google.protobuf.Timestamp creation_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp creation_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public com.google.protobuf.TimestampOrBuilder getCreationTimeOrBuilder() { if (creationTimeBuilder_ != null) { return creationTimeBuilder_.getMessageOrBuilder(); } else { - return creationTime_ == null ? - com.google.protobuf.Timestamp.getDefaultInstance() : creationTime_; + return creationTime_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : creationTime_; } } /** + * + * *
        * Output only. The time that the transfer job was created.
        * 
* - * .google.protobuf.Timestamp creation_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp creation_time = 7 [(.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> getCreationTimeFieldBuilder() { if (creationTimeBuilder_ == null) { - creationTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( - getCreationTime(), - getParentForChildren(), - isClean()); + creationTimeBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder>( + getCreationTime(), getParentForChildren(), isClean()); creationTime_ = null; } return creationTimeBuilder_; @@ -30680,39 +35139,58 @@ public com.google.protobuf.TimestampOrBuilder getCreationTimeOrBuilder() { private com.google.protobuf.Timestamp lastModificationTime_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> lastModificationTimeBuilder_; + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder> + lastModificationTimeBuilder_; /** + * + * *
        * Output only. The time that the transfer job was last modified.
        * 
* - * .google.protobuf.Timestamp last_modification_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp last_modification_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the lastModificationTime field is set. */ public boolean hasLastModificationTime() { return lastModificationTimeBuilder_ != null || lastModificationTime_ != null; } /** + * + * *
        * Output only. The time that the transfer job was last modified.
        * 
* - * .google.protobuf.Timestamp last_modification_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp last_modification_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The lastModificationTime. */ public com.google.protobuf.Timestamp getLastModificationTime() { if (lastModificationTimeBuilder_ == null) { - return lastModificationTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : lastModificationTime_; + return lastModificationTime_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : lastModificationTime_; } else { return lastModificationTimeBuilder_.getMessage(); } } /** + * + * *
        * Output only. The time that the transfer job was last modified.
        * 
* - * .google.protobuf.Timestamp last_modification_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp last_modification_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder setLastModificationTime(com.google.protobuf.Timestamp value) { if (lastModificationTimeBuilder_ == null) { @@ -30728,11 +35206,15 @@ public Builder setLastModificationTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
        * Output only. The time that the transfer job was last modified.
        * 
* - * .google.protobuf.Timestamp last_modification_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp last_modification_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder setLastModificationTime( com.google.protobuf.Timestamp.Builder builderForValue) { @@ -30746,17 +35228,23 @@ public Builder setLastModificationTime( return this; } /** + * + * *
        * Output only. The time that the transfer job was last modified.
        * 
* - * .google.protobuf.Timestamp last_modification_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp last_modification_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder mergeLastModificationTime(com.google.protobuf.Timestamp value) { if (lastModificationTimeBuilder_ == null) { if (lastModificationTime_ != null) { lastModificationTime_ = - com.google.protobuf.Timestamp.newBuilder(lastModificationTime_).mergeFrom(value).buildPartial(); + com.google.protobuf.Timestamp.newBuilder(lastModificationTime_) + .mergeFrom(value) + .buildPartial(); } else { lastModificationTime_ = value; } @@ -30768,11 +35256,15 @@ public Builder mergeLastModificationTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
        * Output only. The time that the transfer job was last modified.
        * 
* - * .google.protobuf.Timestamp last_modification_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp last_modification_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder clearLastModificationTime() { if (lastModificationTimeBuilder_ == null) { @@ -30786,48 +35278,64 @@ public Builder clearLastModificationTime() { return this; } /** + * + * *
        * Output only. The time that the transfer job was last modified.
        * 
* - * .google.protobuf.Timestamp last_modification_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp last_modification_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public com.google.protobuf.Timestamp.Builder getLastModificationTimeBuilder() { - + onChanged(); return getLastModificationTimeFieldBuilder().getBuilder(); } /** + * + * *
        * Output only. The time that the transfer job was last modified.
        * 
* - * .google.protobuf.Timestamp last_modification_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp last_modification_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public com.google.protobuf.TimestampOrBuilder getLastModificationTimeOrBuilder() { if (lastModificationTimeBuilder_ != null) { return lastModificationTimeBuilder_.getMessageOrBuilder(); } else { - return lastModificationTime_ == null ? - com.google.protobuf.Timestamp.getDefaultInstance() : lastModificationTime_; + return lastModificationTime_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : lastModificationTime_; } } /** + * + * *
        * Output only. The time that the transfer job was last modified.
        * 
* - * .google.protobuf.Timestamp last_modification_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp last_modification_time = 8 [(.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> getLastModificationTimeFieldBuilder() { if (lastModificationTimeBuilder_ == null) { - lastModificationTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( - getLastModificationTime(), - getParentForChildren(), - isClean()); + lastModificationTimeBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder>( + getLastModificationTime(), getParentForChildren(), isClean()); lastModificationTime_ = null; } return lastModificationTimeBuilder_; @@ -30835,39 +35343,58 @@ public com.google.protobuf.TimestampOrBuilder getLastModificationTimeOrBuilder() private com.google.protobuf.Timestamp deletionTime_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> deletionTimeBuilder_; + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder> + deletionTimeBuilder_; /** + * + * *
        * Output only. The time that the transfer job was deleted.
        * 
* - * .google.protobuf.Timestamp deletion_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp deletion_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the deletionTime field is set. */ public boolean hasDeletionTime() { return deletionTimeBuilder_ != null || deletionTime_ != null; } /** + * + * *
        * Output only. The time that the transfer job was deleted.
        * 
* - * .google.protobuf.Timestamp deletion_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp deletion_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The deletionTime. */ public com.google.protobuf.Timestamp getDeletionTime() { if (deletionTimeBuilder_ == null) { - return deletionTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : deletionTime_; + return deletionTime_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : deletionTime_; } else { return deletionTimeBuilder_.getMessage(); } } /** + * + * *
        * Output only. The time that the transfer job was deleted.
        * 
* - * .google.protobuf.Timestamp deletion_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp deletion_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder setDeletionTime(com.google.protobuf.Timestamp value) { if (deletionTimeBuilder_ == null) { @@ -30883,14 +35410,17 @@ public Builder setDeletionTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
        * Output only. The time that the transfer job was deleted.
        * 
* - * .google.protobuf.Timestamp deletion_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp deletion_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - public Builder setDeletionTime( - com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setDeletionTime(com.google.protobuf.Timestamp.Builder builderForValue) { if (deletionTimeBuilder_ == null) { deletionTime_ = builderForValue.build(); onChanged(); @@ -30901,17 +35431,23 @@ public Builder setDeletionTime( return this; } /** + * + * *
        * Output only. The time that the transfer job was deleted.
        * 
* - * .google.protobuf.Timestamp deletion_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp deletion_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder mergeDeletionTime(com.google.protobuf.Timestamp value) { if (deletionTimeBuilder_ == null) { if (deletionTime_ != null) { deletionTime_ = - com.google.protobuf.Timestamp.newBuilder(deletionTime_).mergeFrom(value).buildPartial(); + com.google.protobuf.Timestamp.newBuilder(deletionTime_) + .mergeFrom(value) + .buildPartial(); } else { deletionTime_ = value; } @@ -30923,11 +35459,15 @@ public Builder mergeDeletionTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
        * Output only. The time that the transfer job was deleted.
        * 
* - * .google.protobuf.Timestamp deletion_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp deletion_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder clearDeletionTime() { if (deletionTimeBuilder_ == null) { @@ -30941,48 +35481,64 @@ public Builder clearDeletionTime() { return this; } /** + * + * *
        * Output only. The time that the transfer job was deleted.
        * 
* - * .google.protobuf.Timestamp deletion_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp deletion_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public com.google.protobuf.Timestamp.Builder getDeletionTimeBuilder() { - + onChanged(); return getDeletionTimeFieldBuilder().getBuilder(); } /** + * + * *
        * Output only. The time that the transfer job was deleted.
        * 
* - * .google.protobuf.Timestamp deletion_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp deletion_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public com.google.protobuf.TimestampOrBuilder getDeletionTimeOrBuilder() { if (deletionTimeBuilder_ != null) { return deletionTimeBuilder_.getMessageOrBuilder(); } else { - return deletionTime_ == null ? - com.google.protobuf.Timestamp.getDefaultInstance() : deletionTime_; + return deletionTime_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : deletionTime_; } } /** + * + * *
        * Output only. The time that the transfer job was deleted.
        * 
* - * .google.protobuf.Timestamp deletion_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp deletion_time = 9 [(.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> getDeletionTimeFieldBuilder() { if (deletionTimeBuilder_ == null) { - deletionTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( - getDeletionTime(), - getParentForChildren(), - isClean()); + deletionTimeBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder>( + getDeletionTime(), getParentForChildren(), isClean()); deletionTime_ = null; } return deletionTimeBuilder_; @@ -30990,19 +35546,21 @@ public com.google.protobuf.TimestampOrBuilder getDeletionTimeOrBuilder() { private java.lang.Object latestOperationName_ = ""; /** + * + * *
        * The name of the most recently started TransferOperation of this JobConfig.
        * Present if a TransferOperation has been created for this JobConfig.
        * 
* * string latest_operation_name = 12; + * * @return The latestOperationName. */ public java.lang.String getLatestOperationName() { java.lang.Object ref = latestOperationName_; 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(); latestOperationName_ = s; return s; @@ -31011,21 +35569,22 @@ public java.lang.String getLatestOperationName() { } } /** + * + * *
        * The name of the most recently started TransferOperation of this JobConfig.
        * Present if a TransferOperation has been created for this JobConfig.
        * 
* * string latest_operation_name = 12; + * * @return The bytes for latestOperationName. */ - public com.google.protobuf.ByteString - getLatestOperationNameBytes() { + public com.google.protobuf.ByteString getLatestOperationNameBytes() { java.lang.Object ref = latestOperationName_; 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); latestOperationName_ = b; return b; } else { @@ -31033,61 +35592,69 @@ public java.lang.String getLatestOperationName() { } } /** + * + * *
        * The name of the most recently started TransferOperation of this JobConfig.
        * Present if a TransferOperation has been created for this JobConfig.
        * 
* * string latest_operation_name = 12; + * * @param value The latestOperationName to set. * @return This builder for chaining. */ - public Builder setLatestOperationName( - java.lang.String value) { + public Builder setLatestOperationName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + latestOperationName_ = value; onChanged(); return this; } /** + * + * *
        * The name of the most recently started TransferOperation of this JobConfig.
        * Present if a TransferOperation has been created for this JobConfig.
        * 
* * string latest_operation_name = 12; + * * @return This builder for chaining. */ public Builder clearLatestOperationName() { - + latestOperationName_ = getDefaultInstance().getLatestOperationName(); onChanged(); return this; } /** + * + * *
        * The name of the most recently started TransferOperation of this JobConfig.
        * Present if a TransferOperation has been created for this JobConfig.
        * 
* * string latest_operation_name = 12; + * * @param value The bytes for latestOperationName to set. * @return This builder for chaining. */ - public Builder setLatestOperationNameBytes( - com.google.protobuf.ByteString value) { + public Builder setLatestOperationNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + latestOperationName_ = value; onChanged(); return this; } + @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -31100,30 +35667,32 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.storagetransfer.v1.TransferJob) } // @@protoc_insertion_point(class_scope:google.storagetransfer.v1.TransferJob) - private static final com.google.storagetransfer.v1.proto.TransferTypes.TransferJob DEFAULT_INSTANCE; + private static final com.google.storagetransfer.v1.proto.TransferTypes.TransferJob + DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.storagetransfer.v1.proto.TransferTypes.TransferJob(); } - public static com.google.storagetransfer.v1.proto.TransferTypes.TransferJob getDefaultInstance() { + public static com.google.storagetransfer.v1.proto.TransferTypes.TransferJob + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public TransferJob parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new TransferJob(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public TransferJob parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new TransferJob(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -31135,95 +35704,114 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.storagetransfer.v1.proto.TransferTypes.TransferJob getDefaultInstanceForType() { + public com.google.storagetransfer.v1.proto.TransferTypes.TransferJob + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - public interface ErrorLogEntryOrBuilder extends + public interface ErrorLogEntryOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.storagetransfer.v1.ErrorLogEntry) com.google.protobuf.MessageOrBuilder { /** + * + * *
      * Required. A URL that refers to the target (a data source, a data sink,
      * or an object) with which the error is associated.
      * 
* * string url = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The url. */ java.lang.String getUrl(); /** + * + * *
      * Required. A URL that refers to the target (a data source, a data sink,
      * or an object) with which the error is associated.
      * 
* * string url = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for url. */ - com.google.protobuf.ByteString - getUrlBytes(); + com.google.protobuf.ByteString getUrlBytes(); /** + * + * *
      * A list of messages that carry the error details.
      * 
* * repeated string error_details = 3; + * * @return A list containing the errorDetails. */ - java.util.List - getErrorDetailsList(); + java.util.List getErrorDetailsList(); /** + * + * *
      * A list of messages that carry the error details.
      * 
* * repeated string error_details = 3; + * * @return The count of errorDetails. */ int getErrorDetailsCount(); /** + * + * *
      * A list of messages that carry the error details.
      * 
* * repeated string error_details = 3; + * * @param index The index of the element to return. * @return The errorDetails at the given index. */ java.lang.String getErrorDetails(int index); /** + * + * *
      * A list of messages that carry the error details.
      * 
* * repeated string error_details = 3; + * * @param index The index of the value to return. * @return The bytes of the errorDetails at the given index. */ - com.google.protobuf.ByteString - getErrorDetailsBytes(int index); + com.google.protobuf.ByteString getErrorDetailsBytes(int index); } /** + * + * *
    * An entry describing an error that has occurred.
    * 
* * Protobuf type {@code google.storagetransfer.v1.ErrorLogEntry} */ - public static final class ErrorLogEntry extends - com.google.protobuf.GeneratedMessageV3 implements + public static final class ErrorLogEntry extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.storagetransfer.v1.ErrorLogEntry) ErrorLogEntryOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use ErrorLogEntry.newBuilder() to construct. private ErrorLogEntry(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private ErrorLogEntry() { url_ = ""; errorDetails_ = com.google.protobuf.LazyStringArrayList.EMPTY; @@ -31231,16 +35819,15 @@ private ErrorLogEntry() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ErrorLogEntry(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private ErrorLogEntry( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -31260,28 +35847,30 @@ private ErrorLogEntry( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - url_ = s; - break; - } - case 26: { - java.lang.String s = input.readStringRequireUtf8(); - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - errorDetails_ = new com.google.protobuf.LazyStringArrayList(); - mutable_bitField0_ |= 0x00000001; + url_ = s; + break; } - errorDetails_.add(s); - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + case 26: + { + java.lang.String s = input.readStringRequireUtf8(); + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + errorDetails_ = new com.google.protobuf.LazyStringArrayList(); + mutable_bitField0_ |= 0x00000001; + } + errorDetails_.add(s); + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -31289,8 +35878,7 @@ private ErrorLogEntry( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000001) != 0)) { errorDetails_ = errorDetails_.getUnmodifiableView(); @@ -31299,28 +35887,34 @@ private ErrorLogEntry( makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.storagetransfer.v1.proto.TransferTypes.internal_static_google_storagetransfer_v1_ErrorLogEntry_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.storagetransfer.v1.proto.TransferTypes + .internal_static_google_storagetransfer_v1_ErrorLogEntry_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.storagetransfer.v1.proto.TransferTypes.internal_static_google_storagetransfer_v1_ErrorLogEntry_fieldAccessorTable + return com.google.storagetransfer.v1.proto.TransferTypes + .internal_static_google_storagetransfer_v1_ErrorLogEntry_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.storagetransfer.v1.proto.TransferTypes.ErrorLogEntry.class, com.google.storagetransfer.v1.proto.TransferTypes.ErrorLogEntry.Builder.class); + com.google.storagetransfer.v1.proto.TransferTypes.ErrorLogEntry.class, + com.google.storagetransfer.v1.proto.TransferTypes.ErrorLogEntry.Builder.class); } public static final int URL_FIELD_NUMBER = 1; private volatile java.lang.Object url_; /** + * + * *
      * Required. A URL that refers to the target (a data source, a data sink,
      * or an object) with which the error is associated.
      * 
* * string url = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The url. */ @java.lang.Override @@ -31329,30 +35923,30 @@ public java.lang.String getUrl() { 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(); url_ = s; return s; } } /** + * + * *
      * Required. A URL that refers to the target (a data source, a data sink,
      * or an object) with which the error is associated.
      * 
* * string url = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for url. */ @java.lang.Override - public com.google.protobuf.ByteString - getUrlBytes() { + public com.google.protobuf.ByteString getUrlBytes() { java.lang.Object ref = url_; 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); url_ = b; return b; } else { @@ -31363,34 +35957,42 @@ public java.lang.String getUrl() { public static final int ERROR_DETAILS_FIELD_NUMBER = 3; private com.google.protobuf.LazyStringList errorDetails_; /** + * + * *
      * A list of messages that carry the error details.
      * 
* * repeated string error_details = 3; + * * @return A list containing the errorDetails. */ - public com.google.protobuf.ProtocolStringList - getErrorDetailsList() { + public com.google.protobuf.ProtocolStringList getErrorDetailsList() { return errorDetails_; } /** + * + * *
      * A list of messages that carry the error details.
      * 
* * repeated string error_details = 3; + * * @return The count of errorDetails. */ public int getErrorDetailsCount() { return errorDetails_.size(); } /** + * + * *
      * A list of messages that carry the error details.
      * 
* * repeated string error_details = 3; + * * @param index The index of the element to return. * @return The errorDetails at the given index. */ @@ -31398,20 +36000,23 @@ public java.lang.String getErrorDetails(int index) { return errorDetails_.get(index); } /** + * + * *
      * A list of messages that carry the error details.
      * 
* * repeated string error_details = 3; + * * @param index The index of the value to return. * @return The bytes of the errorDetails at the given index. */ - public com.google.protobuf.ByteString - getErrorDetailsBytes(int index) { + public com.google.protobuf.ByteString getErrorDetailsBytes(int index) { return errorDetails_.getByteString(index); } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -31423,8 +36028,7 @@ 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 (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(url_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, url_); } @@ -31459,17 +36063,16 @@ 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.storagetransfer.v1.proto.TransferTypes.ErrorLogEntry)) { return super.equals(obj); } - com.google.storagetransfer.v1.proto.TransferTypes.ErrorLogEntry other = (com.google.storagetransfer.v1.proto.TransferTypes.ErrorLogEntry) obj; + com.google.storagetransfer.v1.proto.TransferTypes.ErrorLogEntry other = + (com.google.storagetransfer.v1.proto.TransferTypes.ErrorLogEntry) obj; - if (!getUrl() - .equals(other.getUrl())) return false; - if (!getErrorDetailsList() - .equals(other.getErrorDetailsList())) return false; + if (!getUrl().equals(other.getUrl())) return false; + if (!getErrorDetailsList().equals(other.getErrorDetailsList())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -31493,87 +36096,95 @@ public int hashCode() { } public static com.google.storagetransfer.v1.proto.TransferTypes.ErrorLogEntry parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.storagetransfer.v1.proto.TransferTypes.ErrorLogEntry 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.storagetransfer.v1.proto.TransferTypes.ErrorLogEntry parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.storagetransfer.v1.proto.TransferTypes.ErrorLogEntry 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.storagetransfer.v1.proto.TransferTypes.ErrorLogEntry parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.storagetransfer.v1.proto.TransferTypes.ErrorLogEntry parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.storagetransfer.v1.proto.TransferTypes.ErrorLogEntry 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.storagetransfer.v1.proto.TransferTypes.ErrorLogEntry parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.storagetransfer.v1.proto.TransferTypes.ErrorLogEntry parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.storagetransfer.v1.proto.TransferTypes.ErrorLogEntry 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.storagetransfer.v1.proto.TransferTypes.ErrorLogEntry parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.storagetransfer.v1.proto.TransferTypes.ErrorLogEntry + parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } - public static com.google.storagetransfer.v1.proto.TransferTypes.ErrorLogEntry parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + + public static com.google.storagetransfer.v1.proto.TransferTypes.ErrorLogEntry + parseDelimitedFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.storagetransfer.v1.proto.TransferTypes.ErrorLogEntry 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.storagetransfer.v1.proto.TransferTypes.ErrorLogEntry 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.storagetransfer.v1.proto.TransferTypes.ErrorLogEntry prototype) { + + public static Builder newBuilder( + com.google.storagetransfer.v1.proto.TransferTypes.ErrorLogEntry 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 @@ -31583,44 +36194,49 @@ protected Builder newBuilderForType( return builder; } /** + * + * *
      * An entry describing an error that has occurred.
      * 
* * Protobuf type {@code google.storagetransfer.v1.ErrorLogEntry} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder + extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.storagetransfer.v1.ErrorLogEntry) com.google.storagetransfer.v1.proto.TransferTypes.ErrorLogEntryOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.storagetransfer.v1.proto.TransferTypes.internal_static_google_storagetransfer_v1_ErrorLogEntry_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.storagetransfer.v1.proto.TransferTypes + .internal_static_google_storagetransfer_v1_ErrorLogEntry_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.storagetransfer.v1.proto.TransferTypes.internal_static_google_storagetransfer_v1_ErrorLogEntry_fieldAccessorTable + return com.google.storagetransfer.v1.proto.TransferTypes + .internal_static_google_storagetransfer_v1_ErrorLogEntry_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.storagetransfer.v1.proto.TransferTypes.ErrorLogEntry.class, com.google.storagetransfer.v1.proto.TransferTypes.ErrorLogEntry.Builder.class); + com.google.storagetransfer.v1.proto.TransferTypes.ErrorLogEntry.class, + com.google.storagetransfer.v1.proto.TransferTypes.ErrorLogEntry.Builder.class); } - // Construct using com.google.storagetransfer.v1.proto.TransferTypes.ErrorLogEntry.newBuilder() + // Construct using + // com.google.storagetransfer.v1.proto.TransferTypes.ErrorLogEntry.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -31632,13 +36248,14 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.storagetransfer.v1.proto.TransferTypes.internal_static_google_storagetransfer_v1_ErrorLogEntry_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.storagetransfer.v1.proto.TransferTypes + .internal_static_google_storagetransfer_v1_ErrorLogEntry_descriptor; } @java.lang.Override - public com.google.storagetransfer.v1.proto.TransferTypes.ErrorLogEntry getDefaultInstanceForType() { + public com.google.storagetransfer.v1.proto.TransferTypes.ErrorLogEntry + getDefaultInstanceForType() { return com.google.storagetransfer.v1.proto.TransferTypes.ErrorLogEntry.getDefaultInstance(); } @@ -31653,7 +36270,8 @@ public com.google.storagetransfer.v1.proto.TransferTypes.ErrorLogEntry build() { @java.lang.Override public com.google.storagetransfer.v1.proto.TransferTypes.ErrorLogEntry buildPartial() { - com.google.storagetransfer.v1.proto.TransferTypes.ErrorLogEntry result = new com.google.storagetransfer.v1.proto.TransferTypes.ErrorLogEntry(this); + com.google.storagetransfer.v1.proto.TransferTypes.ErrorLogEntry result = + new com.google.storagetransfer.v1.proto.TransferTypes.ErrorLogEntry(this); int from_bitField0_ = bitField0_; result.url_ = url_; if (((bitField0_ & 0x00000001) != 0)) { @@ -31669,46 +36287,52 @@ public com.google.storagetransfer.v1.proto.TransferTypes.ErrorLogEntry buildPart public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + int index, + java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.storagetransfer.v1.proto.TransferTypes.ErrorLogEntry) { - return mergeFrom((com.google.storagetransfer.v1.proto.TransferTypes.ErrorLogEntry)other); + return mergeFrom((com.google.storagetransfer.v1.proto.TransferTypes.ErrorLogEntry) other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.google.storagetransfer.v1.proto.TransferTypes.ErrorLogEntry other) { - if (other == com.google.storagetransfer.v1.proto.TransferTypes.ErrorLogEntry.getDefaultInstance()) return this; + public Builder mergeFrom( + com.google.storagetransfer.v1.proto.TransferTypes.ErrorLogEntry other) { + if (other + == com.google.storagetransfer.v1.proto.TransferTypes.ErrorLogEntry.getDefaultInstance()) + return this; if (!other.getUrl().isEmpty()) { url_ = other.url_; onChanged(); @@ -31742,7 +36366,9 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.storagetransfer.v1.proto.TransferTypes.ErrorLogEntry) e.getUnfinishedMessage(); + parsedMessage = + (com.google.storagetransfer.v1.proto.TransferTypes.ErrorLogEntry) + e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -31751,23 +36377,26 @@ public Builder mergeFrom( } return this; } + private int bitField0_; private java.lang.Object url_ = ""; /** + * + * *
        * Required. A URL that refers to the target (a data source, a data sink,
        * or an object) with which the error is associated.
        * 
* * string url = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The url. */ public java.lang.String getUrl() { java.lang.Object ref = url_; 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(); url_ = s; return s; @@ -31776,21 +36405,22 @@ public java.lang.String getUrl() { } } /** + * + * *
        * Required. A URL that refers to the target (a data source, a data sink,
        * or an object) with which the error is associated.
        * 
* * string url = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for url. */ - public com.google.protobuf.ByteString - getUrlBytes() { + public com.google.protobuf.ByteString getUrlBytes() { java.lang.Object ref = url_; 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); url_ = b; return b; } else { @@ -31798,98 +36428,115 @@ public java.lang.String getUrl() { } } /** + * + * *
        * Required. A URL that refers to the target (a data source, a data sink,
        * or an object) with which the error is associated.
        * 
* * string url = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The url to set. * @return This builder for chaining. */ - public Builder setUrl( - java.lang.String value) { + public Builder setUrl(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + url_ = value; onChanged(); return this; } /** + * + * *
        * Required. A URL that refers to the target (a data source, a data sink,
        * or an object) with which the error is associated.
        * 
* * string url = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return This builder for chaining. */ public Builder clearUrl() { - + url_ = getDefaultInstance().getUrl(); onChanged(); return this; } /** + * + * *
        * Required. A URL that refers to the target (a data source, a data sink,
        * or an object) with which the error is associated.
        * 
* * string url = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The bytes for url to set. * @return This builder for chaining. */ - public Builder setUrlBytes( - com.google.protobuf.ByteString value) { + public Builder setUrlBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + url_ = value; onChanged(); return this; } - private com.google.protobuf.LazyStringList errorDetails_ = com.google.protobuf.LazyStringArrayList.EMPTY; + private com.google.protobuf.LazyStringList errorDetails_ = + com.google.protobuf.LazyStringArrayList.EMPTY; + private void ensureErrorDetailsIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { errorDetails_ = new com.google.protobuf.LazyStringArrayList(errorDetails_); bitField0_ |= 0x00000001; - } + } } /** + * + * *
        * A list of messages that carry the error details.
        * 
* * repeated string error_details = 3; + * * @return A list containing the errorDetails. */ - public com.google.protobuf.ProtocolStringList - getErrorDetailsList() { + public com.google.protobuf.ProtocolStringList getErrorDetailsList() { return errorDetails_.getUnmodifiableView(); } /** + * + * *
        * A list of messages that carry the error details.
        * 
* * repeated string error_details = 3; + * * @return The count of errorDetails. */ public int getErrorDetailsCount() { return errorDetails_.size(); } /** + * + * *
        * A list of messages that carry the error details.
        * 
* * repeated string error_details = 3; + * * @param index The index of the element to return. * @return The errorDetails at the given index. */ @@ -31897,80 +36544,90 @@ public java.lang.String getErrorDetails(int index) { return errorDetails_.get(index); } /** + * + * *
        * A list of messages that carry the error details.
        * 
* * repeated string error_details = 3; + * * @param index The index of the value to return. * @return The bytes of the errorDetails at the given index. */ - public com.google.protobuf.ByteString - getErrorDetailsBytes(int index) { + public com.google.protobuf.ByteString getErrorDetailsBytes(int index) { return errorDetails_.getByteString(index); } /** + * + * *
        * A list of messages that carry the error details.
        * 
* * repeated string error_details = 3; + * * @param index The index to set the value at. * @param value The errorDetails to set. * @return This builder for chaining. */ - public Builder setErrorDetails( - int index, java.lang.String value) { + public Builder setErrorDetails(int index, java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureErrorDetailsIsMutable(); + throw new NullPointerException(); + } + ensureErrorDetailsIsMutable(); errorDetails_.set(index, value); onChanged(); return this; } /** + * + * *
        * A list of messages that carry the error details.
        * 
* * repeated string error_details = 3; + * * @param value The errorDetails to add. * @return This builder for chaining. */ - public Builder addErrorDetails( - java.lang.String value) { + public Builder addErrorDetails(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureErrorDetailsIsMutable(); + throw new NullPointerException(); + } + ensureErrorDetailsIsMutable(); errorDetails_.add(value); onChanged(); return this; } /** + * + * *
        * A list of messages that carry the error details.
        * 
* * repeated string error_details = 3; + * * @param values The errorDetails to add. * @return This builder for chaining. */ - public Builder addAllErrorDetails( - java.lang.Iterable values) { + public Builder addAllErrorDetails(java.lang.Iterable values) { ensureErrorDetailsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, errorDetails_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, errorDetails_); onChanged(); return this; } /** + * + * *
        * A list of messages that carry the error details.
        * 
* * repeated string error_details = 3; + * * @return This builder for chaining. */ public Builder clearErrorDetails() { @@ -31980,25 +36637,28 @@ public Builder clearErrorDetails() { return this; } /** + * + * *
        * A list of messages that carry the error details.
        * 
* * repeated string error_details = 3; + * * @param value The bytes of the errorDetails to add. * @return This builder for chaining. */ - public Builder addErrorDetailsBytes( - com.google.protobuf.ByteString value) { + public Builder addErrorDetailsBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); ensureErrorDetailsIsMutable(); errorDetails_.add(value); onChanged(); return this; } + @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -32011,30 +36671,32 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.storagetransfer.v1.ErrorLogEntry) } // @@protoc_insertion_point(class_scope:google.storagetransfer.v1.ErrorLogEntry) - private static final com.google.storagetransfer.v1.proto.TransferTypes.ErrorLogEntry DEFAULT_INSTANCE; + private static final com.google.storagetransfer.v1.proto.TransferTypes.ErrorLogEntry + DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.storagetransfer.v1.proto.TransferTypes.ErrorLogEntry(); } - public static com.google.storagetransfer.v1.proto.TransferTypes.ErrorLogEntry getDefaultInstance() { + public static com.google.storagetransfer.v1.proto.TransferTypes.ErrorLogEntry + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ErrorLogEntry parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ErrorLogEntry(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ErrorLogEntry parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ErrorLogEntry(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -32046,46 +36708,58 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.storagetransfer.v1.proto.TransferTypes.ErrorLogEntry getDefaultInstanceForType() { + public com.google.storagetransfer.v1.proto.TransferTypes.ErrorLogEntry + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - public interface ErrorSummaryOrBuilder extends + public interface ErrorSummaryOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.storagetransfer.v1.ErrorSummary) com.google.protobuf.MessageOrBuilder { /** + * + * *
      * Required.
      * 
* * .google.rpc.Code error_code = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The enum numeric value on the wire for errorCode. */ int getErrorCodeValue(); /** + * + * *
      * Required.
      * 
* * .google.rpc.Code error_code = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The errorCode. */ com.google.rpc.Code getErrorCode(); /** + * + * *
      * Required. Count of this type of error.
      * 
* * int64 error_count = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The errorCount. */ long getErrorCount(); /** + * + * *
      * Error samples.
      * At most 5 error log entries are recorded for a given
@@ -32094,9 +36768,11 @@ public interface ErrorSummaryOrBuilder extends
      *
      * repeated .google.storagetransfer.v1.ErrorLogEntry error_log_entries = 3;
      */
-    java.util.List 
+    java.util.List
         getErrorLogEntriesList();
     /**
+     *
+     *
      * 
      * Error samples.
      * At most 5 error log entries are recorded for a given
@@ -32107,6 +36783,8 @@ public interface ErrorSummaryOrBuilder extends
      */
     com.google.storagetransfer.v1.proto.TransferTypes.ErrorLogEntry getErrorLogEntries(int index);
     /**
+     *
+     *
      * 
      * Error samples.
      * At most 5 error log entries are recorded for a given
@@ -32117,6 +36795,8 @@ public interface ErrorSummaryOrBuilder extends
      */
     int getErrorLogEntriesCount();
     /**
+     *
+     *
      * 
      * Error samples.
      * At most 5 error log entries are recorded for a given
@@ -32125,9 +36805,12 @@ public interface ErrorSummaryOrBuilder extends
      *
      * repeated .google.storagetransfer.v1.ErrorLogEntry error_log_entries = 3;
      */
-    java.util.List 
+    java.util.List<
+            ? extends com.google.storagetransfer.v1.proto.TransferTypes.ErrorLogEntryOrBuilder>
         getErrorLogEntriesOrBuilderList();
     /**
+     *
+     *
      * 
      * Error samples.
      * At most 5 error log entries are recorded for a given
@@ -32136,10 +36819,12 @@ public interface ErrorSummaryOrBuilder extends
      *
      * repeated .google.storagetransfer.v1.ErrorLogEntry error_log_entries = 3;
      */
-    com.google.storagetransfer.v1.proto.TransferTypes.ErrorLogEntryOrBuilder getErrorLogEntriesOrBuilder(
-        int index);
+    com.google.storagetransfer.v1.proto.TransferTypes.ErrorLogEntryOrBuilder
+        getErrorLogEntriesOrBuilder(int index);
   }
   /**
+   *
+   *
    * 
    * A summary of errors by error code, plus a count and sample error log
    * entries.
@@ -32147,15 +36832,16 @@ com.google.storagetransfer.v1.proto.TransferTypes.ErrorLogEntryOrBuilder getErro
    *
    * Protobuf type {@code google.storagetransfer.v1.ErrorSummary}
    */
-  public static final class ErrorSummary extends
-      com.google.protobuf.GeneratedMessageV3 implements
+  public static final class ErrorSummary extends com.google.protobuf.GeneratedMessageV3
+      implements
       // @@protoc_insertion_point(message_implements:google.storagetransfer.v1.ErrorSummary)
       ErrorSummaryOrBuilder {
-  private static final long serialVersionUID = 0L;
+    private static final long serialVersionUID = 0L;
     // Use ErrorSummary.newBuilder() to construct.
     private ErrorSummary(com.google.protobuf.GeneratedMessageV3.Builder builder) {
       super(builder);
     }
+
     private ErrorSummary() {
       errorCode_ = 0;
       errorLogEntries_ = java.util.Collections.emptyList();
@@ -32163,16 +36849,15 @@ private ErrorSummary() {
 
     @java.lang.Override
     @SuppressWarnings({"unused"})
-    protected java.lang.Object newInstance(
-        UnusedPrivateParameter unused) {
+    protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
       return new ErrorSummary();
     }
 
     @java.lang.Override
-    public final com.google.protobuf.UnknownFieldSet
-    getUnknownFields() {
+    public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
       return this.unknownFields;
     }
+
     private ErrorSummary(
         com.google.protobuf.CodedInputStream input,
         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -32192,33 +36877,39 @@ private ErrorSummary(
             case 0:
               done = true;
               break;
-            case 8: {
-              int rawValue = input.readEnum();
-
-              errorCode_ = rawValue;
-              break;
-            }
-            case 16: {
+            case 8:
+              {
+                int rawValue = input.readEnum();
 
-              errorCount_ = input.readInt64();
-              break;
-            }
-            case 26: {
-              if (!((mutable_bitField0_ & 0x00000001) != 0)) {
-                errorLogEntries_ = new java.util.ArrayList();
-                mutable_bitField0_ |= 0x00000001;
+                errorCode_ = rawValue;
+                break;
               }
-              errorLogEntries_.add(
-                  input.readMessage(com.google.storagetransfer.v1.proto.TransferTypes.ErrorLogEntry.parser(), extensionRegistry));
-              break;
-            }
-            default: {
-              if (!parseUnknownField(
-                  input, unknownFields, extensionRegistry, tag)) {
-                done = true;
+            case 16:
+              {
+                errorCount_ = input.readInt64();
+                break;
+              }
+            case 26:
+              {
+                if (!((mutable_bitField0_ & 0x00000001) != 0)) {
+                  errorLogEntries_ =
+                      new java.util.ArrayList<
+                          com.google.storagetransfer.v1.proto.TransferTypes.ErrorLogEntry>();
+                  mutable_bitField0_ |= 0x00000001;
+                }
+                errorLogEntries_.add(
+                    input.readMessage(
+                        com.google.storagetransfer.v1.proto.TransferTypes.ErrorLogEntry.parser(),
+                        extensionRegistry));
+                break;
+              }
+            default:
+              {
+                if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
+                  done = true;
+                }
+                break;
               }
-              break;
-            }
           }
         }
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -32226,8 +36917,7 @@ private ErrorSummary(
       } catch (com.google.protobuf.UninitializedMessageException e) {
         throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
       } catch (java.io.IOException e) {
-        throw new com.google.protobuf.InvalidProtocolBufferException(
-            e).setUnfinishedMessage(this);
+        throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
       } finally {
         if (((mutable_bitField0_ & 0x00000001) != 0)) {
           errorLogEntries_ = java.util.Collections.unmodifiableList(errorLogEntries_);
@@ -32236,41 +36926,52 @@ private ErrorSummary(
         makeExtensionsImmutable();
       }
     }
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.storagetransfer.v1.proto.TransferTypes.internal_static_google_storagetransfer_v1_ErrorSummary_descriptor;
+
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.storagetransfer.v1.proto.TransferTypes
+          .internal_static_google_storagetransfer_v1_ErrorSummary_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.storagetransfer.v1.proto.TransferTypes.internal_static_google_storagetransfer_v1_ErrorSummary_fieldAccessorTable
+      return com.google.storagetransfer.v1.proto.TransferTypes
+          .internal_static_google_storagetransfer_v1_ErrorSummary_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.storagetransfer.v1.proto.TransferTypes.ErrorSummary.class, com.google.storagetransfer.v1.proto.TransferTypes.ErrorSummary.Builder.class);
+              com.google.storagetransfer.v1.proto.TransferTypes.ErrorSummary.class,
+              com.google.storagetransfer.v1.proto.TransferTypes.ErrorSummary.Builder.class);
     }
 
     public static final int ERROR_CODE_FIELD_NUMBER = 1;
     private int errorCode_;
     /**
+     *
+     *
      * 
      * Required.
      * 
* * .google.rpc.Code error_code = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The enum numeric value on the wire for errorCode. */ - @java.lang.Override public int getErrorCodeValue() { + @java.lang.Override + public int getErrorCodeValue() { return errorCode_; } /** + * + * *
      * Required.
      * 
* * .google.rpc.Code error_code = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The errorCode. */ - @java.lang.Override public com.google.rpc.Code getErrorCode() { + @java.lang.Override + public com.google.rpc.Code getErrorCode() { @SuppressWarnings("deprecation") com.google.rpc.Code result = com.google.rpc.Code.valueOf(errorCode_); return result == null ? com.google.rpc.Code.UNRECOGNIZED : result; @@ -32279,11 +36980,14 @@ private ErrorSummary( public static final int ERROR_COUNT_FIELD_NUMBER = 2; private long errorCount_; /** + * + * *
      * Required. Count of this type of error.
      * 
* * int64 error_count = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The errorCount. */ @java.lang.Override @@ -32292,8 +36996,11 @@ public long getErrorCount() { } public static final int ERROR_LOG_ENTRIES_FIELD_NUMBER = 3; - private java.util.List errorLogEntries_; + private java.util.List + errorLogEntries_; /** + * + * *
      * Error samples.
      * At most 5 error log entries are recorded for a given
@@ -32303,10 +37010,13 @@ public long getErrorCount() {
      * repeated .google.storagetransfer.v1.ErrorLogEntry error_log_entries = 3;
      */
     @java.lang.Override
-    public java.util.List getErrorLogEntriesList() {
+    public java.util.List
+        getErrorLogEntriesList() {
       return errorLogEntries_;
     }
     /**
+     *
+     *
      * 
      * Error samples.
      * At most 5 error log entries are recorded for a given
@@ -32316,11 +37026,14 @@ public java.util.Listrepeated .google.storagetransfer.v1.ErrorLogEntry error_log_entries = 3;
      */
     @java.lang.Override
-    public java.util.List 
+    public java.util.List<
+            ? extends com.google.storagetransfer.v1.proto.TransferTypes.ErrorLogEntryOrBuilder>
         getErrorLogEntriesOrBuilderList() {
       return errorLogEntries_;
     }
     /**
+     *
+     *
      * 
      * Error samples.
      * At most 5 error log entries are recorded for a given
@@ -32334,6 +37047,8 @@ public int getErrorLogEntriesCount() {
       return errorLogEntries_.size();
     }
     /**
+     *
+     *
      * 
      * Error samples.
      * At most 5 error log entries are recorded for a given
@@ -32343,10 +37058,13 @@ public int getErrorLogEntriesCount() {
      * repeated .google.storagetransfer.v1.ErrorLogEntry error_log_entries = 3;
      */
     @java.lang.Override
-    public com.google.storagetransfer.v1.proto.TransferTypes.ErrorLogEntry getErrorLogEntries(int index) {
+    public com.google.storagetransfer.v1.proto.TransferTypes.ErrorLogEntry getErrorLogEntries(
+        int index) {
       return errorLogEntries_.get(index);
     }
     /**
+     *
+     *
      * 
      * Error samples.
      * At most 5 error log entries are recorded for a given
@@ -32356,12 +37074,13 @@ public com.google.storagetransfer.v1.proto.TransferTypes.ErrorLogEntry getErrorL
      * repeated .google.storagetransfer.v1.ErrorLogEntry error_log_entries = 3;
      */
     @java.lang.Override
-    public com.google.storagetransfer.v1.proto.TransferTypes.ErrorLogEntryOrBuilder getErrorLogEntriesOrBuilder(
-        int index) {
+    public com.google.storagetransfer.v1.proto.TransferTypes.ErrorLogEntryOrBuilder
+        getErrorLogEntriesOrBuilder(int index) {
       return errorLogEntries_.get(index);
     }
 
     private byte memoizedIsInitialized = -1;
+
     @java.lang.Override
     public final boolean isInitialized() {
       byte isInitialized = memoizedIsInitialized;
@@ -32373,8 +37092,7 @@ 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 (errorCode_ != com.google.rpc.Code.OK.getNumber()) {
         output.writeEnum(1, errorCode_);
       }
@@ -32394,16 +37112,14 @@ public int getSerializedSize() {
 
       size = 0;
       if (errorCode_ != com.google.rpc.Code.OK.getNumber()) {
-        size += com.google.protobuf.CodedOutputStream
-          .computeEnumSize(1, errorCode_);
+        size += com.google.protobuf.CodedOutputStream.computeEnumSize(1, errorCode_);
       }
       if (errorCount_ != 0L) {
-        size += com.google.protobuf.CodedOutputStream
-          .computeInt64Size(2, errorCount_);
+        size += com.google.protobuf.CodedOutputStream.computeInt64Size(2, errorCount_);
       }
       for (int i = 0; i < errorLogEntries_.size(); i++) {
-        size += com.google.protobuf.CodedOutputStream
-          .computeMessageSize(3, errorLogEntries_.get(i));
+        size +=
+            com.google.protobuf.CodedOutputStream.computeMessageSize(3, errorLogEntries_.get(i));
       }
       size += unknownFields.getSerializedSize();
       memoizedSize = size;
@@ -32413,18 +37129,17 @@ 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.storagetransfer.v1.proto.TransferTypes.ErrorSummary)) {
         return super.equals(obj);
       }
-      com.google.storagetransfer.v1.proto.TransferTypes.ErrorSummary other = (com.google.storagetransfer.v1.proto.TransferTypes.ErrorSummary) obj;
+      com.google.storagetransfer.v1.proto.TransferTypes.ErrorSummary other =
+          (com.google.storagetransfer.v1.proto.TransferTypes.ErrorSummary) obj;
 
       if (errorCode_ != other.errorCode_) return false;
-      if (getErrorCount()
-          != other.getErrorCount()) return false;
-      if (!getErrorLogEntriesList()
-          .equals(other.getErrorLogEntriesList())) return false;
+      if (getErrorCount() != other.getErrorCount()) return false;
+      if (!getErrorLogEntriesList().equals(other.getErrorLogEntriesList())) return false;
       if (!unknownFields.equals(other.unknownFields)) return false;
       return true;
     }
@@ -32439,8 +37154,7 @@ public int hashCode() {
       hash = (37 * hash) + ERROR_CODE_FIELD_NUMBER;
       hash = (53 * hash) + errorCode_;
       hash = (37 * hash) + ERROR_COUNT_FIELD_NUMBER;
-      hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
-          getErrorCount());
+      hash = (53 * hash) + com.google.protobuf.Internal.hashLong(getErrorCount());
       if (getErrorLogEntriesCount() > 0) {
         hash = (37 * hash) + ERROR_LOG_ENTRIES_FIELD_NUMBER;
         hash = (53 * hash) + getErrorLogEntriesList().hashCode();
@@ -32451,87 +37165,94 @@ public int hashCode() {
     }
 
     public static com.google.storagetransfer.v1.proto.TransferTypes.ErrorSummary parseFrom(
-        java.nio.ByteBuffer data)
-        throws com.google.protobuf.InvalidProtocolBufferException {
+        java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data);
     }
+
     public static com.google.storagetransfer.v1.proto.TransferTypes.ErrorSummary 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.storagetransfer.v1.proto.TransferTypes.ErrorSummary parseFrom(
         com.google.protobuf.ByteString data)
         throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data);
     }
+
     public static com.google.storagetransfer.v1.proto.TransferTypes.ErrorSummary 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.storagetransfer.v1.proto.TransferTypes.ErrorSummary parseFrom(byte[] data)
-        throws com.google.protobuf.InvalidProtocolBufferException {
+
+    public static com.google.storagetransfer.v1.proto.TransferTypes.ErrorSummary parseFrom(
+        byte[] data) throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data);
     }
+
     public static com.google.storagetransfer.v1.proto.TransferTypes.ErrorSummary 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.storagetransfer.v1.proto.TransferTypes.ErrorSummary parseFrom(java.io.InputStream input)
-        throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3
-          .parseWithIOException(PARSER, input);
+
+    public static com.google.storagetransfer.v1.proto.TransferTypes.ErrorSummary parseFrom(
+        java.io.InputStream input) throws java.io.IOException {
+      return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
     }
+
     public static com.google.storagetransfer.v1.proto.TransferTypes.ErrorSummary 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.storagetransfer.v1.proto.TransferTypes.ErrorSummary parseDelimitedFrom(java.io.InputStream input)
-        throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3
-          .parseDelimitedWithIOException(PARSER, input);
+
+    public static com.google.storagetransfer.v1.proto.TransferTypes.ErrorSummary parseDelimitedFrom(
+        java.io.InputStream input) throws java.io.IOException {
+      return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
     }
+
     public static com.google.storagetransfer.v1.proto.TransferTypes.ErrorSummary 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.storagetransfer.v1.proto.TransferTypes.ErrorSummary 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.storagetransfer.v1.proto.TransferTypes.ErrorSummary 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.storagetransfer.v1.proto.TransferTypes.ErrorSummary prototype) {
+
+    public static Builder newBuilder(
+        com.google.storagetransfer.v1.proto.TransferTypes.ErrorSummary 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
@@ -32541,6 +37262,8 @@ protected Builder newBuilderForType(
       return builder;
     }
     /**
+     *
+     *
      * 
      * A summary of errors by error code, plus a count and sample error log
      * entries.
@@ -32548,21 +37271,24 @@ protected Builder newBuilderForType(
      *
      * Protobuf type {@code google.storagetransfer.v1.ErrorSummary}
      */
-    public static final class Builder extends
-        com.google.protobuf.GeneratedMessageV3.Builder implements
+    public static final class Builder
+        extends com.google.protobuf.GeneratedMessageV3.Builder
+        implements
         // @@protoc_insertion_point(builder_implements:google.storagetransfer.v1.ErrorSummary)
         com.google.storagetransfer.v1.proto.TransferTypes.ErrorSummaryOrBuilder {
-      public static final com.google.protobuf.Descriptors.Descriptor
-          getDescriptor() {
-        return com.google.storagetransfer.v1.proto.TransferTypes.internal_static_google_storagetransfer_v1_ErrorSummary_descriptor;
+      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+        return com.google.storagetransfer.v1.proto.TransferTypes
+            .internal_static_google_storagetransfer_v1_ErrorSummary_descriptor;
       }
 
       @java.lang.Override
       protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
           internalGetFieldAccessorTable() {
-        return com.google.storagetransfer.v1.proto.TransferTypes.internal_static_google_storagetransfer_v1_ErrorSummary_fieldAccessorTable
+        return com.google.storagetransfer.v1.proto.TransferTypes
+            .internal_static_google_storagetransfer_v1_ErrorSummary_fieldAccessorTable
             .ensureFieldAccessorsInitialized(
-                com.google.storagetransfer.v1.proto.TransferTypes.ErrorSummary.class, com.google.storagetransfer.v1.proto.TransferTypes.ErrorSummary.Builder.class);
+                com.google.storagetransfer.v1.proto.TransferTypes.ErrorSummary.class,
+                com.google.storagetransfer.v1.proto.TransferTypes.ErrorSummary.Builder.class);
       }
 
       // Construct using com.google.storagetransfer.v1.proto.TransferTypes.ErrorSummary.newBuilder()
@@ -32570,17 +37296,17 @@ private Builder() {
         maybeForceBuilderInitialization();
       }
 
-      private Builder(
-          com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+      private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
         super(parent);
         maybeForceBuilderInitialization();
       }
+
       private void maybeForceBuilderInitialization() {
-        if (com.google.protobuf.GeneratedMessageV3
-                .alwaysUseFieldBuilders) {
+        if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {
           getErrorLogEntriesFieldBuilder();
         }
       }
+
       @java.lang.Override
       public Builder clear() {
         super.clear();
@@ -32598,13 +37324,14 @@ public Builder clear() {
       }
 
       @java.lang.Override
-      public com.google.protobuf.Descriptors.Descriptor
-          getDescriptorForType() {
-        return com.google.storagetransfer.v1.proto.TransferTypes.internal_static_google_storagetransfer_v1_ErrorSummary_descriptor;
+      public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+        return com.google.storagetransfer.v1.proto.TransferTypes
+            .internal_static_google_storagetransfer_v1_ErrorSummary_descriptor;
       }
 
       @java.lang.Override
-      public com.google.storagetransfer.v1.proto.TransferTypes.ErrorSummary getDefaultInstanceForType() {
+      public com.google.storagetransfer.v1.proto.TransferTypes.ErrorSummary
+          getDefaultInstanceForType() {
         return com.google.storagetransfer.v1.proto.TransferTypes.ErrorSummary.getDefaultInstance();
       }
 
@@ -32619,7 +37346,8 @@ public com.google.storagetransfer.v1.proto.TransferTypes.ErrorSummary build() {
 
       @java.lang.Override
       public com.google.storagetransfer.v1.proto.TransferTypes.ErrorSummary buildPartial() {
-        com.google.storagetransfer.v1.proto.TransferTypes.ErrorSummary result = new com.google.storagetransfer.v1.proto.TransferTypes.ErrorSummary(this);
+        com.google.storagetransfer.v1.proto.TransferTypes.ErrorSummary result =
+            new com.google.storagetransfer.v1.proto.TransferTypes.ErrorSummary(this);
         int from_bitField0_ = bitField0_;
         result.errorCode_ = errorCode_;
         result.errorCount_ = errorCount_;
@@ -32640,46 +37368,52 @@ public com.google.storagetransfer.v1.proto.TransferTypes.ErrorSummary buildParti
       public Builder clone() {
         return super.clone();
       }
+
       @java.lang.Override
       public Builder setField(
-          com.google.protobuf.Descriptors.FieldDescriptor field,
-          java.lang.Object value) {
+          com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
         return super.setField(field, value);
       }
+
       @java.lang.Override
-      public Builder clearField(
-          com.google.protobuf.Descriptors.FieldDescriptor field) {
+      public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
         return super.clearField(field);
       }
+
       @java.lang.Override
-      public Builder clearOneof(
-          com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+      public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
         return super.clearOneof(oneof);
       }
+
       @java.lang.Override
       public Builder setRepeatedField(
           com.google.protobuf.Descriptors.FieldDescriptor field,
-          int index, java.lang.Object value) {
+          int index,
+          java.lang.Object value) {
         return super.setRepeatedField(field, index, value);
       }
+
       @java.lang.Override
       public Builder addRepeatedField(
-          com.google.protobuf.Descriptors.FieldDescriptor field,
-          java.lang.Object value) {
+          com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
         return super.addRepeatedField(field, value);
       }
+
       @java.lang.Override
       public Builder mergeFrom(com.google.protobuf.Message other) {
         if (other instanceof com.google.storagetransfer.v1.proto.TransferTypes.ErrorSummary) {
-          return mergeFrom((com.google.storagetransfer.v1.proto.TransferTypes.ErrorSummary)other);
+          return mergeFrom((com.google.storagetransfer.v1.proto.TransferTypes.ErrorSummary) other);
         } else {
           super.mergeFrom(other);
           return this;
         }
       }
 
-      public Builder mergeFrom(com.google.storagetransfer.v1.proto.TransferTypes.ErrorSummary other) {
-        if (other == com.google.storagetransfer.v1.proto.TransferTypes.ErrorSummary.getDefaultInstance()) return this;
+      public Builder mergeFrom(
+          com.google.storagetransfer.v1.proto.TransferTypes.ErrorSummary other) {
+        if (other
+            == com.google.storagetransfer.v1.proto.TransferTypes.ErrorSummary.getDefaultInstance())
+          return this;
         if (other.errorCode_ != 0) {
           setErrorCodeValue(other.getErrorCodeValue());
         }
@@ -32704,9 +37438,10 @@ public Builder mergeFrom(com.google.storagetransfer.v1.proto.TransferTypes.Error
               errorLogEntriesBuilder_ = null;
               errorLogEntries_ = other.errorLogEntries_;
               bitField0_ = (bitField0_ & ~0x00000001);
-              errorLogEntriesBuilder_ = 
-                com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
-                   getErrorLogEntriesFieldBuilder() : null;
+              errorLogEntriesBuilder_ =
+                  com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders
+                      ? getErrorLogEntriesFieldBuilder()
+                      : null;
             } else {
               errorLogEntriesBuilder_.addAllMessages(other.errorLogEntries_);
             }
@@ -32731,7 +37466,9 @@ public Builder mergeFrom(
         try {
           parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
         } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-          parsedMessage = (com.google.storagetransfer.v1.proto.TransferTypes.ErrorSummary) e.getUnfinishedMessage();
+          parsedMessage =
+              (com.google.storagetransfer.v1.proto.TransferTypes.ErrorSummary)
+                  e.getUnfinishedMessage();
           throw e.unwrapIOException();
         } finally {
           if (parsedMessage != null) {
@@ -32740,41 +37477,52 @@ public Builder mergeFrom(
         }
         return this;
       }
+
       private int bitField0_;
 
       private int errorCode_ = 0;
       /**
+       *
+       *
        * 
        * Required.
        * 
* * .google.rpc.Code error_code = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The enum numeric value on the wire for errorCode. */ - @java.lang.Override public int getErrorCodeValue() { + @java.lang.Override + public int getErrorCodeValue() { return errorCode_; } /** + * + * *
        * Required.
        * 
* * .google.rpc.Code error_code = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The enum numeric value on the wire for errorCode to set. * @return This builder for chaining. */ public Builder setErrorCodeValue(int value) { - + errorCode_ = value; onChanged(); return this; } /** + * + * *
        * Required.
        * 
* * .google.rpc.Code error_code = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The errorCode. */ @java.lang.Override @@ -32784,11 +37532,14 @@ public com.google.rpc.Code getErrorCode() { return result == null ? com.google.rpc.Code.UNRECOGNIZED : result; } /** + * + * *
        * Required.
        * 
* * .google.rpc.Code error_code = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The errorCode to set. * @return This builder for chaining. */ @@ -32796,33 +37547,39 @@ public Builder setErrorCode(com.google.rpc.Code value) { if (value == null) { throw new NullPointerException(); } - + errorCode_ = value.getNumber(); onChanged(); return this; } /** + * + * *
        * Required.
        * 
* * .google.rpc.Code error_code = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return This builder for chaining. */ public Builder clearErrorCode() { - + errorCode_ = 0; onChanged(); return this; } - private long errorCount_ ; + private long errorCount_; /** + * + * *
        * Required. Count of this type of error.
        * 
* * int64 error_count = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The errorCount. */ @java.lang.Override @@ -32830,48 +37587,63 @@ public long getErrorCount() { return errorCount_; } /** + * + * *
        * Required. Count of this type of error.
        * 
* * int64 error_count = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The errorCount to set. * @return This builder for chaining. */ public Builder setErrorCount(long value) { - + errorCount_ = value; onChanged(); return this; } /** + * + * *
        * Required. Count of this type of error.
        * 
* * int64 error_count = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return This builder for chaining. */ public Builder clearErrorCount() { - + errorCount_ = 0L; onChanged(); return this; } - private java.util.List errorLogEntries_ = - java.util.Collections.emptyList(); + private java.util.List + errorLogEntries_ = java.util.Collections.emptyList(); + private void ensureErrorLogEntriesIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { - errorLogEntries_ = new java.util.ArrayList(errorLogEntries_); + errorLogEntries_ = + new java.util.ArrayList< + com.google.storagetransfer.v1.proto.TransferTypes.ErrorLogEntry>( + errorLogEntries_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.storagetransfer.v1.proto.TransferTypes.ErrorLogEntry, com.google.storagetransfer.v1.proto.TransferTypes.ErrorLogEntry.Builder, com.google.storagetransfer.v1.proto.TransferTypes.ErrorLogEntryOrBuilder> errorLogEntriesBuilder_; + com.google.storagetransfer.v1.proto.TransferTypes.ErrorLogEntry, + com.google.storagetransfer.v1.proto.TransferTypes.ErrorLogEntry.Builder, + com.google.storagetransfer.v1.proto.TransferTypes.ErrorLogEntryOrBuilder> + errorLogEntriesBuilder_; /** + * + * *
        * Error samples.
        * At most 5 error log entries are recorded for a given
@@ -32880,7 +37652,8 @@ private void ensureErrorLogEntriesIsMutable() {
        *
        * repeated .google.storagetransfer.v1.ErrorLogEntry error_log_entries = 3;
        */
-      public java.util.List getErrorLogEntriesList() {
+      public java.util.List
+          getErrorLogEntriesList() {
         if (errorLogEntriesBuilder_ == null) {
           return java.util.Collections.unmodifiableList(errorLogEntries_);
         } else {
@@ -32888,6 +37661,8 @@ public java.util.List
        * Error samples.
        * At most 5 error log entries are recorded for a given
@@ -32904,6 +37679,8 @@ public int getErrorLogEntriesCount() {
         }
       }
       /**
+       *
+       *
        * 
        * Error samples.
        * At most 5 error log entries are recorded for a given
@@ -32912,7 +37689,8 @@ public int getErrorLogEntriesCount() {
        *
        * repeated .google.storagetransfer.v1.ErrorLogEntry error_log_entries = 3;
        */
-      public com.google.storagetransfer.v1.proto.TransferTypes.ErrorLogEntry getErrorLogEntries(int index) {
+      public com.google.storagetransfer.v1.proto.TransferTypes.ErrorLogEntry getErrorLogEntries(
+          int index) {
         if (errorLogEntriesBuilder_ == null) {
           return errorLogEntries_.get(index);
         } else {
@@ -32920,6 +37698,8 @@ public com.google.storagetransfer.v1.proto.TransferTypes.ErrorLogEntry getErrorL
         }
       }
       /**
+       *
+       *
        * 
        * Error samples.
        * At most 5 error log entries are recorded for a given
@@ -32943,6 +37723,8 @@ public Builder setErrorLogEntries(
         return this;
       }
       /**
+       *
+       *
        * 
        * Error samples.
        * At most 5 error log entries are recorded for a given
@@ -32952,7 +37734,8 @@ public Builder setErrorLogEntries(
        * repeated .google.storagetransfer.v1.ErrorLogEntry error_log_entries = 3;
        */
       public Builder setErrorLogEntries(
-          int index, com.google.storagetransfer.v1.proto.TransferTypes.ErrorLogEntry.Builder builderForValue) {
+          int index,
+          com.google.storagetransfer.v1.proto.TransferTypes.ErrorLogEntry.Builder builderForValue) {
         if (errorLogEntriesBuilder_ == null) {
           ensureErrorLogEntriesIsMutable();
           errorLogEntries_.set(index, builderForValue.build());
@@ -32963,6 +37746,8 @@ public Builder setErrorLogEntries(
         return this;
       }
       /**
+       *
+       *
        * 
        * Error samples.
        * At most 5 error log entries are recorded for a given
@@ -32971,7 +37756,8 @@ public Builder setErrorLogEntries(
        *
        * repeated .google.storagetransfer.v1.ErrorLogEntry error_log_entries = 3;
        */
-      public Builder addErrorLogEntries(com.google.storagetransfer.v1.proto.TransferTypes.ErrorLogEntry value) {
+      public Builder addErrorLogEntries(
+          com.google.storagetransfer.v1.proto.TransferTypes.ErrorLogEntry value) {
         if (errorLogEntriesBuilder_ == null) {
           if (value == null) {
             throw new NullPointerException();
@@ -32985,6 +37771,8 @@ public Builder addErrorLogEntries(com.google.storagetransfer.v1.proto.TransferTy
         return this;
       }
       /**
+       *
+       *
        * 
        * Error samples.
        * At most 5 error log entries are recorded for a given
@@ -33008,6 +37796,8 @@ public Builder addErrorLogEntries(
         return this;
       }
       /**
+       *
+       *
        * 
        * Error samples.
        * At most 5 error log entries are recorded for a given
@@ -33028,6 +37818,8 @@ public Builder addErrorLogEntries(
         return this;
       }
       /**
+       *
+       *
        * 
        * Error samples.
        * At most 5 error log entries are recorded for a given
@@ -33037,7 +37829,8 @@ public Builder addErrorLogEntries(
        * repeated .google.storagetransfer.v1.ErrorLogEntry error_log_entries = 3;
        */
       public Builder addErrorLogEntries(
-          int index, com.google.storagetransfer.v1.proto.TransferTypes.ErrorLogEntry.Builder builderForValue) {
+          int index,
+          com.google.storagetransfer.v1.proto.TransferTypes.ErrorLogEntry.Builder builderForValue) {
         if (errorLogEntriesBuilder_ == null) {
           ensureErrorLogEntriesIsMutable();
           errorLogEntries_.add(index, builderForValue.build());
@@ -33048,6 +37841,8 @@ public Builder addErrorLogEntries(
         return this;
       }
       /**
+       *
+       *
        * 
        * Error samples.
        * At most 5 error log entries are recorded for a given
@@ -33057,11 +37852,12 @@ public Builder addErrorLogEntries(
        * repeated .google.storagetransfer.v1.ErrorLogEntry error_log_entries = 3;
        */
       public Builder addAllErrorLogEntries(
-          java.lang.Iterable values) {
+          java.lang.Iterable<
+                  ? extends com.google.storagetransfer.v1.proto.TransferTypes.ErrorLogEntry>
+              values) {
         if (errorLogEntriesBuilder_ == null) {
           ensureErrorLogEntriesIsMutable();
-          com.google.protobuf.AbstractMessageLite.Builder.addAll(
-              values, errorLogEntries_);
+          com.google.protobuf.AbstractMessageLite.Builder.addAll(values, errorLogEntries_);
           onChanged();
         } else {
           errorLogEntriesBuilder_.addAllMessages(values);
@@ -33069,6 +37865,8 @@ public Builder addAllErrorLogEntries(
         return this;
       }
       /**
+       *
+       *
        * 
        * Error samples.
        * At most 5 error log entries are recorded for a given
@@ -33088,6 +37886,8 @@ public Builder clearErrorLogEntries() {
         return this;
       }
       /**
+       *
+       *
        * 
        * Error samples.
        * At most 5 error log entries are recorded for a given
@@ -33107,6 +37907,8 @@ public Builder removeErrorLogEntries(int index) {
         return this;
       }
       /**
+       *
+       *
        * 
        * Error samples.
        * At most 5 error log entries are recorded for a given
@@ -33115,11 +37917,13 @@ public Builder removeErrorLogEntries(int index) {
        *
        * repeated .google.storagetransfer.v1.ErrorLogEntry error_log_entries = 3;
        */
-      public com.google.storagetransfer.v1.proto.TransferTypes.ErrorLogEntry.Builder getErrorLogEntriesBuilder(
-          int index) {
+      public com.google.storagetransfer.v1.proto.TransferTypes.ErrorLogEntry.Builder
+          getErrorLogEntriesBuilder(int index) {
         return getErrorLogEntriesFieldBuilder().getBuilder(index);
       }
       /**
+       *
+       *
        * 
        * Error samples.
        * At most 5 error log entries are recorded for a given
@@ -33128,14 +37932,17 @@ public com.google.storagetransfer.v1.proto.TransferTypes.ErrorLogEntry.Builder g
        *
        * repeated .google.storagetransfer.v1.ErrorLogEntry error_log_entries = 3;
        */
-      public com.google.storagetransfer.v1.proto.TransferTypes.ErrorLogEntryOrBuilder getErrorLogEntriesOrBuilder(
-          int index) {
+      public com.google.storagetransfer.v1.proto.TransferTypes.ErrorLogEntryOrBuilder
+          getErrorLogEntriesOrBuilder(int index) {
         if (errorLogEntriesBuilder_ == null) {
-          return errorLogEntries_.get(index);  } else {
+          return errorLogEntries_.get(index);
+        } else {
           return errorLogEntriesBuilder_.getMessageOrBuilder(index);
         }
       }
       /**
+       *
+       *
        * 
        * Error samples.
        * At most 5 error log entries are recorded for a given
@@ -33144,8 +37951,9 @@ public com.google.storagetransfer.v1.proto.TransferTypes.ErrorLogEntryOrBuilder
        *
        * repeated .google.storagetransfer.v1.ErrorLogEntry error_log_entries = 3;
        */
-      public java.util.List 
-           getErrorLogEntriesOrBuilderList() {
+      public java.util.List<
+              ? extends com.google.storagetransfer.v1.proto.TransferTypes.ErrorLogEntryOrBuilder>
+          getErrorLogEntriesOrBuilderList() {
         if (errorLogEntriesBuilder_ != null) {
           return errorLogEntriesBuilder_.getMessageOrBuilderList();
         } else {
@@ -33153,6 +37961,8 @@ public com.google.storagetransfer.v1.proto.TransferTypes.ErrorLogEntryOrBuilder
         }
       }
       /**
+       *
+       *
        * 
        * Error samples.
        * At most 5 error log entries are recorded for a given
@@ -33161,11 +37971,16 @@ public com.google.storagetransfer.v1.proto.TransferTypes.ErrorLogEntryOrBuilder
        *
        * repeated .google.storagetransfer.v1.ErrorLogEntry error_log_entries = 3;
        */
-      public com.google.storagetransfer.v1.proto.TransferTypes.ErrorLogEntry.Builder addErrorLogEntriesBuilder() {
-        return getErrorLogEntriesFieldBuilder().addBuilder(
-            com.google.storagetransfer.v1.proto.TransferTypes.ErrorLogEntry.getDefaultInstance());
+      public com.google.storagetransfer.v1.proto.TransferTypes.ErrorLogEntry.Builder
+          addErrorLogEntriesBuilder() {
+        return getErrorLogEntriesFieldBuilder()
+            .addBuilder(
+                com.google.storagetransfer.v1.proto.TransferTypes.ErrorLogEntry
+                    .getDefaultInstance());
       }
       /**
+       *
+       *
        * 
        * Error samples.
        * At most 5 error log entries are recorded for a given
@@ -33174,12 +37989,17 @@ public com.google.storagetransfer.v1.proto.TransferTypes.ErrorLogEntry.Builder a
        *
        * repeated .google.storagetransfer.v1.ErrorLogEntry error_log_entries = 3;
        */
-      public com.google.storagetransfer.v1.proto.TransferTypes.ErrorLogEntry.Builder addErrorLogEntriesBuilder(
-          int index) {
-        return getErrorLogEntriesFieldBuilder().addBuilder(
-            index, com.google.storagetransfer.v1.proto.TransferTypes.ErrorLogEntry.getDefaultInstance());
+      public com.google.storagetransfer.v1.proto.TransferTypes.ErrorLogEntry.Builder
+          addErrorLogEntriesBuilder(int index) {
+        return getErrorLogEntriesFieldBuilder()
+            .addBuilder(
+                index,
+                com.google.storagetransfer.v1.proto.TransferTypes.ErrorLogEntry
+                    .getDefaultInstance());
       }
       /**
+       *
+       *
        * 
        * Error samples.
        * At most 5 error log entries are recorded for a given
@@ -33188,16 +38008,22 @@ public com.google.storagetransfer.v1.proto.TransferTypes.ErrorLogEntry.Builder a
        *
        * repeated .google.storagetransfer.v1.ErrorLogEntry error_log_entries = 3;
        */
-      public java.util.List 
-           getErrorLogEntriesBuilderList() {
+      public java.util.List
+          getErrorLogEntriesBuilderList() {
         return getErrorLogEntriesFieldBuilder().getBuilderList();
       }
+
       private com.google.protobuf.RepeatedFieldBuilderV3<
-          com.google.storagetransfer.v1.proto.TransferTypes.ErrorLogEntry, com.google.storagetransfer.v1.proto.TransferTypes.ErrorLogEntry.Builder, com.google.storagetransfer.v1.proto.TransferTypes.ErrorLogEntryOrBuilder> 
+              com.google.storagetransfer.v1.proto.TransferTypes.ErrorLogEntry,
+              com.google.storagetransfer.v1.proto.TransferTypes.ErrorLogEntry.Builder,
+              com.google.storagetransfer.v1.proto.TransferTypes.ErrorLogEntryOrBuilder>
           getErrorLogEntriesFieldBuilder() {
         if (errorLogEntriesBuilder_ == null) {
-          errorLogEntriesBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
-              com.google.storagetransfer.v1.proto.TransferTypes.ErrorLogEntry, com.google.storagetransfer.v1.proto.TransferTypes.ErrorLogEntry.Builder, com.google.storagetransfer.v1.proto.TransferTypes.ErrorLogEntryOrBuilder>(
+          errorLogEntriesBuilder_ =
+              new com.google.protobuf.RepeatedFieldBuilderV3<
+                  com.google.storagetransfer.v1.proto.TransferTypes.ErrorLogEntry,
+                  com.google.storagetransfer.v1.proto.TransferTypes.ErrorLogEntry.Builder,
+                  com.google.storagetransfer.v1.proto.TransferTypes.ErrorLogEntryOrBuilder>(
                   errorLogEntries_,
                   ((bitField0_ & 0x00000001) != 0),
                   getParentForChildren(),
@@ -33206,6 +38032,7 @@ public com.google.storagetransfer.v1.proto.TransferTypes.ErrorLogEntry.Builder a
         }
         return errorLogEntriesBuilder_;
       }
+
       @java.lang.Override
       public final Builder setUnknownFields(
           final com.google.protobuf.UnknownFieldSet unknownFields) {
@@ -33218,30 +38045,32 @@ public final Builder mergeUnknownFields(
         return super.mergeUnknownFields(unknownFields);
       }
 
-
       // @@protoc_insertion_point(builder_scope:google.storagetransfer.v1.ErrorSummary)
     }
 
     // @@protoc_insertion_point(class_scope:google.storagetransfer.v1.ErrorSummary)
-    private static final com.google.storagetransfer.v1.proto.TransferTypes.ErrorSummary DEFAULT_INSTANCE;
+    private static final com.google.storagetransfer.v1.proto.TransferTypes.ErrorSummary
+        DEFAULT_INSTANCE;
+
     static {
       DEFAULT_INSTANCE = new com.google.storagetransfer.v1.proto.TransferTypes.ErrorSummary();
     }
 
-    public static com.google.storagetransfer.v1.proto.TransferTypes.ErrorSummary getDefaultInstance() {
+    public static com.google.storagetransfer.v1.proto.TransferTypes.ErrorSummary
+        getDefaultInstance() {
       return DEFAULT_INSTANCE;
     }
 
-    private static final com.google.protobuf.Parser
-        PARSER = new com.google.protobuf.AbstractParser() {
-      @java.lang.Override
-      public ErrorSummary parsePartialFrom(
-          com.google.protobuf.CodedInputStream input,
-          com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-          throws com.google.protobuf.InvalidProtocolBufferException {
-        return new ErrorSummary(input, extensionRegistry);
-      }
-    };
+    private static final com.google.protobuf.Parser PARSER =
+        new com.google.protobuf.AbstractParser() {
+          @java.lang.Override
+          public ErrorSummary parsePartialFrom(
+              com.google.protobuf.CodedInputStream input,
+              com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+              throws com.google.protobuf.InvalidProtocolBufferException {
+            return new ErrorSummary(input, extensionRegistry);
+          }
+        };
 
     public static com.google.protobuf.Parser parser() {
       return PARSER;
@@ -33253,17 +38082,20 @@ public com.google.protobuf.Parser getParserForType() {
     }
 
     @java.lang.Override
-    public com.google.storagetransfer.v1.proto.TransferTypes.ErrorSummary getDefaultInstanceForType() {
+    public com.google.storagetransfer.v1.proto.TransferTypes.ErrorSummary
+        getDefaultInstanceForType() {
       return DEFAULT_INSTANCE;
     }
-
   }
 
-  public interface TransferCountersOrBuilder extends
+  public interface TransferCountersOrBuilder
+      extends
       // @@protoc_insertion_point(interface_extends:google.storagetransfer.v1.TransferCounters)
       com.google.protobuf.MessageOrBuilder {
 
     /**
+     *
+     *
      * 
      * Objects found in the data source that are scheduled to be transferred,
      * excluding any that are filtered based on object conditions or skipped due
@@ -33271,11 +38103,14 @@ public interface TransferCountersOrBuilder extends
      * 
* * int64 objects_found_from_source = 1; + * * @return The objectsFoundFromSource. */ long getObjectsFoundFromSource(); /** + * + * *
      * Bytes found in the data source that are scheduled to be transferred,
      * excluding any that are filtered based on object conditions or skipped due
@@ -33283,155 +38118,200 @@ public interface TransferCountersOrBuilder extends
      * 
* * int64 bytes_found_from_source = 2; + * * @return The bytesFoundFromSource. */ long getBytesFoundFromSource(); /** + * + * *
      * Objects found only in the data sink that are scheduled to be deleted.
      * 
* * int64 objects_found_only_from_sink = 3; + * * @return The objectsFoundOnlyFromSink. */ long getObjectsFoundOnlyFromSink(); /** + * + * *
      * Bytes found only in the data sink that are scheduled to be deleted.
      * 
* * int64 bytes_found_only_from_sink = 4; + * * @return The bytesFoundOnlyFromSink. */ long getBytesFoundOnlyFromSink(); /** + * + * *
      * Objects in the data source that are not transferred because they already
      * exist in the data sink.
      * 
* * int64 objects_from_source_skipped_by_sync = 5; + * * @return The objectsFromSourceSkippedBySync. */ long getObjectsFromSourceSkippedBySync(); /** + * + * *
      * Bytes in the data source that are not transferred because they already
      * exist in the data sink.
      * 
* * int64 bytes_from_source_skipped_by_sync = 6; + * * @return The bytesFromSourceSkippedBySync. */ long getBytesFromSourceSkippedBySync(); /** + * + * *
      * Objects that are copied to the data sink.
      * 
* * int64 objects_copied_to_sink = 7; + * * @return The objectsCopiedToSink. */ long getObjectsCopiedToSink(); /** + * + * *
      * Bytes that are copied to the data sink.
      * 
* * int64 bytes_copied_to_sink = 8; + * * @return The bytesCopiedToSink. */ long getBytesCopiedToSink(); /** + * + * *
      * Objects that are deleted from the data source.
      * 
* * int64 objects_deleted_from_source = 9; + * * @return The objectsDeletedFromSource. */ long getObjectsDeletedFromSource(); /** + * + * *
      * Bytes that are deleted from the data source.
      * 
* * int64 bytes_deleted_from_source = 10; + * * @return The bytesDeletedFromSource. */ long getBytesDeletedFromSource(); /** + * + * *
      * Objects that are deleted from the data sink.
      * 
* * int64 objects_deleted_from_sink = 11; + * * @return The objectsDeletedFromSink. */ long getObjectsDeletedFromSink(); /** + * + * *
      * Bytes that are deleted from the data sink.
      * 
* * int64 bytes_deleted_from_sink = 12; + * * @return The bytesDeletedFromSink. */ long getBytesDeletedFromSink(); /** + * + * *
      * Objects in the data source that failed to be transferred or that failed
      * to be deleted after being transferred.
      * 
* * int64 objects_from_source_failed = 13; + * * @return The objectsFromSourceFailed. */ long getObjectsFromSourceFailed(); /** + * + * *
      * Bytes in the data source that failed to be transferred or that failed to
      * be deleted after being transferred.
      * 
* * int64 bytes_from_source_failed = 14; + * * @return The bytesFromSourceFailed. */ long getBytesFromSourceFailed(); /** + * + * *
      * Objects that failed to be deleted from the data sink.
      * 
* * int64 objects_failed_to_delete_from_sink = 15; + * * @return The objectsFailedToDeleteFromSink. */ long getObjectsFailedToDeleteFromSink(); /** + * + * *
      * Bytes that failed to be deleted from the data sink.
      * 
* * int64 bytes_failed_to_delete_from_sink = 16; + * * @return The bytesFailedToDeleteFromSink. */ long getBytesFailedToDeleteFromSink(); /** + * + * *
      * For transfers involving PosixFilesystem only.
      * Number of directories found while listing. For example, if the root
@@ -33441,11 +38321,14 @@ public interface TransferCountersOrBuilder extends
      * 
* * int64 directories_found_from_source = 17; + * * @return The directoriesFoundFromSource. */ long getDirectoriesFoundFromSource(); /** + * + * *
      * For transfers involving PosixFilesystem only.
      * Number of listing failures for each directory found at the source.
@@ -33455,72 +38338,83 @@ public interface TransferCountersOrBuilder extends
      * 
* * int64 directories_failed_to_list_from_source = 18; + * * @return The directoriesFailedToListFromSource. */ long getDirectoriesFailedToListFromSource(); /** + * + * *
      * For transfers involving PosixFilesystem only.
      * Number of successful listings for each directory found at the source.
      * 
* * int64 directories_successfully_listed_from_source = 19; + * * @return The directoriesSuccessfullyListedFromSource. */ long getDirectoriesSuccessfullyListedFromSource(); /** + * + * *
      * Number of successfully cleaned up intermediate objects.
      * 
* * int64 intermediate_objects_cleaned_up = 22; + * * @return The intermediateObjectsCleanedUp. */ long getIntermediateObjectsCleanedUp(); /** + * + * *
      * Number of intermediate objects failed cleaned up.
      * 
* * int64 intermediate_objects_failed_cleaned_up = 23; + * * @return The intermediateObjectsFailedCleanedUp. */ long getIntermediateObjectsFailedCleanedUp(); } /** + * + * *
    * A collection of counters that report the progress of a transfer operation.
    * 
* * Protobuf type {@code google.storagetransfer.v1.TransferCounters} */ - public static final class TransferCounters extends - com.google.protobuf.GeneratedMessageV3 implements + public static final class TransferCounters extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.storagetransfer.v1.TransferCounters) TransferCountersOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use TransferCounters.newBuilder() to construct. private TransferCounters(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private TransferCounters() { - } + + private TransferCounters() {} @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new TransferCounters(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private TransferCounters( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -33539,118 +38433,118 @@ private TransferCounters( case 0: done = true; break; - case 8: { - - objectsFoundFromSource_ = input.readInt64(); - break; - } - case 16: { - - bytesFoundFromSource_ = input.readInt64(); - break; - } - case 24: { - - objectsFoundOnlyFromSink_ = input.readInt64(); - break; - } - case 32: { - - bytesFoundOnlyFromSink_ = input.readInt64(); - break; - } - case 40: { - - objectsFromSourceSkippedBySync_ = input.readInt64(); - break; - } - case 48: { - - bytesFromSourceSkippedBySync_ = input.readInt64(); - break; - } - case 56: { - - objectsCopiedToSink_ = input.readInt64(); - break; - } - case 64: { - - bytesCopiedToSink_ = input.readInt64(); - break; - } - case 72: { - - objectsDeletedFromSource_ = input.readInt64(); - break; - } - case 80: { - - bytesDeletedFromSource_ = input.readInt64(); - break; - } - case 88: { - - objectsDeletedFromSink_ = input.readInt64(); - break; - } - case 96: { - - bytesDeletedFromSink_ = input.readInt64(); - break; - } - case 104: { - - objectsFromSourceFailed_ = input.readInt64(); - break; - } - case 112: { - - bytesFromSourceFailed_ = input.readInt64(); - break; - } - case 120: { - - objectsFailedToDeleteFromSink_ = input.readInt64(); - break; - } - case 128: { - - bytesFailedToDeleteFromSink_ = input.readInt64(); - break; - } - case 136: { - - directoriesFoundFromSource_ = input.readInt64(); - break; - } - case 144: { - - directoriesFailedToListFromSource_ = input.readInt64(); - break; - } - case 152: { - - directoriesSuccessfullyListedFromSource_ = input.readInt64(); - break; - } - case 176: { - - intermediateObjectsCleanedUp_ = input.readInt64(); - break; - } - case 184: { - - intermediateObjectsFailedCleanedUp_ = input.readInt64(); - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + case 8: + { + objectsFoundFromSource_ = input.readInt64(); + break; + } + case 16: + { + bytesFoundFromSource_ = input.readInt64(); + break; + } + case 24: + { + objectsFoundOnlyFromSink_ = input.readInt64(); + break; + } + case 32: + { + bytesFoundOnlyFromSink_ = input.readInt64(); + break; + } + case 40: + { + objectsFromSourceSkippedBySync_ = input.readInt64(); + break; + } + case 48: + { + bytesFromSourceSkippedBySync_ = input.readInt64(); + break; + } + case 56: + { + objectsCopiedToSink_ = input.readInt64(); + break; + } + case 64: + { + bytesCopiedToSink_ = input.readInt64(); + break; + } + case 72: + { + objectsDeletedFromSource_ = input.readInt64(); + break; + } + case 80: + { + bytesDeletedFromSource_ = input.readInt64(); + break; + } + case 88: + { + objectsDeletedFromSink_ = input.readInt64(); + break; + } + case 96: + { + bytesDeletedFromSink_ = input.readInt64(); + break; + } + case 104: + { + objectsFromSourceFailed_ = input.readInt64(); + break; + } + case 112: + { + bytesFromSourceFailed_ = input.readInt64(); + break; + } + case 120: + { + objectsFailedToDeleteFromSink_ = input.readInt64(); + break; + } + case 128: + { + bytesFailedToDeleteFromSink_ = input.readInt64(); + break; + } + case 136: + { + directoriesFoundFromSource_ = input.readInt64(); + break; + } + case 144: + { + directoriesFailedToListFromSource_ = input.readInt64(); + break; + } + case 152: + { + directoriesSuccessfullyListedFromSource_ = input.readInt64(); + break; + } + case 176: + { + intermediateObjectsCleanedUp_ = input.readInt64(); + break; + } + case 184: + { + intermediateObjectsFailedCleanedUp_ = input.readInt64(); + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -33658,29 +38552,33 @@ private TransferCounters( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.storagetransfer.v1.proto.TransferTypes.internal_static_google_storagetransfer_v1_TransferCounters_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.storagetransfer.v1.proto.TransferTypes + .internal_static_google_storagetransfer_v1_TransferCounters_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.storagetransfer.v1.proto.TransferTypes.internal_static_google_storagetransfer_v1_TransferCounters_fieldAccessorTable + return com.google.storagetransfer.v1.proto.TransferTypes + .internal_static_google_storagetransfer_v1_TransferCounters_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.storagetransfer.v1.proto.TransferTypes.TransferCounters.class, com.google.storagetransfer.v1.proto.TransferTypes.TransferCounters.Builder.class); + com.google.storagetransfer.v1.proto.TransferTypes.TransferCounters.class, + com.google.storagetransfer.v1.proto.TransferTypes.TransferCounters.Builder.class); } public static final int OBJECTS_FOUND_FROM_SOURCE_FIELD_NUMBER = 1; private long objectsFoundFromSource_; /** + * + * *
      * Objects found in the data source that are scheduled to be transferred,
      * excluding any that are filtered based on object conditions or skipped due
@@ -33688,6 +38586,7 @@ private TransferCounters(
      * 
* * int64 objects_found_from_source = 1; + * * @return The objectsFoundFromSource. */ @java.lang.Override @@ -33698,6 +38597,8 @@ public long getObjectsFoundFromSource() { public static final int BYTES_FOUND_FROM_SOURCE_FIELD_NUMBER = 2; private long bytesFoundFromSource_; /** + * + * *
      * Bytes found in the data source that are scheduled to be transferred,
      * excluding any that are filtered based on object conditions or skipped due
@@ -33705,6 +38606,7 @@ public long getObjectsFoundFromSource() {
      * 
* * int64 bytes_found_from_source = 2; + * * @return The bytesFoundFromSource. */ @java.lang.Override @@ -33715,11 +38617,14 @@ public long getBytesFoundFromSource() { public static final int OBJECTS_FOUND_ONLY_FROM_SINK_FIELD_NUMBER = 3; private long objectsFoundOnlyFromSink_; /** + * + * *
      * Objects found only in the data sink that are scheduled to be deleted.
      * 
* * int64 objects_found_only_from_sink = 3; + * * @return The objectsFoundOnlyFromSink. */ @java.lang.Override @@ -33730,11 +38635,14 @@ public long getObjectsFoundOnlyFromSink() { public static final int BYTES_FOUND_ONLY_FROM_SINK_FIELD_NUMBER = 4; private long bytesFoundOnlyFromSink_; /** + * + * *
      * Bytes found only in the data sink that are scheduled to be deleted.
      * 
* * int64 bytes_found_only_from_sink = 4; + * * @return The bytesFoundOnlyFromSink. */ @java.lang.Override @@ -33745,12 +38653,15 @@ public long getBytesFoundOnlyFromSink() { public static final int OBJECTS_FROM_SOURCE_SKIPPED_BY_SYNC_FIELD_NUMBER = 5; private long objectsFromSourceSkippedBySync_; /** + * + * *
      * Objects in the data source that are not transferred because they already
      * exist in the data sink.
      * 
* * int64 objects_from_source_skipped_by_sync = 5; + * * @return The objectsFromSourceSkippedBySync. */ @java.lang.Override @@ -33761,12 +38672,15 @@ public long getObjectsFromSourceSkippedBySync() { public static final int BYTES_FROM_SOURCE_SKIPPED_BY_SYNC_FIELD_NUMBER = 6; private long bytesFromSourceSkippedBySync_; /** + * + * *
      * Bytes in the data source that are not transferred because they already
      * exist in the data sink.
      * 
* * int64 bytes_from_source_skipped_by_sync = 6; + * * @return The bytesFromSourceSkippedBySync. */ @java.lang.Override @@ -33777,11 +38691,14 @@ public long getBytesFromSourceSkippedBySync() { public static final int OBJECTS_COPIED_TO_SINK_FIELD_NUMBER = 7; private long objectsCopiedToSink_; /** + * + * *
      * Objects that are copied to the data sink.
      * 
* * int64 objects_copied_to_sink = 7; + * * @return The objectsCopiedToSink. */ @java.lang.Override @@ -33792,11 +38709,14 @@ public long getObjectsCopiedToSink() { public static final int BYTES_COPIED_TO_SINK_FIELD_NUMBER = 8; private long bytesCopiedToSink_; /** + * + * *
      * Bytes that are copied to the data sink.
      * 
* * int64 bytes_copied_to_sink = 8; + * * @return The bytesCopiedToSink. */ @java.lang.Override @@ -33807,11 +38727,14 @@ public long getBytesCopiedToSink() { public static final int OBJECTS_DELETED_FROM_SOURCE_FIELD_NUMBER = 9; private long objectsDeletedFromSource_; /** + * + * *
      * Objects that are deleted from the data source.
      * 
* * int64 objects_deleted_from_source = 9; + * * @return The objectsDeletedFromSource. */ @java.lang.Override @@ -33822,11 +38745,14 @@ public long getObjectsDeletedFromSource() { public static final int BYTES_DELETED_FROM_SOURCE_FIELD_NUMBER = 10; private long bytesDeletedFromSource_; /** + * + * *
      * Bytes that are deleted from the data source.
      * 
* * int64 bytes_deleted_from_source = 10; + * * @return The bytesDeletedFromSource. */ @java.lang.Override @@ -33837,11 +38763,14 @@ public long getBytesDeletedFromSource() { public static final int OBJECTS_DELETED_FROM_SINK_FIELD_NUMBER = 11; private long objectsDeletedFromSink_; /** + * + * *
      * Objects that are deleted from the data sink.
      * 
* * int64 objects_deleted_from_sink = 11; + * * @return The objectsDeletedFromSink. */ @java.lang.Override @@ -33852,11 +38781,14 @@ public long getObjectsDeletedFromSink() { public static final int BYTES_DELETED_FROM_SINK_FIELD_NUMBER = 12; private long bytesDeletedFromSink_; /** + * + * *
      * Bytes that are deleted from the data sink.
      * 
* * int64 bytes_deleted_from_sink = 12; + * * @return The bytesDeletedFromSink. */ @java.lang.Override @@ -33867,12 +38799,15 @@ public long getBytesDeletedFromSink() { public static final int OBJECTS_FROM_SOURCE_FAILED_FIELD_NUMBER = 13; private long objectsFromSourceFailed_; /** + * + * *
      * Objects in the data source that failed to be transferred or that failed
      * to be deleted after being transferred.
      * 
* * int64 objects_from_source_failed = 13; + * * @return The objectsFromSourceFailed. */ @java.lang.Override @@ -33883,12 +38818,15 @@ public long getObjectsFromSourceFailed() { public static final int BYTES_FROM_SOURCE_FAILED_FIELD_NUMBER = 14; private long bytesFromSourceFailed_; /** + * + * *
      * Bytes in the data source that failed to be transferred or that failed to
      * be deleted after being transferred.
      * 
* * int64 bytes_from_source_failed = 14; + * * @return The bytesFromSourceFailed. */ @java.lang.Override @@ -33899,11 +38837,14 @@ public long getBytesFromSourceFailed() { public static final int OBJECTS_FAILED_TO_DELETE_FROM_SINK_FIELD_NUMBER = 15; private long objectsFailedToDeleteFromSink_; /** + * + * *
      * Objects that failed to be deleted from the data sink.
      * 
* * int64 objects_failed_to_delete_from_sink = 15; + * * @return The objectsFailedToDeleteFromSink. */ @java.lang.Override @@ -33914,11 +38855,14 @@ public long getObjectsFailedToDeleteFromSink() { public static final int BYTES_FAILED_TO_DELETE_FROM_SINK_FIELD_NUMBER = 16; private long bytesFailedToDeleteFromSink_; /** + * + * *
      * Bytes that failed to be deleted from the data sink.
      * 
* * int64 bytes_failed_to_delete_from_sink = 16; + * * @return The bytesFailedToDeleteFromSink. */ @java.lang.Override @@ -33929,6 +38873,8 @@ public long getBytesFailedToDeleteFromSink() { public static final int DIRECTORIES_FOUND_FROM_SOURCE_FIELD_NUMBER = 17; private long directoriesFoundFromSource_; /** + * + * *
      * For transfers involving PosixFilesystem only.
      * Number of directories found while listing. For example, if the root
@@ -33938,6 +38884,7 @@ public long getBytesFailedToDeleteFromSink() {
      * 
* * int64 directories_found_from_source = 17; + * * @return The directoriesFoundFromSource. */ @java.lang.Override @@ -33948,6 +38895,8 @@ public long getDirectoriesFoundFromSource() { public static final int DIRECTORIES_FAILED_TO_LIST_FROM_SOURCE_FIELD_NUMBER = 18; private long directoriesFailedToListFromSource_; /** + * + * *
      * For transfers involving PosixFilesystem only.
      * Number of listing failures for each directory found at the source.
@@ -33957,6 +38906,7 @@ public long getDirectoriesFoundFromSource() {
      * 
* * int64 directories_failed_to_list_from_source = 18; + * * @return The directoriesFailedToListFromSource. */ @java.lang.Override @@ -33967,12 +38917,15 @@ public long getDirectoriesFailedToListFromSource() { public static final int DIRECTORIES_SUCCESSFULLY_LISTED_FROM_SOURCE_FIELD_NUMBER = 19; private long directoriesSuccessfullyListedFromSource_; /** + * + * *
      * For transfers involving PosixFilesystem only.
      * Number of successful listings for each directory found at the source.
      * 
* * int64 directories_successfully_listed_from_source = 19; + * * @return The directoriesSuccessfullyListedFromSource. */ @java.lang.Override @@ -33983,11 +38936,14 @@ public long getDirectoriesSuccessfullyListedFromSource() { public static final int INTERMEDIATE_OBJECTS_CLEANED_UP_FIELD_NUMBER = 22; private long intermediateObjectsCleanedUp_; /** + * + * *
      * Number of successfully cleaned up intermediate objects.
      * 
* * int64 intermediate_objects_cleaned_up = 22; + * * @return The intermediateObjectsCleanedUp. */ @java.lang.Override @@ -33998,11 +38954,14 @@ public long getIntermediateObjectsCleanedUp() { public static final int INTERMEDIATE_OBJECTS_FAILED_CLEANED_UP_FIELD_NUMBER = 23; private long intermediateObjectsFailedCleanedUp_; /** + * + * *
      * Number of intermediate objects failed cleaned up.
      * 
* * int64 intermediate_objects_failed_cleaned_up = 23; + * * @return The intermediateObjectsFailedCleanedUp. */ @java.lang.Override @@ -34011,6 +38970,7 @@ public long getIntermediateObjectsFailedCleanedUp() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -34022,8 +38982,7 @@ 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 (objectsFoundFromSource_ != 0L) { output.writeInt64(1, objectsFoundFromSource_); } @@ -34097,88 +39056,87 @@ public int getSerializedSize() { size = 0; if (objectsFoundFromSource_ != 0L) { - size += com.google.protobuf.CodedOutputStream - .computeInt64Size(1, objectsFoundFromSource_); + size += com.google.protobuf.CodedOutputStream.computeInt64Size(1, objectsFoundFromSource_); } if (bytesFoundFromSource_ != 0L) { - size += com.google.protobuf.CodedOutputStream - .computeInt64Size(2, bytesFoundFromSource_); + size += com.google.protobuf.CodedOutputStream.computeInt64Size(2, bytesFoundFromSource_); } if (objectsFoundOnlyFromSink_ != 0L) { - size += com.google.protobuf.CodedOutputStream - .computeInt64Size(3, objectsFoundOnlyFromSink_); + size += + com.google.protobuf.CodedOutputStream.computeInt64Size(3, objectsFoundOnlyFromSink_); } if (bytesFoundOnlyFromSink_ != 0L) { - size += com.google.protobuf.CodedOutputStream - .computeInt64Size(4, bytesFoundOnlyFromSink_); + size += com.google.protobuf.CodedOutputStream.computeInt64Size(4, bytesFoundOnlyFromSink_); } if (objectsFromSourceSkippedBySync_ != 0L) { - size += com.google.protobuf.CodedOutputStream - .computeInt64Size(5, objectsFromSourceSkippedBySync_); + size += + com.google.protobuf.CodedOutputStream.computeInt64Size( + 5, objectsFromSourceSkippedBySync_); } if (bytesFromSourceSkippedBySync_ != 0L) { - size += com.google.protobuf.CodedOutputStream - .computeInt64Size(6, bytesFromSourceSkippedBySync_); + size += + com.google.protobuf.CodedOutputStream.computeInt64Size( + 6, bytesFromSourceSkippedBySync_); } if (objectsCopiedToSink_ != 0L) { - size += com.google.protobuf.CodedOutputStream - .computeInt64Size(7, objectsCopiedToSink_); + size += com.google.protobuf.CodedOutputStream.computeInt64Size(7, objectsCopiedToSink_); } if (bytesCopiedToSink_ != 0L) { - size += com.google.protobuf.CodedOutputStream - .computeInt64Size(8, bytesCopiedToSink_); + size += com.google.protobuf.CodedOutputStream.computeInt64Size(8, bytesCopiedToSink_); } if (objectsDeletedFromSource_ != 0L) { - size += com.google.protobuf.CodedOutputStream - .computeInt64Size(9, objectsDeletedFromSource_); + size += + com.google.protobuf.CodedOutputStream.computeInt64Size(9, objectsDeletedFromSource_); } if (bytesDeletedFromSource_ != 0L) { - size += com.google.protobuf.CodedOutputStream - .computeInt64Size(10, bytesDeletedFromSource_); + size += com.google.protobuf.CodedOutputStream.computeInt64Size(10, bytesDeletedFromSource_); } if (objectsDeletedFromSink_ != 0L) { - size += com.google.protobuf.CodedOutputStream - .computeInt64Size(11, objectsDeletedFromSink_); + size += com.google.protobuf.CodedOutputStream.computeInt64Size(11, objectsDeletedFromSink_); } if (bytesDeletedFromSink_ != 0L) { - size += com.google.protobuf.CodedOutputStream - .computeInt64Size(12, bytesDeletedFromSink_); + size += com.google.protobuf.CodedOutputStream.computeInt64Size(12, bytesDeletedFromSink_); } if (objectsFromSourceFailed_ != 0L) { - size += com.google.protobuf.CodedOutputStream - .computeInt64Size(13, objectsFromSourceFailed_); + size += + com.google.protobuf.CodedOutputStream.computeInt64Size(13, objectsFromSourceFailed_); } if (bytesFromSourceFailed_ != 0L) { - size += com.google.protobuf.CodedOutputStream - .computeInt64Size(14, bytesFromSourceFailed_); + size += com.google.protobuf.CodedOutputStream.computeInt64Size(14, bytesFromSourceFailed_); } if (objectsFailedToDeleteFromSink_ != 0L) { - size += com.google.protobuf.CodedOutputStream - .computeInt64Size(15, objectsFailedToDeleteFromSink_); + size += + com.google.protobuf.CodedOutputStream.computeInt64Size( + 15, objectsFailedToDeleteFromSink_); } if (bytesFailedToDeleteFromSink_ != 0L) { - size += com.google.protobuf.CodedOutputStream - .computeInt64Size(16, bytesFailedToDeleteFromSink_); + size += + com.google.protobuf.CodedOutputStream.computeInt64Size( + 16, bytesFailedToDeleteFromSink_); } if (directoriesFoundFromSource_ != 0L) { - size += com.google.protobuf.CodedOutputStream - .computeInt64Size(17, directoriesFoundFromSource_); + size += + com.google.protobuf.CodedOutputStream.computeInt64Size(17, directoriesFoundFromSource_); } if (directoriesFailedToListFromSource_ != 0L) { - size += com.google.protobuf.CodedOutputStream - .computeInt64Size(18, directoriesFailedToListFromSource_); + size += + com.google.protobuf.CodedOutputStream.computeInt64Size( + 18, directoriesFailedToListFromSource_); } if (directoriesSuccessfullyListedFromSource_ != 0L) { - size += com.google.protobuf.CodedOutputStream - .computeInt64Size(19, directoriesSuccessfullyListedFromSource_); + size += + com.google.protobuf.CodedOutputStream.computeInt64Size( + 19, directoriesSuccessfullyListedFromSource_); } if (intermediateObjectsCleanedUp_ != 0L) { - size += com.google.protobuf.CodedOutputStream - .computeInt64Size(22, intermediateObjectsCleanedUp_); + size += + com.google.protobuf.CodedOutputStream.computeInt64Size( + 22, intermediateObjectsCleanedUp_); } if (intermediateObjectsFailedCleanedUp_ != 0L) { - size += com.google.protobuf.CodedOutputStream - .computeInt64Size(23, intermediateObjectsFailedCleanedUp_); + size += + com.google.protobuf.CodedOutputStream.computeInt64Size( + 23, intermediateObjectsFailedCleanedUp_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -34188,55 +39146,42 @@ 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.storagetransfer.v1.proto.TransferTypes.TransferCounters)) { return super.equals(obj); } - com.google.storagetransfer.v1.proto.TransferTypes.TransferCounters other = (com.google.storagetransfer.v1.proto.TransferTypes.TransferCounters) obj; - - if (getObjectsFoundFromSource() - != other.getObjectsFoundFromSource()) return false; - if (getBytesFoundFromSource() - != other.getBytesFoundFromSource()) return false; - if (getObjectsFoundOnlyFromSink() - != other.getObjectsFoundOnlyFromSink()) return false; - if (getBytesFoundOnlyFromSink() - != other.getBytesFoundOnlyFromSink()) return false; - if (getObjectsFromSourceSkippedBySync() - != other.getObjectsFromSourceSkippedBySync()) return false; - if (getBytesFromSourceSkippedBySync() - != other.getBytesFromSourceSkippedBySync()) return false; - if (getObjectsCopiedToSink() - != other.getObjectsCopiedToSink()) return false; - if (getBytesCopiedToSink() - != other.getBytesCopiedToSink()) return false; - if (getObjectsDeletedFromSource() - != other.getObjectsDeletedFromSource()) return false; - if (getBytesDeletedFromSource() - != other.getBytesDeletedFromSource()) return false; - if (getObjectsDeletedFromSink() - != other.getObjectsDeletedFromSink()) return false; - if (getBytesDeletedFromSink() - != other.getBytesDeletedFromSink()) return false; - if (getObjectsFromSourceFailed() - != other.getObjectsFromSourceFailed()) return false; - if (getBytesFromSourceFailed() - != other.getBytesFromSourceFailed()) return false; - if (getObjectsFailedToDeleteFromSink() - != other.getObjectsFailedToDeleteFromSink()) return false; - if (getBytesFailedToDeleteFromSink() - != other.getBytesFailedToDeleteFromSink()) return false; - if (getDirectoriesFoundFromSource() - != other.getDirectoriesFoundFromSource()) return false; - if (getDirectoriesFailedToListFromSource() - != other.getDirectoriesFailedToListFromSource()) return false; + com.google.storagetransfer.v1.proto.TransferTypes.TransferCounters other = + (com.google.storagetransfer.v1.proto.TransferTypes.TransferCounters) obj; + + if (getObjectsFoundFromSource() != other.getObjectsFoundFromSource()) return false; + if (getBytesFoundFromSource() != other.getBytesFoundFromSource()) return false; + if (getObjectsFoundOnlyFromSink() != other.getObjectsFoundOnlyFromSink()) return false; + if (getBytesFoundOnlyFromSink() != other.getBytesFoundOnlyFromSink()) return false; + if (getObjectsFromSourceSkippedBySync() != other.getObjectsFromSourceSkippedBySync()) + return false; + if (getBytesFromSourceSkippedBySync() != other.getBytesFromSourceSkippedBySync()) + return false; + if (getObjectsCopiedToSink() != other.getObjectsCopiedToSink()) return false; + if (getBytesCopiedToSink() != other.getBytesCopiedToSink()) return false; + if (getObjectsDeletedFromSource() != other.getObjectsDeletedFromSource()) return false; + if (getBytesDeletedFromSource() != other.getBytesDeletedFromSource()) return false; + if (getObjectsDeletedFromSink() != other.getObjectsDeletedFromSink()) return false; + if (getBytesDeletedFromSink() != other.getBytesDeletedFromSink()) return false; + if (getObjectsFromSourceFailed() != other.getObjectsFromSourceFailed()) return false; + if (getBytesFromSourceFailed() != other.getBytesFromSourceFailed()) return false; + if (getObjectsFailedToDeleteFromSink() != other.getObjectsFailedToDeleteFromSink()) + return false; + if (getBytesFailedToDeleteFromSink() != other.getBytesFailedToDeleteFromSink()) return false; + if (getDirectoriesFoundFromSource() != other.getDirectoriesFoundFromSource()) return false; + if (getDirectoriesFailedToListFromSource() != other.getDirectoriesFailedToListFromSource()) + return false; if (getDirectoriesSuccessfullyListedFromSource() != other.getDirectoriesSuccessfullyListedFromSource()) return false; - if (getIntermediateObjectsCleanedUp() - != other.getIntermediateObjectsCleanedUp()) return false; - if (getIntermediateObjectsFailedCleanedUp() - != other.getIntermediateObjectsFailedCleanedUp()) return false; + if (getIntermediateObjectsCleanedUp() != other.getIntermediateObjectsCleanedUp()) + return false; + if (getIntermediateObjectsFailedCleanedUp() != other.getIntermediateObjectsFailedCleanedUp()) + return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -34249,155 +39194,150 @@ public int hashCode() { int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); hash = (37 * hash) + OBJECTS_FOUND_FROM_SOURCE_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashLong( - getObjectsFoundFromSource()); + hash = (53 * hash) + com.google.protobuf.Internal.hashLong(getObjectsFoundFromSource()); hash = (37 * hash) + BYTES_FOUND_FROM_SOURCE_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashLong( - getBytesFoundFromSource()); + hash = (53 * hash) + com.google.protobuf.Internal.hashLong(getBytesFoundFromSource()); hash = (37 * hash) + OBJECTS_FOUND_ONLY_FROM_SINK_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashLong( - getObjectsFoundOnlyFromSink()); + hash = (53 * hash) + com.google.protobuf.Internal.hashLong(getObjectsFoundOnlyFromSink()); hash = (37 * hash) + BYTES_FOUND_ONLY_FROM_SINK_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashLong( - getBytesFoundOnlyFromSink()); + hash = (53 * hash) + com.google.protobuf.Internal.hashLong(getBytesFoundOnlyFromSink()); hash = (37 * hash) + OBJECTS_FROM_SOURCE_SKIPPED_BY_SYNC_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashLong( - getObjectsFromSourceSkippedBySync()); + hash = + (53 * hash) + com.google.protobuf.Internal.hashLong(getObjectsFromSourceSkippedBySync()); hash = (37 * hash) + BYTES_FROM_SOURCE_SKIPPED_BY_SYNC_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashLong( - getBytesFromSourceSkippedBySync()); + hash = (53 * hash) + com.google.protobuf.Internal.hashLong(getBytesFromSourceSkippedBySync()); hash = (37 * hash) + OBJECTS_COPIED_TO_SINK_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashLong( - getObjectsCopiedToSink()); + hash = (53 * hash) + com.google.protobuf.Internal.hashLong(getObjectsCopiedToSink()); hash = (37 * hash) + BYTES_COPIED_TO_SINK_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashLong( - getBytesCopiedToSink()); + hash = (53 * hash) + com.google.protobuf.Internal.hashLong(getBytesCopiedToSink()); hash = (37 * hash) + OBJECTS_DELETED_FROM_SOURCE_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashLong( - getObjectsDeletedFromSource()); + hash = (53 * hash) + com.google.protobuf.Internal.hashLong(getObjectsDeletedFromSource()); hash = (37 * hash) + BYTES_DELETED_FROM_SOURCE_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashLong( - getBytesDeletedFromSource()); + hash = (53 * hash) + com.google.protobuf.Internal.hashLong(getBytesDeletedFromSource()); hash = (37 * hash) + OBJECTS_DELETED_FROM_SINK_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashLong( - getObjectsDeletedFromSink()); + hash = (53 * hash) + com.google.protobuf.Internal.hashLong(getObjectsDeletedFromSink()); hash = (37 * hash) + BYTES_DELETED_FROM_SINK_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashLong( - getBytesDeletedFromSink()); + hash = (53 * hash) + com.google.protobuf.Internal.hashLong(getBytesDeletedFromSink()); hash = (37 * hash) + OBJECTS_FROM_SOURCE_FAILED_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashLong( - getObjectsFromSourceFailed()); + hash = (53 * hash) + com.google.protobuf.Internal.hashLong(getObjectsFromSourceFailed()); hash = (37 * hash) + BYTES_FROM_SOURCE_FAILED_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashLong( - getBytesFromSourceFailed()); + hash = (53 * hash) + com.google.protobuf.Internal.hashLong(getBytesFromSourceFailed()); hash = (37 * hash) + OBJECTS_FAILED_TO_DELETE_FROM_SINK_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashLong( - getObjectsFailedToDeleteFromSink()); + hash = + (53 * hash) + com.google.protobuf.Internal.hashLong(getObjectsFailedToDeleteFromSink()); hash = (37 * hash) + BYTES_FAILED_TO_DELETE_FROM_SINK_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashLong( - getBytesFailedToDeleteFromSink()); + hash = (53 * hash) + com.google.protobuf.Internal.hashLong(getBytesFailedToDeleteFromSink()); hash = (37 * hash) + DIRECTORIES_FOUND_FROM_SOURCE_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashLong( - getDirectoriesFoundFromSource()); + hash = (53 * hash) + com.google.protobuf.Internal.hashLong(getDirectoriesFoundFromSource()); hash = (37 * hash) + DIRECTORIES_FAILED_TO_LIST_FROM_SOURCE_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashLong( - getDirectoriesFailedToListFromSource()); + hash = + (53 * hash) + + com.google.protobuf.Internal.hashLong(getDirectoriesFailedToListFromSource()); hash = (37 * hash) + DIRECTORIES_SUCCESSFULLY_LISTED_FROM_SOURCE_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashLong( - getDirectoriesSuccessfullyListedFromSource()); + hash = + (53 * hash) + + com.google.protobuf.Internal.hashLong(getDirectoriesSuccessfullyListedFromSource()); hash = (37 * hash) + INTERMEDIATE_OBJECTS_CLEANED_UP_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashLong( - getIntermediateObjectsCleanedUp()); + hash = (53 * hash) + com.google.protobuf.Internal.hashLong(getIntermediateObjectsCleanedUp()); hash = (37 * hash) + INTERMEDIATE_OBJECTS_FAILED_CLEANED_UP_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashLong( - getIntermediateObjectsFailedCleanedUp()); + hash = + (53 * hash) + + com.google.protobuf.Internal.hashLong(getIntermediateObjectsFailedCleanedUp()); hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static com.google.storagetransfer.v1.proto.TransferTypes.TransferCounters parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.storagetransfer.v1.proto.TransferTypes.TransferCounters 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.storagetransfer.v1.proto.TransferTypes.TransferCounters parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.storagetransfer.v1.proto.TransferTypes.TransferCounters 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.storagetransfer.v1.proto.TransferTypes.TransferCounters parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.storagetransfer.v1.proto.TransferTypes.TransferCounters parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.storagetransfer.v1.proto.TransferTypes.TransferCounters 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.storagetransfer.v1.proto.TransferTypes.TransferCounters parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.storagetransfer.v1.proto.TransferTypes.TransferCounters parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.storagetransfer.v1.proto.TransferTypes.TransferCounters 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.storagetransfer.v1.proto.TransferTypes.TransferCounters parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.storagetransfer.v1.proto.TransferTypes.TransferCounters + parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } - public static com.google.storagetransfer.v1.proto.TransferTypes.TransferCounters parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + + public static com.google.storagetransfer.v1.proto.TransferTypes.TransferCounters + parseDelimitedFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.storagetransfer.v1.proto.TransferTypes.TransferCounters 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.storagetransfer.v1.proto.TransferTypes.TransferCounters 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.storagetransfer.v1.proto.TransferTypes.TransferCounters prototype) { + + public static Builder newBuilder( + com.google.storagetransfer.v1.proto.TransferTypes.TransferCounters 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 @@ -34407,44 +39347,49 @@ protected Builder newBuilderForType( return builder; } /** + * + * *
      * A collection of counters that report the progress of a transfer operation.
      * 
* * Protobuf type {@code google.storagetransfer.v1.TransferCounters} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder + extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.storagetransfer.v1.TransferCounters) com.google.storagetransfer.v1.proto.TransferTypes.TransferCountersOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.storagetransfer.v1.proto.TransferTypes.internal_static_google_storagetransfer_v1_TransferCounters_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.storagetransfer.v1.proto.TransferTypes + .internal_static_google_storagetransfer_v1_TransferCounters_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.storagetransfer.v1.proto.TransferTypes.internal_static_google_storagetransfer_v1_TransferCounters_fieldAccessorTable + return com.google.storagetransfer.v1.proto.TransferTypes + .internal_static_google_storagetransfer_v1_TransferCounters_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.storagetransfer.v1.proto.TransferTypes.TransferCounters.class, com.google.storagetransfer.v1.proto.TransferTypes.TransferCounters.Builder.class); + com.google.storagetransfer.v1.proto.TransferTypes.TransferCounters.class, + com.google.storagetransfer.v1.proto.TransferTypes.TransferCounters.Builder.class); } - // Construct using com.google.storagetransfer.v1.proto.TransferTypes.TransferCounters.newBuilder() + // Construct using + // com.google.storagetransfer.v1.proto.TransferTypes.TransferCounters.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -34494,14 +39439,16 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.storagetransfer.v1.proto.TransferTypes.internal_static_google_storagetransfer_v1_TransferCounters_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.storagetransfer.v1.proto.TransferTypes + .internal_static_google_storagetransfer_v1_TransferCounters_descriptor; } @java.lang.Override - public com.google.storagetransfer.v1.proto.TransferTypes.TransferCounters getDefaultInstanceForType() { - return com.google.storagetransfer.v1.proto.TransferTypes.TransferCounters.getDefaultInstance(); + public com.google.storagetransfer.v1.proto.TransferTypes.TransferCounters + getDefaultInstanceForType() { + return com.google.storagetransfer.v1.proto.TransferTypes.TransferCounters + .getDefaultInstance(); } @java.lang.Override @@ -34515,7 +39462,8 @@ public com.google.storagetransfer.v1.proto.TransferTypes.TransferCounters build( @java.lang.Override public com.google.storagetransfer.v1.proto.TransferTypes.TransferCounters buildPartial() { - com.google.storagetransfer.v1.proto.TransferTypes.TransferCounters result = new com.google.storagetransfer.v1.proto.TransferTypes.TransferCounters(this); + com.google.storagetransfer.v1.proto.TransferTypes.TransferCounters result = + new com.google.storagetransfer.v1.proto.TransferTypes.TransferCounters(this); result.objectsFoundFromSource_ = objectsFoundFromSource_; result.bytesFoundFromSource_ = bytesFoundFromSource_; result.objectsFoundOnlyFromSink_ = objectsFoundOnlyFromSink_; @@ -34545,46 +39493,53 @@ public com.google.storagetransfer.v1.proto.TransferTypes.TransferCounters buildP public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + int index, + java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.storagetransfer.v1.proto.TransferTypes.TransferCounters) { - return mergeFrom((com.google.storagetransfer.v1.proto.TransferTypes.TransferCounters)other); + return mergeFrom( + (com.google.storagetransfer.v1.proto.TransferTypes.TransferCounters) other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.google.storagetransfer.v1.proto.TransferTypes.TransferCounters other) { - if (other == com.google.storagetransfer.v1.proto.TransferTypes.TransferCounters.getDefaultInstance()) return this; + public Builder mergeFrom( + com.google.storagetransfer.v1.proto.TransferTypes.TransferCounters other) { + if (other + == com.google.storagetransfer.v1.proto.TransferTypes.TransferCounters + .getDefaultInstance()) return this; if (other.getObjectsFoundFromSource() != 0L) { setObjectsFoundFromSource(other.getObjectsFoundFromSource()); } @@ -34640,7 +39595,8 @@ public Builder mergeFrom(com.google.storagetransfer.v1.proto.TransferTypes.Trans setDirectoriesFailedToListFromSource(other.getDirectoriesFailedToListFromSource()); } if (other.getDirectoriesSuccessfullyListedFromSource() != 0L) { - setDirectoriesSuccessfullyListedFromSource(other.getDirectoriesSuccessfullyListedFromSource()); + setDirectoriesSuccessfullyListedFromSource( + other.getDirectoriesSuccessfullyListedFromSource()); } if (other.getIntermediateObjectsCleanedUp() != 0L) { setIntermediateObjectsCleanedUp(other.getIntermediateObjectsCleanedUp()); @@ -34667,7 +39623,9 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.storagetransfer.v1.proto.TransferTypes.TransferCounters) e.getUnfinishedMessage(); + parsedMessage = + (com.google.storagetransfer.v1.proto.TransferTypes.TransferCounters) + e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -34677,8 +39635,10 @@ public Builder mergeFrom( return this; } - private long objectsFoundFromSource_ ; + private long objectsFoundFromSource_; /** + * + * *
        * Objects found in the data source that are scheduled to be transferred,
        * excluding any that are filtered based on object conditions or skipped due
@@ -34686,6 +39646,7 @@ public Builder mergeFrom(
        * 
* * int64 objects_found_from_source = 1; + * * @return The objectsFoundFromSource. */ @java.lang.Override @@ -34693,6 +39654,8 @@ public long getObjectsFoundFromSource() { return objectsFoundFromSource_; } /** + * + * *
        * Objects found in the data source that are scheduled to be transferred,
        * excluding any that are filtered based on object conditions or skipped due
@@ -34700,16 +39663,19 @@ public long getObjectsFoundFromSource() {
        * 
* * int64 objects_found_from_source = 1; + * * @param value The objectsFoundFromSource to set. * @return This builder for chaining. */ public Builder setObjectsFoundFromSource(long value) { - + objectsFoundFromSource_ = value; onChanged(); return this; } /** + * + * *
        * Objects found in the data source that are scheduled to be transferred,
        * excluding any that are filtered based on object conditions or skipped due
@@ -34717,17 +39683,20 @@ public Builder setObjectsFoundFromSource(long value) {
        * 
* * int64 objects_found_from_source = 1; + * * @return This builder for chaining. */ public Builder clearObjectsFoundFromSource() { - + objectsFoundFromSource_ = 0L; onChanged(); return this; } - private long bytesFoundFromSource_ ; + private long bytesFoundFromSource_; /** + * + * *
        * Bytes found in the data source that are scheduled to be transferred,
        * excluding any that are filtered based on object conditions or skipped due
@@ -34735,6 +39704,7 @@ public Builder clearObjectsFoundFromSource() {
        * 
* * int64 bytes_found_from_source = 2; + * * @return The bytesFoundFromSource. */ @java.lang.Override @@ -34742,6 +39712,8 @@ public long getBytesFoundFromSource() { return bytesFoundFromSource_; } /** + * + * *
        * Bytes found in the data source that are scheduled to be transferred,
        * excluding any that are filtered based on object conditions or skipped due
@@ -34749,16 +39721,19 @@ public long getBytesFoundFromSource() {
        * 
* * int64 bytes_found_from_source = 2; + * * @param value The bytesFoundFromSource to set. * @return This builder for chaining. */ public Builder setBytesFoundFromSource(long value) { - + bytesFoundFromSource_ = value; onChanged(); return this; } /** + * + * *
        * Bytes found in the data source that are scheduled to be transferred,
        * excluding any that are filtered based on object conditions or skipped due
@@ -34766,22 +39741,26 @@ public Builder setBytesFoundFromSource(long value) {
        * 
* * int64 bytes_found_from_source = 2; + * * @return This builder for chaining. */ public Builder clearBytesFoundFromSource() { - + bytesFoundFromSource_ = 0L; onChanged(); return this; } - private long objectsFoundOnlyFromSink_ ; + private long objectsFoundOnlyFromSink_; /** + * + * *
        * Objects found only in the data sink that are scheduled to be deleted.
        * 
* * int64 objects_found_only_from_sink = 3; + * * @return The objectsFoundOnlyFromSink. */ @java.lang.Override @@ -34789,42 +39768,51 @@ public long getObjectsFoundOnlyFromSink() { return objectsFoundOnlyFromSink_; } /** + * + * *
        * Objects found only in the data sink that are scheduled to be deleted.
        * 
* * int64 objects_found_only_from_sink = 3; + * * @param value The objectsFoundOnlyFromSink to set. * @return This builder for chaining. */ public Builder setObjectsFoundOnlyFromSink(long value) { - + objectsFoundOnlyFromSink_ = value; onChanged(); return this; } /** + * + * *
        * Objects found only in the data sink that are scheduled to be deleted.
        * 
* * int64 objects_found_only_from_sink = 3; + * * @return This builder for chaining. */ public Builder clearObjectsFoundOnlyFromSink() { - + objectsFoundOnlyFromSink_ = 0L; onChanged(); return this; } - private long bytesFoundOnlyFromSink_ ; + private long bytesFoundOnlyFromSink_; /** + * + * *
        * Bytes found only in the data sink that are scheduled to be deleted.
        * 
* * int64 bytes_found_only_from_sink = 4; + * * @return The bytesFoundOnlyFromSink. */ @java.lang.Override @@ -34832,43 +39820,52 @@ public long getBytesFoundOnlyFromSink() { return bytesFoundOnlyFromSink_; } /** + * + * *
        * Bytes found only in the data sink that are scheduled to be deleted.
        * 
* * int64 bytes_found_only_from_sink = 4; + * * @param value The bytesFoundOnlyFromSink to set. * @return This builder for chaining. */ public Builder setBytesFoundOnlyFromSink(long value) { - + bytesFoundOnlyFromSink_ = value; onChanged(); return this; } /** + * + * *
        * Bytes found only in the data sink that are scheduled to be deleted.
        * 
* * int64 bytes_found_only_from_sink = 4; + * * @return This builder for chaining. */ public Builder clearBytesFoundOnlyFromSink() { - + bytesFoundOnlyFromSink_ = 0L; onChanged(); return this; } - private long objectsFromSourceSkippedBySync_ ; + private long objectsFromSourceSkippedBySync_; /** + * + * *
        * Objects in the data source that are not transferred because they already
        * exist in the data sink.
        * 
* * int64 objects_from_source_skipped_by_sync = 5; + * * @return The objectsFromSourceSkippedBySync. */ @java.lang.Override @@ -34876,45 +39873,54 @@ public long getObjectsFromSourceSkippedBySync() { return objectsFromSourceSkippedBySync_; } /** + * + * *
        * Objects in the data source that are not transferred because they already
        * exist in the data sink.
        * 
* * int64 objects_from_source_skipped_by_sync = 5; + * * @param value The objectsFromSourceSkippedBySync to set. * @return This builder for chaining. */ public Builder setObjectsFromSourceSkippedBySync(long value) { - + objectsFromSourceSkippedBySync_ = value; onChanged(); return this; } /** + * + * *
        * Objects in the data source that are not transferred because they already
        * exist in the data sink.
        * 
* * int64 objects_from_source_skipped_by_sync = 5; + * * @return This builder for chaining. */ public Builder clearObjectsFromSourceSkippedBySync() { - + objectsFromSourceSkippedBySync_ = 0L; onChanged(); return this; } - private long bytesFromSourceSkippedBySync_ ; + private long bytesFromSourceSkippedBySync_; /** + * + * *
        * Bytes in the data source that are not transferred because they already
        * exist in the data sink.
        * 
* * int64 bytes_from_source_skipped_by_sync = 6; + * * @return The bytesFromSourceSkippedBySync. */ @java.lang.Override @@ -34922,44 +39928,53 @@ public long getBytesFromSourceSkippedBySync() { return bytesFromSourceSkippedBySync_; } /** + * + * *
        * Bytes in the data source that are not transferred because they already
        * exist in the data sink.
        * 
* * int64 bytes_from_source_skipped_by_sync = 6; + * * @param value The bytesFromSourceSkippedBySync to set. * @return This builder for chaining. */ public Builder setBytesFromSourceSkippedBySync(long value) { - + bytesFromSourceSkippedBySync_ = value; onChanged(); return this; } /** + * + * *
        * Bytes in the data source that are not transferred because they already
        * exist in the data sink.
        * 
* * int64 bytes_from_source_skipped_by_sync = 6; + * * @return This builder for chaining. */ public Builder clearBytesFromSourceSkippedBySync() { - + bytesFromSourceSkippedBySync_ = 0L; onChanged(); return this; } - private long objectsCopiedToSink_ ; + private long objectsCopiedToSink_; /** + * + * *
        * Objects that are copied to the data sink.
        * 
* * int64 objects_copied_to_sink = 7; + * * @return The objectsCopiedToSink. */ @java.lang.Override @@ -34967,42 +39982,51 @@ public long getObjectsCopiedToSink() { return objectsCopiedToSink_; } /** + * + * *
        * Objects that are copied to the data sink.
        * 
* * int64 objects_copied_to_sink = 7; + * * @param value The objectsCopiedToSink to set. * @return This builder for chaining. */ public Builder setObjectsCopiedToSink(long value) { - + objectsCopiedToSink_ = value; onChanged(); return this; } /** + * + * *
        * Objects that are copied to the data sink.
        * 
* * int64 objects_copied_to_sink = 7; + * * @return This builder for chaining. */ public Builder clearObjectsCopiedToSink() { - + objectsCopiedToSink_ = 0L; onChanged(); return this; } - private long bytesCopiedToSink_ ; + private long bytesCopiedToSink_; /** + * + * *
        * Bytes that are copied to the data sink.
        * 
* * int64 bytes_copied_to_sink = 8; + * * @return The bytesCopiedToSink. */ @java.lang.Override @@ -35010,42 +40034,51 @@ public long getBytesCopiedToSink() { return bytesCopiedToSink_; } /** + * + * *
        * Bytes that are copied to the data sink.
        * 
* * int64 bytes_copied_to_sink = 8; + * * @param value The bytesCopiedToSink to set. * @return This builder for chaining. */ public Builder setBytesCopiedToSink(long value) { - + bytesCopiedToSink_ = value; onChanged(); return this; } /** + * + * *
        * Bytes that are copied to the data sink.
        * 
* * int64 bytes_copied_to_sink = 8; + * * @return This builder for chaining. */ public Builder clearBytesCopiedToSink() { - + bytesCopiedToSink_ = 0L; onChanged(); return this; } - private long objectsDeletedFromSource_ ; + private long objectsDeletedFromSource_; /** + * + * *
        * Objects that are deleted from the data source.
        * 
* * int64 objects_deleted_from_source = 9; + * * @return The objectsDeletedFromSource. */ @java.lang.Override @@ -35053,42 +40086,51 @@ public long getObjectsDeletedFromSource() { return objectsDeletedFromSource_; } /** + * + * *
        * Objects that are deleted from the data source.
        * 
* * int64 objects_deleted_from_source = 9; + * * @param value The objectsDeletedFromSource to set. * @return This builder for chaining. */ public Builder setObjectsDeletedFromSource(long value) { - + objectsDeletedFromSource_ = value; onChanged(); return this; } /** + * + * *
        * Objects that are deleted from the data source.
        * 
* * int64 objects_deleted_from_source = 9; + * * @return This builder for chaining. */ public Builder clearObjectsDeletedFromSource() { - + objectsDeletedFromSource_ = 0L; onChanged(); return this; } - private long bytesDeletedFromSource_ ; + private long bytesDeletedFromSource_; /** + * + * *
        * Bytes that are deleted from the data source.
        * 
* * int64 bytes_deleted_from_source = 10; + * * @return The bytesDeletedFromSource. */ @java.lang.Override @@ -35096,42 +40138,51 @@ public long getBytesDeletedFromSource() { return bytesDeletedFromSource_; } /** + * + * *
        * Bytes that are deleted from the data source.
        * 
* * int64 bytes_deleted_from_source = 10; + * * @param value The bytesDeletedFromSource to set. * @return This builder for chaining. */ public Builder setBytesDeletedFromSource(long value) { - + bytesDeletedFromSource_ = value; onChanged(); return this; } /** + * + * *
        * Bytes that are deleted from the data source.
        * 
* * int64 bytes_deleted_from_source = 10; + * * @return This builder for chaining. */ public Builder clearBytesDeletedFromSource() { - + bytesDeletedFromSource_ = 0L; onChanged(); return this; } - private long objectsDeletedFromSink_ ; + private long objectsDeletedFromSink_; /** + * + * *
        * Objects that are deleted from the data sink.
        * 
* * int64 objects_deleted_from_sink = 11; + * * @return The objectsDeletedFromSink. */ @java.lang.Override @@ -35139,42 +40190,51 @@ public long getObjectsDeletedFromSink() { return objectsDeletedFromSink_; } /** + * + * *
        * Objects that are deleted from the data sink.
        * 
* * int64 objects_deleted_from_sink = 11; + * * @param value The objectsDeletedFromSink to set. * @return This builder for chaining. */ public Builder setObjectsDeletedFromSink(long value) { - + objectsDeletedFromSink_ = value; onChanged(); return this; } /** + * + * *
        * Objects that are deleted from the data sink.
        * 
* * int64 objects_deleted_from_sink = 11; + * * @return This builder for chaining. */ public Builder clearObjectsDeletedFromSink() { - + objectsDeletedFromSink_ = 0L; onChanged(); return this; } - private long bytesDeletedFromSink_ ; + private long bytesDeletedFromSink_; /** + * + * *
        * Bytes that are deleted from the data sink.
        * 
* * int64 bytes_deleted_from_sink = 12; + * * @return The bytesDeletedFromSink. */ @java.lang.Override @@ -35182,43 +40242,52 @@ public long getBytesDeletedFromSink() { return bytesDeletedFromSink_; } /** + * + * *
        * Bytes that are deleted from the data sink.
        * 
* * int64 bytes_deleted_from_sink = 12; + * * @param value The bytesDeletedFromSink to set. * @return This builder for chaining. */ public Builder setBytesDeletedFromSink(long value) { - + bytesDeletedFromSink_ = value; onChanged(); return this; } /** + * + * *
        * Bytes that are deleted from the data sink.
        * 
* * int64 bytes_deleted_from_sink = 12; + * * @return This builder for chaining. */ public Builder clearBytesDeletedFromSink() { - + bytesDeletedFromSink_ = 0L; onChanged(); return this; } - private long objectsFromSourceFailed_ ; + private long objectsFromSourceFailed_; /** + * + * *
        * Objects in the data source that failed to be transferred or that failed
        * to be deleted after being transferred.
        * 
* * int64 objects_from_source_failed = 13; + * * @return The objectsFromSourceFailed. */ @java.lang.Override @@ -35226,45 +40295,54 @@ public long getObjectsFromSourceFailed() { return objectsFromSourceFailed_; } /** + * + * *
        * Objects in the data source that failed to be transferred or that failed
        * to be deleted after being transferred.
        * 
* * int64 objects_from_source_failed = 13; + * * @param value The objectsFromSourceFailed to set. * @return This builder for chaining. */ public Builder setObjectsFromSourceFailed(long value) { - + objectsFromSourceFailed_ = value; onChanged(); return this; } /** + * + * *
        * Objects in the data source that failed to be transferred or that failed
        * to be deleted after being transferred.
        * 
* * int64 objects_from_source_failed = 13; + * * @return This builder for chaining. */ public Builder clearObjectsFromSourceFailed() { - + objectsFromSourceFailed_ = 0L; onChanged(); return this; } - private long bytesFromSourceFailed_ ; + private long bytesFromSourceFailed_; /** + * + * *
        * Bytes in the data source that failed to be transferred or that failed to
        * be deleted after being transferred.
        * 
* * int64 bytes_from_source_failed = 14; + * * @return The bytesFromSourceFailed. */ @java.lang.Override @@ -35272,44 +40350,53 @@ public long getBytesFromSourceFailed() { return bytesFromSourceFailed_; } /** + * + * *
        * Bytes in the data source that failed to be transferred or that failed to
        * be deleted after being transferred.
        * 
* * int64 bytes_from_source_failed = 14; + * * @param value The bytesFromSourceFailed to set. * @return This builder for chaining. */ public Builder setBytesFromSourceFailed(long value) { - + bytesFromSourceFailed_ = value; onChanged(); return this; } /** + * + * *
        * Bytes in the data source that failed to be transferred or that failed to
        * be deleted after being transferred.
        * 
* * int64 bytes_from_source_failed = 14; + * * @return This builder for chaining. */ public Builder clearBytesFromSourceFailed() { - + bytesFromSourceFailed_ = 0L; onChanged(); return this; } - private long objectsFailedToDeleteFromSink_ ; + private long objectsFailedToDeleteFromSink_; /** + * + * *
        * Objects that failed to be deleted from the data sink.
        * 
* * int64 objects_failed_to_delete_from_sink = 15; + * * @return The objectsFailedToDeleteFromSink. */ @java.lang.Override @@ -35317,42 +40404,51 @@ public long getObjectsFailedToDeleteFromSink() { return objectsFailedToDeleteFromSink_; } /** + * + * *
        * Objects that failed to be deleted from the data sink.
        * 
* * int64 objects_failed_to_delete_from_sink = 15; + * * @param value The objectsFailedToDeleteFromSink to set. * @return This builder for chaining. */ public Builder setObjectsFailedToDeleteFromSink(long value) { - + objectsFailedToDeleteFromSink_ = value; onChanged(); return this; } /** + * + * *
        * Objects that failed to be deleted from the data sink.
        * 
* * int64 objects_failed_to_delete_from_sink = 15; + * * @return This builder for chaining. */ public Builder clearObjectsFailedToDeleteFromSink() { - + objectsFailedToDeleteFromSink_ = 0L; onChanged(); return this; } - private long bytesFailedToDeleteFromSink_ ; + private long bytesFailedToDeleteFromSink_; /** + * + * *
        * Bytes that failed to be deleted from the data sink.
        * 
* * int64 bytes_failed_to_delete_from_sink = 16; + * * @return The bytesFailedToDeleteFromSink. */ @java.lang.Override @@ -35360,37 +40456,45 @@ public long getBytesFailedToDeleteFromSink() { return bytesFailedToDeleteFromSink_; } /** + * + * *
        * Bytes that failed to be deleted from the data sink.
        * 
* * int64 bytes_failed_to_delete_from_sink = 16; + * * @param value The bytesFailedToDeleteFromSink to set. * @return This builder for chaining. */ public Builder setBytesFailedToDeleteFromSink(long value) { - + bytesFailedToDeleteFromSink_ = value; onChanged(); return this; } /** + * + * *
        * Bytes that failed to be deleted from the data sink.
        * 
* * int64 bytes_failed_to_delete_from_sink = 16; + * * @return This builder for chaining. */ public Builder clearBytesFailedToDeleteFromSink() { - + bytesFailedToDeleteFromSink_ = 0L; onChanged(); return this; } - private long directoriesFoundFromSource_ ; + private long directoriesFoundFromSource_; /** + * + * *
        * For transfers involving PosixFilesystem only.
        * Number of directories found while listing. For example, if the root
@@ -35400,6 +40504,7 @@ public Builder clearBytesFailedToDeleteFromSink() {
        * 
* * int64 directories_found_from_source = 17; + * * @return The directoriesFoundFromSource. */ @java.lang.Override @@ -35407,6 +40512,8 @@ public long getDirectoriesFoundFromSource() { return directoriesFoundFromSource_; } /** + * + * *
        * For transfers involving PosixFilesystem only.
        * Number of directories found while listing. For example, if the root
@@ -35416,16 +40523,19 @@ public long getDirectoriesFoundFromSource() {
        * 
* * int64 directories_found_from_source = 17; + * * @param value The directoriesFoundFromSource to set. * @return This builder for chaining. */ public Builder setDirectoriesFoundFromSource(long value) { - + directoriesFoundFromSource_ = value; onChanged(); return this; } /** + * + * *
        * For transfers involving PosixFilesystem only.
        * Number of directories found while listing. For example, if the root
@@ -35435,17 +40545,20 @@ public Builder setDirectoriesFoundFromSource(long value) {
        * 
* * int64 directories_found_from_source = 17; + * * @return This builder for chaining. */ public Builder clearDirectoriesFoundFromSource() { - + directoriesFoundFromSource_ = 0L; onChanged(); return this; } - private long directoriesFailedToListFromSource_ ; + private long directoriesFailedToListFromSource_; /** + * + * *
        * For transfers involving PosixFilesystem only.
        * Number of listing failures for each directory found at the source.
@@ -35455,6 +40568,7 @@ public Builder clearDirectoriesFoundFromSource() {
        * 
* * int64 directories_failed_to_list_from_source = 18; + * * @return The directoriesFailedToListFromSource. */ @java.lang.Override @@ -35462,6 +40576,8 @@ public long getDirectoriesFailedToListFromSource() { return directoriesFailedToListFromSource_; } /** + * + * *
        * For transfers involving PosixFilesystem only.
        * Number of listing failures for each directory found at the source.
@@ -35471,16 +40587,19 @@ public long getDirectoriesFailedToListFromSource() {
        * 
* * int64 directories_failed_to_list_from_source = 18; + * * @param value The directoriesFailedToListFromSource to set. * @return This builder for chaining. */ public Builder setDirectoriesFailedToListFromSource(long value) { - + directoriesFailedToListFromSource_ = value; onChanged(); return this; } /** + * + * *
        * For transfers involving PosixFilesystem only.
        * Number of listing failures for each directory found at the source.
@@ -35490,23 +40609,27 @@ public Builder setDirectoriesFailedToListFromSource(long value) {
        * 
* * int64 directories_failed_to_list_from_source = 18; + * * @return This builder for chaining. */ public Builder clearDirectoriesFailedToListFromSource() { - + directoriesFailedToListFromSource_ = 0L; onChanged(); return this; } - private long directoriesSuccessfullyListedFromSource_ ; + private long directoriesSuccessfullyListedFromSource_; /** + * + * *
        * For transfers involving PosixFilesystem only.
        * Number of successful listings for each directory found at the source.
        * 
* * int64 directories_successfully_listed_from_source = 19; + * * @return The directoriesSuccessfullyListedFromSource. */ @java.lang.Override @@ -35514,44 +40637,53 @@ public long getDirectoriesSuccessfullyListedFromSource() { return directoriesSuccessfullyListedFromSource_; } /** + * + * *
        * For transfers involving PosixFilesystem only.
        * Number of successful listings for each directory found at the source.
        * 
* * int64 directories_successfully_listed_from_source = 19; + * * @param value The directoriesSuccessfullyListedFromSource to set. * @return This builder for chaining. */ public Builder setDirectoriesSuccessfullyListedFromSource(long value) { - + directoriesSuccessfullyListedFromSource_ = value; onChanged(); return this; } /** + * + * *
        * For transfers involving PosixFilesystem only.
        * Number of successful listings for each directory found at the source.
        * 
* * int64 directories_successfully_listed_from_source = 19; + * * @return This builder for chaining. */ public Builder clearDirectoriesSuccessfullyListedFromSource() { - + directoriesSuccessfullyListedFromSource_ = 0L; onChanged(); return this; } - private long intermediateObjectsCleanedUp_ ; + private long intermediateObjectsCleanedUp_; /** + * + * *
        * Number of successfully cleaned up intermediate objects.
        * 
* * int64 intermediate_objects_cleaned_up = 22; + * * @return The intermediateObjectsCleanedUp. */ @java.lang.Override @@ -35559,42 +40691,51 @@ public long getIntermediateObjectsCleanedUp() { return intermediateObjectsCleanedUp_; } /** + * + * *
        * Number of successfully cleaned up intermediate objects.
        * 
* * int64 intermediate_objects_cleaned_up = 22; + * * @param value The intermediateObjectsCleanedUp to set. * @return This builder for chaining. */ public Builder setIntermediateObjectsCleanedUp(long value) { - + intermediateObjectsCleanedUp_ = value; onChanged(); return this; } /** + * + * *
        * Number of successfully cleaned up intermediate objects.
        * 
* * int64 intermediate_objects_cleaned_up = 22; + * * @return This builder for chaining. */ public Builder clearIntermediateObjectsCleanedUp() { - + intermediateObjectsCleanedUp_ = 0L; onChanged(); return this; } - private long intermediateObjectsFailedCleanedUp_ ; + private long intermediateObjectsFailedCleanedUp_; /** + * + * *
        * Number of intermediate objects failed cleaned up.
        * 
* * int64 intermediate_objects_failed_cleaned_up = 23; + * * @return The intermediateObjectsFailedCleanedUp. */ @java.lang.Override @@ -35602,34 +40743,41 @@ public long getIntermediateObjectsFailedCleanedUp() { return intermediateObjectsFailedCleanedUp_; } /** + * + * *
        * Number of intermediate objects failed cleaned up.
        * 
* * int64 intermediate_objects_failed_cleaned_up = 23; + * * @param value The intermediateObjectsFailedCleanedUp to set. * @return This builder for chaining. */ public Builder setIntermediateObjectsFailedCleanedUp(long value) { - + intermediateObjectsFailedCleanedUp_ = value; onChanged(); return this; } /** + * + * *
        * Number of intermediate objects failed cleaned up.
        * 
* * int64 intermediate_objects_failed_cleaned_up = 23; + * * @return This builder for chaining. */ public Builder clearIntermediateObjectsFailedCleanedUp() { - + intermediateObjectsFailedCleanedUp_ = 0L; onChanged(); return this; } + @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -35642,30 +40790,32 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.storagetransfer.v1.TransferCounters) } // @@protoc_insertion_point(class_scope:google.storagetransfer.v1.TransferCounters) - private static final com.google.storagetransfer.v1.proto.TransferTypes.TransferCounters DEFAULT_INSTANCE; + private static final com.google.storagetransfer.v1.proto.TransferTypes.TransferCounters + DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.storagetransfer.v1.proto.TransferTypes.TransferCounters(); } - public static com.google.storagetransfer.v1.proto.TransferTypes.TransferCounters getDefaultInstance() { + public static com.google.storagetransfer.v1.proto.TransferTypes.TransferCounters + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public TransferCounters parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new TransferCounters(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public TransferCounters parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new TransferCounters(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -35677,17 +40827,20 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.storagetransfer.v1.proto.TransferTypes.TransferCounters getDefaultInstanceForType() { + public com.google.storagetransfer.v1.proto.TransferTypes.TransferCounters + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - public interface NotificationConfigOrBuilder extends + public interface NotificationConfigOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.storagetransfer.v1.NotificationConfig) com.google.protobuf.MessageOrBuilder { /** + * + * *
      * Required. The `Topic.name` of the Pub/Sub topic to which to publish
      * notifications. Must be of the format: `projects/{project}/topics/{topic}`.
@@ -35696,10 +40849,13 @@ public interface NotificationConfigOrBuilder extends
      * 
* * string pubsub_topic = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The pubsubTopic. */ java.lang.String getPubsubTopic(); /** + * + * *
      * Required. The `Topic.name` of the Pub/Sub topic to which to publish
      * notifications. Must be of the format: `projects/{project}/topics/{topic}`.
@@ -35708,85 +40864,119 @@ public interface NotificationConfigOrBuilder extends
      * 
* * string pubsub_topic = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for pubsubTopic. */ - com.google.protobuf.ByteString - getPubsubTopicBytes(); + com.google.protobuf.ByteString getPubsubTopicBytes(); /** + * + * *
      * Event types for which a notification is desired. If empty, send
      * notifications for all event types.
      * 
* - * repeated .google.storagetransfer.v1.NotificationConfig.EventType event_types = 2; + * repeated .google.storagetransfer.v1.NotificationConfig.EventType event_types = 2; + * + * * @return A list containing the eventTypes. */ - java.util.List getEventTypesList(); + java.util.List + getEventTypesList(); /** + * + * *
      * Event types for which a notification is desired. If empty, send
      * notifications for all event types.
      * 
* - * repeated .google.storagetransfer.v1.NotificationConfig.EventType event_types = 2; + * repeated .google.storagetransfer.v1.NotificationConfig.EventType event_types = 2; + * + * * @return The count of eventTypes. */ int getEventTypesCount(); /** + * + * *
      * Event types for which a notification is desired. If empty, send
      * notifications for all event types.
      * 
* - * repeated .google.storagetransfer.v1.NotificationConfig.EventType event_types = 2; + * repeated .google.storagetransfer.v1.NotificationConfig.EventType event_types = 2; + * + * * @param index The index of the element to return. * @return The eventTypes at the given index. */ - com.google.storagetransfer.v1.proto.TransferTypes.NotificationConfig.EventType getEventTypes(int index); + com.google.storagetransfer.v1.proto.TransferTypes.NotificationConfig.EventType getEventTypes( + int index); /** + * + * *
      * Event types for which a notification is desired. If empty, send
      * notifications for all event types.
      * 
* - * repeated .google.storagetransfer.v1.NotificationConfig.EventType event_types = 2; + * repeated .google.storagetransfer.v1.NotificationConfig.EventType event_types = 2; + * + * * @return A list containing the enum numeric values on the wire for eventTypes. */ - java.util.List - getEventTypesValueList(); + java.util.List getEventTypesValueList(); /** + * + * *
      * Event types for which a notification is desired. If empty, send
      * notifications for all event types.
      * 
* - * repeated .google.storagetransfer.v1.NotificationConfig.EventType event_types = 2; + * repeated .google.storagetransfer.v1.NotificationConfig.EventType event_types = 2; + * + * * @param index The index of the value to return. * @return The enum numeric value on the wire of eventTypes at the given index. */ int getEventTypesValue(int index); /** + * + * *
      * Required. The desired format of the notification message payloads.
      * 
* - * .google.storagetransfer.v1.NotificationConfig.PayloadFormat payload_format = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.storagetransfer.v1.NotificationConfig.PayloadFormat payload_format = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The enum numeric value on the wire for payloadFormat. */ int getPayloadFormatValue(); /** + * + * *
      * Required. The desired format of the notification message payloads.
      * 
* - * .google.storagetransfer.v1.NotificationConfig.PayloadFormat payload_format = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.storagetransfer.v1.NotificationConfig.PayloadFormat payload_format = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The payloadFormat. */ - com.google.storagetransfer.v1.proto.TransferTypes.NotificationConfig.PayloadFormat getPayloadFormat(); + com.google.storagetransfer.v1.proto.TransferTypes.NotificationConfig.PayloadFormat + getPayloadFormat(); } /** + * + * *
    * Specification to configure notifications published to Pub/Sub.
    * Notifications are published to the customer-provided topic using the
@@ -35806,15 +40996,16 @@ public interface NotificationConfigOrBuilder extends
    *
    * Protobuf type {@code google.storagetransfer.v1.NotificationConfig}
    */
-  public static final class NotificationConfig extends
-      com.google.protobuf.GeneratedMessageV3 implements
+  public static final class NotificationConfig extends com.google.protobuf.GeneratedMessageV3
+      implements
       // @@protoc_insertion_point(message_implements:google.storagetransfer.v1.NotificationConfig)
       NotificationConfigOrBuilder {
-  private static final long serialVersionUID = 0L;
+    private static final long serialVersionUID = 0L;
     // Use NotificationConfig.newBuilder() to construct.
     private NotificationConfig(com.google.protobuf.GeneratedMessageV3.Builder builder) {
       super(builder);
     }
+
     private NotificationConfig() {
       pubsubTopic_ = "";
       eventTypes_ = java.util.Collections.emptyList();
@@ -35823,16 +41014,15 @@ private NotificationConfig() {
 
     @java.lang.Override
     @SuppressWarnings({"unused"})
-    protected java.lang.Object newInstance(
-        UnusedPrivateParameter unused) {
+    protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
       return new NotificationConfig();
     }
 
     @java.lang.Override
-    public final com.google.protobuf.UnknownFieldSet
-    getUnknownFields() {
+    public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
       return this.unknownFields;
     }
+
     private NotificationConfig(
         com.google.protobuf.CodedInputStream input,
         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -35852,48 +41042,52 @@ private NotificationConfig(
             case 0:
               done = true;
               break;
-            case 10: {
-              java.lang.String s = input.readStringRequireUtf8();
+            case 10:
+              {
+                java.lang.String s = input.readStringRequireUtf8();
 
-              pubsubTopic_ = s;
-              break;
-            }
-            case 16: {
-              int rawValue = input.readEnum();
-              if (!((mutable_bitField0_ & 0x00000001) != 0)) {
-                eventTypes_ = new java.util.ArrayList();
-                mutable_bitField0_ |= 0x00000001;
+                pubsubTopic_ = s;
+                break;
               }
-              eventTypes_.add(rawValue);
-              break;
-            }
-            case 18: {
-              int length = input.readRawVarint32();
-              int oldLimit = input.pushLimit(length);
-              while(input.getBytesUntilLimit() > 0) {
+            case 16:
+              {
                 int rawValue = input.readEnum();
                 if (!((mutable_bitField0_ & 0x00000001) != 0)) {
                   eventTypes_ = new java.util.ArrayList();
                   mutable_bitField0_ |= 0x00000001;
                 }
                 eventTypes_.add(rawValue);
+                break;
               }
-              input.popLimit(oldLimit);
-              break;
-            }
-            case 24: {
-              int rawValue = input.readEnum();
+            case 18:
+              {
+                int length = input.readRawVarint32();
+                int oldLimit = input.pushLimit(length);
+                while (input.getBytesUntilLimit() > 0) {
+                  int rawValue = input.readEnum();
+                  if (!((mutable_bitField0_ & 0x00000001) != 0)) {
+                    eventTypes_ = new java.util.ArrayList();
+                    mutable_bitField0_ |= 0x00000001;
+                  }
+                  eventTypes_.add(rawValue);
+                }
+                input.popLimit(oldLimit);
+                break;
+              }
+            case 24:
+              {
+                int rawValue = input.readEnum();
 
-              payloadFormat_ = rawValue;
-              break;
-            }
-            default: {
-              if (!parseUnknownField(
-                  input, unknownFields, extensionRegistry, tag)) {
-                done = true;
+                payloadFormat_ = rawValue;
+                break;
+              }
+            default:
+              {
+                if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
+                  done = true;
+                }
+                break;
               }
-              break;
-            }
           }
         }
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -35901,8 +41095,7 @@ private NotificationConfig(
       } catch (com.google.protobuf.UninitializedMessageException e) {
         throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
       } catch (java.io.IOException e) {
-        throw new com.google.protobuf.InvalidProtocolBufferException(
-            e).setUnfinishedMessage(this);
+        throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
       } finally {
         if (((mutable_bitField0_ & 0x00000001) != 0)) {
           eventTypes_ = java.util.Collections.unmodifiableList(eventTypes_);
@@ -35911,20 +41104,25 @@ private NotificationConfig(
         makeExtensionsImmutable();
       }
     }
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.storagetransfer.v1.proto.TransferTypes.internal_static_google_storagetransfer_v1_NotificationConfig_descriptor;
+
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.storagetransfer.v1.proto.TransferTypes
+          .internal_static_google_storagetransfer_v1_NotificationConfig_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.storagetransfer.v1.proto.TransferTypes.internal_static_google_storagetransfer_v1_NotificationConfig_fieldAccessorTable
+      return com.google.storagetransfer.v1.proto.TransferTypes
+          .internal_static_google_storagetransfer_v1_NotificationConfig_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.storagetransfer.v1.proto.TransferTypes.NotificationConfig.class, com.google.storagetransfer.v1.proto.TransferTypes.NotificationConfig.Builder.class);
+              com.google.storagetransfer.v1.proto.TransferTypes.NotificationConfig.class,
+              com.google.storagetransfer.v1.proto.TransferTypes.NotificationConfig.Builder.class);
     }
 
     /**
+     *
+     *
      * 
      * Enum for specifying event types for which notifications are to be
      * published.
@@ -35935,9 +41133,10 @@ private NotificationConfig(
      *
      * Protobuf enum {@code google.storagetransfer.v1.NotificationConfig.EventType}
      */
-    public enum EventType
-        implements com.google.protobuf.ProtocolMessageEnum {
+    public enum EventType implements com.google.protobuf.ProtocolMessageEnum {
       /**
+       *
+       *
        * 
        * Illegal value, to avoid allowing a default.
        * 
@@ -35946,6 +41145,8 @@ public enum EventType */ EVENT_TYPE_UNSPECIFIED(0), /** + * + * *
        * `TransferOperation` completed with status
        * [SUCCESS][google.storagetransfer.v1.TransferOperation.Status.SUCCESS].
@@ -35955,6 +41156,8 @@ public enum EventType
        */
       TRANSFER_OPERATION_SUCCESS(1),
       /**
+       *
+       *
        * 
        * `TransferOperation` completed with status
        * [FAILED][google.storagetransfer.v1.TransferOperation.Status.FAILED].
@@ -35964,6 +41167,8 @@ public enum EventType
        */
       TRANSFER_OPERATION_FAILED(2),
       /**
+       *
+       *
        * 
        * `TransferOperation` completed with status
        * [ABORTED][google.storagetransfer.v1.TransferOperation.Status.ABORTED].
@@ -35976,6 +41181,8 @@ public enum EventType
       ;
 
       /**
+       *
+       *
        * 
        * Illegal value, to avoid allowing a default.
        * 
@@ -35984,6 +41191,8 @@ public enum EventType */ public static final int EVENT_TYPE_UNSPECIFIED_VALUE = 0; /** + * + * *
        * `TransferOperation` completed with status
        * [SUCCESS][google.storagetransfer.v1.TransferOperation.Status.SUCCESS].
@@ -35993,6 +41202,8 @@ public enum EventType
        */
       public static final int TRANSFER_OPERATION_SUCCESS_VALUE = 1;
       /**
+       *
+       *
        * 
        * `TransferOperation` completed with status
        * [FAILED][google.storagetransfer.v1.TransferOperation.Status.FAILED].
@@ -36002,6 +41213,8 @@ public enum EventType
        */
       public static final int TRANSFER_OPERATION_FAILED_VALUE = 2;
       /**
+       *
+       *
        * 
        * `TransferOperation` completed with status
        * [ABORTED][google.storagetransfer.v1.TransferOperation.Status.ABORTED].
@@ -36011,7 +41224,6 @@ public enum EventType
        */
       public static final int TRANSFER_OPERATION_ABORTED_VALUE = 3;
 
-
       public final int getNumber() {
         if (this == UNRECOGNIZED) {
           throw new java.lang.IllegalArgumentException(
@@ -36036,50 +41248,53 @@ public static EventType valueOf(int value) {
        */
       public static EventType forNumber(int value) {
         switch (value) {
-          case 0: return EVENT_TYPE_UNSPECIFIED;
-          case 1: return TRANSFER_OPERATION_SUCCESS;
-          case 2: return TRANSFER_OPERATION_FAILED;
-          case 3: return TRANSFER_OPERATION_ABORTED;
-          default: return null;
+          case 0:
+            return EVENT_TYPE_UNSPECIFIED;
+          case 1:
+            return TRANSFER_OPERATION_SUCCESS;
+          case 2:
+            return TRANSFER_OPERATION_FAILED;
+          case 3:
+            return TRANSFER_OPERATION_ABORTED;
+          default:
+            return null;
         }
       }
 
-      public static com.google.protobuf.Internal.EnumLiteMap
-          internalGetValueMap() {
+      public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() {
         return internalValueMap;
       }
-      private static final com.google.protobuf.Internal.EnumLiteMap<
-          EventType> internalValueMap =
-            new com.google.protobuf.Internal.EnumLiteMap() {
-              public EventType findValueByNumber(int number) {
-                return EventType.forNumber(number);
-              }
-            };
 
-      public final com.google.protobuf.Descriptors.EnumValueDescriptor
-          getValueDescriptor() {
+      private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap =
+          new com.google.protobuf.Internal.EnumLiteMap() {
+            public EventType findValueByNumber(int number) {
+              return EventType.forNumber(number);
+            }
+          };
+
+      public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() {
         if (this == UNRECOGNIZED) {
           throw new java.lang.IllegalStateException(
               "Can't get the descriptor of an unrecognized enum value.");
         }
         return getDescriptor().getValues().get(ordinal());
       }
-      public final com.google.protobuf.Descriptors.EnumDescriptor
-          getDescriptorForType() {
+
+      public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() {
         return getDescriptor();
       }
-      public static final com.google.protobuf.Descriptors.EnumDescriptor
-          getDescriptor() {
-        return com.google.storagetransfer.v1.proto.TransferTypes.NotificationConfig.getDescriptor().getEnumTypes().get(0);
+
+      public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() {
+        return com.google.storagetransfer.v1.proto.TransferTypes.NotificationConfig.getDescriptor()
+            .getEnumTypes()
+            .get(0);
       }
 
       private static final EventType[] VALUES = values();
 
-      public static EventType valueOf(
-          com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
+      public static EventType valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
         if (desc.getType() != getDescriptor()) {
-          throw new java.lang.IllegalArgumentException(
-            "EnumValueDescriptor is not for this type.");
+          throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type.");
         }
         if (desc.getIndex() == -1) {
           return UNRECOGNIZED;
@@ -36097,15 +41312,18 @@ private EventType(int value) {
     }
 
     /**
+     *
+     *
      * 
      * Enum for specifying the format of a notification message's payload.
      * 
* * Protobuf enum {@code google.storagetransfer.v1.NotificationConfig.PayloadFormat} */ - public enum PayloadFormat - implements com.google.protobuf.ProtocolMessageEnum { + public enum PayloadFormat implements com.google.protobuf.ProtocolMessageEnum { /** + * + * *
        * Illegal value, to avoid allowing a default.
        * 
@@ -36114,6 +41332,8 @@ public enum PayloadFormat */ PAYLOAD_FORMAT_UNSPECIFIED(0), /** + * + * *
        * No payload is included with the notification.
        * 
@@ -36122,6 +41342,8 @@ public enum PayloadFormat */ NONE(1), /** + * + * *
        * `TransferOperation` is [formatted as a JSON
        * response](https://developers.google.com/protocol-buffers/docs/proto3#json),
@@ -36135,6 +41357,8 @@ public enum PayloadFormat
       ;
 
       /**
+       *
+       *
        * 
        * Illegal value, to avoid allowing a default.
        * 
@@ -36143,6 +41367,8 @@ public enum PayloadFormat */ public static final int PAYLOAD_FORMAT_UNSPECIFIED_VALUE = 0; /** + * + * *
        * No payload is included with the notification.
        * 
@@ -36151,6 +41377,8 @@ public enum PayloadFormat */ public static final int NONE_VALUE = 1; /** + * + * *
        * `TransferOperation` is [formatted as a JSON
        * response](https://developers.google.com/protocol-buffers/docs/proto3#json),
@@ -36161,7 +41389,6 @@ public enum PayloadFormat
        */
       public static final int JSON_VALUE = 2;
 
-
       public final int getNumber() {
         if (this == UNRECOGNIZED) {
           throw new java.lang.IllegalArgumentException(
@@ -36186,40 +41413,45 @@ public static PayloadFormat valueOf(int value) {
        */
       public static PayloadFormat forNumber(int value) {
         switch (value) {
-          case 0: return PAYLOAD_FORMAT_UNSPECIFIED;
-          case 1: return NONE;
-          case 2: return JSON;
-          default: return null;
+          case 0:
+            return PAYLOAD_FORMAT_UNSPECIFIED;
+          case 1:
+            return NONE;
+          case 2:
+            return JSON;
+          default:
+            return null;
         }
       }
 
-      public static com.google.protobuf.Internal.EnumLiteMap
-          internalGetValueMap() {
+      public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() {
         return internalValueMap;
       }
-      private static final com.google.protobuf.Internal.EnumLiteMap<
-          PayloadFormat> internalValueMap =
-            new com.google.protobuf.Internal.EnumLiteMap() {
-              public PayloadFormat findValueByNumber(int number) {
-                return PayloadFormat.forNumber(number);
-              }
-            };
 
-      public final com.google.protobuf.Descriptors.EnumValueDescriptor
-          getValueDescriptor() {
+      private static final com.google.protobuf.Internal.EnumLiteMap
+          internalValueMap =
+              new com.google.protobuf.Internal.EnumLiteMap() {
+                public PayloadFormat findValueByNumber(int number) {
+                  return PayloadFormat.forNumber(number);
+                }
+              };
+
+      public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() {
         if (this == UNRECOGNIZED) {
           throw new java.lang.IllegalStateException(
               "Can't get the descriptor of an unrecognized enum value.");
         }
         return getDescriptor().getValues().get(ordinal());
       }
-      public final com.google.protobuf.Descriptors.EnumDescriptor
-          getDescriptorForType() {
+
+      public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() {
         return getDescriptor();
       }
-      public static final com.google.protobuf.Descriptors.EnumDescriptor
-          getDescriptor() {
-        return com.google.storagetransfer.v1.proto.TransferTypes.NotificationConfig.getDescriptor().getEnumTypes().get(1);
+
+      public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() {
+        return com.google.storagetransfer.v1.proto.TransferTypes.NotificationConfig.getDescriptor()
+            .getEnumTypes()
+            .get(1);
       }
 
       private static final PayloadFormat[] VALUES = values();
@@ -36227,8 +41459,7 @@ public PayloadFormat findValueByNumber(int number) {
       public static PayloadFormat valueOf(
           com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
         if (desc.getType() != getDescriptor()) {
-          throw new java.lang.IllegalArgumentException(
-            "EnumValueDescriptor is not for this type.");
+          throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type.");
         }
         if (desc.getIndex() == -1) {
           return UNRECOGNIZED;
@@ -36248,6 +41479,8 @@ private PayloadFormat(int value) {
     public static final int PUBSUB_TOPIC_FIELD_NUMBER = 1;
     private volatile java.lang.Object pubsubTopic_;
     /**
+     *
+     *
      * 
      * Required. The `Topic.name` of the Pub/Sub topic to which to publish
      * notifications. Must be of the format: `projects/{project}/topics/{topic}`.
@@ -36256,6 +41489,7 @@ private PayloadFormat(int value) {
      * 
* * string pubsub_topic = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The pubsubTopic. */ @java.lang.Override @@ -36264,14 +41498,15 @@ public java.lang.String getPubsubTopic() { 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(); pubsubTopic_ = s; return s; } } /** + * + * *
      * Required. The `Topic.name` of the Pub/Sub topic to which to publish
      * notifications. Must be of the format: `projects/{project}/topics/{topic}`.
@@ -36280,16 +41515,15 @@ public java.lang.String getPubsubTopic() {
      * 
* * string pubsub_topic = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for pubsubTopic. */ @java.lang.Override - public com.google.protobuf.ByteString - getPubsubTopicBytes() { + public com.google.protobuf.ByteString getPubsubTopicBytes() { java.lang.Object ref = pubsubTopic_; 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); pubsubTopic_ = b; return b; } else { @@ -36300,36 +41534,58 @@ public java.lang.String getPubsubTopic() { public static final int EVENT_TYPES_FIELD_NUMBER = 2; private java.util.List eventTypes_; private static final com.google.protobuf.Internal.ListAdapter.Converter< - java.lang.Integer, com.google.storagetransfer.v1.proto.TransferTypes.NotificationConfig.EventType> eventTypes_converter_ = + java.lang.Integer, + com.google.storagetransfer.v1.proto.TransferTypes.NotificationConfig.EventType> + eventTypes_converter_ = new com.google.protobuf.Internal.ListAdapter.Converter< - java.lang.Integer, com.google.storagetransfer.v1.proto.TransferTypes.NotificationConfig.EventType>() { - public com.google.storagetransfer.v1.proto.TransferTypes.NotificationConfig.EventType convert(java.lang.Integer from) { + java.lang.Integer, + com.google.storagetransfer.v1.proto.TransferTypes.NotificationConfig.EventType>() { + public com.google.storagetransfer.v1.proto.TransferTypes.NotificationConfig.EventType + convert(java.lang.Integer from) { @SuppressWarnings("deprecation") - com.google.storagetransfer.v1.proto.TransferTypes.NotificationConfig.EventType result = com.google.storagetransfer.v1.proto.TransferTypes.NotificationConfig.EventType.valueOf(from); - return result == null ? com.google.storagetransfer.v1.proto.TransferTypes.NotificationConfig.EventType.UNRECOGNIZED : result; + com.google.storagetransfer.v1.proto.TransferTypes.NotificationConfig.EventType + result = + com.google.storagetransfer.v1.proto.TransferTypes.NotificationConfig + .EventType.valueOf(from); + return result == null + ? com.google.storagetransfer.v1.proto.TransferTypes.NotificationConfig.EventType + .UNRECOGNIZED + : result; } }; /** + * + * *
      * Event types for which a notification is desired. If empty, send
      * notifications for all event types.
      * 
* - * repeated .google.storagetransfer.v1.NotificationConfig.EventType event_types = 2; + * repeated .google.storagetransfer.v1.NotificationConfig.EventType event_types = 2; + * + * * @return A list containing the eventTypes. */ @java.lang.Override - public java.util.List getEventTypesList() { + public java.util.List< + com.google.storagetransfer.v1.proto.TransferTypes.NotificationConfig.EventType> + getEventTypesList() { return new com.google.protobuf.Internal.ListAdapter< - java.lang.Integer, com.google.storagetransfer.v1.proto.TransferTypes.NotificationConfig.EventType>(eventTypes_, eventTypes_converter_); + java.lang.Integer, + com.google.storagetransfer.v1.proto.TransferTypes.NotificationConfig.EventType>( + eventTypes_, eventTypes_converter_); } /** + * + * *
      * Event types for which a notification is desired. If empty, send
      * notifications for all event types.
      * 
* - * repeated .google.storagetransfer.v1.NotificationConfig.EventType event_types = 2; + * repeated .google.storagetransfer.v1.NotificationConfig.EventType event_types = 2; + * + * * @return The count of eventTypes. */ @java.lang.Override @@ -36337,40 +41593,52 @@ public int getEventTypesCount() { return eventTypes_.size(); } /** + * + * *
      * Event types for which a notification is desired. If empty, send
      * notifications for all event types.
      * 
* - * repeated .google.storagetransfer.v1.NotificationConfig.EventType event_types = 2; + * repeated .google.storagetransfer.v1.NotificationConfig.EventType event_types = 2; + * + * * @param index The index of the element to return. * @return The eventTypes at the given index. */ @java.lang.Override - public com.google.storagetransfer.v1.proto.TransferTypes.NotificationConfig.EventType getEventTypes(int index) { + public com.google.storagetransfer.v1.proto.TransferTypes.NotificationConfig.EventType + getEventTypes(int index) { return eventTypes_converter_.convert(eventTypes_.get(index)); } /** + * + * *
      * Event types for which a notification is desired. If empty, send
      * notifications for all event types.
      * 
* - * repeated .google.storagetransfer.v1.NotificationConfig.EventType event_types = 2; + * repeated .google.storagetransfer.v1.NotificationConfig.EventType event_types = 2; + * + * * @return A list containing the enum numeric values on the wire for eventTypes. */ @java.lang.Override - public java.util.List - getEventTypesValueList() { + public java.util.List getEventTypesValueList() { return eventTypes_; } /** + * + * *
      * Event types for which a notification is desired. If empty, send
      * notifications for all event types.
      * 
* - * repeated .google.storagetransfer.v1.NotificationConfig.EventType event_types = 2; + * repeated .google.storagetransfer.v1.NotificationConfig.EventType event_types = 2; + * + * * @param index The index of the value to return. * @return The enum numeric value on the wire of eventTypes at the given index. */ @@ -36378,36 +41646,56 @@ public com.google.storagetransfer.v1.proto.TransferTypes.NotificationConfig.Even public int getEventTypesValue(int index) { return eventTypes_.get(index); } + private int eventTypesMemoizedSerializedSize; public static final int PAYLOAD_FORMAT_FIELD_NUMBER = 3; private int payloadFormat_; /** + * + * *
      * Required. The desired format of the notification message payloads.
      * 
* - * .google.storagetransfer.v1.NotificationConfig.PayloadFormat payload_format = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.storagetransfer.v1.NotificationConfig.PayloadFormat payload_format = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The enum numeric value on the wire for payloadFormat. */ - @java.lang.Override public int getPayloadFormatValue() { + @java.lang.Override + public int getPayloadFormatValue() { return payloadFormat_; } /** + * + * *
      * Required. The desired format of the notification message payloads.
      * 
* - * .google.storagetransfer.v1.NotificationConfig.PayloadFormat payload_format = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.storagetransfer.v1.NotificationConfig.PayloadFormat payload_format = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The payloadFormat. */ - @java.lang.Override public com.google.storagetransfer.v1.proto.TransferTypes.NotificationConfig.PayloadFormat getPayloadFormat() { + @java.lang.Override + public com.google.storagetransfer.v1.proto.TransferTypes.NotificationConfig.PayloadFormat + getPayloadFormat() { @SuppressWarnings("deprecation") - com.google.storagetransfer.v1.proto.TransferTypes.NotificationConfig.PayloadFormat result = com.google.storagetransfer.v1.proto.TransferTypes.NotificationConfig.PayloadFormat.valueOf(payloadFormat_); - return result == null ? com.google.storagetransfer.v1.proto.TransferTypes.NotificationConfig.PayloadFormat.UNRECOGNIZED : result; + com.google.storagetransfer.v1.proto.TransferTypes.NotificationConfig.PayloadFormat result = + com.google.storagetransfer.v1.proto.TransferTypes.NotificationConfig.PayloadFormat + .valueOf(payloadFormat_); + return result == null + ? com.google.storagetransfer.v1.proto.TransferTypes.NotificationConfig.PayloadFormat + .UNRECOGNIZED + : result; } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -36419,8 +41707,7 @@ 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 { getSerializedSize(); if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(pubsubTopic_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, pubsubTopic_); @@ -36432,7 +41719,10 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) for (int i = 0; i < eventTypes_.size(); i++) { output.writeEnumNoTag(eventTypes_.get(i)); } - if (payloadFormat_ != com.google.storagetransfer.v1.proto.TransferTypes.NotificationConfig.PayloadFormat.PAYLOAD_FORMAT_UNSPECIFIED.getNumber()) { + if (payloadFormat_ + != com.google.storagetransfer.v1.proto.TransferTypes.NotificationConfig.PayloadFormat + .PAYLOAD_FORMAT_UNSPECIFIED + .getNumber()) { output.writeEnum(3, payloadFormat_); } unknownFields.writeTo(output); @@ -36450,18 +41740,21 @@ public int getSerializedSize() { { int dataSize = 0; for (int i = 0; i < eventTypes_.size(); i++) { - dataSize += com.google.protobuf.CodedOutputStream - .computeEnumSizeNoTag(eventTypes_.get(i)); + dataSize += + com.google.protobuf.CodedOutputStream.computeEnumSizeNoTag(eventTypes_.get(i)); } size += dataSize; - if (!getEventTypesList().isEmpty()) { size += 1; - size += com.google.protobuf.CodedOutputStream - .computeUInt32SizeNoTag(dataSize); - }eventTypesMemoizedSerializedSize = dataSize; + if (!getEventTypesList().isEmpty()) { + size += 1; + size += com.google.protobuf.CodedOutputStream.computeUInt32SizeNoTag(dataSize); + } + eventTypesMemoizedSerializedSize = dataSize; } - if (payloadFormat_ != com.google.storagetransfer.v1.proto.TransferTypes.NotificationConfig.PayloadFormat.PAYLOAD_FORMAT_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(3, payloadFormat_); + if (payloadFormat_ + != com.google.storagetransfer.v1.proto.TransferTypes.NotificationConfig.PayloadFormat + .PAYLOAD_FORMAT_UNSPECIFIED + .getNumber()) { + size += com.google.protobuf.CodedOutputStream.computeEnumSize(3, payloadFormat_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -36471,15 +41764,15 @@ 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.storagetransfer.v1.proto.TransferTypes.NotificationConfig)) { return super.equals(obj); } - com.google.storagetransfer.v1.proto.TransferTypes.NotificationConfig other = (com.google.storagetransfer.v1.proto.TransferTypes.NotificationConfig) obj; + com.google.storagetransfer.v1.proto.TransferTypes.NotificationConfig other = + (com.google.storagetransfer.v1.proto.TransferTypes.NotificationConfig) obj; - if (!getPubsubTopic() - .equals(other.getPubsubTopic())) return false; + if (!getPubsubTopic().equals(other.getPubsubTopic())) return false; if (!eventTypes_.equals(other.eventTypes_)) return false; if (payloadFormat_ != other.payloadFormat_) return false; if (!unknownFields.equals(other.unknownFields)) return false; @@ -36507,87 +41800,95 @@ public int hashCode() { } public static com.google.storagetransfer.v1.proto.TransferTypes.NotificationConfig parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.storagetransfer.v1.proto.TransferTypes.NotificationConfig 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.storagetransfer.v1.proto.TransferTypes.NotificationConfig parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.storagetransfer.v1.proto.TransferTypes.NotificationConfig 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.storagetransfer.v1.proto.TransferTypes.NotificationConfig parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.storagetransfer.v1.proto.TransferTypes.NotificationConfig parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.storagetransfer.v1.proto.TransferTypes.NotificationConfig 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.storagetransfer.v1.proto.TransferTypes.NotificationConfig parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.storagetransfer.v1.proto.TransferTypes.NotificationConfig parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.storagetransfer.v1.proto.TransferTypes.NotificationConfig 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.storagetransfer.v1.proto.TransferTypes.NotificationConfig parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.storagetransfer.v1.proto.TransferTypes.NotificationConfig + parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } - public static com.google.storagetransfer.v1.proto.TransferTypes.NotificationConfig parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + + public static com.google.storagetransfer.v1.proto.TransferTypes.NotificationConfig + parseDelimitedFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.storagetransfer.v1.proto.TransferTypes.NotificationConfig 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.storagetransfer.v1.proto.TransferTypes.NotificationConfig 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.storagetransfer.v1.proto.TransferTypes.NotificationConfig prototype) { + + public static Builder newBuilder( + com.google.storagetransfer.v1.proto.TransferTypes.NotificationConfig 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 @@ -36597,6 +41898,8 @@ protected Builder newBuilderForType( return builder; } /** + * + * *
      * Specification to configure notifications published to Pub/Sub.
      * Notifications are published to the customer-provided topic using the
@@ -36616,38 +41919,41 @@ protected Builder newBuilderForType(
      *
      * Protobuf type {@code google.storagetransfer.v1.NotificationConfig}
      */
-    public static final class Builder extends
-        com.google.protobuf.GeneratedMessageV3.Builder implements
+    public static final class Builder
+        extends com.google.protobuf.GeneratedMessageV3.Builder
+        implements
         // @@protoc_insertion_point(builder_implements:google.storagetransfer.v1.NotificationConfig)
         com.google.storagetransfer.v1.proto.TransferTypes.NotificationConfigOrBuilder {
-      public static final com.google.protobuf.Descriptors.Descriptor
-          getDescriptor() {
-        return com.google.storagetransfer.v1.proto.TransferTypes.internal_static_google_storagetransfer_v1_NotificationConfig_descriptor;
+      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+        return com.google.storagetransfer.v1.proto.TransferTypes
+            .internal_static_google_storagetransfer_v1_NotificationConfig_descriptor;
       }
 
       @java.lang.Override
       protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
           internalGetFieldAccessorTable() {
-        return com.google.storagetransfer.v1.proto.TransferTypes.internal_static_google_storagetransfer_v1_NotificationConfig_fieldAccessorTable
+        return com.google.storagetransfer.v1.proto.TransferTypes
+            .internal_static_google_storagetransfer_v1_NotificationConfig_fieldAccessorTable
             .ensureFieldAccessorsInitialized(
-                com.google.storagetransfer.v1.proto.TransferTypes.NotificationConfig.class, com.google.storagetransfer.v1.proto.TransferTypes.NotificationConfig.Builder.class);
+                com.google.storagetransfer.v1.proto.TransferTypes.NotificationConfig.class,
+                com.google.storagetransfer.v1.proto.TransferTypes.NotificationConfig.Builder.class);
       }
 
-      // Construct using com.google.storagetransfer.v1.proto.TransferTypes.NotificationConfig.newBuilder()
+      // Construct using
+      // com.google.storagetransfer.v1.proto.TransferTypes.NotificationConfig.newBuilder()
       private Builder() {
         maybeForceBuilderInitialization();
       }
 
-      private Builder(
-          com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+      private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
         super(parent);
         maybeForceBuilderInitialization();
       }
+
       private void maybeForceBuilderInitialization() {
-        if (com.google.protobuf.GeneratedMessageV3
-                .alwaysUseFieldBuilders) {
-        }
+        if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {}
       }
+
       @java.lang.Override
       public Builder clear() {
         super.clear();
@@ -36661,19 +41967,22 @@ public Builder clear() {
       }
 
       @java.lang.Override
-      public com.google.protobuf.Descriptors.Descriptor
-          getDescriptorForType() {
-        return com.google.storagetransfer.v1.proto.TransferTypes.internal_static_google_storagetransfer_v1_NotificationConfig_descriptor;
+      public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+        return com.google.storagetransfer.v1.proto.TransferTypes
+            .internal_static_google_storagetransfer_v1_NotificationConfig_descriptor;
       }
 
       @java.lang.Override
-      public com.google.storagetransfer.v1.proto.TransferTypes.NotificationConfig getDefaultInstanceForType() {
-        return com.google.storagetransfer.v1.proto.TransferTypes.NotificationConfig.getDefaultInstance();
+      public com.google.storagetransfer.v1.proto.TransferTypes.NotificationConfig
+          getDefaultInstanceForType() {
+        return com.google.storagetransfer.v1.proto.TransferTypes.NotificationConfig
+            .getDefaultInstance();
       }
 
       @java.lang.Override
       public com.google.storagetransfer.v1.proto.TransferTypes.NotificationConfig build() {
-        com.google.storagetransfer.v1.proto.TransferTypes.NotificationConfig result = buildPartial();
+        com.google.storagetransfer.v1.proto.TransferTypes.NotificationConfig result =
+            buildPartial();
         if (!result.isInitialized()) {
           throw newUninitializedMessageException(result);
         }
@@ -36682,7 +41991,8 @@ public com.google.storagetransfer.v1.proto.TransferTypes.NotificationConfig buil
 
       @java.lang.Override
       public com.google.storagetransfer.v1.proto.TransferTypes.NotificationConfig buildPartial() {
-        com.google.storagetransfer.v1.proto.TransferTypes.NotificationConfig result = new com.google.storagetransfer.v1.proto.TransferTypes.NotificationConfig(this);
+        com.google.storagetransfer.v1.proto.TransferTypes.NotificationConfig result =
+            new com.google.storagetransfer.v1.proto.TransferTypes.NotificationConfig(this);
         int from_bitField0_ = bitField0_;
         result.pubsubTopic_ = pubsubTopic_;
         if (((bitField0_ & 0x00000001) != 0)) {
@@ -36699,46 +42009,53 @@ public com.google.storagetransfer.v1.proto.TransferTypes.NotificationConfig buil
       public Builder clone() {
         return super.clone();
       }
+
       @java.lang.Override
       public Builder setField(
-          com.google.protobuf.Descriptors.FieldDescriptor field,
-          java.lang.Object value) {
+          com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
         return super.setField(field, value);
       }
+
       @java.lang.Override
-      public Builder clearField(
-          com.google.protobuf.Descriptors.FieldDescriptor field) {
+      public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
         return super.clearField(field);
       }
+
       @java.lang.Override
-      public Builder clearOneof(
-          com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+      public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
         return super.clearOneof(oneof);
       }
+
       @java.lang.Override
       public Builder setRepeatedField(
           com.google.protobuf.Descriptors.FieldDescriptor field,
-          int index, java.lang.Object value) {
+          int index,
+          java.lang.Object value) {
         return super.setRepeatedField(field, index, value);
       }
+
       @java.lang.Override
       public Builder addRepeatedField(
-          com.google.protobuf.Descriptors.FieldDescriptor field,
-          java.lang.Object value) {
+          com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
         return super.addRepeatedField(field, value);
       }
+
       @java.lang.Override
       public Builder mergeFrom(com.google.protobuf.Message other) {
         if (other instanceof com.google.storagetransfer.v1.proto.TransferTypes.NotificationConfig) {
-          return mergeFrom((com.google.storagetransfer.v1.proto.TransferTypes.NotificationConfig)other);
+          return mergeFrom(
+              (com.google.storagetransfer.v1.proto.TransferTypes.NotificationConfig) other);
         } else {
           super.mergeFrom(other);
           return this;
         }
       }
 
-      public Builder mergeFrom(com.google.storagetransfer.v1.proto.TransferTypes.NotificationConfig other) {
-        if (other == com.google.storagetransfer.v1.proto.TransferTypes.NotificationConfig.getDefaultInstance()) return this;
+      public Builder mergeFrom(
+          com.google.storagetransfer.v1.proto.TransferTypes.NotificationConfig other) {
+        if (other
+            == com.google.storagetransfer.v1.proto.TransferTypes.NotificationConfig
+                .getDefaultInstance()) return this;
         if (!other.getPubsubTopic().isEmpty()) {
           pubsubTopic_ = other.pubsubTopic_;
           onChanged();
@@ -36775,7 +42092,9 @@ public Builder mergeFrom(
         try {
           parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
         } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-          parsedMessage = (com.google.storagetransfer.v1.proto.TransferTypes.NotificationConfig) e.getUnfinishedMessage();
+          parsedMessage =
+              (com.google.storagetransfer.v1.proto.TransferTypes.NotificationConfig)
+                  e.getUnfinishedMessage();
           throw e.unwrapIOException();
         } finally {
           if (parsedMessage != null) {
@@ -36784,10 +42103,13 @@ public Builder mergeFrom(
         }
         return this;
       }
+
       private int bitField0_;
 
       private java.lang.Object pubsubTopic_ = "";
       /**
+       *
+       *
        * 
        * Required. The `Topic.name` of the Pub/Sub topic to which to publish
        * notifications. Must be of the format: `projects/{project}/topics/{topic}`.
@@ -36796,13 +42118,13 @@ public Builder mergeFrom(
        * 
* * string pubsub_topic = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The pubsubTopic. */ public java.lang.String getPubsubTopic() { java.lang.Object ref = pubsubTopic_; 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(); pubsubTopic_ = s; return s; @@ -36811,6 +42133,8 @@ public java.lang.String getPubsubTopic() { } } /** + * + * *
        * Required. The `Topic.name` of the Pub/Sub topic to which to publish
        * notifications. Must be of the format: `projects/{project}/topics/{topic}`.
@@ -36819,15 +42143,14 @@ public java.lang.String getPubsubTopic() {
        * 
* * string pubsub_topic = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for pubsubTopic. */ - public com.google.protobuf.ByteString - getPubsubTopicBytes() { + public com.google.protobuf.ByteString getPubsubTopicBytes() { java.lang.Object ref = pubsubTopic_; 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); pubsubTopic_ = b; return b; } else { @@ -36835,6 +42158,8 @@ public java.lang.String getPubsubTopic() { } } /** + * + * *
        * Required. The `Topic.name` of the Pub/Sub topic to which to publish
        * notifications. Must be of the format: `projects/{project}/topics/{topic}`.
@@ -36843,20 +42168,22 @@ public java.lang.String getPubsubTopic() {
        * 
* * string pubsub_topic = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The pubsubTopic to set. * @return This builder for chaining. */ - public Builder setPubsubTopic( - java.lang.String value) { + public Builder setPubsubTopic(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + pubsubTopic_ = value; onChanged(); return this; } /** + * + * *
        * Required. The `Topic.name` of the Pub/Sub topic to which to publish
        * notifications. Must be of the format: `projects/{project}/topics/{topic}`.
@@ -36865,15 +42192,18 @@ public Builder setPubsubTopic(
        * 
* * string pubsub_topic = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return This builder for chaining. */ public Builder clearPubsubTopic() { - + pubsubTopic_ = getDefaultInstance().getPubsubTopic(); onChanged(); return this; } /** + * + * *
        * Required. The `Topic.name` of the Pub/Sub topic to which to publish
        * notifications. Must be of the format: `projects/{project}/topics/{topic}`.
@@ -36882,23 +42212,23 @@ public Builder clearPubsubTopic() {
        * 
* * string pubsub_topic = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The bytes for pubsubTopic to set. * @return This builder for chaining. */ - public Builder setPubsubTopicBytes( - com.google.protobuf.ByteString value) { + public Builder setPubsubTopicBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + pubsubTopic_ = value; onChanged(); return this; } - private java.util.List eventTypes_ = - java.util.Collections.emptyList(); + private java.util.List eventTypes_ = java.util.Collections.emptyList(); + private void ensureEventTypesIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { eventTypes_ = new java.util.ArrayList(eventTypes_); @@ -36906,56 +42236,78 @@ private void ensureEventTypesIsMutable() { } } /** + * + * *
        * Event types for which a notification is desired. If empty, send
        * notifications for all event types.
        * 
* - * repeated .google.storagetransfer.v1.NotificationConfig.EventType event_types = 2; + * repeated .google.storagetransfer.v1.NotificationConfig.EventType event_types = 2; + * + * * @return A list containing the eventTypes. */ - public java.util.List getEventTypesList() { + public java.util.List< + com.google.storagetransfer.v1.proto.TransferTypes.NotificationConfig.EventType> + getEventTypesList() { return new com.google.protobuf.Internal.ListAdapter< - java.lang.Integer, com.google.storagetransfer.v1.proto.TransferTypes.NotificationConfig.EventType>(eventTypes_, eventTypes_converter_); + java.lang.Integer, + com.google.storagetransfer.v1.proto.TransferTypes.NotificationConfig.EventType>( + eventTypes_, eventTypes_converter_); } /** + * + * *
        * Event types for which a notification is desired. If empty, send
        * notifications for all event types.
        * 
* - * repeated .google.storagetransfer.v1.NotificationConfig.EventType event_types = 2; + * repeated .google.storagetransfer.v1.NotificationConfig.EventType event_types = 2; + * + * * @return The count of eventTypes. */ public int getEventTypesCount() { return eventTypes_.size(); } /** + * + * *
        * Event types for which a notification is desired. If empty, send
        * notifications for all event types.
        * 
* - * repeated .google.storagetransfer.v1.NotificationConfig.EventType event_types = 2; + * repeated .google.storagetransfer.v1.NotificationConfig.EventType event_types = 2; + * + * * @param index The index of the element to return. * @return The eventTypes at the given index. */ - public com.google.storagetransfer.v1.proto.TransferTypes.NotificationConfig.EventType getEventTypes(int index) { + public com.google.storagetransfer.v1.proto.TransferTypes.NotificationConfig.EventType + getEventTypes(int index) { return eventTypes_converter_.convert(eventTypes_.get(index)); } /** + * + * *
        * Event types for which a notification is desired. If empty, send
        * notifications for all event types.
        * 
* - * repeated .google.storagetransfer.v1.NotificationConfig.EventType event_types = 2; + * repeated .google.storagetransfer.v1.NotificationConfig.EventType event_types = 2; + * + * * @param index The index to set the value at. * @param value The eventTypes to set. * @return This builder for chaining. */ public Builder setEventTypes( - int index, com.google.storagetransfer.v1.proto.TransferTypes.NotificationConfig.EventType value) { + int index, + com.google.storagetransfer.v1.proto.TransferTypes.NotificationConfig.EventType value) { if (value == null) { throw new NullPointerException(); } @@ -36965,16 +42317,21 @@ public Builder setEventTypes( return this; } /** + * + * *
        * Event types for which a notification is desired. If empty, send
        * notifications for all event types.
        * 
* - * repeated .google.storagetransfer.v1.NotificationConfig.EventType event_types = 2; + * repeated .google.storagetransfer.v1.NotificationConfig.EventType event_types = 2; + * + * * @param value The eventTypes to add. * @return This builder for chaining. */ - public Builder addEventTypes(com.google.storagetransfer.v1.proto.TransferTypes.NotificationConfig.EventType value) { + public Builder addEventTypes( + com.google.storagetransfer.v1.proto.TransferTypes.NotificationConfig.EventType value) { if (value == null) { throw new NullPointerException(); } @@ -36984,31 +42341,44 @@ public Builder addEventTypes(com.google.storagetransfer.v1.proto.TransferTypes.N return this; } /** + * + * *
        * Event types for which a notification is desired. If empty, send
        * notifications for all event types.
        * 
* - * repeated .google.storagetransfer.v1.NotificationConfig.EventType event_types = 2; + * repeated .google.storagetransfer.v1.NotificationConfig.EventType event_types = 2; + * + * * @param values The eventTypes to add. * @return This builder for chaining. */ public Builder addAllEventTypes( - java.lang.Iterable values) { + java.lang.Iterable< + ? extends + com.google.storagetransfer.v1.proto.TransferTypes.NotificationConfig + .EventType> + values) { ensureEventTypesIsMutable(); - for (com.google.storagetransfer.v1.proto.TransferTypes.NotificationConfig.EventType value : values) { + for (com.google.storagetransfer.v1.proto.TransferTypes.NotificationConfig.EventType value : + values) { eventTypes_.add(value.getNumber()); } onChanged(); return this; } /** + * + * *
        * Event types for which a notification is desired. If empty, send
        * notifications for all event types.
        * 
* - * repeated .google.storagetransfer.v1.NotificationConfig.EventType event_types = 2; + * repeated .google.storagetransfer.v1.NotificationConfig.EventType event_types = 2; + * + * * @return This builder for chaining. */ public Builder clearEventTypes() { @@ -37018,25 +42388,32 @@ public Builder clearEventTypes() { return this; } /** + * + * *
        * Event types for which a notification is desired. If empty, send
        * notifications for all event types.
        * 
* - * repeated .google.storagetransfer.v1.NotificationConfig.EventType event_types = 2; + * repeated .google.storagetransfer.v1.NotificationConfig.EventType event_types = 2; + * + * * @return A list containing the enum numeric values on the wire for eventTypes. */ - public java.util.List - getEventTypesValueList() { + public java.util.List getEventTypesValueList() { return java.util.Collections.unmodifiableList(eventTypes_); } /** + * + * *
        * Event types for which a notification is desired. If empty, send
        * notifications for all event types.
        * 
* - * repeated .google.storagetransfer.v1.NotificationConfig.EventType event_types = 2; + * repeated .google.storagetransfer.v1.NotificationConfig.EventType event_types = 2; + * + * * @param index The index of the value to return. * @return The enum numeric value on the wire of eventTypes at the given index. */ @@ -37044,30 +42421,37 @@ public int getEventTypesValue(int index) { return eventTypes_.get(index); } /** + * + * *
        * Event types for which a notification is desired. If empty, send
        * notifications for all event types.
        * 
* - * repeated .google.storagetransfer.v1.NotificationConfig.EventType event_types = 2; + * repeated .google.storagetransfer.v1.NotificationConfig.EventType event_types = 2; + * + * * @param index The index to set the value at. * @param value The enum numeric value on the wire for eventTypes to set. * @return This builder for chaining. */ - public Builder setEventTypesValue( - int index, int value) { + public Builder setEventTypesValue(int index, int value) { ensureEventTypesIsMutable(); eventTypes_.set(index, value); onChanged(); return this; } /** + * + * *
        * Event types for which a notification is desired. If empty, send
        * notifications for all event types.
        * 
* - * repeated .google.storagetransfer.v1.NotificationConfig.EventType event_types = 2; + * repeated .google.storagetransfer.v1.NotificationConfig.EventType event_types = 2; + * + * * @param value The enum numeric value on the wire for eventTypes to add. * @return This builder for chaining. */ @@ -37078,17 +42462,20 @@ public Builder addEventTypesValue(int value) { return this; } /** + * + * *
        * Event types for which a notification is desired. If empty, send
        * notifications for all event types.
        * 
* - * repeated .google.storagetransfer.v1.NotificationConfig.EventType event_types = 2; + * repeated .google.storagetransfer.v1.NotificationConfig.EventType event_types = 2; + * + * * @param values The enum numeric values on the wire for eventTypes to add. * @return This builder for chaining. */ - public Builder addAllEventTypesValue( - java.lang.Iterable values) { + public Builder addAllEventTypesValue(java.lang.Iterable values) { ensureEventTypesIsMutable(); for (int value : values) { eventTypes_.add(value); @@ -37099,77 +42486,112 @@ public Builder addAllEventTypesValue( private int payloadFormat_ = 0; /** + * + * *
        * Required. The desired format of the notification message payloads.
        * 
* - * .google.storagetransfer.v1.NotificationConfig.PayloadFormat payload_format = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.storagetransfer.v1.NotificationConfig.PayloadFormat payload_format = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The enum numeric value on the wire for payloadFormat. */ - @java.lang.Override public int getPayloadFormatValue() { + @java.lang.Override + public int getPayloadFormatValue() { return payloadFormat_; } /** + * + * *
        * Required. The desired format of the notification message payloads.
        * 
* - * .google.storagetransfer.v1.NotificationConfig.PayloadFormat payload_format = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.storagetransfer.v1.NotificationConfig.PayloadFormat payload_format = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * * @param value The enum numeric value on the wire for payloadFormat to set. * @return This builder for chaining. */ public Builder setPayloadFormatValue(int value) { - + payloadFormat_ = value; onChanged(); return this; } /** + * + * *
        * Required. The desired format of the notification message payloads.
        * 
* - * .google.storagetransfer.v1.NotificationConfig.PayloadFormat payload_format = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.storagetransfer.v1.NotificationConfig.PayloadFormat payload_format = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The payloadFormat. */ @java.lang.Override - public com.google.storagetransfer.v1.proto.TransferTypes.NotificationConfig.PayloadFormat getPayloadFormat() { + public com.google.storagetransfer.v1.proto.TransferTypes.NotificationConfig.PayloadFormat + getPayloadFormat() { @SuppressWarnings("deprecation") - com.google.storagetransfer.v1.proto.TransferTypes.NotificationConfig.PayloadFormat result = com.google.storagetransfer.v1.proto.TransferTypes.NotificationConfig.PayloadFormat.valueOf(payloadFormat_); - return result == null ? com.google.storagetransfer.v1.proto.TransferTypes.NotificationConfig.PayloadFormat.UNRECOGNIZED : result; + com.google.storagetransfer.v1.proto.TransferTypes.NotificationConfig.PayloadFormat result = + com.google.storagetransfer.v1.proto.TransferTypes.NotificationConfig.PayloadFormat + .valueOf(payloadFormat_); + return result == null + ? com.google.storagetransfer.v1.proto.TransferTypes.NotificationConfig.PayloadFormat + .UNRECOGNIZED + : result; } /** + * + * *
        * Required. The desired format of the notification message payloads.
        * 
* - * .google.storagetransfer.v1.NotificationConfig.PayloadFormat payload_format = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.storagetransfer.v1.NotificationConfig.PayloadFormat payload_format = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * * @param value The payloadFormat to set. * @return This builder for chaining. */ - public Builder setPayloadFormat(com.google.storagetransfer.v1.proto.TransferTypes.NotificationConfig.PayloadFormat value) { + public Builder setPayloadFormat( + com.google.storagetransfer.v1.proto.TransferTypes.NotificationConfig.PayloadFormat + value) { if (value == null) { throw new NullPointerException(); } - + payloadFormat_ = value.getNumber(); onChanged(); return this; } /** + * + * *
        * Required. The desired format of the notification message payloads.
        * 
* - * .google.storagetransfer.v1.NotificationConfig.PayloadFormat payload_format = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.storagetransfer.v1.NotificationConfig.PayloadFormat payload_format = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return This builder for chaining. */ public Builder clearPayloadFormat() { - + payloadFormat_ = 0; onChanged(); return this; } + @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -37182,30 +42604,32 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.storagetransfer.v1.NotificationConfig) } // @@protoc_insertion_point(class_scope:google.storagetransfer.v1.NotificationConfig) - private static final com.google.storagetransfer.v1.proto.TransferTypes.NotificationConfig DEFAULT_INSTANCE; + private static final com.google.storagetransfer.v1.proto.TransferTypes.NotificationConfig + DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.storagetransfer.v1.proto.TransferTypes.NotificationConfig(); } - public static com.google.storagetransfer.v1.proto.TransferTypes.NotificationConfig getDefaultInstance() { + public static com.google.storagetransfer.v1.proto.TransferTypes.NotificationConfig + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public NotificationConfig parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new NotificationConfig(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public NotificationConfig parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new NotificationConfig(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -37217,146 +42641,200 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.storagetransfer.v1.proto.TransferTypes.NotificationConfig getDefaultInstanceForType() { + public com.google.storagetransfer.v1.proto.TransferTypes.NotificationConfig + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - public interface LoggingConfigOrBuilder extends + public interface LoggingConfigOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.storagetransfer.v1.LoggingConfig) com.google.protobuf.MessageOrBuilder { /** + * + * *
      * Specifies the actions to be logged. If empty, no logs are generated.
      * Not supported for transfers with PosixFilesystem data sources; use
      * [enable_onprem_gcs_transfer_logs][google.storagetransfer.v1.LoggingConfig.enable_onprem_gcs_transfer_logs] instead.
      * 
* - * repeated .google.storagetransfer.v1.LoggingConfig.LoggableAction log_actions = 1; + * repeated .google.storagetransfer.v1.LoggingConfig.LoggableAction log_actions = 1; + * + * * @return A list containing the logActions. */ - java.util.List getLogActionsList(); + java.util.List + getLogActionsList(); /** + * + * *
      * Specifies the actions to be logged. If empty, no logs are generated.
      * Not supported for transfers with PosixFilesystem data sources; use
      * [enable_onprem_gcs_transfer_logs][google.storagetransfer.v1.LoggingConfig.enable_onprem_gcs_transfer_logs] instead.
      * 
* - * repeated .google.storagetransfer.v1.LoggingConfig.LoggableAction log_actions = 1; + * repeated .google.storagetransfer.v1.LoggingConfig.LoggableAction log_actions = 1; + * + * * @return The count of logActions. */ int getLogActionsCount(); /** + * + * *
      * Specifies the actions to be logged. If empty, no logs are generated.
      * Not supported for transfers with PosixFilesystem data sources; use
      * [enable_onprem_gcs_transfer_logs][google.storagetransfer.v1.LoggingConfig.enable_onprem_gcs_transfer_logs] instead.
      * 
* - * repeated .google.storagetransfer.v1.LoggingConfig.LoggableAction log_actions = 1; + * repeated .google.storagetransfer.v1.LoggingConfig.LoggableAction log_actions = 1; + * + * * @param index The index of the element to return. * @return The logActions at the given index. */ - com.google.storagetransfer.v1.proto.TransferTypes.LoggingConfig.LoggableAction getLogActions(int index); + com.google.storagetransfer.v1.proto.TransferTypes.LoggingConfig.LoggableAction getLogActions( + int index); /** + * + * *
      * Specifies the actions to be logged. If empty, no logs are generated.
      * Not supported for transfers with PosixFilesystem data sources; use
      * [enable_onprem_gcs_transfer_logs][google.storagetransfer.v1.LoggingConfig.enable_onprem_gcs_transfer_logs] instead.
      * 
* - * repeated .google.storagetransfer.v1.LoggingConfig.LoggableAction log_actions = 1; + * repeated .google.storagetransfer.v1.LoggingConfig.LoggableAction log_actions = 1; + * + * * @return A list containing the enum numeric values on the wire for logActions. */ - java.util.List - getLogActionsValueList(); + java.util.List getLogActionsValueList(); /** + * + * *
      * Specifies the actions to be logged. If empty, no logs are generated.
      * Not supported for transfers with PosixFilesystem data sources; use
      * [enable_onprem_gcs_transfer_logs][google.storagetransfer.v1.LoggingConfig.enable_onprem_gcs_transfer_logs] instead.
      * 
* - * repeated .google.storagetransfer.v1.LoggingConfig.LoggableAction log_actions = 1; + * repeated .google.storagetransfer.v1.LoggingConfig.LoggableAction log_actions = 1; + * + * * @param index The index of the value to return. * @return The enum numeric value on the wire of logActions at the given index. */ int getLogActionsValue(int index); /** + * + * *
      * States in which `log_actions` are logged. If empty, no logs are generated.
      * Not supported for transfers with PosixFilesystem data sources; use
      * [enable_onprem_gcs_transfer_logs][google.storagetransfer.v1.LoggingConfig.enable_onprem_gcs_transfer_logs] instead.
      * 
* - * repeated .google.storagetransfer.v1.LoggingConfig.LoggableActionState log_action_states = 2; + * + * repeated .google.storagetransfer.v1.LoggingConfig.LoggableActionState log_action_states = 2; + * + * * @return A list containing the logActionStates. */ - java.util.List getLogActionStatesList(); + java.util.List< + com.google.storagetransfer.v1.proto.TransferTypes.LoggingConfig.LoggableActionState> + getLogActionStatesList(); /** + * + * *
      * States in which `log_actions` are logged. If empty, no logs are generated.
      * Not supported for transfers with PosixFilesystem data sources; use
      * [enable_onprem_gcs_transfer_logs][google.storagetransfer.v1.LoggingConfig.enable_onprem_gcs_transfer_logs] instead.
      * 
* - * repeated .google.storagetransfer.v1.LoggingConfig.LoggableActionState log_action_states = 2; + * + * repeated .google.storagetransfer.v1.LoggingConfig.LoggableActionState log_action_states = 2; + * + * * @return The count of logActionStates. */ int getLogActionStatesCount(); /** + * + * *
      * States in which `log_actions` are logged. If empty, no logs are generated.
      * Not supported for transfers with PosixFilesystem data sources; use
      * [enable_onprem_gcs_transfer_logs][google.storagetransfer.v1.LoggingConfig.enable_onprem_gcs_transfer_logs] instead.
      * 
* - * repeated .google.storagetransfer.v1.LoggingConfig.LoggableActionState log_action_states = 2; + * + * repeated .google.storagetransfer.v1.LoggingConfig.LoggableActionState log_action_states = 2; + * + * * @param index The index of the element to return. * @return The logActionStates at the given index. */ - com.google.storagetransfer.v1.proto.TransferTypes.LoggingConfig.LoggableActionState getLogActionStates(int index); + com.google.storagetransfer.v1.proto.TransferTypes.LoggingConfig.LoggableActionState + getLogActionStates(int index); /** + * + * *
      * States in which `log_actions` are logged. If empty, no logs are generated.
      * Not supported for transfers with PosixFilesystem data sources; use
      * [enable_onprem_gcs_transfer_logs][google.storagetransfer.v1.LoggingConfig.enable_onprem_gcs_transfer_logs] instead.
      * 
* - * repeated .google.storagetransfer.v1.LoggingConfig.LoggableActionState log_action_states = 2; + * + * repeated .google.storagetransfer.v1.LoggingConfig.LoggableActionState log_action_states = 2; + * + * * @return A list containing the enum numeric values on the wire for logActionStates. */ - java.util.List - getLogActionStatesValueList(); + java.util.List getLogActionStatesValueList(); /** + * + * *
      * States in which `log_actions` are logged. If empty, no logs are generated.
      * Not supported for transfers with PosixFilesystem data sources; use
      * [enable_onprem_gcs_transfer_logs][google.storagetransfer.v1.LoggingConfig.enable_onprem_gcs_transfer_logs] instead.
      * 
* - * repeated .google.storagetransfer.v1.LoggingConfig.LoggableActionState log_action_states = 2; + * + * repeated .google.storagetransfer.v1.LoggingConfig.LoggableActionState log_action_states = 2; + * + * * @param index The index of the value to return. * @return The enum numeric value on the wire of logActionStates at the given index. */ int getLogActionStatesValue(int index); /** + * + * *
      * For transfers with a PosixFilesystem source, this option enables the Cloud
      * Storage transfer logs for this transfer.
      * 
* * bool enable_onprem_gcs_transfer_logs = 3; + * * @return The enableOnpremGcsTransferLogs. */ boolean getEnableOnpremGcsTransferLogs(); } /** + * + * *
    * Specifies the logging behavior for transfer operations.
    * For cloud-to-cloud transfers, logs are sent to Cloud Logging. See
@@ -37372,15 +42850,16 @@ public interface LoggingConfigOrBuilder extends
    *
    * Protobuf type {@code google.storagetransfer.v1.LoggingConfig}
    */
-  public static final class LoggingConfig extends
-      com.google.protobuf.GeneratedMessageV3 implements
+  public static final class LoggingConfig extends com.google.protobuf.GeneratedMessageV3
+      implements
       // @@protoc_insertion_point(message_implements:google.storagetransfer.v1.LoggingConfig)
       LoggingConfigOrBuilder {
-  private static final long serialVersionUID = 0L;
+    private static final long serialVersionUID = 0L;
     // Use LoggingConfig.newBuilder() to construct.
     private LoggingConfig(com.google.protobuf.GeneratedMessageV3.Builder builder) {
       super(builder);
     }
+
     private LoggingConfig() {
       logActions_ = java.util.Collections.emptyList();
       logActionStates_ = java.util.Collections.emptyList();
@@ -37388,16 +42867,15 @@ private LoggingConfig() {
 
     @java.lang.Override
     @SuppressWarnings({"unused"})
-    protected java.lang.Object newInstance(
-        UnusedPrivateParameter unused) {
+    protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
       return new LoggingConfig();
     }
 
     @java.lang.Override
-    public final com.google.protobuf.UnknownFieldSet
-    getUnknownFields() {
+    public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
       return this.unknownFields;
     }
+
     private LoggingConfig(
         com.google.protobuf.CodedInputStream input,
         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -37417,64 +42895,68 @@ private LoggingConfig(
             case 0:
               done = true;
               break;
-            case 8: {
-              int rawValue = input.readEnum();
-              if (!((mutable_bitField0_ & 0x00000001) != 0)) {
-                logActions_ = new java.util.ArrayList();
-                mutable_bitField0_ |= 0x00000001;
-              }
-              logActions_.add(rawValue);
-              break;
-            }
-            case 10: {
-              int length = input.readRawVarint32();
-              int oldLimit = input.pushLimit(length);
-              while(input.getBytesUntilLimit() > 0) {
+            case 8:
+              {
                 int rawValue = input.readEnum();
                 if (!((mutable_bitField0_ & 0x00000001) != 0)) {
                   logActions_ = new java.util.ArrayList();
                   mutable_bitField0_ |= 0x00000001;
                 }
                 logActions_.add(rawValue);
+                break;
               }
-              input.popLimit(oldLimit);
-              break;
-            }
-            case 16: {
-              int rawValue = input.readEnum();
-              if (!((mutable_bitField0_ & 0x00000002) != 0)) {
-                logActionStates_ = new java.util.ArrayList();
-                mutable_bitField0_ |= 0x00000002;
+            case 10:
+              {
+                int length = input.readRawVarint32();
+                int oldLimit = input.pushLimit(length);
+                while (input.getBytesUntilLimit() > 0) {
+                  int rawValue = input.readEnum();
+                  if (!((mutable_bitField0_ & 0x00000001) != 0)) {
+                    logActions_ = new java.util.ArrayList();
+                    mutable_bitField0_ |= 0x00000001;
+                  }
+                  logActions_.add(rawValue);
+                }
+                input.popLimit(oldLimit);
+                break;
               }
-              logActionStates_.add(rawValue);
-              break;
-            }
-            case 18: {
-              int length = input.readRawVarint32();
-              int oldLimit = input.pushLimit(length);
-              while(input.getBytesUntilLimit() > 0) {
+            case 16:
+              {
                 int rawValue = input.readEnum();
                 if (!((mutable_bitField0_ & 0x00000002) != 0)) {
                   logActionStates_ = new java.util.ArrayList();
                   mutable_bitField0_ |= 0x00000002;
                 }
                 logActionStates_.add(rawValue);
+                break;
               }
-              input.popLimit(oldLimit);
-              break;
-            }
-            case 24: {
-
-              enableOnpremGcsTransferLogs_ = input.readBool();
-              break;
-            }
-            default: {
-              if (!parseUnknownField(
-                  input, unknownFields, extensionRegistry, tag)) {
-                done = true;
+            case 18:
+              {
+                int length = input.readRawVarint32();
+                int oldLimit = input.pushLimit(length);
+                while (input.getBytesUntilLimit() > 0) {
+                  int rawValue = input.readEnum();
+                  if (!((mutable_bitField0_ & 0x00000002) != 0)) {
+                    logActionStates_ = new java.util.ArrayList();
+                    mutable_bitField0_ |= 0x00000002;
+                  }
+                  logActionStates_.add(rawValue);
+                }
+                input.popLimit(oldLimit);
+                break;
+              }
+            case 24:
+              {
+                enableOnpremGcsTransferLogs_ = input.readBool();
+                break;
+              }
+            default:
+              {
+                if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
+                  done = true;
+                }
+                break;
               }
-              break;
-            }
           }
         }
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -37482,8 +42964,7 @@ private LoggingConfig(
       } catch (com.google.protobuf.UninitializedMessageException e) {
         throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
       } catch (java.io.IOException e) {
-        throw new com.google.protobuf.InvalidProtocolBufferException(
-            e).setUnfinishedMessage(this);
+        throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
       } finally {
         if (((mutable_bitField0_ & 0x00000001) != 0)) {
           logActions_ = java.util.Collections.unmodifiableList(logActions_);
@@ -37495,29 +42976,35 @@ private LoggingConfig(
         makeExtensionsImmutable();
       }
     }
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.storagetransfer.v1.proto.TransferTypes.internal_static_google_storagetransfer_v1_LoggingConfig_descriptor;
+
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.storagetransfer.v1.proto.TransferTypes
+          .internal_static_google_storagetransfer_v1_LoggingConfig_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.storagetransfer.v1.proto.TransferTypes.internal_static_google_storagetransfer_v1_LoggingConfig_fieldAccessorTable
+      return com.google.storagetransfer.v1.proto.TransferTypes
+          .internal_static_google_storagetransfer_v1_LoggingConfig_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.storagetransfer.v1.proto.TransferTypes.LoggingConfig.class, com.google.storagetransfer.v1.proto.TransferTypes.LoggingConfig.Builder.class);
+              com.google.storagetransfer.v1.proto.TransferTypes.LoggingConfig.class,
+              com.google.storagetransfer.v1.proto.TransferTypes.LoggingConfig.Builder.class);
     }
 
     /**
+     *
+     *
      * 
      * Loggable actions.
      * 
* * Protobuf enum {@code google.storagetransfer.v1.LoggingConfig.LoggableAction} */ - public enum LoggableAction - implements com.google.protobuf.ProtocolMessageEnum { + public enum LoggableAction implements com.google.protobuf.ProtocolMessageEnum { /** + * + * *
        * Default value. This value is unused.
        * 
@@ -37526,6 +43013,8 @@ public enum LoggableAction */ LOGGABLE_ACTION_UNSPECIFIED(0), /** + * + * *
        * Listing objects in a bucket.
        * 
@@ -37534,6 +43023,8 @@ public enum LoggableAction */ FIND(1), /** + * + * *
        * Deleting objects at the source or the destination.
        * 
@@ -37542,6 +43033,8 @@ public enum LoggableAction */ DELETE(2), /** + * + * *
        * Copying objects to Google Cloud Storage.
        * 
@@ -37553,6 +43046,8 @@ public enum LoggableAction ; /** + * + * *
        * Default value. This value is unused.
        * 
@@ -37561,6 +43056,8 @@ public enum LoggableAction */ public static final int LOGGABLE_ACTION_UNSPECIFIED_VALUE = 0; /** + * + * *
        * Listing objects in a bucket.
        * 
@@ -37569,6 +43066,8 @@ public enum LoggableAction */ public static final int FIND_VALUE = 1; /** + * + * *
        * Deleting objects at the source or the destination.
        * 
@@ -37577,6 +43076,8 @@ public enum LoggableAction */ public static final int DELETE_VALUE = 2; /** + * + * *
        * Copying objects to Google Cloud Storage.
        * 
@@ -37585,7 +43086,6 @@ public enum LoggableAction */ public static final int COPY_VALUE = 3; - public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -37610,41 +43110,47 @@ public static LoggableAction valueOf(int value) { */ public static LoggableAction forNumber(int value) { switch (value) { - case 0: return LOGGABLE_ACTION_UNSPECIFIED; - case 1: return FIND; - case 2: return DELETE; - case 3: return COPY; - default: return null; + case 0: + return LOGGABLE_ACTION_UNSPECIFIED; + case 1: + return FIND; + case 2: + return DELETE; + case 3: + return COPY; + default: + return null; } } - public static com.google.protobuf.Internal.EnumLiteMap - internalGetValueMap() { + public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() { return internalValueMap; } - private static final com.google.protobuf.Internal.EnumLiteMap< - LoggableAction> internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public LoggableAction findValueByNumber(int number) { - return LoggableAction.forNumber(number); - } - }; - public final com.google.protobuf.Descriptors.EnumValueDescriptor - getValueDescriptor() { + private static final com.google.protobuf.Internal.EnumLiteMap + internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap() { + public LoggableAction findValueByNumber(int number) { + return LoggableAction.forNumber(number); + } + }; + + public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalStateException( "Can't get the descriptor of an unrecognized enum value."); } return getDescriptor().getValues().get(ordinal()); } - public final com.google.protobuf.Descriptors.EnumDescriptor - getDescriptorForType() { + + public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() { return getDescriptor(); } - public static final com.google.protobuf.Descriptors.EnumDescriptor - getDescriptor() { - return com.google.storagetransfer.v1.proto.TransferTypes.LoggingConfig.getDescriptor().getEnumTypes().get(0); + + public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { + return com.google.storagetransfer.v1.proto.TransferTypes.LoggingConfig.getDescriptor() + .getEnumTypes() + .get(0); } private static final LoggableAction[] VALUES = values(); @@ -37652,8 +43158,7 @@ public LoggableAction findValueByNumber(int number) { public static LoggableAction valueOf( com.google.protobuf.Descriptors.EnumValueDescriptor desc) { if (desc.getType() != getDescriptor()) { - throw new java.lang.IllegalArgumentException( - "EnumValueDescriptor is not for this type."); + throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type."); } if (desc.getIndex() == -1) { return UNRECOGNIZED; @@ -37671,15 +43176,18 @@ private LoggableAction(int value) { } /** + * + * *
      * Loggable action states.
      * 
* * Protobuf enum {@code google.storagetransfer.v1.LoggingConfig.LoggableActionState} */ - public enum LoggableActionState - implements com.google.protobuf.ProtocolMessageEnum { + public enum LoggableActionState implements com.google.protobuf.ProtocolMessageEnum { /** + * + * *
        * Default value. This value is unused.
        * 
@@ -37688,6 +43196,8 @@ public enum LoggableActionState */ LOGGABLE_ACTION_STATE_UNSPECIFIED(0), /** + * + * *
        * `LoggableAction` completed successfully. `SUCCEEDED` actions are
        * logged as [INFO][google.logging.type.LogSeverity.INFO].
@@ -37697,6 +43207,8 @@ public enum LoggableActionState
        */
       SUCCEEDED(1),
       /**
+       *
+       *
        * 
        * `LoggableAction` terminated in an error state. `FAILED` actions are
        * logged as [ERROR][google.logging.type.LogSeverity.ERROR].
@@ -37709,6 +43221,8 @@ public enum LoggableActionState
       ;
 
       /**
+       *
+       *
        * 
        * Default value. This value is unused.
        * 
@@ -37717,6 +43231,8 @@ public enum LoggableActionState */ public static final int LOGGABLE_ACTION_STATE_UNSPECIFIED_VALUE = 0; /** + * + * *
        * `LoggableAction` completed successfully. `SUCCEEDED` actions are
        * logged as [INFO][google.logging.type.LogSeverity.INFO].
@@ -37726,6 +43242,8 @@ public enum LoggableActionState
        */
       public static final int SUCCEEDED_VALUE = 1;
       /**
+       *
+       *
        * 
        * `LoggableAction` terminated in an error state. `FAILED` actions are
        * logged as [ERROR][google.logging.type.LogSeverity.ERROR].
@@ -37735,7 +43253,6 @@ public enum LoggableActionState
        */
       public static final int FAILED_VALUE = 2;
 
-
       public final int getNumber() {
         if (this == UNRECOGNIZED) {
           throw new java.lang.IllegalArgumentException(
@@ -37760,10 +43277,14 @@ public static LoggableActionState valueOf(int value) {
        */
       public static LoggableActionState forNumber(int value) {
         switch (value) {
-          case 0: return LOGGABLE_ACTION_STATE_UNSPECIFIED;
-          case 1: return SUCCEEDED;
-          case 2: return FAILED;
-          default: return null;
+          case 0:
+            return LOGGABLE_ACTION_STATE_UNSPECIFIED;
+          case 1:
+            return SUCCEEDED;
+          case 2:
+            return FAILED;
+          default:
+            return null;
         }
       }
 
@@ -37771,29 +43292,31 @@ public static LoggableActionState forNumber(int value) {
           internalGetValueMap() {
         return internalValueMap;
       }
-      private static final com.google.protobuf.Internal.EnumLiteMap<
-          LoggableActionState> internalValueMap =
-            new com.google.protobuf.Internal.EnumLiteMap() {
-              public LoggableActionState findValueByNumber(int number) {
-                return LoggableActionState.forNumber(number);
-              }
-            };
 
-      public final com.google.protobuf.Descriptors.EnumValueDescriptor
-          getValueDescriptor() {
+      private static final com.google.protobuf.Internal.EnumLiteMap
+          internalValueMap =
+              new com.google.protobuf.Internal.EnumLiteMap() {
+                public LoggableActionState findValueByNumber(int number) {
+                  return LoggableActionState.forNumber(number);
+                }
+              };
+
+      public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() {
         if (this == UNRECOGNIZED) {
           throw new java.lang.IllegalStateException(
               "Can't get the descriptor of an unrecognized enum value.");
         }
         return getDescriptor().getValues().get(ordinal());
       }
-      public final com.google.protobuf.Descriptors.EnumDescriptor
-          getDescriptorForType() {
+
+      public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() {
         return getDescriptor();
       }
-      public static final com.google.protobuf.Descriptors.EnumDescriptor
-          getDescriptor() {
-        return com.google.storagetransfer.v1.proto.TransferTypes.LoggingConfig.getDescriptor().getEnumTypes().get(1);
+
+      public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() {
+        return com.google.storagetransfer.v1.proto.TransferTypes.LoggingConfig.getDescriptor()
+            .getEnumTypes()
+            .get(1);
       }
 
       private static final LoggableActionState[] VALUES = values();
@@ -37801,8 +43324,7 @@ public LoggableActionState findValueByNumber(int number) {
       public static LoggableActionState valueOf(
           com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
         if (desc.getType() != getDescriptor()) {
-          throw new java.lang.IllegalArgumentException(
-            "EnumValueDescriptor is not for this type.");
+          throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type.");
         }
         if (desc.getIndex() == -1) {
           return UNRECOGNIZED;
@@ -37822,38 +43344,60 @@ private LoggableActionState(int value) {
     public static final int LOG_ACTIONS_FIELD_NUMBER = 1;
     private java.util.List logActions_;
     private static final com.google.protobuf.Internal.ListAdapter.Converter<
-        java.lang.Integer, com.google.storagetransfer.v1.proto.TransferTypes.LoggingConfig.LoggableAction> logActions_converter_ =
+            java.lang.Integer,
+            com.google.storagetransfer.v1.proto.TransferTypes.LoggingConfig.LoggableAction>
+        logActions_converter_ =
             new com.google.protobuf.Internal.ListAdapter.Converter<
-                java.lang.Integer, com.google.storagetransfer.v1.proto.TransferTypes.LoggingConfig.LoggableAction>() {
-              public com.google.storagetransfer.v1.proto.TransferTypes.LoggingConfig.LoggableAction convert(java.lang.Integer from) {
+                java.lang.Integer,
+                com.google.storagetransfer.v1.proto.TransferTypes.LoggingConfig.LoggableAction>() {
+              public com.google.storagetransfer.v1.proto.TransferTypes.LoggingConfig.LoggableAction
+                  convert(java.lang.Integer from) {
                 @SuppressWarnings("deprecation")
-                com.google.storagetransfer.v1.proto.TransferTypes.LoggingConfig.LoggableAction result = com.google.storagetransfer.v1.proto.TransferTypes.LoggingConfig.LoggableAction.valueOf(from);
-                return result == null ? com.google.storagetransfer.v1.proto.TransferTypes.LoggingConfig.LoggableAction.UNRECOGNIZED : result;
+                com.google.storagetransfer.v1.proto.TransferTypes.LoggingConfig.LoggableAction
+                    result =
+                        com.google.storagetransfer.v1.proto.TransferTypes.LoggingConfig
+                            .LoggableAction.valueOf(from);
+                return result == null
+                    ? com.google.storagetransfer.v1.proto.TransferTypes.LoggingConfig.LoggableAction
+                        .UNRECOGNIZED
+                    : result;
               }
             };
     /**
+     *
+     *
      * 
      * Specifies the actions to be logged. If empty, no logs are generated.
      * Not supported for transfers with PosixFilesystem data sources; use
      * [enable_onprem_gcs_transfer_logs][google.storagetransfer.v1.LoggingConfig.enable_onprem_gcs_transfer_logs] instead.
      * 
* - * repeated .google.storagetransfer.v1.LoggingConfig.LoggableAction log_actions = 1; + * repeated .google.storagetransfer.v1.LoggingConfig.LoggableAction log_actions = 1; + * + * * @return A list containing the logActions. */ @java.lang.Override - public java.util.List getLogActionsList() { + public java.util.List< + com.google.storagetransfer.v1.proto.TransferTypes.LoggingConfig.LoggableAction> + getLogActionsList() { return new com.google.protobuf.Internal.ListAdapter< - java.lang.Integer, com.google.storagetransfer.v1.proto.TransferTypes.LoggingConfig.LoggableAction>(logActions_, logActions_converter_); + java.lang.Integer, + com.google.storagetransfer.v1.proto.TransferTypes.LoggingConfig.LoggableAction>( + logActions_, logActions_converter_); } /** + * + * *
      * Specifies the actions to be logged. If empty, no logs are generated.
      * Not supported for transfers with PosixFilesystem data sources; use
      * [enable_onprem_gcs_transfer_logs][google.storagetransfer.v1.LoggingConfig.enable_onprem_gcs_transfer_logs] instead.
      * 
* - * repeated .google.storagetransfer.v1.LoggingConfig.LoggableAction log_actions = 1; + * repeated .google.storagetransfer.v1.LoggingConfig.LoggableAction log_actions = 1; + * + * * @return The count of logActions. */ @java.lang.Override @@ -37861,43 +43405,55 @@ public int getLogActionsCount() { return logActions_.size(); } /** + * + * *
      * Specifies the actions to be logged. If empty, no logs are generated.
      * Not supported for transfers with PosixFilesystem data sources; use
      * [enable_onprem_gcs_transfer_logs][google.storagetransfer.v1.LoggingConfig.enable_onprem_gcs_transfer_logs] instead.
      * 
* - * repeated .google.storagetransfer.v1.LoggingConfig.LoggableAction log_actions = 1; + * repeated .google.storagetransfer.v1.LoggingConfig.LoggableAction log_actions = 1; + * + * * @param index The index of the element to return. * @return The logActions at the given index. */ @java.lang.Override - public com.google.storagetransfer.v1.proto.TransferTypes.LoggingConfig.LoggableAction getLogActions(int index) { + public com.google.storagetransfer.v1.proto.TransferTypes.LoggingConfig.LoggableAction + getLogActions(int index) { return logActions_converter_.convert(logActions_.get(index)); } /** + * + * *
      * Specifies the actions to be logged. If empty, no logs are generated.
      * Not supported for transfers with PosixFilesystem data sources; use
      * [enable_onprem_gcs_transfer_logs][google.storagetransfer.v1.LoggingConfig.enable_onprem_gcs_transfer_logs] instead.
      * 
* - * repeated .google.storagetransfer.v1.LoggingConfig.LoggableAction log_actions = 1; + * repeated .google.storagetransfer.v1.LoggingConfig.LoggableAction log_actions = 1; + * + * * @return A list containing the enum numeric values on the wire for logActions. */ @java.lang.Override - public java.util.List - getLogActionsValueList() { + public java.util.List getLogActionsValueList() { return logActions_; } /** + * + * *
      * Specifies the actions to be logged. If empty, no logs are generated.
      * Not supported for transfers with PosixFilesystem data sources; use
      * [enable_onprem_gcs_transfer_logs][google.storagetransfer.v1.LoggingConfig.enable_onprem_gcs_transfer_logs] instead.
      * 
* - * repeated .google.storagetransfer.v1.LoggingConfig.LoggableAction log_actions = 1; + * repeated .google.storagetransfer.v1.LoggingConfig.LoggableAction log_actions = 1; + * + * * @param index The index of the value to return. * @return The enum numeric value on the wire of logActions at the given index. */ @@ -37905,43 +43461,70 @@ public com.google.storagetransfer.v1.proto.TransferTypes.LoggingConfig.LoggableA public int getLogActionsValue(int index) { return logActions_.get(index); } + private int logActionsMemoizedSerializedSize; public static final int LOG_ACTION_STATES_FIELD_NUMBER = 2; private java.util.List logActionStates_; private static final com.google.protobuf.Internal.ListAdapter.Converter< - java.lang.Integer, com.google.storagetransfer.v1.proto.TransferTypes.LoggingConfig.LoggableActionState> logActionStates_converter_ = + java.lang.Integer, + com.google.storagetransfer.v1.proto.TransferTypes.LoggingConfig.LoggableActionState> + logActionStates_converter_ = new com.google.protobuf.Internal.ListAdapter.Converter< - java.lang.Integer, com.google.storagetransfer.v1.proto.TransferTypes.LoggingConfig.LoggableActionState>() { - public com.google.storagetransfer.v1.proto.TransferTypes.LoggingConfig.LoggableActionState convert(java.lang.Integer from) { + java.lang.Integer, + com.google.storagetransfer.v1.proto.TransferTypes.LoggingConfig + .LoggableActionState>() { + public com.google.storagetransfer.v1.proto.TransferTypes.LoggingConfig + .LoggableActionState + convert(java.lang.Integer from) { @SuppressWarnings("deprecation") - com.google.storagetransfer.v1.proto.TransferTypes.LoggingConfig.LoggableActionState result = com.google.storagetransfer.v1.proto.TransferTypes.LoggingConfig.LoggableActionState.valueOf(from); - return result == null ? com.google.storagetransfer.v1.proto.TransferTypes.LoggingConfig.LoggableActionState.UNRECOGNIZED : result; + com.google.storagetransfer.v1.proto.TransferTypes.LoggingConfig.LoggableActionState + result = + com.google.storagetransfer.v1.proto.TransferTypes.LoggingConfig + .LoggableActionState.valueOf(from); + return result == null + ? com.google.storagetransfer.v1.proto.TransferTypes.LoggingConfig + .LoggableActionState.UNRECOGNIZED + : result; } }; /** + * + * *
      * States in which `log_actions` are logged. If empty, no logs are generated.
      * Not supported for transfers with PosixFilesystem data sources; use
      * [enable_onprem_gcs_transfer_logs][google.storagetransfer.v1.LoggingConfig.enable_onprem_gcs_transfer_logs] instead.
      * 
* - * repeated .google.storagetransfer.v1.LoggingConfig.LoggableActionState log_action_states = 2; + * + * repeated .google.storagetransfer.v1.LoggingConfig.LoggableActionState log_action_states = 2; + * + * * @return A list containing the logActionStates. */ @java.lang.Override - public java.util.List getLogActionStatesList() { + public java.util.List< + com.google.storagetransfer.v1.proto.TransferTypes.LoggingConfig.LoggableActionState> + getLogActionStatesList() { return new com.google.protobuf.Internal.ListAdapter< - java.lang.Integer, com.google.storagetransfer.v1.proto.TransferTypes.LoggingConfig.LoggableActionState>(logActionStates_, logActionStates_converter_); + java.lang.Integer, + com.google.storagetransfer.v1.proto.TransferTypes.LoggingConfig.LoggableActionState>( + logActionStates_, logActionStates_converter_); } /** + * + * *
      * States in which `log_actions` are logged. If empty, no logs are generated.
      * Not supported for transfers with PosixFilesystem data sources; use
      * [enable_onprem_gcs_transfer_logs][google.storagetransfer.v1.LoggingConfig.enable_onprem_gcs_transfer_logs] instead.
      * 
* - * repeated .google.storagetransfer.v1.LoggingConfig.LoggableActionState log_action_states = 2; + * + * repeated .google.storagetransfer.v1.LoggingConfig.LoggableActionState log_action_states = 2; + * + * * @return The count of logActionStates. */ @java.lang.Override @@ -37949,43 +43532,58 @@ public int getLogActionStatesCount() { return logActionStates_.size(); } /** + * + * *
      * States in which `log_actions` are logged. If empty, no logs are generated.
      * Not supported for transfers with PosixFilesystem data sources; use
      * [enable_onprem_gcs_transfer_logs][google.storagetransfer.v1.LoggingConfig.enable_onprem_gcs_transfer_logs] instead.
      * 
* - * repeated .google.storagetransfer.v1.LoggingConfig.LoggableActionState log_action_states = 2; + * + * repeated .google.storagetransfer.v1.LoggingConfig.LoggableActionState log_action_states = 2; + * + * * @param index The index of the element to return. * @return The logActionStates at the given index. */ @java.lang.Override - public com.google.storagetransfer.v1.proto.TransferTypes.LoggingConfig.LoggableActionState getLogActionStates(int index) { + public com.google.storagetransfer.v1.proto.TransferTypes.LoggingConfig.LoggableActionState + getLogActionStates(int index) { return logActionStates_converter_.convert(logActionStates_.get(index)); } /** + * + * *
      * States in which `log_actions` are logged. If empty, no logs are generated.
      * Not supported for transfers with PosixFilesystem data sources; use
      * [enable_onprem_gcs_transfer_logs][google.storagetransfer.v1.LoggingConfig.enable_onprem_gcs_transfer_logs] instead.
      * 
* - * repeated .google.storagetransfer.v1.LoggingConfig.LoggableActionState log_action_states = 2; + * + * repeated .google.storagetransfer.v1.LoggingConfig.LoggableActionState log_action_states = 2; + * + * * @return A list containing the enum numeric values on the wire for logActionStates. */ @java.lang.Override - public java.util.List - getLogActionStatesValueList() { + public java.util.List getLogActionStatesValueList() { return logActionStates_; } /** + * + * *
      * States in which `log_actions` are logged. If empty, no logs are generated.
      * Not supported for transfers with PosixFilesystem data sources; use
      * [enable_onprem_gcs_transfer_logs][google.storagetransfer.v1.LoggingConfig.enable_onprem_gcs_transfer_logs] instead.
      * 
* - * repeated .google.storagetransfer.v1.LoggingConfig.LoggableActionState log_action_states = 2; + * + * repeated .google.storagetransfer.v1.LoggingConfig.LoggableActionState log_action_states = 2; + * + * * @param index The index of the value to return. * @return The enum numeric value on the wire of logActionStates at the given index. */ @@ -37993,17 +43591,21 @@ public com.google.storagetransfer.v1.proto.TransferTypes.LoggingConfig.LoggableA public int getLogActionStatesValue(int index) { return logActionStates_.get(index); } + private int logActionStatesMemoizedSerializedSize; public static final int ENABLE_ONPREM_GCS_TRANSFER_LOGS_FIELD_NUMBER = 3; private boolean enableOnpremGcsTransferLogs_; /** + * + * *
      * For transfers with a PosixFilesystem source, this option enables the Cloud
      * Storage transfer logs for this transfer.
      * 
* * bool enable_onprem_gcs_transfer_logs = 3; + * * @return The enableOnpremGcsTransferLogs. */ @java.lang.Override @@ -38012,6 +43614,7 @@ public boolean getEnableOnpremGcsTransferLogs() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -38023,8 +43626,7 @@ 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 { getSerializedSize(); if (getLogActionsList().size() > 0) { output.writeUInt32NoTag(10); @@ -38055,30 +43657,32 @@ public int getSerializedSize() { { int dataSize = 0; for (int i = 0; i < logActions_.size(); i++) { - dataSize += com.google.protobuf.CodedOutputStream - .computeEnumSizeNoTag(logActions_.get(i)); + dataSize += + com.google.protobuf.CodedOutputStream.computeEnumSizeNoTag(logActions_.get(i)); } size += dataSize; - if (!getLogActionsList().isEmpty()) { size += 1; - size += com.google.protobuf.CodedOutputStream - .computeUInt32SizeNoTag(dataSize); - }logActionsMemoizedSerializedSize = dataSize; + if (!getLogActionsList().isEmpty()) { + size += 1; + size += com.google.protobuf.CodedOutputStream.computeUInt32SizeNoTag(dataSize); + } + logActionsMemoizedSerializedSize = dataSize; } { int dataSize = 0; for (int i = 0; i < logActionStates_.size(); i++) { - dataSize += com.google.protobuf.CodedOutputStream - .computeEnumSizeNoTag(logActionStates_.get(i)); + dataSize += + com.google.protobuf.CodedOutputStream.computeEnumSizeNoTag(logActionStates_.get(i)); } size += dataSize; - if (!getLogActionStatesList().isEmpty()) { size += 1; - size += com.google.protobuf.CodedOutputStream - .computeUInt32SizeNoTag(dataSize); - }logActionStatesMemoizedSerializedSize = dataSize; + if (!getLogActionStatesList().isEmpty()) { + size += 1; + size += com.google.protobuf.CodedOutputStream.computeUInt32SizeNoTag(dataSize); + } + logActionStatesMemoizedSerializedSize = dataSize; } if (enableOnpremGcsTransferLogs_ != false) { - size += com.google.protobuf.CodedOutputStream - .computeBoolSize(3, enableOnpremGcsTransferLogs_); + size += + com.google.protobuf.CodedOutputStream.computeBoolSize(3, enableOnpremGcsTransferLogs_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -38088,17 +43692,17 @@ 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.storagetransfer.v1.proto.TransferTypes.LoggingConfig)) { return super.equals(obj); } - com.google.storagetransfer.v1.proto.TransferTypes.LoggingConfig other = (com.google.storagetransfer.v1.proto.TransferTypes.LoggingConfig) obj; + com.google.storagetransfer.v1.proto.TransferTypes.LoggingConfig other = + (com.google.storagetransfer.v1.proto.TransferTypes.LoggingConfig) obj; if (!logActions_.equals(other.logActions_)) return false; if (!logActionStates_.equals(other.logActionStates_)) return false; - if (getEnableOnpremGcsTransferLogs() - != other.getEnableOnpremGcsTransferLogs()) return false; + if (getEnableOnpremGcsTransferLogs() != other.getEnableOnpremGcsTransferLogs()) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -38119,95 +43723,103 @@ public int hashCode() { hash = (53 * hash) + logActionStates_.hashCode(); } hash = (37 * hash) + ENABLE_ONPREM_GCS_TRANSFER_LOGS_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( - getEnableOnpremGcsTransferLogs()); + hash = + (53 * hash) + com.google.protobuf.Internal.hashBoolean(getEnableOnpremGcsTransferLogs()); hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static com.google.storagetransfer.v1.proto.TransferTypes.LoggingConfig parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.storagetransfer.v1.proto.TransferTypes.LoggingConfig 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.storagetransfer.v1.proto.TransferTypes.LoggingConfig parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.storagetransfer.v1.proto.TransferTypes.LoggingConfig 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.storagetransfer.v1.proto.TransferTypes.LoggingConfig parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.storagetransfer.v1.proto.TransferTypes.LoggingConfig parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.storagetransfer.v1.proto.TransferTypes.LoggingConfig 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.storagetransfer.v1.proto.TransferTypes.LoggingConfig parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.storagetransfer.v1.proto.TransferTypes.LoggingConfig parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.storagetransfer.v1.proto.TransferTypes.LoggingConfig 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.storagetransfer.v1.proto.TransferTypes.LoggingConfig parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.storagetransfer.v1.proto.TransferTypes.LoggingConfig + parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } - public static com.google.storagetransfer.v1.proto.TransferTypes.LoggingConfig parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + + public static com.google.storagetransfer.v1.proto.TransferTypes.LoggingConfig + parseDelimitedFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.storagetransfer.v1.proto.TransferTypes.LoggingConfig 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.storagetransfer.v1.proto.TransferTypes.LoggingConfig 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.storagetransfer.v1.proto.TransferTypes.LoggingConfig prototype) { + + public static Builder newBuilder( + com.google.storagetransfer.v1.proto.TransferTypes.LoggingConfig 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 @@ -38217,6 +43829,8 @@ protected Builder newBuilderForType( return builder; } /** + * + * *
      * Specifies the logging behavior for transfer operations.
      * For cloud-to-cloud transfers, logs are sent to Cloud Logging. See
@@ -38232,38 +43846,41 @@ protected Builder newBuilderForType(
      *
      * Protobuf type {@code google.storagetransfer.v1.LoggingConfig}
      */
-    public static final class Builder extends
-        com.google.protobuf.GeneratedMessageV3.Builder implements
+    public static final class Builder
+        extends com.google.protobuf.GeneratedMessageV3.Builder
+        implements
         // @@protoc_insertion_point(builder_implements:google.storagetransfer.v1.LoggingConfig)
         com.google.storagetransfer.v1.proto.TransferTypes.LoggingConfigOrBuilder {
-      public static final com.google.protobuf.Descriptors.Descriptor
-          getDescriptor() {
-        return com.google.storagetransfer.v1.proto.TransferTypes.internal_static_google_storagetransfer_v1_LoggingConfig_descriptor;
+      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+        return com.google.storagetransfer.v1.proto.TransferTypes
+            .internal_static_google_storagetransfer_v1_LoggingConfig_descriptor;
       }
 
       @java.lang.Override
       protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
           internalGetFieldAccessorTable() {
-        return com.google.storagetransfer.v1.proto.TransferTypes.internal_static_google_storagetransfer_v1_LoggingConfig_fieldAccessorTable
+        return com.google.storagetransfer.v1.proto.TransferTypes
+            .internal_static_google_storagetransfer_v1_LoggingConfig_fieldAccessorTable
             .ensureFieldAccessorsInitialized(
-                com.google.storagetransfer.v1.proto.TransferTypes.LoggingConfig.class, com.google.storagetransfer.v1.proto.TransferTypes.LoggingConfig.Builder.class);
+                com.google.storagetransfer.v1.proto.TransferTypes.LoggingConfig.class,
+                com.google.storagetransfer.v1.proto.TransferTypes.LoggingConfig.Builder.class);
       }
 
-      // Construct using com.google.storagetransfer.v1.proto.TransferTypes.LoggingConfig.newBuilder()
+      // Construct using
+      // com.google.storagetransfer.v1.proto.TransferTypes.LoggingConfig.newBuilder()
       private Builder() {
         maybeForceBuilderInitialization();
       }
 
-      private Builder(
-          com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+      private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
         super(parent);
         maybeForceBuilderInitialization();
       }
+
       private void maybeForceBuilderInitialization() {
-        if (com.google.protobuf.GeneratedMessageV3
-                .alwaysUseFieldBuilders) {
-        }
+        if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {}
       }
+
       @java.lang.Override
       public Builder clear() {
         super.clear();
@@ -38277,13 +43894,14 @@ public Builder clear() {
       }
 
       @java.lang.Override
-      public com.google.protobuf.Descriptors.Descriptor
-          getDescriptorForType() {
-        return com.google.storagetransfer.v1.proto.TransferTypes.internal_static_google_storagetransfer_v1_LoggingConfig_descriptor;
+      public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+        return com.google.storagetransfer.v1.proto.TransferTypes
+            .internal_static_google_storagetransfer_v1_LoggingConfig_descriptor;
       }
 
       @java.lang.Override
-      public com.google.storagetransfer.v1.proto.TransferTypes.LoggingConfig getDefaultInstanceForType() {
+      public com.google.storagetransfer.v1.proto.TransferTypes.LoggingConfig
+          getDefaultInstanceForType() {
         return com.google.storagetransfer.v1.proto.TransferTypes.LoggingConfig.getDefaultInstance();
       }
 
@@ -38298,7 +43916,8 @@ public com.google.storagetransfer.v1.proto.TransferTypes.LoggingConfig build() {
 
       @java.lang.Override
       public com.google.storagetransfer.v1.proto.TransferTypes.LoggingConfig buildPartial() {
-        com.google.storagetransfer.v1.proto.TransferTypes.LoggingConfig result = new com.google.storagetransfer.v1.proto.TransferTypes.LoggingConfig(this);
+        com.google.storagetransfer.v1.proto.TransferTypes.LoggingConfig result =
+            new com.google.storagetransfer.v1.proto.TransferTypes.LoggingConfig(this);
         int from_bitField0_ = bitField0_;
         if (((bitField0_ & 0x00000001) != 0)) {
           logActions_ = java.util.Collections.unmodifiableList(logActions_);
@@ -38319,46 +43938,52 @@ public com.google.storagetransfer.v1.proto.TransferTypes.LoggingConfig buildPart
       public Builder clone() {
         return super.clone();
       }
+
       @java.lang.Override
       public Builder setField(
-          com.google.protobuf.Descriptors.FieldDescriptor field,
-          java.lang.Object value) {
+          com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
         return super.setField(field, value);
       }
+
       @java.lang.Override
-      public Builder clearField(
-          com.google.protobuf.Descriptors.FieldDescriptor field) {
+      public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
         return super.clearField(field);
       }
+
       @java.lang.Override
-      public Builder clearOneof(
-          com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+      public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
         return super.clearOneof(oneof);
       }
+
       @java.lang.Override
       public Builder setRepeatedField(
           com.google.protobuf.Descriptors.FieldDescriptor field,
-          int index, java.lang.Object value) {
+          int index,
+          java.lang.Object value) {
         return super.setRepeatedField(field, index, value);
       }
+
       @java.lang.Override
       public Builder addRepeatedField(
-          com.google.protobuf.Descriptors.FieldDescriptor field,
-          java.lang.Object value) {
+          com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
         return super.addRepeatedField(field, value);
       }
+
       @java.lang.Override
       public Builder mergeFrom(com.google.protobuf.Message other) {
         if (other instanceof com.google.storagetransfer.v1.proto.TransferTypes.LoggingConfig) {
-          return mergeFrom((com.google.storagetransfer.v1.proto.TransferTypes.LoggingConfig)other);
+          return mergeFrom((com.google.storagetransfer.v1.proto.TransferTypes.LoggingConfig) other);
         } else {
           super.mergeFrom(other);
           return this;
         }
       }
 
-      public Builder mergeFrom(com.google.storagetransfer.v1.proto.TransferTypes.LoggingConfig other) {
-        if (other == com.google.storagetransfer.v1.proto.TransferTypes.LoggingConfig.getDefaultInstance()) return this;
+      public Builder mergeFrom(
+          com.google.storagetransfer.v1.proto.TransferTypes.LoggingConfig other) {
+        if (other
+            == com.google.storagetransfer.v1.proto.TransferTypes.LoggingConfig.getDefaultInstance())
+          return this;
         if (!other.logActions_.isEmpty()) {
           if (logActions_.isEmpty()) {
             logActions_ = other.logActions_;
@@ -38401,7 +44026,9 @@ public Builder mergeFrom(
         try {
           parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
         } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-          parsedMessage = (com.google.storagetransfer.v1.proto.TransferTypes.LoggingConfig) e.getUnfinishedMessage();
+          parsedMessage =
+              (com.google.storagetransfer.v1.proto.TransferTypes.LoggingConfig)
+                  e.getUnfinishedMessage();
           throw e.unwrapIOException();
         } finally {
           if (parsedMessage != null) {
@@ -38410,10 +44037,11 @@ public Builder mergeFrom(
         }
         return this;
       }
+
       private int bitField0_;
 
-      private java.util.List logActions_ =
-        java.util.Collections.emptyList();
+      private java.util.List logActions_ = java.util.Collections.emptyList();
+
       private void ensureLogActionsIsMutable() {
         if (!((bitField0_ & 0x00000001) != 0)) {
           logActions_ = new java.util.ArrayList(logActions_);
@@ -38421,60 +44049,82 @@ private void ensureLogActionsIsMutable() {
         }
       }
       /**
+       *
+       *
        * 
        * Specifies the actions to be logged. If empty, no logs are generated.
        * Not supported for transfers with PosixFilesystem data sources; use
        * [enable_onprem_gcs_transfer_logs][google.storagetransfer.v1.LoggingConfig.enable_onprem_gcs_transfer_logs] instead.
        * 
* - * repeated .google.storagetransfer.v1.LoggingConfig.LoggableAction log_actions = 1; + * repeated .google.storagetransfer.v1.LoggingConfig.LoggableAction log_actions = 1; + * + * * @return A list containing the logActions. */ - public java.util.List getLogActionsList() { + public java.util.List< + com.google.storagetransfer.v1.proto.TransferTypes.LoggingConfig.LoggableAction> + getLogActionsList() { return new com.google.protobuf.Internal.ListAdapter< - java.lang.Integer, com.google.storagetransfer.v1.proto.TransferTypes.LoggingConfig.LoggableAction>(logActions_, logActions_converter_); + java.lang.Integer, + com.google.storagetransfer.v1.proto.TransferTypes.LoggingConfig.LoggableAction>( + logActions_, logActions_converter_); } /** + * + * *
        * Specifies the actions to be logged. If empty, no logs are generated.
        * Not supported for transfers with PosixFilesystem data sources; use
        * [enable_onprem_gcs_transfer_logs][google.storagetransfer.v1.LoggingConfig.enable_onprem_gcs_transfer_logs] instead.
        * 
* - * repeated .google.storagetransfer.v1.LoggingConfig.LoggableAction log_actions = 1; + * repeated .google.storagetransfer.v1.LoggingConfig.LoggableAction log_actions = 1; + * + * * @return The count of logActions. */ public int getLogActionsCount() { return logActions_.size(); } /** + * + * *
        * Specifies the actions to be logged. If empty, no logs are generated.
        * Not supported for transfers with PosixFilesystem data sources; use
        * [enable_onprem_gcs_transfer_logs][google.storagetransfer.v1.LoggingConfig.enable_onprem_gcs_transfer_logs] instead.
        * 
* - * repeated .google.storagetransfer.v1.LoggingConfig.LoggableAction log_actions = 1; + * repeated .google.storagetransfer.v1.LoggingConfig.LoggableAction log_actions = 1; + * + * * @param index The index of the element to return. * @return The logActions at the given index. */ - public com.google.storagetransfer.v1.proto.TransferTypes.LoggingConfig.LoggableAction getLogActions(int index) { + public com.google.storagetransfer.v1.proto.TransferTypes.LoggingConfig.LoggableAction + getLogActions(int index) { return logActions_converter_.convert(logActions_.get(index)); } /** + * + * *
        * Specifies the actions to be logged. If empty, no logs are generated.
        * Not supported for transfers with PosixFilesystem data sources; use
        * [enable_onprem_gcs_transfer_logs][google.storagetransfer.v1.LoggingConfig.enable_onprem_gcs_transfer_logs] instead.
        * 
* - * repeated .google.storagetransfer.v1.LoggingConfig.LoggableAction log_actions = 1; + * repeated .google.storagetransfer.v1.LoggingConfig.LoggableAction log_actions = 1; + * + * * @param index The index to set the value at. * @param value The logActions to set. * @return This builder for chaining. */ public Builder setLogActions( - int index, com.google.storagetransfer.v1.proto.TransferTypes.LoggingConfig.LoggableAction value) { + int index, + com.google.storagetransfer.v1.proto.TransferTypes.LoggingConfig.LoggableAction value) { if (value == null) { throw new NullPointerException(); } @@ -38484,17 +44134,22 @@ public Builder setLogActions( return this; } /** + * + * *
        * Specifies the actions to be logged. If empty, no logs are generated.
        * Not supported for transfers with PosixFilesystem data sources; use
        * [enable_onprem_gcs_transfer_logs][google.storagetransfer.v1.LoggingConfig.enable_onprem_gcs_transfer_logs] instead.
        * 
* - * repeated .google.storagetransfer.v1.LoggingConfig.LoggableAction log_actions = 1; + * repeated .google.storagetransfer.v1.LoggingConfig.LoggableAction log_actions = 1; + * + * * @param value The logActions to add. * @return This builder for chaining. */ - public Builder addLogActions(com.google.storagetransfer.v1.proto.TransferTypes.LoggingConfig.LoggableAction value) { + public Builder addLogActions( + com.google.storagetransfer.v1.proto.TransferTypes.LoggingConfig.LoggableAction value) { if (value == null) { throw new NullPointerException(); } @@ -38504,33 +44159,46 @@ public Builder addLogActions(com.google.storagetransfer.v1.proto.TransferTypes.L return this; } /** + * + * *
        * Specifies the actions to be logged. If empty, no logs are generated.
        * Not supported for transfers with PosixFilesystem data sources; use
        * [enable_onprem_gcs_transfer_logs][google.storagetransfer.v1.LoggingConfig.enable_onprem_gcs_transfer_logs] instead.
        * 
* - * repeated .google.storagetransfer.v1.LoggingConfig.LoggableAction log_actions = 1; + * repeated .google.storagetransfer.v1.LoggingConfig.LoggableAction log_actions = 1; + * + * * @param values The logActions to add. * @return This builder for chaining. */ public Builder addAllLogActions( - java.lang.Iterable values) { + java.lang.Iterable< + ? extends + com.google.storagetransfer.v1.proto.TransferTypes.LoggingConfig + .LoggableAction> + values) { ensureLogActionsIsMutable(); - for (com.google.storagetransfer.v1.proto.TransferTypes.LoggingConfig.LoggableAction value : values) { + for (com.google.storagetransfer.v1.proto.TransferTypes.LoggingConfig.LoggableAction value : + values) { logActions_.add(value.getNumber()); } onChanged(); return this; } /** + * + * *
        * Specifies the actions to be logged. If empty, no logs are generated.
        * Not supported for transfers with PosixFilesystem data sources; use
        * [enable_onprem_gcs_transfer_logs][google.storagetransfer.v1.LoggingConfig.enable_onprem_gcs_transfer_logs] instead.
        * 
* - * repeated .google.storagetransfer.v1.LoggingConfig.LoggableAction log_actions = 1; + * repeated .google.storagetransfer.v1.LoggingConfig.LoggableAction log_actions = 1; + * + * * @return This builder for chaining. */ public Builder clearLogActions() { @@ -38540,27 +44208,34 @@ public Builder clearLogActions() { return this; } /** + * + * *
        * Specifies the actions to be logged. If empty, no logs are generated.
        * Not supported for transfers with PosixFilesystem data sources; use
        * [enable_onprem_gcs_transfer_logs][google.storagetransfer.v1.LoggingConfig.enable_onprem_gcs_transfer_logs] instead.
        * 
* - * repeated .google.storagetransfer.v1.LoggingConfig.LoggableAction log_actions = 1; + * repeated .google.storagetransfer.v1.LoggingConfig.LoggableAction log_actions = 1; + * + * * @return A list containing the enum numeric values on the wire for logActions. */ - public java.util.List - getLogActionsValueList() { + public java.util.List getLogActionsValueList() { return java.util.Collections.unmodifiableList(logActions_); } /** + * + * *
        * Specifies the actions to be logged. If empty, no logs are generated.
        * Not supported for transfers with PosixFilesystem data sources; use
        * [enable_onprem_gcs_transfer_logs][google.storagetransfer.v1.LoggingConfig.enable_onprem_gcs_transfer_logs] instead.
        * 
* - * repeated .google.storagetransfer.v1.LoggingConfig.LoggableAction log_actions = 1; + * repeated .google.storagetransfer.v1.LoggingConfig.LoggableAction log_actions = 1; + * + * * @param index The index of the value to return. * @return The enum numeric value on the wire of logActions at the given index. */ @@ -38568,32 +44243,39 @@ public int getLogActionsValue(int index) { return logActions_.get(index); } /** + * + * *
        * Specifies the actions to be logged. If empty, no logs are generated.
        * Not supported for transfers with PosixFilesystem data sources; use
        * [enable_onprem_gcs_transfer_logs][google.storagetransfer.v1.LoggingConfig.enable_onprem_gcs_transfer_logs] instead.
        * 
* - * repeated .google.storagetransfer.v1.LoggingConfig.LoggableAction log_actions = 1; + * repeated .google.storagetransfer.v1.LoggingConfig.LoggableAction log_actions = 1; + * + * * @param index The index to set the value at. * @param value The enum numeric value on the wire for logActions to set. * @return This builder for chaining. */ - public Builder setLogActionsValue( - int index, int value) { + public Builder setLogActionsValue(int index, int value) { ensureLogActionsIsMutable(); logActions_.set(index, value); onChanged(); return this; } /** + * + * *
        * Specifies the actions to be logged. If empty, no logs are generated.
        * Not supported for transfers with PosixFilesystem data sources; use
        * [enable_onprem_gcs_transfer_logs][google.storagetransfer.v1.LoggingConfig.enable_onprem_gcs_transfer_logs] instead.
        * 
* - * repeated .google.storagetransfer.v1.LoggingConfig.LoggableAction log_actions = 1; + * repeated .google.storagetransfer.v1.LoggingConfig.LoggableAction log_actions = 1; + * + * * @param value The enum numeric value on the wire for logActions to add. * @return This builder for chaining. */ @@ -38604,18 +44286,21 @@ public Builder addLogActionsValue(int value) { return this; } /** + * + * *
        * Specifies the actions to be logged. If empty, no logs are generated.
        * Not supported for transfers with PosixFilesystem data sources; use
        * [enable_onprem_gcs_transfer_logs][google.storagetransfer.v1.LoggingConfig.enable_onprem_gcs_transfer_logs] instead.
        * 
* - * repeated .google.storagetransfer.v1.LoggingConfig.LoggableAction log_actions = 1; + * repeated .google.storagetransfer.v1.LoggingConfig.LoggableAction log_actions = 1; + * + * * @param values The enum numeric values on the wire for logActions to add. * @return This builder for chaining. */ - public Builder addAllLogActionsValue( - java.lang.Iterable values) { + public Builder addAllLogActionsValue(java.lang.Iterable values) { ensureLogActionsIsMutable(); for (int value : values) { logActions_.add(value); @@ -38625,7 +44310,8 @@ public Builder addAllLogActionsValue( } private java.util.List logActionStates_ = - java.util.Collections.emptyList(); + java.util.Collections.emptyList(); + private void ensureLogActionStatesIsMutable() { if (!((bitField0_ & 0x00000002) != 0)) { logActionStates_ = new java.util.ArrayList(logActionStates_); @@ -38633,60 +44319,87 @@ private void ensureLogActionStatesIsMutable() { } } /** + * + * *
        * States in which `log_actions` are logged. If empty, no logs are generated.
        * Not supported for transfers with PosixFilesystem data sources; use
        * [enable_onprem_gcs_transfer_logs][google.storagetransfer.v1.LoggingConfig.enable_onprem_gcs_transfer_logs] instead.
        * 
* - * repeated .google.storagetransfer.v1.LoggingConfig.LoggableActionState log_action_states = 2; + * + * repeated .google.storagetransfer.v1.LoggingConfig.LoggableActionState log_action_states = 2; + * + * * @return A list containing the logActionStates. */ - public java.util.List getLogActionStatesList() { + public java.util.List< + com.google.storagetransfer.v1.proto.TransferTypes.LoggingConfig.LoggableActionState> + getLogActionStatesList() { return new com.google.protobuf.Internal.ListAdapter< - java.lang.Integer, com.google.storagetransfer.v1.proto.TransferTypes.LoggingConfig.LoggableActionState>(logActionStates_, logActionStates_converter_); + java.lang.Integer, + com.google.storagetransfer.v1.proto.TransferTypes.LoggingConfig.LoggableActionState>( + logActionStates_, logActionStates_converter_); } /** + * + * *
        * States in which `log_actions` are logged. If empty, no logs are generated.
        * Not supported for transfers with PosixFilesystem data sources; use
        * [enable_onprem_gcs_transfer_logs][google.storagetransfer.v1.LoggingConfig.enable_onprem_gcs_transfer_logs] instead.
        * 
* - * repeated .google.storagetransfer.v1.LoggingConfig.LoggableActionState log_action_states = 2; + * + * repeated .google.storagetransfer.v1.LoggingConfig.LoggableActionState log_action_states = 2; + * + * * @return The count of logActionStates. */ public int getLogActionStatesCount() { return logActionStates_.size(); } /** + * + * *
        * States in which `log_actions` are logged. If empty, no logs are generated.
        * Not supported for transfers with PosixFilesystem data sources; use
        * [enable_onprem_gcs_transfer_logs][google.storagetransfer.v1.LoggingConfig.enable_onprem_gcs_transfer_logs] instead.
        * 
* - * repeated .google.storagetransfer.v1.LoggingConfig.LoggableActionState log_action_states = 2; + * + * repeated .google.storagetransfer.v1.LoggingConfig.LoggableActionState log_action_states = 2; + * + * * @param index The index of the element to return. * @return The logActionStates at the given index. */ - public com.google.storagetransfer.v1.proto.TransferTypes.LoggingConfig.LoggableActionState getLogActionStates(int index) { + public com.google.storagetransfer.v1.proto.TransferTypes.LoggingConfig.LoggableActionState + getLogActionStates(int index) { return logActionStates_converter_.convert(logActionStates_.get(index)); } /** + * + * *
        * States in which `log_actions` are logged. If empty, no logs are generated.
        * Not supported for transfers with PosixFilesystem data sources; use
        * [enable_onprem_gcs_transfer_logs][google.storagetransfer.v1.LoggingConfig.enable_onprem_gcs_transfer_logs] instead.
        * 
* - * repeated .google.storagetransfer.v1.LoggingConfig.LoggableActionState log_action_states = 2; + * + * repeated .google.storagetransfer.v1.LoggingConfig.LoggableActionState log_action_states = 2; + * + * * @param index The index to set the value at. * @param value The logActionStates to set. * @return This builder for chaining. */ public Builder setLogActionStates( - int index, com.google.storagetransfer.v1.proto.TransferTypes.LoggingConfig.LoggableActionState value) { + int index, + com.google.storagetransfer.v1.proto.TransferTypes.LoggingConfig.LoggableActionState + value) { if (value == null) { throw new NullPointerException(); } @@ -38696,17 +44409,24 @@ public Builder setLogActionStates( return this; } /** + * + * *
        * States in which `log_actions` are logged. If empty, no logs are generated.
        * Not supported for transfers with PosixFilesystem data sources; use
        * [enable_onprem_gcs_transfer_logs][google.storagetransfer.v1.LoggingConfig.enable_onprem_gcs_transfer_logs] instead.
        * 
* - * repeated .google.storagetransfer.v1.LoggingConfig.LoggableActionState log_action_states = 2; + * + * repeated .google.storagetransfer.v1.LoggingConfig.LoggableActionState log_action_states = 2; + * + * * @param value The logActionStates to add. * @return This builder for chaining. */ - public Builder addLogActionStates(com.google.storagetransfer.v1.proto.TransferTypes.LoggingConfig.LoggableActionState value) { + public Builder addLogActionStates( + com.google.storagetransfer.v1.proto.TransferTypes.LoggingConfig.LoggableActionState + value) { if (value == null) { throw new NullPointerException(); } @@ -38716,33 +44436,48 @@ public Builder addLogActionStates(com.google.storagetransfer.v1.proto.TransferTy return this; } /** + * + * *
        * States in which `log_actions` are logged. If empty, no logs are generated.
        * Not supported for transfers with PosixFilesystem data sources; use
        * [enable_onprem_gcs_transfer_logs][google.storagetransfer.v1.LoggingConfig.enable_onprem_gcs_transfer_logs] instead.
        * 
* - * repeated .google.storagetransfer.v1.LoggingConfig.LoggableActionState log_action_states = 2; + * + * repeated .google.storagetransfer.v1.LoggingConfig.LoggableActionState log_action_states = 2; + * + * * @param values The logActionStates to add. * @return This builder for chaining. */ public Builder addAllLogActionStates( - java.lang.Iterable values) { + java.lang.Iterable< + ? extends + com.google.storagetransfer.v1.proto.TransferTypes.LoggingConfig + .LoggableActionState> + values) { ensureLogActionStatesIsMutable(); - for (com.google.storagetransfer.v1.proto.TransferTypes.LoggingConfig.LoggableActionState value : values) { + for (com.google.storagetransfer.v1.proto.TransferTypes.LoggingConfig.LoggableActionState + value : values) { logActionStates_.add(value.getNumber()); } onChanged(); return this; } /** + * + * *
        * States in which `log_actions` are logged. If empty, no logs are generated.
        * Not supported for transfers with PosixFilesystem data sources; use
        * [enable_onprem_gcs_transfer_logs][google.storagetransfer.v1.LoggingConfig.enable_onprem_gcs_transfer_logs] instead.
        * 
* - * repeated .google.storagetransfer.v1.LoggingConfig.LoggableActionState log_action_states = 2; + * + * repeated .google.storagetransfer.v1.LoggingConfig.LoggableActionState log_action_states = 2; + * + * * @return This builder for chaining. */ public Builder clearLogActionStates() { @@ -38752,27 +44487,36 @@ public Builder clearLogActionStates() { return this; } /** + * + * *
        * States in which `log_actions` are logged. If empty, no logs are generated.
        * Not supported for transfers with PosixFilesystem data sources; use
        * [enable_onprem_gcs_transfer_logs][google.storagetransfer.v1.LoggingConfig.enable_onprem_gcs_transfer_logs] instead.
        * 
* - * repeated .google.storagetransfer.v1.LoggingConfig.LoggableActionState log_action_states = 2; + * + * repeated .google.storagetransfer.v1.LoggingConfig.LoggableActionState log_action_states = 2; + * + * * @return A list containing the enum numeric values on the wire for logActionStates. */ - public java.util.List - getLogActionStatesValueList() { + public java.util.List getLogActionStatesValueList() { return java.util.Collections.unmodifiableList(logActionStates_); } /** + * + * *
        * States in which `log_actions` are logged. If empty, no logs are generated.
        * Not supported for transfers with PosixFilesystem data sources; use
        * [enable_onprem_gcs_transfer_logs][google.storagetransfer.v1.LoggingConfig.enable_onprem_gcs_transfer_logs] instead.
        * 
* - * repeated .google.storagetransfer.v1.LoggingConfig.LoggableActionState log_action_states = 2; + * + * repeated .google.storagetransfer.v1.LoggingConfig.LoggableActionState log_action_states = 2; + * + * * @param index The index of the value to return. * @return The enum numeric value on the wire of logActionStates at the given index. */ @@ -38780,32 +44524,41 @@ public int getLogActionStatesValue(int index) { return logActionStates_.get(index); } /** + * + * *
        * States in which `log_actions` are logged. If empty, no logs are generated.
        * Not supported for transfers with PosixFilesystem data sources; use
        * [enable_onprem_gcs_transfer_logs][google.storagetransfer.v1.LoggingConfig.enable_onprem_gcs_transfer_logs] instead.
        * 
* - * repeated .google.storagetransfer.v1.LoggingConfig.LoggableActionState log_action_states = 2; + * + * repeated .google.storagetransfer.v1.LoggingConfig.LoggableActionState log_action_states = 2; + * + * * @param index The index to set the value at. * @param value The enum numeric value on the wire for logActionStates to set. * @return This builder for chaining. */ - public Builder setLogActionStatesValue( - int index, int value) { + public Builder setLogActionStatesValue(int index, int value) { ensureLogActionStatesIsMutable(); logActionStates_.set(index, value); onChanged(); return this; } /** + * + * *
        * States in which `log_actions` are logged. If empty, no logs are generated.
        * Not supported for transfers with PosixFilesystem data sources; use
        * [enable_onprem_gcs_transfer_logs][google.storagetransfer.v1.LoggingConfig.enable_onprem_gcs_transfer_logs] instead.
        * 
* - * repeated .google.storagetransfer.v1.LoggingConfig.LoggableActionState log_action_states = 2; + * + * repeated .google.storagetransfer.v1.LoggingConfig.LoggableActionState log_action_states = 2; + * + * * @param value The enum numeric value on the wire for logActionStates to add. * @return This builder for chaining. */ @@ -38816,18 +44569,22 @@ public Builder addLogActionStatesValue(int value) { return this; } /** + * + * *
        * States in which `log_actions` are logged. If empty, no logs are generated.
        * Not supported for transfers with PosixFilesystem data sources; use
        * [enable_onprem_gcs_transfer_logs][google.storagetransfer.v1.LoggingConfig.enable_onprem_gcs_transfer_logs] instead.
        * 
* - * repeated .google.storagetransfer.v1.LoggingConfig.LoggableActionState log_action_states = 2; + * + * repeated .google.storagetransfer.v1.LoggingConfig.LoggableActionState log_action_states = 2; + * + * * @param values The enum numeric values on the wire for logActionStates to add. * @return This builder for chaining. */ - public Builder addAllLogActionStatesValue( - java.lang.Iterable values) { + public Builder addAllLogActionStatesValue(java.lang.Iterable values) { ensureLogActionStatesIsMutable(); for (int value : values) { logActionStates_.add(value); @@ -38836,14 +44593,17 @@ public Builder addAllLogActionStatesValue( return this; } - private boolean enableOnpremGcsTransferLogs_ ; + private boolean enableOnpremGcsTransferLogs_; /** + * + * *
        * For transfers with a PosixFilesystem source, this option enables the Cloud
        * Storage transfer logs for this transfer.
        * 
* * bool enable_onprem_gcs_transfer_logs = 3; + * * @return The enableOnpremGcsTransferLogs. */ @java.lang.Override @@ -38851,36 +44611,43 @@ public boolean getEnableOnpremGcsTransferLogs() { return enableOnpremGcsTransferLogs_; } /** + * + * *
        * For transfers with a PosixFilesystem source, this option enables the Cloud
        * Storage transfer logs for this transfer.
        * 
* * bool enable_onprem_gcs_transfer_logs = 3; + * * @param value The enableOnpremGcsTransferLogs to set. * @return This builder for chaining. */ public Builder setEnableOnpremGcsTransferLogs(boolean value) { - + enableOnpremGcsTransferLogs_ = value; onChanged(); return this; } /** + * + * *
        * For transfers with a PosixFilesystem source, this option enables the Cloud
        * Storage transfer logs for this transfer.
        * 
* * bool enable_onprem_gcs_transfer_logs = 3; + * * @return This builder for chaining. */ public Builder clearEnableOnpremGcsTransferLogs() { - + enableOnpremGcsTransferLogs_ = false; onChanged(); return this; } + @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -38893,30 +44660,32 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.storagetransfer.v1.LoggingConfig) } // @@protoc_insertion_point(class_scope:google.storagetransfer.v1.LoggingConfig) - private static final com.google.storagetransfer.v1.proto.TransferTypes.LoggingConfig DEFAULT_INSTANCE; + private static final com.google.storagetransfer.v1.proto.TransferTypes.LoggingConfig + DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.storagetransfer.v1.proto.TransferTypes.LoggingConfig(); } - public static com.google.storagetransfer.v1.proto.TransferTypes.LoggingConfig getDefaultInstance() { + public static com.google.storagetransfer.v1.proto.TransferTypes.LoggingConfig + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public LoggingConfig parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new LoggingConfig(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public LoggingConfig parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new LoggingConfig(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -38928,129 +44697,166 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.storagetransfer.v1.proto.TransferTypes.LoggingConfig getDefaultInstanceForType() { + public com.google.storagetransfer.v1.proto.TransferTypes.LoggingConfig + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - public interface TransferOperationOrBuilder extends + public interface TransferOperationOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.storagetransfer.v1.TransferOperation) com.google.protobuf.MessageOrBuilder { /** + * + * *
      * A globally unique ID assigned by the system.
      * 
* * string name = 1; + * * @return The name. */ java.lang.String getName(); /** + * + * *
      * A globally unique ID assigned by the system.
      * 
* * string name = 1; + * * @return The bytes for name. */ - com.google.protobuf.ByteString - getNameBytes(); + com.google.protobuf.ByteString getNameBytes(); /** + * + * *
      * The ID of the Google Cloud project that owns the operation.
      * 
* * string project_id = 2; + * * @return The projectId. */ java.lang.String getProjectId(); /** + * + * *
      * The ID of the Google Cloud project that owns the operation.
      * 
* * string project_id = 2; + * * @return The bytes for projectId. */ - com.google.protobuf.ByteString - getProjectIdBytes(); + com.google.protobuf.ByteString getProjectIdBytes(); /** + * + * *
      * Transfer specification.
      * 
* * .google.storagetransfer.v1.TransferSpec transfer_spec = 3; + * * @return Whether the transferSpec field is set. */ boolean hasTransferSpec(); /** + * + * *
      * Transfer specification.
      * 
* * .google.storagetransfer.v1.TransferSpec transfer_spec = 3; + * * @return The transferSpec. */ com.google.storagetransfer.v1.proto.TransferTypes.TransferSpec getTransferSpec(); /** + * + * *
      * Transfer specification.
      * 
* * .google.storagetransfer.v1.TransferSpec transfer_spec = 3; */ - com.google.storagetransfer.v1.proto.TransferTypes.TransferSpecOrBuilder getTransferSpecOrBuilder(); + com.google.storagetransfer.v1.proto.TransferTypes.TransferSpecOrBuilder + getTransferSpecOrBuilder(); /** + * + * *
      * Notification configuration.
      * 
* * .google.storagetransfer.v1.NotificationConfig notification_config = 10; + * * @return Whether the notificationConfig field is set. */ boolean hasNotificationConfig(); /** + * + * *
      * Notification configuration.
      * 
* * .google.storagetransfer.v1.NotificationConfig notification_config = 10; + * * @return The notificationConfig. */ com.google.storagetransfer.v1.proto.TransferTypes.NotificationConfig getNotificationConfig(); /** + * + * *
      * Notification configuration.
      * 
* * .google.storagetransfer.v1.NotificationConfig notification_config = 10; */ - com.google.storagetransfer.v1.proto.TransferTypes.NotificationConfigOrBuilder getNotificationConfigOrBuilder(); + com.google.storagetransfer.v1.proto.TransferTypes.NotificationConfigOrBuilder + getNotificationConfigOrBuilder(); /** + * + * *
      * Start time of this transfer execution.
      * 
* * .google.protobuf.Timestamp start_time = 4; + * * @return Whether the startTime field is set. */ boolean hasStartTime(); /** + * + * *
      * Start time of this transfer execution.
      * 
* * .google.protobuf.Timestamp start_time = 4; + * * @return The startTime. */ com.google.protobuf.Timestamp getStartTime(); /** + * + * *
      * Start time of this transfer execution.
      * 
@@ -39060,24 +44866,32 @@ public interface TransferOperationOrBuilder extends com.google.protobuf.TimestampOrBuilder getStartTimeOrBuilder(); /** + * + * *
      * End time of this transfer execution.
      * 
* * .google.protobuf.Timestamp end_time = 5; + * * @return Whether the endTime field is set. */ boolean hasEndTime(); /** + * + * *
      * End time of this transfer execution.
      * 
* * .google.protobuf.Timestamp end_time = 5; + * * @return The endTime. */ com.google.protobuf.Timestamp getEndTime(); /** + * + * *
      * End time of this transfer execution.
      * 
@@ -39087,61 +44901,80 @@ public interface TransferOperationOrBuilder extends com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder(); /** + * + * *
      * Status of the transfer operation.
      * 
* * .google.storagetransfer.v1.TransferOperation.Status status = 6; + * * @return The enum numeric value on the wire for status. */ int getStatusValue(); /** + * + * *
      * Status of the transfer operation.
      * 
* * .google.storagetransfer.v1.TransferOperation.Status status = 6; + * * @return The status. */ com.google.storagetransfer.v1.proto.TransferTypes.TransferOperation.Status getStatus(); /** + * + * *
      * Information about the progress of the transfer operation.
      * 
* * .google.storagetransfer.v1.TransferCounters counters = 7; + * * @return Whether the counters field is set. */ boolean hasCounters(); /** + * + * *
      * Information about the progress of the transfer operation.
      * 
* * .google.storagetransfer.v1.TransferCounters counters = 7; + * * @return The counters. */ com.google.storagetransfer.v1.proto.TransferTypes.TransferCounters getCounters(); /** + * + * *
      * Information about the progress of the transfer operation.
      * 
* * .google.storagetransfer.v1.TransferCounters counters = 7; */ - com.google.storagetransfer.v1.proto.TransferTypes.TransferCountersOrBuilder getCountersOrBuilder(); + com.google.storagetransfer.v1.proto.TransferTypes.TransferCountersOrBuilder + getCountersOrBuilder(); /** + * + * *
      * Summarizes errors encountered with sample error log entries.
      * 
* * repeated .google.storagetransfer.v1.ErrorSummary error_breakdowns = 8; */ - java.util.List + java.util.List getErrorBreakdownsList(); /** + * + * *
      * Summarizes errors encountered with sample error log entries.
      * 
@@ -39150,6 +44983,8 @@ public interface TransferOperationOrBuilder extends */ com.google.storagetransfer.v1.proto.TransferTypes.ErrorSummary getErrorBreakdowns(int index); /** + * + * *
      * Summarizes errors encountered with sample error log entries.
      * 
@@ -39158,60 +44993,73 @@ public interface TransferOperationOrBuilder extends */ int getErrorBreakdownsCount(); /** + * + * *
      * Summarizes errors encountered with sample error log entries.
      * 
* * repeated .google.storagetransfer.v1.ErrorSummary error_breakdowns = 8; */ - java.util.List + java.util.List< + ? extends com.google.storagetransfer.v1.proto.TransferTypes.ErrorSummaryOrBuilder> getErrorBreakdownsOrBuilderList(); /** + * + * *
      * Summarizes errors encountered with sample error log entries.
      * 
* * repeated .google.storagetransfer.v1.ErrorSummary error_breakdowns = 8; */ - com.google.storagetransfer.v1.proto.TransferTypes.ErrorSummaryOrBuilder getErrorBreakdownsOrBuilder( - int index); + com.google.storagetransfer.v1.proto.TransferTypes.ErrorSummaryOrBuilder + getErrorBreakdownsOrBuilder(int index); /** + * + * *
      * The name of the transfer job that triggers this transfer operation.
      * 
* * string transfer_job_name = 9; + * * @return The transferJobName. */ java.lang.String getTransferJobName(); /** + * + * *
      * The name of the transfer job that triggers this transfer operation.
      * 
* * string transfer_job_name = 9; + * * @return The bytes for transferJobName. */ - com.google.protobuf.ByteString - getTransferJobNameBytes(); + com.google.protobuf.ByteString getTransferJobNameBytes(); } /** + * + * *
    * A description of the execution of a transfer.
    * 
* * Protobuf type {@code google.storagetransfer.v1.TransferOperation} */ - public static final class TransferOperation extends - com.google.protobuf.GeneratedMessageV3 implements + public static final class TransferOperation extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.storagetransfer.v1.TransferOperation) TransferOperationOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use TransferOperation.newBuilder() to construct. private TransferOperation(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private TransferOperation() { name_ = ""; projectId_ = ""; @@ -39222,16 +45070,15 @@ private TransferOperation() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new TransferOperation(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private TransferOperation( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -39251,111 +45098,140 @@ private TransferOperation( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - name_ = s; - break; - } - case 18: { - java.lang.String s = input.readStringRequireUtf8(); - - projectId_ = s; - break; - } - case 26: { - com.google.storagetransfer.v1.proto.TransferTypes.TransferSpec.Builder subBuilder = null; - if (transferSpec_ != null) { - subBuilder = transferSpec_.toBuilder(); - } - transferSpec_ = input.readMessage(com.google.storagetransfer.v1.proto.TransferTypes.TransferSpec.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(transferSpec_); - transferSpec_ = subBuilder.buildPartial(); + name_ = s; + break; } + case 18: + { + java.lang.String s = input.readStringRequireUtf8(); - break; - } - case 34: { - com.google.protobuf.Timestamp.Builder subBuilder = null; - if (startTime_ != null) { - subBuilder = startTime_.toBuilder(); + projectId_ = s; + break; } - startTime_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(startTime_); - startTime_ = subBuilder.buildPartial(); + case 26: + { + com.google.storagetransfer.v1.proto.TransferTypes.TransferSpec.Builder subBuilder = + null; + if (transferSpec_ != null) { + subBuilder = transferSpec_.toBuilder(); + } + transferSpec_ = + input.readMessage( + com.google.storagetransfer.v1.proto.TransferTypes.TransferSpec.parser(), + extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(transferSpec_); + transferSpec_ = subBuilder.buildPartial(); + } + + break; } + case 34: + { + com.google.protobuf.Timestamp.Builder subBuilder = null; + if (startTime_ != null) { + subBuilder = startTime_.toBuilder(); + } + startTime_ = + input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(startTime_); + startTime_ = subBuilder.buildPartial(); + } - break; - } - case 42: { - com.google.protobuf.Timestamp.Builder subBuilder = null; - if (endTime_ != null) { - subBuilder = endTime_.toBuilder(); + break; } - endTime_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(endTime_); - endTime_ = subBuilder.buildPartial(); + case 42: + { + com.google.protobuf.Timestamp.Builder subBuilder = null; + if (endTime_ != null) { + subBuilder = endTime_.toBuilder(); + } + endTime_ = + input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(endTime_); + endTime_ = subBuilder.buildPartial(); + } + + break; } + case 48: + { + int rawValue = input.readEnum(); - break; - } - case 48: { - int rawValue = input.readEnum(); + status_ = rawValue; + break; + } + case 58: + { + com.google.storagetransfer.v1.proto.TransferTypes.TransferCounters.Builder + subBuilder = null; + if (counters_ != null) { + subBuilder = counters_.toBuilder(); + } + counters_ = + input.readMessage( + com.google.storagetransfer.v1.proto.TransferTypes.TransferCounters.parser(), + extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(counters_); + counters_ = subBuilder.buildPartial(); + } - status_ = rawValue; - break; - } - case 58: { - com.google.storagetransfer.v1.proto.TransferTypes.TransferCounters.Builder subBuilder = null; - if (counters_ != null) { - subBuilder = counters_.toBuilder(); + break; } - counters_ = input.readMessage(com.google.storagetransfer.v1.proto.TransferTypes.TransferCounters.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(counters_); - counters_ = subBuilder.buildPartial(); + case 66: + { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + errorBreakdowns_ = + new java.util.ArrayList< + com.google.storagetransfer.v1.proto.TransferTypes.ErrorSummary>(); + mutable_bitField0_ |= 0x00000001; + } + errorBreakdowns_.add( + input.readMessage( + com.google.storagetransfer.v1.proto.TransferTypes.ErrorSummary.parser(), + extensionRegistry)); + break; } + case 74: + { + java.lang.String s = input.readStringRequireUtf8(); - break; - } - case 66: { - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - errorBreakdowns_ = new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000001; + transferJobName_ = s; + break; } - errorBreakdowns_.add( - input.readMessage(com.google.storagetransfer.v1.proto.TransferTypes.ErrorSummary.parser(), extensionRegistry)); - break; - } - case 74: { - java.lang.String s = input.readStringRequireUtf8(); + case 82: + { + com.google.storagetransfer.v1.proto.TransferTypes.NotificationConfig.Builder + subBuilder = null; + if (notificationConfig_ != null) { + subBuilder = notificationConfig_.toBuilder(); + } + notificationConfig_ = + input.readMessage( + com.google.storagetransfer.v1.proto.TransferTypes.NotificationConfig + .parser(), + extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(notificationConfig_); + notificationConfig_ = subBuilder.buildPartial(); + } - transferJobName_ = s; - break; - } - case 82: { - com.google.storagetransfer.v1.proto.TransferTypes.NotificationConfig.Builder subBuilder = null; - if (notificationConfig_ != null) { - subBuilder = notificationConfig_.toBuilder(); - } - notificationConfig_ = input.readMessage(com.google.storagetransfer.v1.proto.TransferTypes.NotificationConfig.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(notificationConfig_); - notificationConfig_ = subBuilder.buildPartial(); + break; } - - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -39363,8 +45239,7 @@ private TransferOperation( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000001) != 0)) { errorBreakdowns_ = java.util.Collections.unmodifiableList(errorBreakdowns_); @@ -39373,29 +45248,35 @@ private TransferOperation( makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.storagetransfer.v1.proto.TransferTypes.internal_static_google_storagetransfer_v1_TransferOperation_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.storagetransfer.v1.proto.TransferTypes + .internal_static_google_storagetransfer_v1_TransferOperation_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.storagetransfer.v1.proto.TransferTypes.internal_static_google_storagetransfer_v1_TransferOperation_fieldAccessorTable + return com.google.storagetransfer.v1.proto.TransferTypes + .internal_static_google_storagetransfer_v1_TransferOperation_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.storagetransfer.v1.proto.TransferTypes.TransferOperation.class, com.google.storagetransfer.v1.proto.TransferTypes.TransferOperation.Builder.class); + com.google.storagetransfer.v1.proto.TransferTypes.TransferOperation.class, + com.google.storagetransfer.v1.proto.TransferTypes.TransferOperation.Builder.class); } /** + * + * *
      * The status of a TransferOperation.
      * 
* * Protobuf enum {@code google.storagetransfer.v1.TransferOperation.Status} */ - public enum Status - implements com.google.protobuf.ProtocolMessageEnum { + public enum Status implements com.google.protobuf.ProtocolMessageEnum { /** + * + * *
        * Zero is an illegal value.
        * 
@@ -39404,6 +45285,8 @@ public enum Status */ STATUS_UNSPECIFIED(0), /** + * + * *
        * In progress.
        * 
@@ -39412,6 +45295,8 @@ public enum Status */ IN_PROGRESS(1), /** + * + * *
        * Paused.
        * 
@@ -39420,6 +45305,8 @@ public enum Status */ PAUSED(2), /** + * + * *
        * Completed successfully.
        * 
@@ -39428,6 +45315,8 @@ public enum Status */ SUCCESS(3), /** + * + * *
        * Terminated due to an unrecoverable failure.
        * 
@@ -39436,6 +45325,8 @@ public enum Status */ FAILED(4), /** + * + * *
        * Aborted by the user.
        * 
@@ -39444,6 +45335,8 @@ public enum Status */ ABORTED(5), /** + * + * *
        * Temporarily delayed by the system. No user action is required.
        * 
@@ -39455,6 +45348,8 @@ public enum Status ; /** + * + * *
        * Zero is an illegal value.
        * 
@@ -39463,6 +45358,8 @@ public enum Status */ public static final int STATUS_UNSPECIFIED_VALUE = 0; /** + * + * *
        * In progress.
        * 
@@ -39471,6 +45368,8 @@ public enum Status */ public static final int IN_PROGRESS_VALUE = 1; /** + * + * *
        * Paused.
        * 
@@ -39479,6 +45378,8 @@ public enum Status */ public static final int PAUSED_VALUE = 2; /** + * + * *
        * Completed successfully.
        * 
@@ -39487,6 +45388,8 @@ public enum Status */ public static final int SUCCESS_VALUE = 3; /** + * + * *
        * Terminated due to an unrecoverable failure.
        * 
@@ -39495,6 +45398,8 @@ public enum Status */ public static final int FAILED_VALUE = 4; /** + * + * *
        * Aborted by the user.
        * 
@@ -39503,6 +45408,8 @@ public enum Status */ public static final int ABORTED_VALUE = 5; /** + * + * *
        * Temporarily delayed by the system. No user action is required.
        * 
@@ -39511,7 +45418,6 @@ public enum Status */ public static final int QUEUED_VALUE = 6; - public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -39536,53 +45442,59 @@ public static Status valueOf(int value) { */ public static Status forNumber(int value) { switch (value) { - case 0: return STATUS_UNSPECIFIED; - case 1: return IN_PROGRESS; - case 2: return PAUSED; - case 3: return SUCCESS; - case 4: return FAILED; - case 5: return ABORTED; - case 6: return QUEUED; - default: return null; - } - } - - public static com.google.protobuf.Internal.EnumLiteMap - internalGetValueMap() { + case 0: + return STATUS_UNSPECIFIED; + case 1: + return IN_PROGRESS; + case 2: + return PAUSED; + case 3: + return SUCCESS; + case 4: + return FAILED; + case 5: + return ABORTED; + case 6: + return QUEUED; + default: + return null; + } + } + + public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() { return internalValueMap; } - private static final com.google.protobuf.Internal.EnumLiteMap< - Status> internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public Status findValueByNumber(int number) { - return Status.forNumber(number); - } - }; - public final com.google.protobuf.Descriptors.EnumValueDescriptor - getValueDescriptor() { + private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap() { + public Status findValueByNumber(int number) { + return Status.forNumber(number); + } + }; + + public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalStateException( "Can't get the descriptor of an unrecognized enum value."); } return getDescriptor().getValues().get(ordinal()); } - public final com.google.protobuf.Descriptors.EnumDescriptor - getDescriptorForType() { + + public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() { return getDescriptor(); } - public static final com.google.protobuf.Descriptors.EnumDescriptor - getDescriptor() { - return com.google.storagetransfer.v1.proto.TransferTypes.TransferOperation.getDescriptor().getEnumTypes().get(0); + + public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { + return com.google.storagetransfer.v1.proto.TransferTypes.TransferOperation.getDescriptor() + .getEnumTypes() + .get(0); } private static final Status[] VALUES = values(); - public static Status valueOf( - com.google.protobuf.Descriptors.EnumValueDescriptor desc) { + public static Status valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) { if (desc.getType() != getDescriptor()) { - throw new java.lang.IllegalArgumentException( - "EnumValueDescriptor is not for this type."); + throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type."); } if (desc.getIndex() == -1) { return UNRECOGNIZED; @@ -39602,11 +45514,14 @@ private Status(int value) { public static final int NAME_FIELD_NUMBER = 1; private volatile java.lang.Object name_; /** + * + * *
      * A globally unique ID assigned by the system.
      * 
* * string name = 1; + * * @return The name. */ @java.lang.Override @@ -39615,29 +45530,29 @@ public java.lang.String getName() { 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(); name_ = s; return s; } } /** + * + * *
      * A globally unique ID assigned by the system.
      * 
* * string name = 1; + * * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; 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); name_ = b; return b; } else { @@ -39648,11 +45563,14 @@ public java.lang.String getName() { public static final int PROJECT_ID_FIELD_NUMBER = 2; private volatile java.lang.Object projectId_; /** + * + * *
      * The ID of the Google Cloud project that owns the operation.
      * 
* * string project_id = 2; + * * @return The projectId. */ @java.lang.Override @@ -39661,29 +45579,29 @@ public java.lang.String getProjectId() { 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(); projectId_ = s; return s; } } /** + * + * *
      * The ID of the Google Cloud project that owns the operation.
      * 
* * string project_id = 2; + * * @return The bytes for projectId. */ @java.lang.Override - public com.google.protobuf.ByteString - getProjectIdBytes() { + public com.google.protobuf.ByteString getProjectIdBytes() { java.lang.Object ref = projectId_; 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); projectId_ = b; return b; } else { @@ -39694,11 +45612,14 @@ public java.lang.String getProjectId() { public static final int TRANSFER_SPEC_FIELD_NUMBER = 3; private com.google.storagetransfer.v1.proto.TransferTypes.TransferSpec transferSpec_; /** + * + * *
      * Transfer specification.
      * 
* * .google.storagetransfer.v1.TransferSpec transfer_spec = 3; + * * @return Whether the transferSpec field is set. */ @java.lang.Override @@ -39706,18 +45627,25 @@ public boolean hasTransferSpec() { return transferSpec_ != null; } /** + * + * *
      * Transfer specification.
      * 
* * .google.storagetransfer.v1.TransferSpec transfer_spec = 3; + * * @return The transferSpec. */ @java.lang.Override public com.google.storagetransfer.v1.proto.TransferTypes.TransferSpec getTransferSpec() { - return transferSpec_ == null ? com.google.storagetransfer.v1.proto.TransferTypes.TransferSpec.getDefaultInstance() : transferSpec_; + return transferSpec_ == null + ? com.google.storagetransfer.v1.proto.TransferTypes.TransferSpec.getDefaultInstance() + : transferSpec_; } /** + * + * *
      * Transfer specification.
      * 
@@ -39725,18 +45653,23 @@ public com.google.storagetransfer.v1.proto.TransferTypes.TransferSpec getTransfe * .google.storagetransfer.v1.TransferSpec transfer_spec = 3; */ @java.lang.Override - public com.google.storagetransfer.v1.proto.TransferTypes.TransferSpecOrBuilder getTransferSpecOrBuilder() { + public com.google.storagetransfer.v1.proto.TransferTypes.TransferSpecOrBuilder + getTransferSpecOrBuilder() { return getTransferSpec(); } public static final int NOTIFICATION_CONFIG_FIELD_NUMBER = 10; - private com.google.storagetransfer.v1.proto.TransferTypes.NotificationConfig notificationConfig_; + private com.google.storagetransfer.v1.proto.TransferTypes.NotificationConfig + notificationConfig_; /** + * + * *
      * Notification configuration.
      * 
* * .google.storagetransfer.v1.NotificationConfig notification_config = 10; + * * @return Whether the notificationConfig field is set. */ @java.lang.Override @@ -39744,18 +45677,27 @@ public boolean hasNotificationConfig() { return notificationConfig_ != null; } /** + * + * *
      * Notification configuration.
      * 
* * .google.storagetransfer.v1.NotificationConfig notification_config = 10; + * * @return The notificationConfig. */ @java.lang.Override - public com.google.storagetransfer.v1.proto.TransferTypes.NotificationConfig getNotificationConfig() { - return notificationConfig_ == null ? com.google.storagetransfer.v1.proto.TransferTypes.NotificationConfig.getDefaultInstance() : notificationConfig_; + public com.google.storagetransfer.v1.proto.TransferTypes.NotificationConfig + getNotificationConfig() { + return notificationConfig_ == null + ? com.google.storagetransfer.v1.proto.TransferTypes.NotificationConfig + .getDefaultInstance() + : notificationConfig_; } /** + * + * *
      * Notification configuration.
      * 
@@ -39763,18 +45705,22 @@ public com.google.storagetransfer.v1.proto.TransferTypes.NotificationConfig getN * .google.storagetransfer.v1.NotificationConfig notification_config = 10; */ @java.lang.Override - public com.google.storagetransfer.v1.proto.TransferTypes.NotificationConfigOrBuilder getNotificationConfigOrBuilder() { + public com.google.storagetransfer.v1.proto.TransferTypes.NotificationConfigOrBuilder + getNotificationConfigOrBuilder() { return getNotificationConfig(); } public static final int START_TIME_FIELD_NUMBER = 4; private com.google.protobuf.Timestamp startTime_; /** + * + * *
      * Start time of this transfer execution.
      * 
* * .google.protobuf.Timestamp start_time = 4; + * * @return Whether the startTime field is set. */ @java.lang.Override @@ -39782,11 +45728,14 @@ public boolean hasStartTime() { return startTime_ != null; } /** + * + * *
      * Start time of this transfer execution.
      * 
* * .google.protobuf.Timestamp start_time = 4; + * * @return The startTime. */ @java.lang.Override @@ -39794,6 +45743,8 @@ public com.google.protobuf.Timestamp getStartTime() { return startTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : startTime_; } /** + * + * *
      * Start time of this transfer execution.
      * 
@@ -39808,11 +45759,14 @@ public com.google.protobuf.TimestampOrBuilder getStartTimeOrBuilder() { public static final int END_TIME_FIELD_NUMBER = 5; private com.google.protobuf.Timestamp endTime_; /** + * + * *
      * End time of this transfer execution.
      * 
* * .google.protobuf.Timestamp end_time = 5; + * * @return Whether the endTime field is set. */ @java.lang.Override @@ -39820,11 +45774,14 @@ public boolean hasEndTime() { return endTime_ != null; } /** + * + * *
      * End time of this transfer execution.
      * 
* * .google.protobuf.Timestamp end_time = 5; + * * @return The endTime. */ @java.lang.Override @@ -39832,6 +45789,8 @@ public com.google.protobuf.Timestamp getEndTime() { return endTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : endTime_; } /** + * + * *
      * End time of this transfer execution.
      * 
@@ -39846,38 +45805,53 @@ public com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder() { public static final int STATUS_FIELD_NUMBER = 6; private int status_; /** + * + * *
      * Status of the transfer operation.
      * 
* * .google.storagetransfer.v1.TransferOperation.Status status = 6; + * * @return The enum numeric value on the wire for status. */ - @java.lang.Override public int getStatusValue() { + @java.lang.Override + public int getStatusValue() { return status_; } /** + * + * *
      * Status of the transfer operation.
      * 
* * .google.storagetransfer.v1.TransferOperation.Status status = 6; + * * @return The status. */ - @java.lang.Override public com.google.storagetransfer.v1.proto.TransferTypes.TransferOperation.Status getStatus() { + @java.lang.Override + public com.google.storagetransfer.v1.proto.TransferTypes.TransferOperation.Status getStatus() { @SuppressWarnings("deprecation") - com.google.storagetransfer.v1.proto.TransferTypes.TransferOperation.Status result = com.google.storagetransfer.v1.proto.TransferTypes.TransferOperation.Status.valueOf(status_); - return result == null ? com.google.storagetransfer.v1.proto.TransferTypes.TransferOperation.Status.UNRECOGNIZED : result; + com.google.storagetransfer.v1.proto.TransferTypes.TransferOperation.Status result = + com.google.storagetransfer.v1.proto.TransferTypes.TransferOperation.Status.valueOf( + status_); + return result == null + ? com.google.storagetransfer.v1.proto.TransferTypes.TransferOperation.Status.UNRECOGNIZED + : result; } public static final int COUNTERS_FIELD_NUMBER = 7; private com.google.storagetransfer.v1.proto.TransferTypes.TransferCounters counters_; /** + * + * *
      * Information about the progress of the transfer operation.
      * 
* * .google.storagetransfer.v1.TransferCounters counters = 7; + * * @return Whether the counters field is set. */ @java.lang.Override @@ -39885,18 +45859,25 @@ public boolean hasCounters() { return counters_ != null; } /** + * + * *
      * Information about the progress of the transfer operation.
      * 
* * .google.storagetransfer.v1.TransferCounters counters = 7; + * * @return The counters. */ @java.lang.Override public com.google.storagetransfer.v1.proto.TransferTypes.TransferCounters getCounters() { - return counters_ == null ? com.google.storagetransfer.v1.proto.TransferTypes.TransferCounters.getDefaultInstance() : counters_; + return counters_ == null + ? com.google.storagetransfer.v1.proto.TransferTypes.TransferCounters.getDefaultInstance() + : counters_; } /** + * + * *
      * Information about the progress of the transfer operation.
      * 
@@ -39904,13 +45885,17 @@ public com.google.storagetransfer.v1.proto.TransferTypes.TransferCounters getCou * .google.storagetransfer.v1.TransferCounters counters = 7; */ @java.lang.Override - public com.google.storagetransfer.v1.proto.TransferTypes.TransferCountersOrBuilder getCountersOrBuilder() { + public com.google.storagetransfer.v1.proto.TransferTypes.TransferCountersOrBuilder + getCountersOrBuilder() { return getCounters(); } public static final int ERROR_BREAKDOWNS_FIELD_NUMBER = 8; - private java.util.List errorBreakdowns_; + private java.util.List + errorBreakdowns_; /** + * + * *
      * Summarizes errors encountered with sample error log entries.
      * 
@@ -39918,10 +45903,13 @@ public com.google.storagetransfer.v1.proto.TransferTypes.TransferCountersOrBuild * repeated .google.storagetransfer.v1.ErrorSummary error_breakdowns = 8; */ @java.lang.Override - public java.util.List getErrorBreakdownsList() { + public java.util.List + getErrorBreakdownsList() { return errorBreakdowns_; } /** + * + * *
      * Summarizes errors encountered with sample error log entries.
      * 
@@ -39929,11 +45917,14 @@ public java.util.Listrepeated .google.storagetransfer.v1.ErrorSummary error_breakdowns = 8; */ @java.lang.Override - public java.util.List + public java.util.List< + ? extends com.google.storagetransfer.v1.proto.TransferTypes.ErrorSummaryOrBuilder> getErrorBreakdownsOrBuilderList() { return errorBreakdowns_; } /** + * + * *
      * Summarizes errors encountered with sample error log entries.
      * 
@@ -39945,6 +45936,8 @@ public int getErrorBreakdownsCount() { return errorBreakdowns_.size(); } /** + * + * *
      * Summarizes errors encountered with sample error log entries.
      * 
@@ -39952,10 +45945,13 @@ public int getErrorBreakdownsCount() { * repeated .google.storagetransfer.v1.ErrorSummary error_breakdowns = 8; */ @java.lang.Override - public com.google.storagetransfer.v1.proto.TransferTypes.ErrorSummary getErrorBreakdowns(int index) { + public com.google.storagetransfer.v1.proto.TransferTypes.ErrorSummary getErrorBreakdowns( + int index) { return errorBreakdowns_.get(index); } /** + * + * *
      * Summarizes errors encountered with sample error log entries.
      * 
@@ -39963,19 +45959,22 @@ public com.google.storagetransfer.v1.proto.TransferTypes.ErrorSummary getErrorBr * repeated .google.storagetransfer.v1.ErrorSummary error_breakdowns = 8; */ @java.lang.Override - public com.google.storagetransfer.v1.proto.TransferTypes.ErrorSummaryOrBuilder getErrorBreakdownsOrBuilder( - int index) { + public com.google.storagetransfer.v1.proto.TransferTypes.ErrorSummaryOrBuilder + getErrorBreakdownsOrBuilder(int index) { return errorBreakdowns_.get(index); } public static final int TRANSFER_JOB_NAME_FIELD_NUMBER = 9; private volatile java.lang.Object transferJobName_; /** + * + * *
      * The name of the transfer job that triggers this transfer operation.
      * 
* * string transfer_job_name = 9; + * * @return The transferJobName. */ @java.lang.Override @@ -39984,29 +45983,29 @@ public java.lang.String getTransferJobName() { 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(); transferJobName_ = s; return s; } } /** + * + * *
      * The name of the transfer job that triggers this transfer operation.
      * 
* * string transfer_job_name = 9; + * * @return The bytes for transferJobName. */ @java.lang.Override - public com.google.protobuf.ByteString - getTransferJobNameBytes() { + public com.google.protobuf.ByteString getTransferJobNameBytes() { java.lang.Object ref = transferJobName_; 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); transferJobName_ = b; return b; } else { @@ -40015,6 +46014,7 @@ public java.lang.String getTransferJobName() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -40026,8 +46026,7 @@ 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 (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -40043,7 +46042,10 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) if (endTime_ != null) { output.writeMessage(5, getEndTime()); } - if (status_ != com.google.storagetransfer.v1.proto.TransferTypes.TransferOperation.Status.STATUS_UNSPECIFIED.getNumber()) { + if (status_ + != com.google.storagetransfer.v1.proto.TransferTypes.TransferOperation.Status + .STATUS_UNSPECIFIED + .getNumber()) { output.writeEnum(6, status_); } if (counters_ != null) { @@ -40074,35 +46076,33 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, projectId_); } if (transferSpec_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(3, getTransferSpec()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getTransferSpec()); } if (startTime_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(4, getStartTime()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(4, getStartTime()); } if (endTime_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(5, getEndTime()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(5, getEndTime()); } - if (status_ != com.google.storagetransfer.v1.proto.TransferTypes.TransferOperation.Status.STATUS_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(6, status_); + if (status_ + != com.google.storagetransfer.v1.proto.TransferTypes.TransferOperation.Status + .STATUS_UNSPECIFIED + .getNumber()) { + size += com.google.protobuf.CodedOutputStream.computeEnumSize(6, status_); } if (counters_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(7, getCounters()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(7, getCounters()); } for (int i = 0; i < errorBreakdowns_.size(); i++) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(8, errorBreakdowns_.get(i)); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize(8, errorBreakdowns_.get(i)); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(transferJobName_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(9, transferJobName_); } if (notificationConfig_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(10, getNotificationConfig()); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize(10, getNotificationConfig()); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -40112,47 +46112,39 @@ 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.storagetransfer.v1.proto.TransferTypes.TransferOperation)) { return super.equals(obj); } - com.google.storagetransfer.v1.proto.TransferTypes.TransferOperation other = (com.google.storagetransfer.v1.proto.TransferTypes.TransferOperation) obj; + com.google.storagetransfer.v1.proto.TransferTypes.TransferOperation other = + (com.google.storagetransfer.v1.proto.TransferTypes.TransferOperation) obj; - if (!getName() - .equals(other.getName())) return false; - if (!getProjectId() - .equals(other.getProjectId())) return false; + if (!getName().equals(other.getName())) return false; + if (!getProjectId().equals(other.getProjectId())) return false; if (hasTransferSpec() != other.hasTransferSpec()) return false; if (hasTransferSpec()) { - if (!getTransferSpec() - .equals(other.getTransferSpec())) return false; + if (!getTransferSpec().equals(other.getTransferSpec())) return false; } if (hasNotificationConfig() != other.hasNotificationConfig()) return false; if (hasNotificationConfig()) { - if (!getNotificationConfig() - .equals(other.getNotificationConfig())) return false; + if (!getNotificationConfig().equals(other.getNotificationConfig())) return false; } if (hasStartTime() != other.hasStartTime()) return false; if (hasStartTime()) { - if (!getStartTime() - .equals(other.getStartTime())) return false; + if (!getStartTime().equals(other.getStartTime())) return false; } if (hasEndTime() != other.hasEndTime()) return false; if (hasEndTime()) { - if (!getEndTime() - .equals(other.getEndTime())) return false; + if (!getEndTime().equals(other.getEndTime())) return false; } if (status_ != other.status_) return false; if (hasCounters() != other.hasCounters()) return false; if (hasCounters()) { - if (!getCounters() - .equals(other.getCounters())) return false; + if (!getCounters().equals(other.getCounters())) return false; } - if (!getErrorBreakdownsList() - .equals(other.getErrorBreakdownsList())) return false; - if (!getTransferJobName() - .equals(other.getTransferJobName())) return false; + if (!getErrorBreakdownsList().equals(other.getErrorBreakdownsList())) return false; + if (!getTransferJobName().equals(other.getTransferJobName())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -40202,87 +46194,95 @@ public int hashCode() { } public static com.google.storagetransfer.v1.proto.TransferTypes.TransferOperation parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.storagetransfer.v1.proto.TransferTypes.TransferOperation 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.storagetransfer.v1.proto.TransferTypes.TransferOperation parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.storagetransfer.v1.proto.TransferTypes.TransferOperation 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.storagetransfer.v1.proto.TransferTypes.TransferOperation parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.storagetransfer.v1.proto.TransferTypes.TransferOperation parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.storagetransfer.v1.proto.TransferTypes.TransferOperation 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.storagetransfer.v1.proto.TransferTypes.TransferOperation parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.storagetransfer.v1.proto.TransferTypes.TransferOperation parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.storagetransfer.v1.proto.TransferTypes.TransferOperation 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.storagetransfer.v1.proto.TransferTypes.TransferOperation parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.storagetransfer.v1.proto.TransferTypes.TransferOperation + parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } - public static com.google.storagetransfer.v1.proto.TransferTypes.TransferOperation parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + + public static com.google.storagetransfer.v1.proto.TransferTypes.TransferOperation + parseDelimitedFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.storagetransfer.v1.proto.TransferTypes.TransferOperation 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.storagetransfer.v1.proto.TransferTypes.TransferOperation 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.storagetransfer.v1.proto.TransferTypes.TransferOperation prototype) { + + public static Builder newBuilder( + com.google.storagetransfer.v1.proto.TransferTypes.TransferOperation 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 @@ -40292,45 +46292,51 @@ protected Builder newBuilderForType( return builder; } /** + * + * *
      * A description of the execution of a transfer.
      * 
* * Protobuf type {@code google.storagetransfer.v1.TransferOperation} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder + extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.storagetransfer.v1.TransferOperation) com.google.storagetransfer.v1.proto.TransferTypes.TransferOperationOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.storagetransfer.v1.proto.TransferTypes.internal_static_google_storagetransfer_v1_TransferOperation_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.storagetransfer.v1.proto.TransferTypes + .internal_static_google_storagetransfer_v1_TransferOperation_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.storagetransfer.v1.proto.TransferTypes.internal_static_google_storagetransfer_v1_TransferOperation_fieldAccessorTable + return com.google.storagetransfer.v1.proto.TransferTypes + .internal_static_google_storagetransfer_v1_TransferOperation_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.storagetransfer.v1.proto.TransferTypes.TransferOperation.class, com.google.storagetransfer.v1.proto.TransferTypes.TransferOperation.Builder.class); + com.google.storagetransfer.v1.proto.TransferTypes.TransferOperation.class, + com.google.storagetransfer.v1.proto.TransferTypes.TransferOperation.Builder.class); } - // Construct using com.google.storagetransfer.v1.proto.TransferTypes.TransferOperation.newBuilder() + // Construct using + // com.google.storagetransfer.v1.proto.TransferTypes.TransferOperation.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { getErrorBreakdownsFieldBuilder(); } } + @java.lang.Override public Builder clear() { super.clear(); @@ -40382,14 +46388,16 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.storagetransfer.v1.proto.TransferTypes.internal_static_google_storagetransfer_v1_TransferOperation_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.storagetransfer.v1.proto.TransferTypes + .internal_static_google_storagetransfer_v1_TransferOperation_descriptor; } @java.lang.Override - public com.google.storagetransfer.v1.proto.TransferTypes.TransferOperation getDefaultInstanceForType() { - return com.google.storagetransfer.v1.proto.TransferTypes.TransferOperation.getDefaultInstance(); + public com.google.storagetransfer.v1.proto.TransferTypes.TransferOperation + getDefaultInstanceForType() { + return com.google.storagetransfer.v1.proto.TransferTypes.TransferOperation + .getDefaultInstance(); } @java.lang.Override @@ -40403,7 +46411,8 @@ public com.google.storagetransfer.v1.proto.TransferTypes.TransferOperation build @java.lang.Override public com.google.storagetransfer.v1.proto.TransferTypes.TransferOperation buildPartial() { - com.google.storagetransfer.v1.proto.TransferTypes.TransferOperation result = new com.google.storagetransfer.v1.proto.TransferTypes.TransferOperation(this); + com.google.storagetransfer.v1.proto.TransferTypes.TransferOperation result = + new com.google.storagetransfer.v1.proto.TransferTypes.TransferOperation(this); int from_bitField0_ = bitField0_; result.name_ = name_; result.projectId_ = projectId_; @@ -40451,46 +46460,53 @@ public com.google.storagetransfer.v1.proto.TransferTypes.TransferOperation build public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + int index, + java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.storagetransfer.v1.proto.TransferTypes.TransferOperation) { - return mergeFrom((com.google.storagetransfer.v1.proto.TransferTypes.TransferOperation)other); + return mergeFrom( + (com.google.storagetransfer.v1.proto.TransferTypes.TransferOperation) other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.google.storagetransfer.v1.proto.TransferTypes.TransferOperation other) { - if (other == com.google.storagetransfer.v1.proto.TransferTypes.TransferOperation.getDefaultInstance()) return this; + public Builder mergeFrom( + com.google.storagetransfer.v1.proto.TransferTypes.TransferOperation other) { + if (other + == com.google.storagetransfer.v1.proto.TransferTypes.TransferOperation + .getDefaultInstance()) return this; if (!other.getName().isEmpty()) { name_ = other.name_; onChanged(); @@ -40535,9 +46551,10 @@ public Builder mergeFrom(com.google.storagetransfer.v1.proto.TransferTypes.Trans errorBreakdownsBuilder_ = null; errorBreakdowns_ = other.errorBreakdowns_; bitField0_ = (bitField0_ & ~0x00000001); - errorBreakdownsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? - getErrorBreakdownsFieldBuilder() : null; + errorBreakdownsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders + ? getErrorBreakdownsFieldBuilder() + : null; } else { errorBreakdownsBuilder_.addAllMessages(other.errorBreakdowns_); } @@ -40566,7 +46583,9 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.storagetransfer.v1.proto.TransferTypes.TransferOperation) e.getUnfinishedMessage(); + parsedMessage = + (com.google.storagetransfer.v1.proto.TransferTypes.TransferOperation) + e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -40575,22 +46594,25 @@ public Builder mergeFrom( } return this; } + private int bitField0_; private java.lang.Object name_ = ""; /** + * + * *
        * A globally unique ID assigned by the system.
        * 
* * string name = 1; + * * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; 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(); name_ = s; return s; @@ -40599,20 +46621,21 @@ public java.lang.String getName() { } } /** + * + * *
        * A globally unique ID assigned by the system.
        * 
* * string name = 1; + * * @return The bytes for name. */ - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; 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); name_ = b; return b; } else { @@ -40620,54 +46643,61 @@ public java.lang.String getName() { } } /** + * + * *
        * A globally unique ID assigned by the system.
        * 
* * string name = 1; + * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName( - java.lang.String value) { + public Builder setName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** + * + * *
        * A globally unique ID assigned by the system.
        * 
* * string name = 1; + * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** + * + * *
        * A globally unique ID assigned by the system.
        * 
* * string name = 1; + * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes( - com.google.protobuf.ByteString value) { + public Builder setNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; @@ -40675,18 +46705,20 @@ public Builder setNameBytes( private java.lang.Object projectId_ = ""; /** + * + * *
        * The ID of the Google Cloud project that owns the operation.
        * 
* * string project_id = 2; + * * @return The projectId. */ public java.lang.String getProjectId() { java.lang.Object ref = projectId_; 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(); projectId_ = s; return s; @@ -40695,20 +46727,21 @@ public java.lang.String getProjectId() { } } /** + * + * *
        * The ID of the Google Cloud project that owns the operation.
        * 
* * string project_id = 2; + * * @return The bytes for projectId. */ - public com.google.protobuf.ByteString - getProjectIdBytes() { + public com.google.protobuf.ByteString getProjectIdBytes() { java.lang.Object ref = projectId_; 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); projectId_ = b; return b; } else { @@ -40716,54 +46749,61 @@ public java.lang.String getProjectId() { } } /** + * + * *
        * The ID of the Google Cloud project that owns the operation.
        * 
* * string project_id = 2; + * * @param value The projectId to set. * @return This builder for chaining. */ - public Builder setProjectId( - java.lang.String value) { + public Builder setProjectId(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + projectId_ = value; onChanged(); return this; } /** + * + * *
        * The ID of the Google Cloud project that owns the operation.
        * 
* * string project_id = 2; + * * @return This builder for chaining. */ public Builder clearProjectId() { - + projectId_ = getDefaultInstance().getProjectId(); onChanged(); return this; } /** + * + * *
        * The ID of the Google Cloud project that owns the operation.
        * 
* * string project_id = 2; + * * @param value The bytes for projectId to set. * @return This builder for chaining. */ - public Builder setProjectIdBytes( - com.google.protobuf.ByteString value) { + public Builder setProjectIdBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + projectId_ = value; onChanged(); return this; @@ -40771,41 +46811,55 @@ public Builder setProjectIdBytes( private com.google.storagetransfer.v1.proto.TransferTypes.TransferSpec transferSpec_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.storagetransfer.v1.proto.TransferTypes.TransferSpec, com.google.storagetransfer.v1.proto.TransferTypes.TransferSpec.Builder, com.google.storagetransfer.v1.proto.TransferTypes.TransferSpecOrBuilder> transferSpecBuilder_; + com.google.storagetransfer.v1.proto.TransferTypes.TransferSpec, + com.google.storagetransfer.v1.proto.TransferTypes.TransferSpec.Builder, + com.google.storagetransfer.v1.proto.TransferTypes.TransferSpecOrBuilder> + transferSpecBuilder_; /** + * + * *
        * Transfer specification.
        * 
* * .google.storagetransfer.v1.TransferSpec transfer_spec = 3; + * * @return Whether the transferSpec field is set. */ public boolean hasTransferSpec() { return transferSpecBuilder_ != null || transferSpec_ != null; } /** + * + * *
        * Transfer specification.
        * 
* * .google.storagetransfer.v1.TransferSpec transfer_spec = 3; + * * @return The transferSpec. */ public com.google.storagetransfer.v1.proto.TransferTypes.TransferSpec getTransferSpec() { if (transferSpecBuilder_ == null) { - return transferSpec_ == null ? com.google.storagetransfer.v1.proto.TransferTypes.TransferSpec.getDefaultInstance() : transferSpec_; + return transferSpec_ == null + ? com.google.storagetransfer.v1.proto.TransferTypes.TransferSpec.getDefaultInstance() + : transferSpec_; } else { return transferSpecBuilder_.getMessage(); } } /** + * + * *
        * Transfer specification.
        * 
* * .google.storagetransfer.v1.TransferSpec transfer_spec = 3; */ - public Builder setTransferSpec(com.google.storagetransfer.v1.proto.TransferTypes.TransferSpec value) { + public Builder setTransferSpec( + com.google.storagetransfer.v1.proto.TransferTypes.TransferSpec value) { if (transferSpecBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -40819,6 +46873,8 @@ public Builder setTransferSpec(com.google.storagetransfer.v1.proto.TransferTypes return this; } /** + * + * *
        * Transfer specification.
        * 
@@ -40837,17 +46893,23 @@ public Builder setTransferSpec( return this; } /** + * + * *
        * Transfer specification.
        * 
* * .google.storagetransfer.v1.TransferSpec transfer_spec = 3; */ - public Builder mergeTransferSpec(com.google.storagetransfer.v1.proto.TransferTypes.TransferSpec value) { + public Builder mergeTransferSpec( + com.google.storagetransfer.v1.proto.TransferTypes.TransferSpec value) { if (transferSpecBuilder_ == null) { if (transferSpec_ != null) { transferSpec_ = - com.google.storagetransfer.v1.proto.TransferTypes.TransferSpec.newBuilder(transferSpec_).mergeFrom(value).buildPartial(); + com.google.storagetransfer.v1.proto.TransferTypes.TransferSpec.newBuilder( + transferSpec_) + .mergeFrom(value) + .buildPartial(); } else { transferSpec_ = value; } @@ -40859,6 +46921,8 @@ public Builder mergeTransferSpec(com.google.storagetransfer.v1.proto.TransferTyp return this; } /** + * + * *
        * Transfer specification.
        * 
@@ -40877,33 +46941,42 @@ public Builder clearTransferSpec() { return this; } /** + * + * *
        * Transfer specification.
        * 
* * .google.storagetransfer.v1.TransferSpec transfer_spec = 3; */ - public com.google.storagetransfer.v1.proto.TransferTypes.TransferSpec.Builder getTransferSpecBuilder() { - + public com.google.storagetransfer.v1.proto.TransferTypes.TransferSpec.Builder + getTransferSpecBuilder() { + onChanged(); return getTransferSpecFieldBuilder().getBuilder(); } /** + * + * *
        * Transfer specification.
        * 
* * .google.storagetransfer.v1.TransferSpec transfer_spec = 3; */ - public com.google.storagetransfer.v1.proto.TransferTypes.TransferSpecOrBuilder getTransferSpecOrBuilder() { + public com.google.storagetransfer.v1.proto.TransferTypes.TransferSpecOrBuilder + getTransferSpecOrBuilder() { if (transferSpecBuilder_ != null) { return transferSpecBuilder_.getMessageOrBuilder(); } else { - return transferSpec_ == null ? - com.google.storagetransfer.v1.proto.TransferTypes.TransferSpec.getDefaultInstance() : transferSpec_; + return transferSpec_ == null + ? com.google.storagetransfer.v1.proto.TransferTypes.TransferSpec.getDefaultInstance() + : transferSpec_; } } /** + * + * *
        * Transfer specification.
        * 
@@ -40911,56 +46984,76 @@ public com.google.storagetransfer.v1.proto.TransferTypes.TransferSpecOrBuilder g * .google.storagetransfer.v1.TransferSpec transfer_spec = 3; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.storagetransfer.v1.proto.TransferTypes.TransferSpec, com.google.storagetransfer.v1.proto.TransferTypes.TransferSpec.Builder, com.google.storagetransfer.v1.proto.TransferTypes.TransferSpecOrBuilder> + com.google.storagetransfer.v1.proto.TransferTypes.TransferSpec, + com.google.storagetransfer.v1.proto.TransferTypes.TransferSpec.Builder, + com.google.storagetransfer.v1.proto.TransferTypes.TransferSpecOrBuilder> getTransferSpecFieldBuilder() { if (transferSpecBuilder_ == null) { - transferSpecBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.storagetransfer.v1.proto.TransferTypes.TransferSpec, com.google.storagetransfer.v1.proto.TransferTypes.TransferSpec.Builder, com.google.storagetransfer.v1.proto.TransferTypes.TransferSpecOrBuilder>( - getTransferSpec(), - getParentForChildren(), - isClean()); + transferSpecBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.storagetransfer.v1.proto.TransferTypes.TransferSpec, + com.google.storagetransfer.v1.proto.TransferTypes.TransferSpec.Builder, + com.google.storagetransfer.v1.proto.TransferTypes.TransferSpecOrBuilder>( + getTransferSpec(), getParentForChildren(), isClean()); transferSpec_ = null; } return transferSpecBuilder_; } - private com.google.storagetransfer.v1.proto.TransferTypes.NotificationConfig notificationConfig_; + private com.google.storagetransfer.v1.proto.TransferTypes.NotificationConfig + notificationConfig_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.storagetransfer.v1.proto.TransferTypes.NotificationConfig, com.google.storagetransfer.v1.proto.TransferTypes.NotificationConfig.Builder, com.google.storagetransfer.v1.proto.TransferTypes.NotificationConfigOrBuilder> notificationConfigBuilder_; + com.google.storagetransfer.v1.proto.TransferTypes.NotificationConfig, + com.google.storagetransfer.v1.proto.TransferTypes.NotificationConfig.Builder, + com.google.storagetransfer.v1.proto.TransferTypes.NotificationConfigOrBuilder> + notificationConfigBuilder_; /** + * + * *
        * Notification configuration.
        * 
* * .google.storagetransfer.v1.NotificationConfig notification_config = 10; + * * @return Whether the notificationConfig field is set. */ public boolean hasNotificationConfig() { return notificationConfigBuilder_ != null || notificationConfig_ != null; } /** + * + * *
        * Notification configuration.
        * 
* * .google.storagetransfer.v1.NotificationConfig notification_config = 10; + * * @return The notificationConfig. */ - public com.google.storagetransfer.v1.proto.TransferTypes.NotificationConfig getNotificationConfig() { + public com.google.storagetransfer.v1.proto.TransferTypes.NotificationConfig + getNotificationConfig() { if (notificationConfigBuilder_ == null) { - return notificationConfig_ == null ? com.google.storagetransfer.v1.proto.TransferTypes.NotificationConfig.getDefaultInstance() : notificationConfig_; + return notificationConfig_ == null + ? com.google.storagetransfer.v1.proto.TransferTypes.NotificationConfig + .getDefaultInstance() + : notificationConfig_; } else { return notificationConfigBuilder_.getMessage(); } } /** + * + * *
        * Notification configuration.
        * 
* * .google.storagetransfer.v1.NotificationConfig notification_config = 10; */ - public Builder setNotificationConfig(com.google.storagetransfer.v1.proto.TransferTypes.NotificationConfig value) { + public Builder setNotificationConfig( + com.google.storagetransfer.v1.proto.TransferTypes.NotificationConfig value) { if (notificationConfigBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -40974,6 +47067,8 @@ public Builder setNotificationConfig(com.google.storagetransfer.v1.proto.Transfe return this; } /** + * + * *
        * Notification configuration.
        * 
@@ -40981,7 +47076,8 @@ public Builder setNotificationConfig(com.google.storagetransfer.v1.proto.Transfe * .google.storagetransfer.v1.NotificationConfig notification_config = 10; */ public Builder setNotificationConfig( - com.google.storagetransfer.v1.proto.TransferTypes.NotificationConfig.Builder builderForValue) { + com.google.storagetransfer.v1.proto.TransferTypes.NotificationConfig.Builder + builderForValue) { if (notificationConfigBuilder_ == null) { notificationConfig_ = builderForValue.build(); onChanged(); @@ -40992,17 +47088,23 @@ public Builder setNotificationConfig( return this; } /** + * + * *
        * Notification configuration.
        * 
* * .google.storagetransfer.v1.NotificationConfig notification_config = 10; */ - public Builder mergeNotificationConfig(com.google.storagetransfer.v1.proto.TransferTypes.NotificationConfig value) { + public Builder mergeNotificationConfig( + com.google.storagetransfer.v1.proto.TransferTypes.NotificationConfig value) { if (notificationConfigBuilder_ == null) { if (notificationConfig_ != null) { notificationConfig_ = - com.google.storagetransfer.v1.proto.TransferTypes.NotificationConfig.newBuilder(notificationConfig_).mergeFrom(value).buildPartial(); + com.google.storagetransfer.v1.proto.TransferTypes.NotificationConfig.newBuilder( + notificationConfig_) + .mergeFrom(value) + .buildPartial(); } else { notificationConfig_ = value; } @@ -41014,6 +47116,8 @@ public Builder mergeNotificationConfig(com.google.storagetransfer.v1.proto.Trans return this; } /** + * + * *
        * Notification configuration.
        * 
@@ -41032,33 +47136,43 @@ public Builder clearNotificationConfig() { return this; } /** + * + * *
        * Notification configuration.
        * 
* * .google.storagetransfer.v1.NotificationConfig notification_config = 10; */ - public com.google.storagetransfer.v1.proto.TransferTypes.NotificationConfig.Builder getNotificationConfigBuilder() { - + public com.google.storagetransfer.v1.proto.TransferTypes.NotificationConfig.Builder + getNotificationConfigBuilder() { + onChanged(); return getNotificationConfigFieldBuilder().getBuilder(); } /** + * + * *
        * Notification configuration.
        * 
* * .google.storagetransfer.v1.NotificationConfig notification_config = 10; */ - public com.google.storagetransfer.v1.proto.TransferTypes.NotificationConfigOrBuilder getNotificationConfigOrBuilder() { + public com.google.storagetransfer.v1.proto.TransferTypes.NotificationConfigOrBuilder + getNotificationConfigOrBuilder() { if (notificationConfigBuilder_ != null) { return notificationConfigBuilder_.getMessageOrBuilder(); } else { - return notificationConfig_ == null ? - com.google.storagetransfer.v1.proto.TransferTypes.NotificationConfig.getDefaultInstance() : notificationConfig_; + return notificationConfig_ == null + ? com.google.storagetransfer.v1.proto.TransferTypes.NotificationConfig + .getDefaultInstance() + : notificationConfig_; } } /** + * + * *
        * Notification configuration.
        * 
@@ -41066,14 +47180,17 @@ public com.google.storagetransfer.v1.proto.TransferTypes.NotificationConfigOrBui * .google.storagetransfer.v1.NotificationConfig notification_config = 10; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.storagetransfer.v1.proto.TransferTypes.NotificationConfig, com.google.storagetransfer.v1.proto.TransferTypes.NotificationConfig.Builder, com.google.storagetransfer.v1.proto.TransferTypes.NotificationConfigOrBuilder> + com.google.storagetransfer.v1.proto.TransferTypes.NotificationConfig, + com.google.storagetransfer.v1.proto.TransferTypes.NotificationConfig.Builder, + com.google.storagetransfer.v1.proto.TransferTypes.NotificationConfigOrBuilder> getNotificationConfigFieldBuilder() { if (notificationConfigBuilder_ == null) { - notificationConfigBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.storagetransfer.v1.proto.TransferTypes.NotificationConfig, com.google.storagetransfer.v1.proto.TransferTypes.NotificationConfig.Builder, com.google.storagetransfer.v1.proto.TransferTypes.NotificationConfigOrBuilder>( - getNotificationConfig(), - getParentForChildren(), - isClean()); + notificationConfigBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.storagetransfer.v1.proto.TransferTypes.NotificationConfig, + com.google.storagetransfer.v1.proto.TransferTypes.NotificationConfig.Builder, + com.google.storagetransfer.v1.proto.TransferTypes.NotificationConfigOrBuilder>( + getNotificationConfig(), getParentForChildren(), isClean()); notificationConfig_ = null; } return notificationConfigBuilder_; @@ -41081,34 +47198,47 @@ public com.google.storagetransfer.v1.proto.TransferTypes.NotificationConfigOrBui private com.google.protobuf.Timestamp startTime_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> startTimeBuilder_; + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder> + startTimeBuilder_; /** + * + * *
        * Start time of this transfer execution.
        * 
* * .google.protobuf.Timestamp start_time = 4; + * * @return Whether the startTime field is set. */ public boolean hasStartTime() { return startTimeBuilder_ != null || startTime_ != null; } /** + * + * *
        * Start time of this transfer execution.
        * 
* * .google.protobuf.Timestamp start_time = 4; + * * @return The startTime. */ public com.google.protobuf.Timestamp getStartTime() { if (startTimeBuilder_ == null) { - return startTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : startTime_; + return startTime_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : startTime_; } else { return startTimeBuilder_.getMessage(); } } /** + * + * *
        * Start time of this transfer execution.
        * 
@@ -41129,14 +47259,15 @@ public Builder setStartTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
        * Start time of this transfer execution.
        * 
* * .google.protobuf.Timestamp start_time = 4; */ - public Builder setStartTime( - com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setStartTime(com.google.protobuf.Timestamp.Builder builderForValue) { if (startTimeBuilder_ == null) { startTime_ = builderForValue.build(); onChanged(); @@ -41147,6 +47278,8 @@ public Builder setStartTime( return this; } /** + * + * *
        * Start time of this transfer execution.
        * 
@@ -41157,7 +47290,9 @@ public Builder mergeStartTime(com.google.protobuf.Timestamp value) { if (startTimeBuilder_ == null) { if (startTime_ != null) { startTime_ = - com.google.protobuf.Timestamp.newBuilder(startTime_).mergeFrom(value).buildPartial(); + com.google.protobuf.Timestamp.newBuilder(startTime_) + .mergeFrom(value) + .buildPartial(); } else { startTime_ = value; } @@ -41169,6 +47304,8 @@ public Builder mergeStartTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
        * Start time of this transfer execution.
        * 
@@ -41187,6 +47324,8 @@ public Builder clearStartTime() { return this; } /** + * + * *
        * Start time of this transfer execution.
        * 
@@ -41194,11 +47333,13 @@ public Builder clearStartTime() { * .google.protobuf.Timestamp start_time = 4; */ public com.google.protobuf.Timestamp.Builder getStartTimeBuilder() { - + onChanged(); return getStartTimeFieldBuilder().getBuilder(); } /** + * + * *
        * Start time of this transfer execution.
        * 
@@ -41209,11 +47350,14 @@ public com.google.protobuf.TimestampOrBuilder getStartTimeOrBuilder() { if (startTimeBuilder_ != null) { return startTimeBuilder_.getMessageOrBuilder(); } else { - return startTime_ == null ? - com.google.protobuf.Timestamp.getDefaultInstance() : startTime_; + return startTime_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : startTime_; } } /** + * + * *
        * Start time of this transfer execution.
        * 
@@ -41221,14 +47365,17 @@ public com.google.protobuf.TimestampOrBuilder getStartTimeOrBuilder() { * .google.protobuf.Timestamp start_time = 4; */ 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> getStartTimeFieldBuilder() { if (startTimeBuilder_ == null) { - startTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( - getStartTime(), - getParentForChildren(), - isClean()); + startTimeBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder>( + getStartTime(), getParentForChildren(), isClean()); startTime_ = null; } return startTimeBuilder_; @@ -41236,24 +47383,33 @@ public com.google.protobuf.TimestampOrBuilder getStartTimeOrBuilder() { 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_; /** + * + * *
        * End time of this transfer execution.
        * 
* * .google.protobuf.Timestamp end_time = 5; + * * @return Whether the endTime field is set. */ public boolean hasEndTime() { return endTimeBuilder_ != null || endTime_ != null; } /** + * + * *
        * End time of this transfer execution.
        * 
* * .google.protobuf.Timestamp end_time = 5; + * * @return The endTime. */ public com.google.protobuf.Timestamp getEndTime() { @@ -41264,6 +47420,8 @@ public com.google.protobuf.Timestamp getEndTime() { } } /** + * + * *
        * End time of this transfer execution.
        * 
@@ -41284,14 +47442,15 @@ public Builder setEndTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
        * End time of this transfer execution.
        * 
* * .google.protobuf.Timestamp end_time = 5; */ - 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(); @@ -41302,6 +47461,8 @@ public Builder setEndTime( return this; } /** + * + * *
        * End time of this transfer execution.
        * 
@@ -41312,7 +47473,7 @@ 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; } @@ -41324,6 +47485,8 @@ public Builder mergeEndTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
        * End time of this transfer execution.
        * 
@@ -41342,6 +47505,8 @@ public Builder clearEndTime() { return this; } /** + * + * *
        * End time of this transfer execution.
        * 
@@ -41349,11 +47514,13 @@ public Builder clearEndTime() { * .google.protobuf.Timestamp end_time = 5; */ public com.google.protobuf.Timestamp.Builder getEndTimeBuilder() { - + onChanged(); return getEndTimeFieldBuilder().getBuilder(); } /** + * + * *
        * End time of this transfer execution.
        * 
@@ -41364,11 +47531,12 @@ 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_; } } /** + * + * *
        * End time of this transfer execution.
        * 
@@ -41376,14 +47544,17 @@ public com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder() { * .google.protobuf.Timestamp end_time = 5; */ 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_; @@ -41391,73 +47562,96 @@ public com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder() { private int status_ = 0; /** + * + * *
        * Status of the transfer operation.
        * 
* * .google.storagetransfer.v1.TransferOperation.Status status = 6; + * * @return The enum numeric value on the wire for status. */ - @java.lang.Override public int getStatusValue() { + @java.lang.Override + public int getStatusValue() { return status_; } /** + * + * *
        * Status of the transfer operation.
        * 
* * .google.storagetransfer.v1.TransferOperation.Status status = 6; + * * @param value The enum numeric value on the wire for status to set. * @return This builder for chaining. */ public Builder setStatusValue(int value) { - + status_ = value; onChanged(); return this; } /** + * + * *
        * Status of the transfer operation.
        * 
* * .google.storagetransfer.v1.TransferOperation.Status status = 6; + * * @return The status. */ @java.lang.Override - public com.google.storagetransfer.v1.proto.TransferTypes.TransferOperation.Status getStatus() { + public com.google.storagetransfer.v1.proto.TransferTypes.TransferOperation.Status + getStatus() { @SuppressWarnings("deprecation") - com.google.storagetransfer.v1.proto.TransferTypes.TransferOperation.Status result = com.google.storagetransfer.v1.proto.TransferTypes.TransferOperation.Status.valueOf(status_); - return result == null ? com.google.storagetransfer.v1.proto.TransferTypes.TransferOperation.Status.UNRECOGNIZED : result; + com.google.storagetransfer.v1.proto.TransferTypes.TransferOperation.Status result = + com.google.storagetransfer.v1.proto.TransferTypes.TransferOperation.Status.valueOf( + status_); + return result == null + ? com.google.storagetransfer.v1.proto.TransferTypes.TransferOperation.Status + .UNRECOGNIZED + : result; } /** + * + * *
        * Status of the transfer operation.
        * 
* * .google.storagetransfer.v1.TransferOperation.Status status = 6; + * * @param value The status to set. * @return This builder for chaining. */ - public Builder setStatus(com.google.storagetransfer.v1.proto.TransferTypes.TransferOperation.Status value) { + public Builder setStatus( + com.google.storagetransfer.v1.proto.TransferTypes.TransferOperation.Status value) { if (value == null) { throw new NullPointerException(); } - + status_ = value.getNumber(); onChanged(); return this; } /** + * + * *
        * Status of the transfer operation.
        * 
* * .google.storagetransfer.v1.TransferOperation.Status status = 6; + * * @return This builder for chaining. */ public Builder clearStatus() { - + status_ = 0; onChanged(); return this; @@ -41465,41 +47659,56 @@ public Builder clearStatus() { private com.google.storagetransfer.v1.proto.TransferTypes.TransferCounters counters_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.storagetransfer.v1.proto.TransferTypes.TransferCounters, com.google.storagetransfer.v1.proto.TransferTypes.TransferCounters.Builder, com.google.storagetransfer.v1.proto.TransferTypes.TransferCountersOrBuilder> countersBuilder_; + com.google.storagetransfer.v1.proto.TransferTypes.TransferCounters, + com.google.storagetransfer.v1.proto.TransferTypes.TransferCounters.Builder, + com.google.storagetransfer.v1.proto.TransferTypes.TransferCountersOrBuilder> + countersBuilder_; /** + * + * *
        * Information about the progress of the transfer operation.
        * 
* * .google.storagetransfer.v1.TransferCounters counters = 7; + * * @return Whether the counters field is set. */ public boolean hasCounters() { return countersBuilder_ != null || counters_ != null; } /** + * + * *
        * Information about the progress of the transfer operation.
        * 
* * .google.storagetransfer.v1.TransferCounters counters = 7; + * * @return The counters. */ public com.google.storagetransfer.v1.proto.TransferTypes.TransferCounters getCounters() { if (countersBuilder_ == null) { - return counters_ == null ? com.google.storagetransfer.v1.proto.TransferTypes.TransferCounters.getDefaultInstance() : counters_; + return counters_ == null + ? com.google.storagetransfer.v1.proto.TransferTypes.TransferCounters + .getDefaultInstance() + : counters_; } else { return countersBuilder_.getMessage(); } } /** + * + * *
        * Information about the progress of the transfer operation.
        * 
* * .google.storagetransfer.v1.TransferCounters counters = 7; */ - public Builder setCounters(com.google.storagetransfer.v1.proto.TransferTypes.TransferCounters value) { + public Builder setCounters( + com.google.storagetransfer.v1.proto.TransferTypes.TransferCounters value) { if (countersBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -41513,6 +47722,8 @@ public Builder setCounters(com.google.storagetransfer.v1.proto.TransferTypes.Tra return this; } /** + * + * *
        * Information about the progress of the transfer operation.
        * 
@@ -41520,7 +47731,8 @@ public Builder setCounters(com.google.storagetransfer.v1.proto.TransferTypes.Tra * .google.storagetransfer.v1.TransferCounters counters = 7; */ public Builder setCounters( - com.google.storagetransfer.v1.proto.TransferTypes.TransferCounters.Builder builderForValue) { + com.google.storagetransfer.v1.proto.TransferTypes.TransferCounters.Builder + builderForValue) { if (countersBuilder_ == null) { counters_ = builderForValue.build(); onChanged(); @@ -41531,17 +47743,23 @@ public Builder setCounters( return this; } /** + * + * *
        * Information about the progress of the transfer operation.
        * 
* * .google.storagetransfer.v1.TransferCounters counters = 7; */ - public Builder mergeCounters(com.google.storagetransfer.v1.proto.TransferTypes.TransferCounters value) { + public Builder mergeCounters( + com.google.storagetransfer.v1.proto.TransferTypes.TransferCounters value) { if (countersBuilder_ == null) { if (counters_ != null) { counters_ = - com.google.storagetransfer.v1.proto.TransferTypes.TransferCounters.newBuilder(counters_).mergeFrom(value).buildPartial(); + com.google.storagetransfer.v1.proto.TransferTypes.TransferCounters.newBuilder( + counters_) + .mergeFrom(value) + .buildPartial(); } else { counters_ = value; } @@ -41553,6 +47771,8 @@ public Builder mergeCounters(com.google.storagetransfer.v1.proto.TransferTypes.T return this; } /** + * + * *
        * Information about the progress of the transfer operation.
        * 
@@ -41571,33 +47791,43 @@ public Builder clearCounters() { return this; } /** + * + * *
        * Information about the progress of the transfer operation.
        * 
* * .google.storagetransfer.v1.TransferCounters counters = 7; */ - public com.google.storagetransfer.v1.proto.TransferTypes.TransferCounters.Builder getCountersBuilder() { - + public com.google.storagetransfer.v1.proto.TransferTypes.TransferCounters.Builder + getCountersBuilder() { + onChanged(); return getCountersFieldBuilder().getBuilder(); } /** + * + * *
        * Information about the progress of the transfer operation.
        * 
* * .google.storagetransfer.v1.TransferCounters counters = 7; */ - public com.google.storagetransfer.v1.proto.TransferTypes.TransferCountersOrBuilder getCountersOrBuilder() { + public com.google.storagetransfer.v1.proto.TransferTypes.TransferCountersOrBuilder + getCountersOrBuilder() { if (countersBuilder_ != null) { return countersBuilder_.getMessageOrBuilder(); } else { - return counters_ == null ? - com.google.storagetransfer.v1.proto.TransferTypes.TransferCounters.getDefaultInstance() : counters_; + return counters_ == null + ? com.google.storagetransfer.v1.proto.TransferTypes.TransferCounters + .getDefaultInstance() + : counters_; } } /** + * + * *
        * Information about the progress of the transfer operation.
        * 
@@ -41605,39 +47835,51 @@ public com.google.storagetransfer.v1.proto.TransferTypes.TransferCountersOrBuild * .google.storagetransfer.v1.TransferCounters counters = 7; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.storagetransfer.v1.proto.TransferTypes.TransferCounters, com.google.storagetransfer.v1.proto.TransferTypes.TransferCounters.Builder, com.google.storagetransfer.v1.proto.TransferTypes.TransferCountersOrBuilder> + com.google.storagetransfer.v1.proto.TransferTypes.TransferCounters, + com.google.storagetransfer.v1.proto.TransferTypes.TransferCounters.Builder, + com.google.storagetransfer.v1.proto.TransferTypes.TransferCountersOrBuilder> getCountersFieldBuilder() { if (countersBuilder_ == null) { - countersBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.storagetransfer.v1.proto.TransferTypes.TransferCounters, com.google.storagetransfer.v1.proto.TransferTypes.TransferCounters.Builder, com.google.storagetransfer.v1.proto.TransferTypes.TransferCountersOrBuilder>( - getCounters(), - getParentForChildren(), - isClean()); + countersBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.storagetransfer.v1.proto.TransferTypes.TransferCounters, + com.google.storagetransfer.v1.proto.TransferTypes.TransferCounters.Builder, + com.google.storagetransfer.v1.proto.TransferTypes.TransferCountersOrBuilder>( + getCounters(), getParentForChildren(), isClean()); counters_ = null; } return countersBuilder_; } - private java.util.List errorBreakdowns_ = - java.util.Collections.emptyList(); + private java.util.List + errorBreakdowns_ = java.util.Collections.emptyList(); + private void ensureErrorBreakdownsIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { - errorBreakdowns_ = new java.util.ArrayList(errorBreakdowns_); + errorBreakdowns_ = + new java.util.ArrayList< + com.google.storagetransfer.v1.proto.TransferTypes.ErrorSummary>(errorBreakdowns_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.storagetransfer.v1.proto.TransferTypes.ErrorSummary, com.google.storagetransfer.v1.proto.TransferTypes.ErrorSummary.Builder, com.google.storagetransfer.v1.proto.TransferTypes.ErrorSummaryOrBuilder> errorBreakdownsBuilder_; + com.google.storagetransfer.v1.proto.TransferTypes.ErrorSummary, + com.google.storagetransfer.v1.proto.TransferTypes.ErrorSummary.Builder, + com.google.storagetransfer.v1.proto.TransferTypes.ErrorSummaryOrBuilder> + errorBreakdownsBuilder_; /** + * + * *
        * Summarizes errors encountered with sample error log entries.
        * 
* * repeated .google.storagetransfer.v1.ErrorSummary error_breakdowns = 8; */ - public java.util.List getErrorBreakdownsList() { + public java.util.List + getErrorBreakdownsList() { if (errorBreakdownsBuilder_ == null) { return java.util.Collections.unmodifiableList(errorBreakdowns_); } else { @@ -41645,6 +47887,8 @@ public java.util.List * Summarizes errors encountered with sample error log entries. *
@@ -41659,13 +47903,16 @@ public int getErrorBreakdownsCount() { } } /** + * + * *
        * Summarizes errors encountered with sample error log entries.
        * 
* * repeated .google.storagetransfer.v1.ErrorSummary error_breakdowns = 8; */ - public com.google.storagetransfer.v1.proto.TransferTypes.ErrorSummary getErrorBreakdowns(int index) { + public com.google.storagetransfer.v1.proto.TransferTypes.ErrorSummary getErrorBreakdowns( + int index) { if (errorBreakdownsBuilder_ == null) { return errorBreakdowns_.get(index); } else { @@ -41673,6 +47920,8 @@ public com.google.storagetransfer.v1.proto.TransferTypes.ErrorSummary getErrorBr } } /** + * + * *
        * Summarizes errors encountered with sample error log entries.
        * 
@@ -41694,6 +47943,8 @@ public Builder setErrorBreakdowns( return this; } /** + * + * *
        * Summarizes errors encountered with sample error log entries.
        * 
@@ -41701,7 +47952,8 @@ public Builder setErrorBreakdowns( * repeated .google.storagetransfer.v1.ErrorSummary error_breakdowns = 8; */ public Builder setErrorBreakdowns( - int index, com.google.storagetransfer.v1.proto.TransferTypes.ErrorSummary.Builder builderForValue) { + int index, + com.google.storagetransfer.v1.proto.TransferTypes.ErrorSummary.Builder builderForValue) { if (errorBreakdownsBuilder_ == null) { ensureErrorBreakdownsIsMutable(); errorBreakdowns_.set(index, builderForValue.build()); @@ -41712,13 +47964,16 @@ public Builder setErrorBreakdowns( return this; } /** + * + * *
        * Summarizes errors encountered with sample error log entries.
        * 
* * repeated .google.storagetransfer.v1.ErrorSummary error_breakdowns = 8; */ - public Builder addErrorBreakdowns(com.google.storagetransfer.v1.proto.TransferTypes.ErrorSummary value) { + public Builder addErrorBreakdowns( + com.google.storagetransfer.v1.proto.TransferTypes.ErrorSummary value) { if (errorBreakdownsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -41732,6 +47987,8 @@ public Builder addErrorBreakdowns(com.google.storagetransfer.v1.proto.TransferTy return this; } /** + * + * *
        * Summarizes errors encountered with sample error log entries.
        * 
@@ -41753,6 +48010,8 @@ public Builder addErrorBreakdowns( return this; } /** + * + * *
        * Summarizes errors encountered with sample error log entries.
        * 
@@ -41771,6 +48030,8 @@ public Builder addErrorBreakdowns( return this; } /** + * + * *
        * Summarizes errors encountered with sample error log entries.
        * 
@@ -41778,7 +48039,8 @@ public Builder addErrorBreakdowns( * repeated .google.storagetransfer.v1.ErrorSummary error_breakdowns = 8; */ public Builder addErrorBreakdowns( - int index, com.google.storagetransfer.v1.proto.TransferTypes.ErrorSummary.Builder builderForValue) { + int index, + com.google.storagetransfer.v1.proto.TransferTypes.ErrorSummary.Builder builderForValue) { if (errorBreakdownsBuilder_ == null) { ensureErrorBreakdownsIsMutable(); errorBreakdowns_.add(index, builderForValue.build()); @@ -41789,6 +48051,8 @@ public Builder addErrorBreakdowns( return this; } /** + * + * *
        * Summarizes errors encountered with sample error log entries.
        * 
@@ -41796,11 +48060,12 @@ public Builder addErrorBreakdowns( * repeated .google.storagetransfer.v1.ErrorSummary error_breakdowns = 8; */ public Builder addAllErrorBreakdowns( - java.lang.Iterable values) { + java.lang.Iterable< + ? extends com.google.storagetransfer.v1.proto.TransferTypes.ErrorSummary> + values) { if (errorBreakdownsBuilder_ == null) { ensureErrorBreakdownsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, errorBreakdowns_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, errorBreakdowns_); onChanged(); } else { errorBreakdownsBuilder_.addAllMessages(values); @@ -41808,6 +48073,8 @@ public Builder addAllErrorBreakdowns( return this; } /** + * + * *
        * Summarizes errors encountered with sample error log entries.
        * 
@@ -41825,6 +48092,8 @@ public Builder clearErrorBreakdowns() { return this; } /** + * + * *
        * Summarizes errors encountered with sample error log entries.
        * 
@@ -41842,39 +48111,47 @@ public Builder removeErrorBreakdowns(int index) { return this; } /** + * + * *
        * Summarizes errors encountered with sample error log entries.
        * 
* * repeated .google.storagetransfer.v1.ErrorSummary error_breakdowns = 8; */ - public com.google.storagetransfer.v1.proto.TransferTypes.ErrorSummary.Builder getErrorBreakdownsBuilder( - int index) { + public com.google.storagetransfer.v1.proto.TransferTypes.ErrorSummary.Builder + getErrorBreakdownsBuilder(int index) { return getErrorBreakdownsFieldBuilder().getBuilder(index); } /** + * + * *
        * Summarizes errors encountered with sample error log entries.
        * 
* * repeated .google.storagetransfer.v1.ErrorSummary error_breakdowns = 8; */ - public com.google.storagetransfer.v1.proto.TransferTypes.ErrorSummaryOrBuilder getErrorBreakdownsOrBuilder( - int index) { + public com.google.storagetransfer.v1.proto.TransferTypes.ErrorSummaryOrBuilder + getErrorBreakdownsOrBuilder(int index) { if (errorBreakdownsBuilder_ == null) { - return errorBreakdowns_.get(index); } else { + return errorBreakdowns_.get(index); + } else { return errorBreakdownsBuilder_.getMessageOrBuilder(index); } } /** + * + * *
        * Summarizes errors encountered with sample error log entries.
        * 
* * repeated .google.storagetransfer.v1.ErrorSummary error_breakdowns = 8; */ - public java.util.List - getErrorBreakdownsOrBuilderList() { + public java.util.List< + ? extends com.google.storagetransfer.v1.proto.TransferTypes.ErrorSummaryOrBuilder> + getErrorBreakdownsOrBuilderList() { if (errorBreakdownsBuilder_ != null) { return errorBreakdownsBuilder_.getMessageOrBuilderList(); } else { @@ -41882,45 +48159,63 @@ public com.google.storagetransfer.v1.proto.TransferTypes.ErrorSummaryOrBuilder g } } /** + * + * *
        * Summarizes errors encountered with sample error log entries.
        * 
* * repeated .google.storagetransfer.v1.ErrorSummary error_breakdowns = 8; */ - public com.google.storagetransfer.v1.proto.TransferTypes.ErrorSummary.Builder addErrorBreakdownsBuilder() { - return getErrorBreakdownsFieldBuilder().addBuilder( - com.google.storagetransfer.v1.proto.TransferTypes.ErrorSummary.getDefaultInstance()); + public com.google.storagetransfer.v1.proto.TransferTypes.ErrorSummary.Builder + addErrorBreakdownsBuilder() { + return getErrorBreakdownsFieldBuilder() + .addBuilder( + com.google.storagetransfer.v1.proto.TransferTypes.ErrorSummary + .getDefaultInstance()); } /** + * + * *
        * Summarizes errors encountered with sample error log entries.
        * 
* * repeated .google.storagetransfer.v1.ErrorSummary error_breakdowns = 8; */ - public com.google.storagetransfer.v1.proto.TransferTypes.ErrorSummary.Builder addErrorBreakdownsBuilder( - int index) { - return getErrorBreakdownsFieldBuilder().addBuilder( - index, com.google.storagetransfer.v1.proto.TransferTypes.ErrorSummary.getDefaultInstance()); + public com.google.storagetransfer.v1.proto.TransferTypes.ErrorSummary.Builder + addErrorBreakdownsBuilder(int index) { + return getErrorBreakdownsFieldBuilder() + .addBuilder( + index, + com.google.storagetransfer.v1.proto.TransferTypes.ErrorSummary + .getDefaultInstance()); } /** + * + * *
        * Summarizes errors encountered with sample error log entries.
        * 
* * repeated .google.storagetransfer.v1.ErrorSummary error_breakdowns = 8; */ - public java.util.List - getErrorBreakdownsBuilderList() { + public java.util.List + getErrorBreakdownsBuilderList() { return getErrorBreakdownsFieldBuilder().getBuilderList(); } + private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.storagetransfer.v1.proto.TransferTypes.ErrorSummary, com.google.storagetransfer.v1.proto.TransferTypes.ErrorSummary.Builder, com.google.storagetransfer.v1.proto.TransferTypes.ErrorSummaryOrBuilder> + com.google.storagetransfer.v1.proto.TransferTypes.ErrorSummary, + com.google.storagetransfer.v1.proto.TransferTypes.ErrorSummary.Builder, + com.google.storagetransfer.v1.proto.TransferTypes.ErrorSummaryOrBuilder> getErrorBreakdownsFieldBuilder() { if (errorBreakdownsBuilder_ == null) { - errorBreakdownsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.storagetransfer.v1.proto.TransferTypes.ErrorSummary, com.google.storagetransfer.v1.proto.TransferTypes.ErrorSummary.Builder, com.google.storagetransfer.v1.proto.TransferTypes.ErrorSummaryOrBuilder>( + errorBreakdownsBuilder_ = + new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.storagetransfer.v1.proto.TransferTypes.ErrorSummary, + com.google.storagetransfer.v1.proto.TransferTypes.ErrorSummary.Builder, + com.google.storagetransfer.v1.proto.TransferTypes.ErrorSummaryOrBuilder>( errorBreakdowns_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), @@ -41932,18 +48227,20 @@ public com.google.storagetransfer.v1.proto.TransferTypes.ErrorSummary.Builder ad private java.lang.Object transferJobName_ = ""; /** + * + * *
        * The name of the transfer job that triggers this transfer operation.
        * 
* * string transfer_job_name = 9; + * * @return The transferJobName. */ public java.lang.String getTransferJobName() { java.lang.Object ref = transferJobName_; 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(); transferJobName_ = s; return s; @@ -41952,20 +48249,21 @@ public java.lang.String getTransferJobName() { } } /** + * + * *
        * The name of the transfer job that triggers this transfer operation.
        * 
* * string transfer_job_name = 9; + * * @return The bytes for transferJobName. */ - public com.google.protobuf.ByteString - getTransferJobNameBytes() { + public com.google.protobuf.ByteString getTransferJobNameBytes() { java.lang.Object ref = transferJobName_; 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); transferJobName_ = b; return b; } else { @@ -41973,58 +48271,66 @@ public java.lang.String getTransferJobName() { } } /** + * + * *
        * The name of the transfer job that triggers this transfer operation.
        * 
* * string transfer_job_name = 9; + * * @param value The transferJobName to set. * @return This builder for chaining. */ - public Builder setTransferJobName( - java.lang.String value) { + public Builder setTransferJobName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + transferJobName_ = value; onChanged(); return this; } /** + * + * *
        * The name of the transfer job that triggers this transfer operation.
        * 
* * string transfer_job_name = 9; + * * @return This builder for chaining. */ public Builder clearTransferJobName() { - + transferJobName_ = getDefaultInstance().getTransferJobName(); onChanged(); return this; } /** + * + * *
        * The name of the transfer job that triggers this transfer operation.
        * 
* * string transfer_job_name = 9; + * * @param value The bytes for transferJobName to set. * @return This builder for chaining. */ - public Builder setTransferJobNameBytes( - com.google.protobuf.ByteString value) { + public Builder setTransferJobNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + transferJobName_ = value; onChanged(); return this; } + @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -42037,30 +48343,32 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.storagetransfer.v1.TransferOperation) } // @@protoc_insertion_point(class_scope:google.storagetransfer.v1.TransferOperation) - private static final com.google.storagetransfer.v1.proto.TransferTypes.TransferOperation DEFAULT_INSTANCE; + private static final com.google.storagetransfer.v1.proto.TransferTypes.TransferOperation + DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.storagetransfer.v1.proto.TransferTypes.TransferOperation(); } - public static com.google.storagetransfer.v1.proto.TransferTypes.TransferOperation getDefaultInstance() { + public static com.google.storagetransfer.v1.proto.TransferTypes.TransferOperation + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public TransferOperation parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new TransferOperation(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public TransferOperation parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new TransferOperation(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -42072,546 +48380,649 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.storagetransfer.v1.proto.TransferTypes.TransferOperation getDefaultInstanceForType() { + public com.google.storagetransfer.v1.proto.TransferTypes.TransferOperation + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } private static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_storagetransfer_v1_GoogleServiceAccount_descriptor; - private static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_storagetransfer_v1_GoogleServiceAccount_descriptor; + private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_google_storagetransfer_v1_GoogleServiceAccount_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_storagetransfer_v1_AwsAccessKey_descriptor; - private static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_storagetransfer_v1_AwsAccessKey_descriptor; + private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_google_storagetransfer_v1_AwsAccessKey_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_storagetransfer_v1_AzureCredentials_descriptor; - private static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_storagetransfer_v1_AzureCredentials_descriptor; + private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_google_storagetransfer_v1_AzureCredentials_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_storagetransfer_v1_ObjectConditions_descriptor; - private static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_storagetransfer_v1_ObjectConditions_descriptor; + private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_google_storagetransfer_v1_ObjectConditions_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_storagetransfer_v1_GcsData_descriptor; - private static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_storagetransfer_v1_GcsData_descriptor; + private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_google_storagetransfer_v1_GcsData_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_storagetransfer_v1_AwsS3Data_descriptor; - private static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_storagetransfer_v1_AwsS3Data_descriptor; + private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_google_storagetransfer_v1_AwsS3Data_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_storagetransfer_v1_AzureBlobStorageData_descriptor; - private static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_storagetransfer_v1_AzureBlobStorageData_descriptor; + private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_google_storagetransfer_v1_AzureBlobStorageData_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_storagetransfer_v1_HttpData_descriptor; - private static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_storagetransfer_v1_HttpData_descriptor; + private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_google_storagetransfer_v1_HttpData_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_storagetransfer_v1_PosixFilesystem_descriptor; - private static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_storagetransfer_v1_PosixFilesystem_descriptor; + private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_google_storagetransfer_v1_PosixFilesystem_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_storagetransfer_v1_AwsS3CompatibleData_descriptor; - private static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_storagetransfer_v1_AwsS3CompatibleData_descriptor; + private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_google_storagetransfer_v1_AwsS3CompatibleData_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_storagetransfer_v1_S3CompatibleMetadata_descriptor; - private static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_storagetransfer_v1_S3CompatibleMetadata_descriptor; + private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_google_storagetransfer_v1_S3CompatibleMetadata_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_storagetransfer_v1_AgentPool_descriptor; - private static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_storagetransfer_v1_AgentPool_descriptor; + private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_google_storagetransfer_v1_AgentPool_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_storagetransfer_v1_AgentPool_BandwidthLimit_descriptor; - private static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_storagetransfer_v1_AgentPool_BandwidthLimit_descriptor; + private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_google_storagetransfer_v1_AgentPool_BandwidthLimit_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_storagetransfer_v1_TransferOptions_descriptor; - private static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_storagetransfer_v1_TransferOptions_descriptor; + private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_google_storagetransfer_v1_TransferOptions_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_storagetransfer_v1_TransferSpec_descriptor; - private static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_storagetransfer_v1_TransferSpec_descriptor; + private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_google_storagetransfer_v1_TransferSpec_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_storagetransfer_v1_MetadataOptions_descriptor; - private static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_storagetransfer_v1_MetadataOptions_descriptor; + private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_google_storagetransfer_v1_MetadataOptions_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_storagetransfer_v1_TransferManifest_descriptor; - private static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_storagetransfer_v1_TransferManifest_descriptor; + private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_google_storagetransfer_v1_TransferManifest_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_storagetransfer_v1_Schedule_descriptor; - private static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_storagetransfer_v1_Schedule_descriptor; + private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_google_storagetransfer_v1_Schedule_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_storagetransfer_v1_TransferJob_descriptor; - private static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_storagetransfer_v1_TransferJob_descriptor; + private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_google_storagetransfer_v1_TransferJob_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_storagetransfer_v1_ErrorLogEntry_descriptor; - private static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_storagetransfer_v1_ErrorLogEntry_descriptor; + private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_google_storagetransfer_v1_ErrorLogEntry_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_storagetransfer_v1_ErrorSummary_descriptor; - private static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_storagetransfer_v1_ErrorSummary_descriptor; + private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_google_storagetransfer_v1_ErrorSummary_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_storagetransfer_v1_TransferCounters_descriptor; - private static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_storagetransfer_v1_TransferCounters_descriptor; + private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_google_storagetransfer_v1_TransferCounters_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_storagetransfer_v1_NotificationConfig_descriptor; - private static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_storagetransfer_v1_NotificationConfig_descriptor; + private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_google_storagetransfer_v1_NotificationConfig_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_storagetransfer_v1_LoggingConfig_descriptor; - private static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_storagetransfer_v1_LoggingConfig_descriptor; + private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_google_storagetransfer_v1_LoggingConfig_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_storagetransfer_v1_TransferOperation_descriptor; - private static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_storagetransfer_v1_TransferOperation_descriptor; + private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_google_storagetransfer_v1_TransferOperation_fieldAccessorTable; - public static com.google.protobuf.Descriptors.FileDescriptor - getDescriptor() { + public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { return descriptor; } - private static com.google.protobuf.Descriptors.FileDescriptor - descriptor; + + private static com.google.protobuf.Descriptors.FileDescriptor descriptor; + static { java.lang.String[] descriptorData = { - "\n.google/storagetransfer/v1/transfer_typ" + - "es.proto\022\031google.storagetransfer.v1\032\037goo" + - "gle/api/field_behavior.proto\032\031google/api" + - "/resource.proto\032\036google/protobuf/duratio" + - "n.proto\032\037google/protobuf/timestamp.proto" + - "\032\025google/rpc/code.proto\032\026google/type/dat" + - "e.proto\032\033google/type/timeofday.proto\"A\n\024" + - "GoogleServiceAccount\022\025\n\raccount_email\030\001 " + - "\001(\t\022\022\n\nsubject_id\030\002 \001(\t\"J\n\014AwsAccessKey\022" + - "\032\n\raccess_key_id\030\001 \001(\tB\003\340A\002\022\036\n\021secret_ac" + - "cess_key\030\002 \001(\tB\003\340A\002\"*\n\020AzureCredentials\022" + - "\026\n\tsas_token\030\002 \001(\tB\003\340A\002\"\323\002\n\020ObjectCondit" + - "ions\022K\n(min_time_elapsed_since_last_modi" + - "fication\030\001 \001(\0132\031.google.protobuf.Duratio" + - "n\022K\n(max_time_elapsed_since_last_modific" + - "ation\030\002 \001(\0132\031.google.protobuf.Duration\022\030" + - "\n\020include_prefixes\030\003 \003(\t\022\030\n\020exclude_pref" + - "ixes\030\004 \003(\t\0227\n\023last_modified_since\030\005 \001(\0132" + - "\032.google.protobuf.Timestamp\0228\n\024last_modi" + - "fied_before\030\006 \001(\0132\032.google.protobuf.Time" + - "stamp\"1\n\007GcsData\022\030\n\013bucket_name\030\001 \001(\tB\003\340" + - "A\002\022\014\n\004path\030\003 \001(\t\"\213\001\n\tAwsS3Data\022\030\n\013bucket" + - "_name\030\001 \001(\tB\003\340A\002\022D\n\016aws_access_key\030\002 \001(\013" + - "2\'.google.storagetransfer.v1.AwsAccessKe" + - "yB\003\340A\004\022\014\n\004path\030\003 \001(\t\022\020\n\010role_arn\030\004 \001(\t\"\252" + - "\001\n\024AzureBlobStorageData\022\034\n\017storage_accou" + - "nt\030\001 \001(\tB\003\340A\002\022N\n\021azure_credentials\030\002 \001(\013" + - "2+.google.storagetransfer.v1.AzureCreden" + - "tialsB\006\340A\002\340A\004\022\026\n\tcontainer\030\004 \001(\tB\003\340A\002\022\014\n" + - "\004path\030\005 \001(\t\"!\n\010HttpData\022\025\n\010list_url\030\001 \001(" + - "\tB\003\340A\002\")\n\017PosixFilesystem\022\026\n\016root_direct" + - "ory\030\001 \001(\t\"\275\001\n\023AwsS3CompatibleData\022\030\n\013buc" + - "ket_name\030\001 \001(\tB\003\340A\002\022\014\n\004path\030\002 \001(\t\022\025\n\010end" + - "point\030\003 \001(\tB\003\340A\002\022\016\n\006region\030\005 \001(\t\022F\n\013s3_m" + - "etadata\030\004 \001(\0132/.google.storagetransfer.v" + - "1.S3CompatibleMetadataH\000B\017\n\rdata_provide" + - "r\"\366\005\n\024S3CompatibleMetadata\022O\n\013auth_metho" + - "d\030\001 \001(\0162:.google.storagetransfer.v1.S3Co" + - "mpatibleMetadata.AuthMethod\022S\n\rrequest_m" + - "odel\030\002 \001(\0162<.google.storagetransfer.v1.S" + - "3CompatibleMetadata.RequestModel\022Q\n\010prot" + - "ocol\030\003 \001(\0162?.google.storagetransfer.v1.S" + - "3CompatibleMetadata.NetworkProtocol\022I\n\010l" + - "ist_api\030\004 \001(\01627.google.storagetransfer.v" + - "1.S3CompatibleMetadata.ListApi\"m\n\nAuthMe" + - "thod\022\033\n\027AUTH_METHOD_UNSPECIFIED\020\000\022 \n\034AUT" + - "H_METHOD_AWS_SIGNATURE_V4\020\001\022 \n\034AUTH_METH" + - "OD_AWS_SIGNATURE_V2\020\002\"s\n\014RequestModel\022\035\n" + - "\031REQUEST_MODEL_UNSPECIFIED\020\000\022&\n\"REQUEST_" + - "MODEL_VIRTUAL_HOSTED_STYLE\020\001\022\034\n\030REQUEST_" + - "MODEL_PATH_STYLE\020\002\"j\n\017NetworkProtocol\022 \n" + - "\034NETWORK_PROTOCOL_UNSPECIFIED\020\000\022\032\n\026NETWO" + - "RK_PROTOCOL_HTTPS\020\001\022\031\n\025NETWORK_PROTOCOL_" + - "HTTP\020\002\"J\n\007ListApi\022\030\n\024LIST_API_UNSPECIFIE" + - "D\020\000\022\023\n\017LIST_OBJECTS_V2\020\001\022\020\n\014LIST_OBJECTS" + - "\020\002\"\223\003\n\tAgentPool\022\021\n\004name\030\002 \001(\tB\003\340A\002\022\024\n\014d" + - "isplay_name\030\003 \001(\t\022>\n\005state\030\004 \001(\0162*.googl" + - "e.storagetransfer.v1.AgentPool.StateB\003\340A" + - "\003\022L\n\017bandwidth_limit\030\005 \001(\01323.google.stor" + - "agetransfer.v1.AgentPool.BandwidthLimit\032" + - "$\n\016BandwidthLimit\022\022\n\nlimit_mbps\030\001 \001(\003\"G\n" + - "\005State\022\025\n\021STATE_UNSPECIFIED\020\000\022\014\n\010CREATIN" + - "G\020\001\022\013\n\007CREATED\020\002\022\014\n\010DELETING\020\003:`\352A]\n)sto" + - "ragetransfer.googleapis.com/agentPools\0220" + - "projects/{project_id}/agentPools/{agent_" + - "pool_id}\"\216\003\n\017TransferOptions\0222\n*overwrit" + - "e_objects_already_existing_in_sink\030\001 \001(\010" + - "\022%\n\035delete_objects_unique_in_sink\030\002 \001(\010\022" + - "1\n)delete_objects_from_source_after_tran" + - "sfer\030\003 \001(\010\022P\n\016overwrite_when\030\004 \001(\01628.goo" + - "gle.storagetransfer.v1.TransferOptions.O" + - "verwriteWhen\022D\n\020metadata_options\030\005 \001(\0132*" + - ".google.storagetransfer.v1.MetadataOptio" + - "ns\"U\n\rOverwriteWhen\022\036\n\032OVERWRITE_WHEN_UN" + - "SPECIFIED\020\000\022\r\n\tDIFFERENT\020\001\022\t\n\005NEVER\020\002\022\n\n" + - "\006ALWAYS\020\003\"\357\007\n\014TransferSpec\022;\n\rgcs_data_s" + - "ink\030\004 \001(\0132\".google.storagetransfer.v1.Gc" + - "sDataH\000\022E\n\017posix_data_sink\030\r \001(\0132*.googl" + - "e.storagetransfer.v1.PosixFilesystemH\000\022=" + - "\n\017gcs_data_source\030\001 \001(\0132\".google.storage" + - "transfer.v1.GcsDataH\001\022B\n\022aws_s3_data_sou" + - "rce\030\002 \001(\0132$.google.storagetransfer.v1.Aw" + - "sS3DataH\001\022?\n\020http_data_source\030\003 \001(\0132#.go" + - "ogle.storagetransfer.v1.HttpDataH\001\022G\n\021po" + - "six_data_source\030\016 \001(\0132*.google.storagetr" + - "ansfer.v1.PosixFilesystemH\001\022Y\n\036azure_blo" + - "b_storage_data_source\030\010 \001(\0132/.google.sto" + - "ragetransfer.v1.AzureBlobStorageDataH\001\022W" + - "\n\035aws_s3_compatible_data_source\030\023 \001(\0132.." + - "google.storagetransfer.v1.AwsS3Compatibl" + - "eDataH\001\022L\n\036gcs_intermediate_data_locatio" + - "n\030\020 \001(\0132\".google.storagetransfer.v1.GcsD" + - "ataH\002\022F\n\021object_conditions\030\005 \001(\0132+.googl" + - "e.storagetransfer.v1.ObjectConditions\022D\n" + - "\020transfer_options\030\006 \001(\0132*.google.storage" + - "transfer.v1.TransferOptions\022F\n\021transfer_" + - "manifest\030\017 \001(\0132+.google.storagetransfer." + - "v1.TransferManifest\022\036\n\026source_agent_pool" + - "_name\030\021 \001(\t\022\034\n\024sink_agent_pool_name\030\022 \001(" + - "\tB\013\n\tdata_sinkB\r\n\013data_sourceB\034\n\032interme" + - "diate_data_location\"\361\013\n\017MetadataOptions\022" + - "C\n\007symlink\030\001 \001(\01622.google.storagetransfe" + - "r.v1.MetadataOptions.Symlink\022=\n\004mode\030\002 \001" + - "(\0162/.google.storagetransfer.v1.MetadataO" + - "ptions.Mode\022;\n\003gid\030\003 \001(\0162..google.storag" + - "etransfer.v1.MetadataOptions.GID\022;\n\003uid\030" + - "\004 \001(\0162..google.storagetransfer.v1.Metada" + - "taOptions.UID\022;\n\003acl\030\005 \001(\0162..google.stor" + - "agetransfer.v1.MetadataOptions.Acl\022N\n\rst" + - "orage_class\030\006 \001(\01627.google.storagetransf" + - "er.v1.MetadataOptions.StorageClass\022P\n\016te" + - "mporary_hold\030\007 \001(\01628.google.storagetrans" + - "fer.v1.MetadataOptions.TemporaryHold\022B\n\007" + - "kms_key\030\010 \001(\01621.google.storagetransfer.v" + - "1.MetadataOptions.KmsKey\022L\n\014time_created" + - "\030\t \001(\01626.google.storagetransfer.v1.Metad" + - "ataOptions.TimeCreated\"J\n\007Symlink\022\027\n\023SYM" + - "LINK_UNSPECIFIED\020\000\022\020\n\014SYMLINK_SKIP\020\001\022\024\n\020" + - "SYMLINK_PRESERVE\020\002\">\n\004Mode\022\024\n\020MODE_UNSPE" + - "CIFIED\020\000\022\r\n\tMODE_SKIP\020\001\022\021\n\rMODE_PRESERVE" + - "\020\002\"8\n\003GID\022\023\n\017GID_UNSPECIFIED\020\000\022\014\n\010GID_SK" + - "IP\020\001\022\016\n\nGID_NUMBER\020\002\"8\n\003UID\022\023\n\017UID_UNSPE" + - "CIFIED\020\000\022\014\n\010UID_SKIP\020\001\022\016\n\nUID_NUMBER\020\002\"P" + - "\n\003Acl\022\023\n\017ACL_UNSPECIFIED\020\000\022\"\n\036ACL_DESTIN" + - "ATION_BUCKET_DEFAULT\020\001\022\020\n\014ACL_PRESERVE\020\002" + - "\"\346\001\n\014StorageClass\022\035\n\031STORAGE_CLASS_UNSPE" + - "CIFIED\020\000\022,\n(STORAGE_CLASS_DESTINATION_BU" + - "CKET_DEFAULT\020\001\022\032\n\026STORAGE_CLASS_PRESERVE" + - "\020\002\022\032\n\026STORAGE_CLASS_STANDARD\020\003\022\032\n\026STORAG" + - "E_CLASS_NEARLINE\020\004\022\032\n\026STORAGE_CLASS_COLD" + - "LINE\020\005\022\031\n\025STORAGE_CLASS_ARCHIVE\020\006\"e\n\rTem" + - "poraryHold\022\036\n\032TEMPORARY_HOLD_UNSPECIFIED" + - "\020\000\022\027\n\023TEMPORARY_HOLD_SKIP\020\001\022\033\n\027TEMPORARY" + - "_HOLD_PRESERVE\020\002\"_\n\006KmsKey\022\027\n\023KMS_KEY_UN" + - "SPECIFIED\020\000\022&\n\"KMS_KEY_DESTINATION_BUCKE" + - "T_DEFAULT\020\001\022\024\n\020KMS_KEY_PRESERVE\020\002\"l\n\013Tim" + - "eCreated\022\034\n\030TIME_CREATED_UNSPECIFIED\020\000\022\025" + - "\n\021TIME_CREATED_SKIP\020\001\022(\n$TIME_CREATED_PR" + - "ESERVE_AS_CUSTOM_TIME\020\002\"$\n\020TransferManif" + - "est\022\020\n\010location\030\001 \001(\t\"\205\002\n\010Schedule\0223\n\023sc" + - "hedule_start_date\030\001 \001(\0132\021.google.type.Da" + - "teB\003\340A\002\022,\n\021schedule_end_date\030\002 \001(\0132\021.goo" + - "gle.type.Date\0221\n\021start_time_of_day\030\003 \001(\013" + - "2\026.google.type.TimeOfDay\022/\n\017end_time_of_" + - "day\030\004 \001(\0132\026.google.type.TimeOfDay\0222\n\017rep" + - "eat_interval\030\005 \001(\0132\031.google.protobuf.Dur" + - "ation\"\242\005\n\013TransferJob\022\014\n\004name\030\001 \001(\t\022\023\n\013d" + - "escription\030\002 \001(\t\022\022\n\nproject_id\030\003 \001(\t\022>\n\r" + - "transfer_spec\030\004 \001(\0132\'.google.storagetran" + - "sfer.v1.TransferSpec\022J\n\023notification_con" + - "fig\030\013 \001(\0132-.google.storagetransfer.v1.No" + - "tificationConfig\022@\n\016logging_config\030\016 \001(\013" + - "2(.google.storagetransfer.v1.LoggingConf" + - "ig\0225\n\010schedule\030\005 \001(\0132#.google.storagetra" + - "nsfer.v1.Schedule\022=\n\006status\030\006 \001(\0162-.goog" + - "le.storagetransfer.v1.TransferJob.Status" + - "\0226\n\rcreation_time\030\007 \001(\0132\032.google.protobu" + - "f.TimestampB\003\340A\003\022?\n\026last_modification_ti" + - "me\030\010 \001(\0132\032.google.protobuf.TimestampB\003\340A" + - "\003\0226\n\rdeletion_time\030\t \001(\0132\032.google.protob" + - "uf.TimestampB\003\340A\003\022\035\n\025latest_operation_na" + - "me\030\014 \001(\t\"H\n\006Status\022\026\n\022STATUS_UNSPECIFIED" + - "\020\000\022\013\n\007ENABLED\020\001\022\014\n\010DISABLED\020\002\022\013\n\007DELETED" + - "\020\003\"8\n\rErrorLogEntry\022\020\n\003url\030\001 \001(\tB\003\340A\002\022\025\n" + - "\rerror_details\030\003 \003(\t\"\230\001\n\014ErrorSummary\022)\n" + - "\nerror_code\030\001 \001(\0162\020.google.rpc.CodeB\003\340A\002" + - "\022\030\n\013error_count\030\002 \001(\003B\003\340A\002\022C\n\021error_log_" + - "entries\030\003 \003(\0132(.google.storagetransfer.v" + - "1.ErrorLogEntry\"\303\006\n\020TransferCounters\022!\n\031" + - "objects_found_from_source\030\001 \001(\003\022\037\n\027bytes" + - "_found_from_source\030\002 \001(\003\022$\n\034objects_foun" + - "d_only_from_sink\030\003 \001(\003\022\"\n\032bytes_found_on" + - "ly_from_sink\030\004 \001(\003\022+\n#objects_from_sourc" + - "e_skipped_by_sync\030\005 \001(\003\022)\n!bytes_from_so" + - "urce_skipped_by_sync\030\006 \001(\003\022\036\n\026objects_co" + - "pied_to_sink\030\007 \001(\003\022\034\n\024bytes_copied_to_si" + - "nk\030\010 \001(\003\022#\n\033objects_deleted_from_source\030" + - "\t \001(\003\022!\n\031bytes_deleted_from_source\030\n \001(\003" + - "\022!\n\031objects_deleted_from_sink\030\013 \001(\003\022\037\n\027b" + - "ytes_deleted_from_sink\030\014 \001(\003\022\"\n\032objects_" + - "from_source_failed\030\r \001(\003\022 \n\030bytes_from_s" + - "ource_failed\030\016 \001(\003\022*\n\"objects_failed_to_" + - "delete_from_sink\030\017 \001(\003\022(\n bytes_failed_t" + - "o_delete_from_sink\030\020 \001(\003\022%\n\035directories_" + - "found_from_source\030\021 \001(\003\022.\n&directories_f" + - "ailed_to_list_from_source\030\022 \001(\003\0223\n+direc" + - "tories_successfully_listed_from_source\030\023" + - " \001(\003\022\'\n\037intermediate_objects_cleaned_up\030" + - "\026 \001(\003\022.\n&intermediate_objects_failed_cle" + - "aned_up\030\027 \001(\003\"\245\003\n\022NotificationConfig\022\031\n\014" + - "pubsub_topic\030\001 \001(\tB\003\340A\002\022L\n\013event_types\030\002" + - " \003(\01627.google.storagetransfer.v1.Notific" + - "ationConfig.EventType\022X\n\016payload_format\030" + - "\003 \001(\0162;.google.storagetransfer.v1.Notifi" + - "cationConfig.PayloadFormatB\003\340A\002\"\206\001\n\tEven" + - "tType\022\032\n\026EVENT_TYPE_UNSPECIFIED\020\000\022\036\n\032TRA" + - "NSFER_OPERATION_SUCCESS\020\001\022\035\n\031TRANSFER_OP" + - "ERATION_FAILED\020\002\022\036\n\032TRANSFER_OPERATION_A" + - "BORTED\020\003\"C\n\rPayloadFormat\022\036\n\032PAYLOAD_FOR" + - "MAT_UNSPECIFIED\020\000\022\010\n\004NONE\020\001\022\010\n\004JSON\020\002\"\213\003" + - "\n\rLoggingConfig\022L\n\013log_actions\030\001 \003(\01627.g" + - "oogle.storagetransfer.v1.LoggingConfig.L" + - "oggableAction\022W\n\021log_action_states\030\002 \003(\016" + - "2<.google.storagetransfer.v1.LoggingConf" + - "ig.LoggableActionState\022\'\n\037enable_onprem_" + - "gcs_transfer_logs\030\003 \001(\010\"Q\n\016LoggableActio" + - "n\022\037\n\033LOGGABLE_ACTION_UNSPECIFIED\020\000\022\010\n\004FI" + - "ND\020\001\022\n\n\006DELETE\020\002\022\010\n\004COPY\020\003\"W\n\023LoggableAc" + - "tionState\022%\n!LOGGABLE_ACTION_STATE_UNSPE" + - "CIFIED\020\000\022\r\n\tSUCCEEDED\020\001\022\n\n\006FAILED\020\002\"\362\004\n\021" + - "TransferOperation\022\014\n\004name\030\001 \001(\t\022\022\n\nproje" + - "ct_id\030\002 \001(\t\022>\n\rtransfer_spec\030\003 \001(\0132\'.goo" + - "gle.storagetransfer.v1.TransferSpec\022J\n\023n" + - "otification_config\030\n \001(\0132-.google.storag" + - "etransfer.v1.NotificationConfig\022.\n\nstart" + - "_time\030\004 \001(\0132\032.google.protobuf.Timestamp\022" + - ",\n\010end_time\030\005 \001(\0132\032.google.protobuf.Time" + - "stamp\022C\n\006status\030\006 \001(\01623.google.storagetr" + - "ansfer.v1.TransferOperation.Status\022=\n\010co" + - "unters\030\007 \001(\0132+.google.storagetransfer.v1" + - ".TransferCounters\022A\n\020error_breakdowns\030\010 " + - "\003(\0132\'.google.storagetransfer.v1.ErrorSum" + - "mary\022\031\n\021transfer_job_name\030\t \001(\t\"o\n\006Statu" + - "s\022\026\n\022STATUS_UNSPECIFIED\020\000\022\017\n\013IN_PROGRESS" + - "\020\001\022\n\n\006PAUSED\020\002\022\013\n\007SUCCESS\020\003\022\n\n\006FAILED\020\004\022" + - "\013\n\007ABORTED\020\005\022\n\n\006QUEUED\020\006B\352\001\n#com.google." + - "storagetransfer.v1.protoB\rTransferTypesZ" + - "Hgoogle.golang.org/genproto/googleapis/s" + - "toragetransfer/v1;storagetransfer\370\001\001\252\002\037G" + - "oogle.Cloud.StorageTransfer.V1\312\002\037Google\\" + - "Cloud\\StorageTransfer\\V1\352\002\"Google::Cloud" + - "::StorageTransfer::V1b\006proto3" + "\n.google/storagetransfer/v1/transfer_typ" + + "es.proto\022\031google.storagetransfer.v1\032\037goo" + + "gle/api/field_behavior.proto\032\031google/api" + + "/resource.proto\032\036google/protobuf/duratio" + + "n.proto\032\037google/protobuf/timestamp.proto" + + "\032\025google/rpc/code.proto\032\026google/type/dat" + + "e.proto\032\033google/type/timeofday.proto\"A\n\024" + + "GoogleServiceAccount\022\025\n\raccount_email\030\001 " + + "\001(\t\022\022\n\nsubject_id\030\002 \001(\t\"J\n\014AwsAccessKey\022" + + "\032\n\raccess_key_id\030\001 \001(\tB\003\340A\002\022\036\n\021secret_ac" + + "cess_key\030\002 \001(\tB\003\340A\002\"*\n\020AzureCredentials\022" + + "\026\n\tsas_token\030\002 \001(\tB\003\340A\002\"\323\002\n\020ObjectCondit" + + "ions\022K\n(min_time_elapsed_since_last_modi" + + "fication\030\001 \001(\0132\031.google.protobuf.Duratio" + + "n\022K\n(max_time_elapsed_since_last_modific" + + "ation\030\002 \001(\0132\031.google.protobuf.Duration\022\030" + + "\n\020include_prefixes\030\003 \003(\t\022\030\n\020exclude_pref" + + "ixes\030\004 \003(\t\0227\n\023last_modified_since\030\005 \001(\0132" + + "\032.google.protobuf.Timestamp\0228\n\024last_modi" + + "fied_before\030\006 \001(\0132\032.google.protobuf.Time" + + "stamp\"1\n\007GcsData\022\030\n\013bucket_name\030\001 \001(\tB\003\340" + + "A\002\022\014\n\004path\030\003 \001(\t\"\213\001\n\tAwsS3Data\022\030\n\013bucket" + + "_name\030\001 \001(\tB\003\340A\002\022D\n\016aws_access_key\030\002 \001(\013" + + "2\'.google.storagetransfer.v1.AwsAccessKe" + + "yB\003\340A\004\022\014\n\004path\030\003 \001(\t\022\020\n\010role_arn\030\004 \001(\t\"\252" + + "\001\n\024AzureBlobStorageData\022\034\n\017storage_accou" + + "nt\030\001 \001(\tB\003\340A\002\022N\n\021azure_credentials\030\002 \001(\013" + + "2+.google.storagetransfer.v1.AzureCreden" + + "tialsB\006\340A\002\340A\004\022\026\n\tcontainer\030\004 \001(\tB\003\340A\002\022\014\n" + + "\004path\030\005 \001(\t\"!\n\010HttpData\022\025\n\010list_url\030\001 \001(" + + "\tB\003\340A\002\")\n\017PosixFilesystem\022\026\n\016root_direct" + + "ory\030\001 \001(\t\"\275\001\n\023AwsS3CompatibleData\022\030\n\013buc" + + "ket_name\030\001 \001(\tB\003\340A\002\022\014\n\004path\030\002 \001(\t\022\025\n\010end" + + "point\030\003 \001(\tB\003\340A\002\022\016\n\006region\030\005 \001(\t\022F\n\013s3_m" + + "etadata\030\004 \001(\0132/.google.storagetransfer.v" + + "1.S3CompatibleMetadataH\000B\017\n\rdata_provide" + + "r\"\366\005\n\024S3CompatibleMetadata\022O\n\013auth_metho" + + "d\030\001 \001(\0162:.google.storagetransfer.v1.S3Co" + + "mpatibleMetadata.AuthMethod\022S\n\rrequest_m" + + "odel\030\002 \001(\0162<.google.storagetransfer.v1.S" + + "3CompatibleMetadata.RequestModel\022Q\n\010prot" + + "ocol\030\003 \001(\0162?.google.storagetransfer.v1.S" + + "3CompatibleMetadata.NetworkProtocol\022I\n\010l" + + "ist_api\030\004 \001(\01627.google.storagetransfer.v" + + "1.S3CompatibleMetadata.ListApi\"m\n\nAuthMe" + + "thod\022\033\n\027AUTH_METHOD_UNSPECIFIED\020\000\022 \n\034AUT" + + "H_METHOD_AWS_SIGNATURE_V4\020\001\022 \n\034AUTH_METH" + + "OD_AWS_SIGNATURE_V2\020\002\"s\n\014RequestModel\022\035\n" + + "\031REQUEST_MODEL_UNSPECIFIED\020\000\022&\n\"REQUEST_" + + "MODEL_VIRTUAL_HOSTED_STYLE\020\001\022\034\n\030REQUEST_" + + "MODEL_PATH_STYLE\020\002\"j\n\017NetworkProtocol\022 \n" + + "\034NETWORK_PROTOCOL_UNSPECIFIED\020\000\022\032\n\026NETWO" + + "RK_PROTOCOL_HTTPS\020\001\022\031\n\025NETWORK_PROTOCOL_" + + "HTTP\020\002\"J\n\007ListApi\022\030\n\024LIST_API_UNSPECIFIE" + + "D\020\000\022\023\n\017LIST_OBJECTS_V2\020\001\022\020\n\014LIST_OBJECTS" + + "\020\002\"\223\003\n\tAgentPool\022\021\n\004name\030\002 \001(\tB\003\340A\002\022\024\n\014d" + + "isplay_name\030\003 \001(\t\022>\n\005state\030\004 \001(\0162*.googl" + + "e.storagetransfer.v1.AgentPool.StateB\003\340A" + + "\003\022L\n\017bandwidth_limit\030\005 \001(\01323.google.stor" + + "agetransfer.v1.AgentPool.BandwidthLimit\032" + + "$\n\016BandwidthLimit\022\022\n\nlimit_mbps\030\001 \001(\003\"G\n" + + "\005State\022\025\n\021STATE_UNSPECIFIED\020\000\022\014\n\010CREATIN" + + "G\020\001\022\013\n\007CREATED\020\002\022\014\n\010DELETING\020\003:`\352A]\n)sto" + + "ragetransfer.googleapis.com/agentPools\0220" + + "projects/{project_id}/agentPools/{agent_" + + "pool_id}\"\216\003\n\017TransferOptions\0222\n*overwrit" + + "e_objects_already_existing_in_sink\030\001 \001(\010" + + "\022%\n\035delete_objects_unique_in_sink\030\002 \001(\010\022" + + "1\n)delete_objects_from_source_after_tran" + + "sfer\030\003 \001(\010\022P\n\016overwrite_when\030\004 \001(\01628.goo" + + "gle.storagetransfer.v1.TransferOptions.O" + + "verwriteWhen\022D\n\020metadata_options\030\005 \001(\0132*" + + ".google.storagetransfer.v1.MetadataOptio" + + "ns\"U\n\rOverwriteWhen\022\036\n\032OVERWRITE_WHEN_UN" + + "SPECIFIED\020\000\022\r\n\tDIFFERENT\020\001\022\t\n\005NEVER\020\002\022\n\n" + + "\006ALWAYS\020\003\"\357\007\n\014TransferSpec\022;\n\rgcs_data_s" + + "ink\030\004 \001(\0132\".google.storagetransfer.v1.Gc" + + "sDataH\000\022E\n\017posix_data_sink\030\r \001(\0132*.googl" + + "e.storagetransfer.v1.PosixFilesystemH\000\022=" + + "\n\017gcs_data_source\030\001 \001(\0132\".google.storage" + + "transfer.v1.GcsDataH\001\022B\n\022aws_s3_data_sou" + + "rce\030\002 \001(\0132$.google.storagetransfer.v1.Aw" + + "sS3DataH\001\022?\n\020http_data_source\030\003 \001(\0132#.go" + + "ogle.storagetransfer.v1.HttpDataH\001\022G\n\021po" + + "six_data_source\030\016 \001(\0132*.google.storagetr" + + "ansfer.v1.PosixFilesystemH\001\022Y\n\036azure_blo" + + "b_storage_data_source\030\010 \001(\0132/.google.sto" + + "ragetransfer.v1.AzureBlobStorageDataH\001\022W" + + "\n\035aws_s3_compatible_data_source\030\023 \001(\0132.." + + "google.storagetransfer.v1.AwsS3Compatibl" + + "eDataH\001\022L\n\036gcs_intermediate_data_locatio" + + "n\030\020 \001(\0132\".google.storagetransfer.v1.GcsD" + + "ataH\002\022F\n\021object_conditions\030\005 \001(\0132+.googl" + + "e.storagetransfer.v1.ObjectConditions\022D\n" + + "\020transfer_options\030\006 \001(\0132*.google.storage" + + "transfer.v1.TransferOptions\022F\n\021transfer_" + + "manifest\030\017 \001(\0132+.google.storagetransfer." + + "v1.TransferManifest\022\036\n\026source_agent_pool" + + "_name\030\021 \001(\t\022\034\n\024sink_agent_pool_name\030\022 \001(" + + "\tB\013\n\tdata_sinkB\r\n\013data_sourceB\034\n\032interme" + + "diate_data_location\"\361\013\n\017MetadataOptions\022" + + "C\n\007symlink\030\001 \001(\01622.google.storagetransfe" + + "r.v1.MetadataOptions.Symlink\022=\n\004mode\030\002 \001" + + "(\0162/.google.storagetransfer.v1.MetadataO" + + "ptions.Mode\022;\n\003gid\030\003 \001(\0162..google.storag" + + "etransfer.v1.MetadataOptions.GID\022;\n\003uid\030" + + "\004 \001(\0162..google.storagetransfer.v1.Metada" + + "taOptions.UID\022;\n\003acl\030\005 \001(\0162..google.stor" + + "agetransfer.v1.MetadataOptions.Acl\022N\n\rst" + + "orage_class\030\006 \001(\01627.google.storagetransf" + + "er.v1.MetadataOptions.StorageClass\022P\n\016te" + + "mporary_hold\030\007 \001(\01628.google.storagetrans" + + "fer.v1.MetadataOptions.TemporaryHold\022B\n\007" + + "kms_key\030\010 \001(\01621.google.storagetransfer.v" + + "1.MetadataOptions.KmsKey\022L\n\014time_created" + + "\030\t \001(\01626.google.storagetransfer.v1.Metad" + + "ataOptions.TimeCreated\"J\n\007Symlink\022\027\n\023SYM" + + "LINK_UNSPECIFIED\020\000\022\020\n\014SYMLINK_SKIP\020\001\022\024\n\020" + + "SYMLINK_PRESERVE\020\002\">\n\004Mode\022\024\n\020MODE_UNSPE" + + "CIFIED\020\000\022\r\n\tMODE_SKIP\020\001\022\021\n\rMODE_PRESERVE" + + "\020\002\"8\n\003GID\022\023\n\017GID_UNSPECIFIED\020\000\022\014\n\010GID_SK" + + "IP\020\001\022\016\n\nGID_NUMBER\020\002\"8\n\003UID\022\023\n\017UID_UNSPE" + + "CIFIED\020\000\022\014\n\010UID_SKIP\020\001\022\016\n\nUID_NUMBER\020\002\"P" + + "\n\003Acl\022\023\n\017ACL_UNSPECIFIED\020\000\022\"\n\036ACL_DESTIN" + + "ATION_BUCKET_DEFAULT\020\001\022\020\n\014ACL_PRESERVE\020\002" + + "\"\346\001\n\014StorageClass\022\035\n\031STORAGE_CLASS_UNSPE" + + "CIFIED\020\000\022,\n(STORAGE_CLASS_DESTINATION_BU" + + "CKET_DEFAULT\020\001\022\032\n\026STORAGE_CLASS_PRESERVE" + + "\020\002\022\032\n\026STORAGE_CLASS_STANDARD\020\003\022\032\n\026STORAG" + + "E_CLASS_NEARLINE\020\004\022\032\n\026STORAGE_CLASS_COLD" + + "LINE\020\005\022\031\n\025STORAGE_CLASS_ARCHIVE\020\006\"e\n\rTem" + + "poraryHold\022\036\n\032TEMPORARY_HOLD_UNSPECIFIED" + + "\020\000\022\027\n\023TEMPORARY_HOLD_SKIP\020\001\022\033\n\027TEMPORARY" + + "_HOLD_PRESERVE\020\002\"_\n\006KmsKey\022\027\n\023KMS_KEY_UN" + + "SPECIFIED\020\000\022&\n\"KMS_KEY_DESTINATION_BUCKE" + + "T_DEFAULT\020\001\022\024\n\020KMS_KEY_PRESERVE\020\002\"l\n\013Tim" + + "eCreated\022\034\n\030TIME_CREATED_UNSPECIFIED\020\000\022\025" + + "\n\021TIME_CREATED_SKIP\020\001\022(\n$TIME_CREATED_PR" + + "ESERVE_AS_CUSTOM_TIME\020\002\"$\n\020TransferManif" + + "est\022\020\n\010location\030\001 \001(\t\"\205\002\n\010Schedule\0223\n\023sc" + + "hedule_start_date\030\001 \001(\0132\021.google.type.Da" + + "teB\003\340A\002\022,\n\021schedule_end_date\030\002 \001(\0132\021.goo" + + "gle.type.Date\0221\n\021start_time_of_day\030\003 \001(\013" + + "2\026.google.type.TimeOfDay\022/\n\017end_time_of_" + + "day\030\004 \001(\0132\026.google.type.TimeOfDay\0222\n\017rep" + + "eat_interval\030\005 \001(\0132\031.google.protobuf.Dur" + + "ation\"\242\005\n\013TransferJob\022\014\n\004name\030\001 \001(\t\022\023\n\013d" + + "escription\030\002 \001(\t\022\022\n\nproject_id\030\003 \001(\t\022>\n\r" + + "transfer_spec\030\004 \001(\0132\'.google.storagetran" + + "sfer.v1.TransferSpec\022J\n\023notification_con" + + "fig\030\013 \001(\0132-.google.storagetransfer.v1.No" + + "tificationConfig\022@\n\016logging_config\030\016 \001(\013" + + "2(.google.storagetransfer.v1.LoggingConf" + + "ig\0225\n\010schedule\030\005 \001(\0132#.google.storagetra" + + "nsfer.v1.Schedule\022=\n\006status\030\006 \001(\0162-.goog" + + "le.storagetransfer.v1.TransferJob.Status" + + "\0226\n\rcreation_time\030\007 \001(\0132\032.google.protobu" + + "f.TimestampB\003\340A\003\022?\n\026last_modification_ti" + + "me\030\010 \001(\0132\032.google.protobuf.TimestampB\003\340A" + + "\003\0226\n\rdeletion_time\030\t \001(\0132\032.google.protob" + + "uf.TimestampB\003\340A\003\022\035\n\025latest_operation_na" + + "me\030\014 \001(\t\"H\n\006Status\022\026\n\022STATUS_UNSPECIFIED" + + "\020\000\022\013\n\007ENABLED\020\001\022\014\n\010DISABLED\020\002\022\013\n\007DELETED" + + "\020\003\"8\n\rErrorLogEntry\022\020\n\003url\030\001 \001(\tB\003\340A\002\022\025\n" + + "\rerror_details\030\003 \003(\t\"\230\001\n\014ErrorSummary\022)\n" + + "\nerror_code\030\001 \001(\0162\020.google.rpc.CodeB\003\340A\002" + + "\022\030\n\013error_count\030\002 \001(\003B\003\340A\002\022C\n\021error_log_" + + "entries\030\003 \003(\0132(.google.storagetransfer.v" + + "1.ErrorLogEntry\"\303\006\n\020TransferCounters\022!\n\031" + + "objects_found_from_source\030\001 \001(\003\022\037\n\027bytes" + + "_found_from_source\030\002 \001(\003\022$\n\034objects_foun" + + "d_only_from_sink\030\003 \001(\003\022\"\n\032bytes_found_on" + + "ly_from_sink\030\004 \001(\003\022+\n#objects_from_sourc" + + "e_skipped_by_sync\030\005 \001(\003\022)\n!bytes_from_so" + + "urce_skipped_by_sync\030\006 \001(\003\022\036\n\026objects_co" + + "pied_to_sink\030\007 \001(\003\022\034\n\024bytes_copied_to_si" + + "nk\030\010 \001(\003\022#\n\033objects_deleted_from_source\030" + + "\t \001(\003\022!\n\031bytes_deleted_from_source\030\n \001(\003" + + "\022!\n\031objects_deleted_from_sink\030\013 \001(\003\022\037\n\027b" + + "ytes_deleted_from_sink\030\014 \001(\003\022\"\n\032objects_" + + "from_source_failed\030\r \001(\003\022 \n\030bytes_from_s" + + "ource_failed\030\016 \001(\003\022*\n\"objects_failed_to_" + + "delete_from_sink\030\017 \001(\003\022(\n bytes_failed_t" + + "o_delete_from_sink\030\020 \001(\003\022%\n\035directories_" + + "found_from_source\030\021 \001(\003\022.\n&directories_f" + + "ailed_to_list_from_source\030\022 \001(\003\0223\n+direc" + + "tories_successfully_listed_from_source\030\023" + + " \001(\003\022\'\n\037intermediate_objects_cleaned_up\030" + + "\026 \001(\003\022.\n&intermediate_objects_failed_cle" + + "aned_up\030\027 \001(\003\"\245\003\n\022NotificationConfig\022\031\n\014" + + "pubsub_topic\030\001 \001(\tB\003\340A\002\022L\n\013event_types\030\002" + + " \003(\01627.google.storagetransfer.v1.Notific" + + "ationConfig.EventType\022X\n\016payload_format\030" + + "\003 \001(\0162;.google.storagetransfer.v1.Notifi" + + "cationConfig.PayloadFormatB\003\340A\002\"\206\001\n\tEven" + + "tType\022\032\n\026EVENT_TYPE_UNSPECIFIED\020\000\022\036\n\032TRA" + + "NSFER_OPERATION_SUCCESS\020\001\022\035\n\031TRANSFER_OP" + + "ERATION_FAILED\020\002\022\036\n\032TRANSFER_OPERATION_A" + + "BORTED\020\003\"C\n\rPayloadFormat\022\036\n\032PAYLOAD_FOR" + + "MAT_UNSPECIFIED\020\000\022\010\n\004NONE\020\001\022\010\n\004JSON\020\002\"\213\003" + + "\n\rLoggingConfig\022L\n\013log_actions\030\001 \003(\01627.g" + + "oogle.storagetransfer.v1.LoggingConfig.L" + + "oggableAction\022W\n\021log_action_states\030\002 \003(\016" + + "2<.google.storagetransfer.v1.LoggingConf" + + "ig.LoggableActionState\022\'\n\037enable_onprem_" + + "gcs_transfer_logs\030\003 \001(\010\"Q\n\016LoggableActio" + + "n\022\037\n\033LOGGABLE_ACTION_UNSPECIFIED\020\000\022\010\n\004FI" + + "ND\020\001\022\n\n\006DELETE\020\002\022\010\n\004COPY\020\003\"W\n\023LoggableAc" + + "tionState\022%\n!LOGGABLE_ACTION_STATE_UNSPE" + + "CIFIED\020\000\022\r\n\tSUCCEEDED\020\001\022\n\n\006FAILED\020\002\"\362\004\n\021" + + "TransferOperation\022\014\n\004name\030\001 \001(\t\022\022\n\nproje" + + "ct_id\030\002 \001(\t\022>\n\rtransfer_spec\030\003 \001(\0132\'.goo" + + "gle.storagetransfer.v1.TransferSpec\022J\n\023n" + + "otification_config\030\n \001(\0132-.google.storag" + + "etransfer.v1.NotificationConfig\022.\n\nstart" + + "_time\030\004 \001(\0132\032.google.protobuf.Timestamp\022" + + ",\n\010end_time\030\005 \001(\0132\032.google.protobuf.Time" + + "stamp\022C\n\006status\030\006 \001(\01623.google.storagetr" + + "ansfer.v1.TransferOperation.Status\022=\n\010co" + + "unters\030\007 \001(\0132+.google.storagetransfer.v1" + + ".TransferCounters\022A\n\020error_breakdowns\030\010 " + + "\003(\0132\'.google.storagetransfer.v1.ErrorSum" + + "mary\022\031\n\021transfer_job_name\030\t \001(\t\"o\n\006Statu" + + "s\022\026\n\022STATUS_UNSPECIFIED\020\000\022\017\n\013IN_PROGRESS" + + "\020\001\022\n\n\006PAUSED\020\002\022\013\n\007SUCCESS\020\003\022\n\n\006FAILED\020\004\022" + + "\013\n\007ABORTED\020\005\022\n\n\006QUEUED\020\006B\352\001\n#com.google." + + "storagetransfer.v1.protoB\rTransferTypesZ" + + "Hgoogle.golang.org/genproto/googleapis/s" + + "toragetransfer/v1;storagetransfer\370\001\001\252\002\037G" + + "oogle.Cloud.StorageTransfer.V1\312\002\037Google\\" + + "Cloud\\StorageTransfer\\V1\352\002\"Google::Cloud" + + "::StorageTransfer::V1b\006proto3" }; - descriptor = com.google.protobuf.Descriptors.FileDescriptor - .internalBuildGeneratedFileFrom(descriptorData, - new com.google.protobuf.Descriptors.FileDescriptor[] { - com.google.api.FieldBehaviorProto.getDescriptor(), - com.google.api.ResourceProto.getDescriptor(), - com.google.protobuf.DurationProto.getDescriptor(), - com.google.protobuf.TimestampProto.getDescriptor(), - com.google.rpc.CodeProto.getDescriptor(), - com.google.type.DateProto.getDescriptor(), - com.google.type.TimeOfDayProto.getDescriptor(), - }); + descriptor = + com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( + descriptorData, + new com.google.protobuf.Descriptors.FileDescriptor[] { + com.google.api.FieldBehaviorProto.getDescriptor(), + com.google.api.ResourceProto.getDescriptor(), + com.google.protobuf.DurationProto.getDescriptor(), + com.google.protobuf.TimestampProto.getDescriptor(), + com.google.rpc.CodeProto.getDescriptor(), + com.google.type.DateProto.getDescriptor(), + com.google.type.TimeOfDayProto.getDescriptor(), + }); internal_static_google_storagetransfer_v1_GoogleServiceAccount_descriptor = - getDescriptor().getMessageTypes().get(0); - internal_static_google_storagetransfer_v1_GoogleServiceAccount_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_storagetransfer_v1_GoogleServiceAccount_descriptor, - new java.lang.String[] { "AccountEmail", "SubjectId", }); + getDescriptor().getMessageTypes().get(0); + internal_static_google_storagetransfer_v1_GoogleServiceAccount_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_storagetransfer_v1_GoogleServiceAccount_descriptor, + new java.lang.String[] { + "AccountEmail", "SubjectId", + }); internal_static_google_storagetransfer_v1_AwsAccessKey_descriptor = - getDescriptor().getMessageTypes().get(1); - internal_static_google_storagetransfer_v1_AwsAccessKey_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_storagetransfer_v1_AwsAccessKey_descriptor, - new java.lang.String[] { "AccessKeyId", "SecretAccessKey", }); + getDescriptor().getMessageTypes().get(1); + internal_static_google_storagetransfer_v1_AwsAccessKey_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_storagetransfer_v1_AwsAccessKey_descriptor, + new java.lang.String[] { + "AccessKeyId", "SecretAccessKey", + }); internal_static_google_storagetransfer_v1_AzureCredentials_descriptor = - getDescriptor().getMessageTypes().get(2); - internal_static_google_storagetransfer_v1_AzureCredentials_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_storagetransfer_v1_AzureCredentials_descriptor, - new java.lang.String[] { "SasToken", }); + getDescriptor().getMessageTypes().get(2); + internal_static_google_storagetransfer_v1_AzureCredentials_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_storagetransfer_v1_AzureCredentials_descriptor, + new java.lang.String[] { + "SasToken", + }); internal_static_google_storagetransfer_v1_ObjectConditions_descriptor = - getDescriptor().getMessageTypes().get(3); - internal_static_google_storagetransfer_v1_ObjectConditions_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_storagetransfer_v1_ObjectConditions_descriptor, - new java.lang.String[] { "MinTimeElapsedSinceLastModification", "MaxTimeElapsedSinceLastModification", "IncludePrefixes", "ExcludePrefixes", "LastModifiedSince", "LastModifiedBefore", }); + getDescriptor().getMessageTypes().get(3); + internal_static_google_storagetransfer_v1_ObjectConditions_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_storagetransfer_v1_ObjectConditions_descriptor, + new java.lang.String[] { + "MinTimeElapsedSinceLastModification", + "MaxTimeElapsedSinceLastModification", + "IncludePrefixes", + "ExcludePrefixes", + "LastModifiedSince", + "LastModifiedBefore", + }); internal_static_google_storagetransfer_v1_GcsData_descriptor = - getDescriptor().getMessageTypes().get(4); - internal_static_google_storagetransfer_v1_GcsData_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_storagetransfer_v1_GcsData_descriptor, - new java.lang.String[] { "BucketName", "Path", }); + getDescriptor().getMessageTypes().get(4); + internal_static_google_storagetransfer_v1_GcsData_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_storagetransfer_v1_GcsData_descriptor, + new java.lang.String[] { + "BucketName", "Path", + }); internal_static_google_storagetransfer_v1_AwsS3Data_descriptor = - getDescriptor().getMessageTypes().get(5); - internal_static_google_storagetransfer_v1_AwsS3Data_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_storagetransfer_v1_AwsS3Data_descriptor, - new java.lang.String[] { "BucketName", "AwsAccessKey", "Path", "RoleArn", }); + getDescriptor().getMessageTypes().get(5); + internal_static_google_storagetransfer_v1_AwsS3Data_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_storagetransfer_v1_AwsS3Data_descriptor, + new java.lang.String[] { + "BucketName", "AwsAccessKey", "Path", "RoleArn", + }); internal_static_google_storagetransfer_v1_AzureBlobStorageData_descriptor = - getDescriptor().getMessageTypes().get(6); - internal_static_google_storagetransfer_v1_AzureBlobStorageData_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_storagetransfer_v1_AzureBlobStorageData_descriptor, - new java.lang.String[] { "StorageAccount", "AzureCredentials", "Container", "Path", }); + getDescriptor().getMessageTypes().get(6); + internal_static_google_storagetransfer_v1_AzureBlobStorageData_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_storagetransfer_v1_AzureBlobStorageData_descriptor, + new java.lang.String[] { + "StorageAccount", "AzureCredentials", "Container", "Path", + }); internal_static_google_storagetransfer_v1_HttpData_descriptor = - getDescriptor().getMessageTypes().get(7); - internal_static_google_storagetransfer_v1_HttpData_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_storagetransfer_v1_HttpData_descriptor, - new java.lang.String[] { "ListUrl", }); + getDescriptor().getMessageTypes().get(7); + internal_static_google_storagetransfer_v1_HttpData_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_storagetransfer_v1_HttpData_descriptor, + new java.lang.String[] { + "ListUrl", + }); internal_static_google_storagetransfer_v1_PosixFilesystem_descriptor = - getDescriptor().getMessageTypes().get(8); - internal_static_google_storagetransfer_v1_PosixFilesystem_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_storagetransfer_v1_PosixFilesystem_descriptor, - new java.lang.String[] { "RootDirectory", }); + getDescriptor().getMessageTypes().get(8); + internal_static_google_storagetransfer_v1_PosixFilesystem_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_storagetransfer_v1_PosixFilesystem_descriptor, + new java.lang.String[] { + "RootDirectory", + }); internal_static_google_storagetransfer_v1_AwsS3CompatibleData_descriptor = - getDescriptor().getMessageTypes().get(9); - internal_static_google_storagetransfer_v1_AwsS3CompatibleData_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_storagetransfer_v1_AwsS3CompatibleData_descriptor, - new java.lang.String[] { "BucketName", "Path", "Endpoint", "Region", "S3Metadata", "DataProvider", }); + getDescriptor().getMessageTypes().get(9); + internal_static_google_storagetransfer_v1_AwsS3CompatibleData_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_storagetransfer_v1_AwsS3CompatibleData_descriptor, + new java.lang.String[] { + "BucketName", "Path", "Endpoint", "Region", "S3Metadata", "DataProvider", + }); internal_static_google_storagetransfer_v1_S3CompatibleMetadata_descriptor = - getDescriptor().getMessageTypes().get(10); - internal_static_google_storagetransfer_v1_S3CompatibleMetadata_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_storagetransfer_v1_S3CompatibleMetadata_descriptor, - new java.lang.String[] { "AuthMethod", "RequestModel", "Protocol", "ListApi", }); + getDescriptor().getMessageTypes().get(10); + internal_static_google_storagetransfer_v1_S3CompatibleMetadata_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_storagetransfer_v1_S3CompatibleMetadata_descriptor, + new java.lang.String[] { + "AuthMethod", "RequestModel", "Protocol", "ListApi", + }); internal_static_google_storagetransfer_v1_AgentPool_descriptor = - getDescriptor().getMessageTypes().get(11); - internal_static_google_storagetransfer_v1_AgentPool_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_storagetransfer_v1_AgentPool_descriptor, - new java.lang.String[] { "Name", "DisplayName", "State", "BandwidthLimit", }); + getDescriptor().getMessageTypes().get(11); + internal_static_google_storagetransfer_v1_AgentPool_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_storagetransfer_v1_AgentPool_descriptor, + new java.lang.String[] { + "Name", "DisplayName", "State", "BandwidthLimit", + }); internal_static_google_storagetransfer_v1_AgentPool_BandwidthLimit_descriptor = - internal_static_google_storagetransfer_v1_AgentPool_descriptor.getNestedTypes().get(0); - internal_static_google_storagetransfer_v1_AgentPool_BandwidthLimit_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_storagetransfer_v1_AgentPool_BandwidthLimit_descriptor, - new java.lang.String[] { "LimitMbps", }); + internal_static_google_storagetransfer_v1_AgentPool_descriptor.getNestedTypes().get(0); + internal_static_google_storagetransfer_v1_AgentPool_BandwidthLimit_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_storagetransfer_v1_AgentPool_BandwidthLimit_descriptor, + new java.lang.String[] { + "LimitMbps", + }); internal_static_google_storagetransfer_v1_TransferOptions_descriptor = - getDescriptor().getMessageTypes().get(12); - internal_static_google_storagetransfer_v1_TransferOptions_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_storagetransfer_v1_TransferOptions_descriptor, - new java.lang.String[] { "OverwriteObjectsAlreadyExistingInSink", "DeleteObjectsUniqueInSink", "DeleteObjectsFromSourceAfterTransfer", "OverwriteWhen", "MetadataOptions", }); + getDescriptor().getMessageTypes().get(12); + internal_static_google_storagetransfer_v1_TransferOptions_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_storagetransfer_v1_TransferOptions_descriptor, + new java.lang.String[] { + "OverwriteObjectsAlreadyExistingInSink", + "DeleteObjectsUniqueInSink", + "DeleteObjectsFromSourceAfterTransfer", + "OverwriteWhen", + "MetadataOptions", + }); internal_static_google_storagetransfer_v1_TransferSpec_descriptor = - getDescriptor().getMessageTypes().get(13); - internal_static_google_storagetransfer_v1_TransferSpec_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_storagetransfer_v1_TransferSpec_descriptor, - new java.lang.String[] { "GcsDataSink", "PosixDataSink", "GcsDataSource", "AwsS3DataSource", "HttpDataSource", "PosixDataSource", "AzureBlobStorageDataSource", "AwsS3CompatibleDataSource", "GcsIntermediateDataLocation", "ObjectConditions", "TransferOptions", "TransferManifest", "SourceAgentPoolName", "SinkAgentPoolName", "DataSink", "DataSource", "IntermediateDataLocation", }); + getDescriptor().getMessageTypes().get(13); + internal_static_google_storagetransfer_v1_TransferSpec_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_storagetransfer_v1_TransferSpec_descriptor, + new java.lang.String[] { + "GcsDataSink", + "PosixDataSink", + "GcsDataSource", + "AwsS3DataSource", + "HttpDataSource", + "PosixDataSource", + "AzureBlobStorageDataSource", + "AwsS3CompatibleDataSource", + "GcsIntermediateDataLocation", + "ObjectConditions", + "TransferOptions", + "TransferManifest", + "SourceAgentPoolName", + "SinkAgentPoolName", + "DataSink", + "DataSource", + "IntermediateDataLocation", + }); internal_static_google_storagetransfer_v1_MetadataOptions_descriptor = - getDescriptor().getMessageTypes().get(14); - internal_static_google_storagetransfer_v1_MetadataOptions_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_storagetransfer_v1_MetadataOptions_descriptor, - new java.lang.String[] { "Symlink", "Mode", "Gid", "Uid", "Acl", "StorageClass", "TemporaryHold", "KmsKey", "TimeCreated", }); + getDescriptor().getMessageTypes().get(14); + internal_static_google_storagetransfer_v1_MetadataOptions_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_storagetransfer_v1_MetadataOptions_descriptor, + new java.lang.String[] { + "Symlink", + "Mode", + "Gid", + "Uid", + "Acl", + "StorageClass", + "TemporaryHold", + "KmsKey", + "TimeCreated", + }); internal_static_google_storagetransfer_v1_TransferManifest_descriptor = - getDescriptor().getMessageTypes().get(15); - internal_static_google_storagetransfer_v1_TransferManifest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_storagetransfer_v1_TransferManifest_descriptor, - new java.lang.String[] { "Location", }); + getDescriptor().getMessageTypes().get(15); + internal_static_google_storagetransfer_v1_TransferManifest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_storagetransfer_v1_TransferManifest_descriptor, + new java.lang.String[] { + "Location", + }); internal_static_google_storagetransfer_v1_Schedule_descriptor = - getDescriptor().getMessageTypes().get(16); - internal_static_google_storagetransfer_v1_Schedule_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_storagetransfer_v1_Schedule_descriptor, - new java.lang.String[] { "ScheduleStartDate", "ScheduleEndDate", "StartTimeOfDay", "EndTimeOfDay", "RepeatInterval", }); + getDescriptor().getMessageTypes().get(16); + internal_static_google_storagetransfer_v1_Schedule_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_storagetransfer_v1_Schedule_descriptor, + new java.lang.String[] { + "ScheduleStartDate", + "ScheduleEndDate", + "StartTimeOfDay", + "EndTimeOfDay", + "RepeatInterval", + }); internal_static_google_storagetransfer_v1_TransferJob_descriptor = - getDescriptor().getMessageTypes().get(17); - internal_static_google_storagetransfer_v1_TransferJob_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_storagetransfer_v1_TransferJob_descriptor, - new java.lang.String[] { "Name", "Description", "ProjectId", "TransferSpec", "NotificationConfig", "LoggingConfig", "Schedule", "Status", "CreationTime", "LastModificationTime", "DeletionTime", "LatestOperationName", }); + getDescriptor().getMessageTypes().get(17); + internal_static_google_storagetransfer_v1_TransferJob_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_storagetransfer_v1_TransferJob_descriptor, + new java.lang.String[] { + "Name", + "Description", + "ProjectId", + "TransferSpec", + "NotificationConfig", + "LoggingConfig", + "Schedule", + "Status", + "CreationTime", + "LastModificationTime", + "DeletionTime", + "LatestOperationName", + }); internal_static_google_storagetransfer_v1_ErrorLogEntry_descriptor = - getDescriptor().getMessageTypes().get(18); - internal_static_google_storagetransfer_v1_ErrorLogEntry_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_storagetransfer_v1_ErrorLogEntry_descriptor, - new java.lang.String[] { "Url", "ErrorDetails", }); + getDescriptor().getMessageTypes().get(18); + internal_static_google_storagetransfer_v1_ErrorLogEntry_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_storagetransfer_v1_ErrorLogEntry_descriptor, + new java.lang.String[] { + "Url", "ErrorDetails", + }); internal_static_google_storagetransfer_v1_ErrorSummary_descriptor = - getDescriptor().getMessageTypes().get(19); - internal_static_google_storagetransfer_v1_ErrorSummary_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_storagetransfer_v1_ErrorSummary_descriptor, - new java.lang.String[] { "ErrorCode", "ErrorCount", "ErrorLogEntries", }); + getDescriptor().getMessageTypes().get(19); + internal_static_google_storagetransfer_v1_ErrorSummary_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_storagetransfer_v1_ErrorSummary_descriptor, + new java.lang.String[] { + "ErrorCode", "ErrorCount", "ErrorLogEntries", + }); internal_static_google_storagetransfer_v1_TransferCounters_descriptor = - getDescriptor().getMessageTypes().get(20); - internal_static_google_storagetransfer_v1_TransferCounters_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_storagetransfer_v1_TransferCounters_descriptor, - new java.lang.String[] { "ObjectsFoundFromSource", "BytesFoundFromSource", "ObjectsFoundOnlyFromSink", "BytesFoundOnlyFromSink", "ObjectsFromSourceSkippedBySync", "BytesFromSourceSkippedBySync", "ObjectsCopiedToSink", "BytesCopiedToSink", "ObjectsDeletedFromSource", "BytesDeletedFromSource", "ObjectsDeletedFromSink", "BytesDeletedFromSink", "ObjectsFromSourceFailed", "BytesFromSourceFailed", "ObjectsFailedToDeleteFromSink", "BytesFailedToDeleteFromSink", "DirectoriesFoundFromSource", "DirectoriesFailedToListFromSource", "DirectoriesSuccessfullyListedFromSource", "IntermediateObjectsCleanedUp", "IntermediateObjectsFailedCleanedUp", }); + getDescriptor().getMessageTypes().get(20); + internal_static_google_storagetransfer_v1_TransferCounters_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_storagetransfer_v1_TransferCounters_descriptor, + new java.lang.String[] { + "ObjectsFoundFromSource", + "BytesFoundFromSource", + "ObjectsFoundOnlyFromSink", + "BytesFoundOnlyFromSink", + "ObjectsFromSourceSkippedBySync", + "BytesFromSourceSkippedBySync", + "ObjectsCopiedToSink", + "BytesCopiedToSink", + "ObjectsDeletedFromSource", + "BytesDeletedFromSource", + "ObjectsDeletedFromSink", + "BytesDeletedFromSink", + "ObjectsFromSourceFailed", + "BytesFromSourceFailed", + "ObjectsFailedToDeleteFromSink", + "BytesFailedToDeleteFromSink", + "DirectoriesFoundFromSource", + "DirectoriesFailedToListFromSource", + "DirectoriesSuccessfullyListedFromSource", + "IntermediateObjectsCleanedUp", + "IntermediateObjectsFailedCleanedUp", + }); internal_static_google_storagetransfer_v1_NotificationConfig_descriptor = - getDescriptor().getMessageTypes().get(21); - internal_static_google_storagetransfer_v1_NotificationConfig_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_storagetransfer_v1_NotificationConfig_descriptor, - new java.lang.String[] { "PubsubTopic", "EventTypes", "PayloadFormat", }); + getDescriptor().getMessageTypes().get(21); + internal_static_google_storagetransfer_v1_NotificationConfig_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_storagetransfer_v1_NotificationConfig_descriptor, + new java.lang.String[] { + "PubsubTopic", "EventTypes", "PayloadFormat", + }); internal_static_google_storagetransfer_v1_LoggingConfig_descriptor = - getDescriptor().getMessageTypes().get(22); - internal_static_google_storagetransfer_v1_LoggingConfig_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_storagetransfer_v1_LoggingConfig_descriptor, - new java.lang.String[] { "LogActions", "LogActionStates", "EnableOnpremGcsTransferLogs", }); + getDescriptor().getMessageTypes().get(22); + internal_static_google_storagetransfer_v1_LoggingConfig_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_storagetransfer_v1_LoggingConfig_descriptor, + new java.lang.String[] { + "LogActions", "LogActionStates", "EnableOnpremGcsTransferLogs", + }); internal_static_google_storagetransfer_v1_TransferOperation_descriptor = - getDescriptor().getMessageTypes().get(23); - internal_static_google_storagetransfer_v1_TransferOperation_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_storagetransfer_v1_TransferOperation_descriptor, - new java.lang.String[] { "Name", "ProjectId", "TransferSpec", "NotificationConfig", "StartTime", "EndTime", "Status", "Counters", "ErrorBreakdowns", "TransferJobName", }); + getDescriptor().getMessageTypes().get(23); + internal_static_google_storagetransfer_v1_TransferOperation_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_storagetransfer_v1_TransferOperation_descriptor, + new java.lang.String[] { + "Name", + "ProjectId", + "TransferSpec", + "NotificationConfig", + "StartTime", + "EndTime", + "Status", + "Counters", + "ErrorBreakdowns", + "TransferJobName", + }); com.google.protobuf.ExtensionRegistry registry = com.google.protobuf.ExtensionRegistry.newInstance(); registry.add(com.google.api.FieldBehaviorProto.fieldBehavior); registry.add(com.google.api.ResourceProto.resource); - com.google.protobuf.Descriptors.FileDescriptor - .internalUpdateFileDescriptor(descriptor, registry); + com.google.protobuf.Descriptors.FileDescriptor.internalUpdateFileDescriptor( + descriptor, registry); com.google.api.FieldBehaviorProto.getDescriptor(); com.google.api.ResourceProto.getDescriptor(); com.google.protobuf.DurationProto.getDescriptor(); diff --git a/owl-bot-staging/v1/proto-google-cloud-storage-transfer-v1/src/main/proto/google/storagetransfer/v1/transfer.proto b/proto-google-cloud-storage-transfer-v1/src/main/proto/google/storagetransfer/v1/transfer.proto similarity index 100% rename from owl-bot-staging/v1/proto-google-cloud-storage-transfer-v1/src/main/proto/google/storagetransfer/v1/transfer.proto rename to proto-google-cloud-storage-transfer-v1/src/main/proto/google/storagetransfer/v1/transfer.proto diff --git a/owl-bot-staging/v1/proto-google-cloud-storage-transfer-v1/src/main/proto/google/storagetransfer/v1/transfer_types.proto b/proto-google-cloud-storage-transfer-v1/src/main/proto/google/storagetransfer/v1/transfer_types.proto similarity index 100% rename from owl-bot-staging/v1/proto-google-cloud-storage-transfer-v1/src/main/proto/google/storagetransfer/v1/transfer_types.proto rename to proto-google-cloud-storage-transfer-v1/src/main/proto/google/storagetransfer/v1/transfer_types.proto